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

Add OpenAI functions support #33

Open
uripeled2 opened this issue Jul 22, 2023 · 0 comments
Open

Add OpenAI functions support #33

uripeled2 opened this issue Jul 22, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@uripeled2
Copy link
Owner

You can see here the openai-cookbook for using functions with openai-python.
The biggest problem for adding support for it in OpenAIClient through chat_completion is that openai functions return an object containing the name of the function and the arguments and not just a string like in regular chat.

@uripeled2 uripeled2 added enhancement New feature or request help wanted Extra attention is needed labels Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant