Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

How to Use FunctionCall when invoking [RunCreate] API ? #498

Open
huyilong0516 opened this issue May 9, 2024 · 2 comments
Open

How to Use FunctionCall when invoking [RunCreate] API ? #498

huyilong0516 opened this issue May 9, 2024 · 2 comments

Comments

@huyilong0516
Copy link

Could you give some examples?

@huyilong0516
Copy link
Author

huyilong0516 commented May 10, 2024

And the Struct of AssistantFunction is same as ChatFunction, why not use the same class?
Assistant Function is lack of Executor also, it is difficult to call the Function.

@sashirestela
Copy link

@huyilong0516 If you don't have concerns to see other alternatives, you can take a look at simple-openai.

Here you have a fully functional example for calling multiple functions in a conversation supported by the Assistants API.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants