Skip to content

Example for function calling (2 functions to call) #49

Open
@Fab8573

Description

@Fab8573

Hello,

I'am using your component since a long time and it's work fine.
But now I would like to test the function calling. For one function it's seems to work.
Your sample seems to be in for an old version.
I successfully call one function but for more than one ?
ChatGPT need "call" both in sequence to answer.
I have tried :

  1. Dynamically => Failed (sometime call first function sometime drop exception )
  2. Using the TOpenAIChatFunctions connected to a TopenAiChat via him 'Functions' property
    => No answer : OpenAIChatFunctions.Items.items[0].FunctionExecute is never called
    It doesn't seem to be implemented ?

That I have doing wrong ?

Full sample :
CallFunctions.zip

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions