Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Fab8573 opened this issue Nov 19, 2024 · 0 comments
Open

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

Fab8573 opened this issue Nov 19, 2024 · 0 comments

Comments

@Fab8573
Copy link

Fab8573 commented Nov 19, 2024

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,

@Fab8573 Fab8573 changed the title Example for function calling (2 functions called) Example for function calling (2 functions to call) Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant