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

[feature] functions is deprecated, use tools instead #553

Open
chris-aeviator opened this issue Jul 25, 2024 · 1 comment
Open

[feature] functions is deprecated, use tools instead #553

chris-aeviator opened this issue Jul 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@chris-aeviator
Copy link

Is the feature request related to a problem?
OpenAI's modern client has deprecated the functions syntax. When using the recent 'tools' syntax, gorilla will only reply with generic text, e.g. "as a LM I'm unable to zoom the map" instead of the function call "zoom_map()"

Describe the solution you'd like
Make gorilla endpoints compatible with 'tool' schema

Additional context
For me this is relevant too for self-hosting gorilla as tooling expects to follow OAIs spec.

@chris-aeviator chris-aeviator added the enhancement New feature or request label Jul 25, 2024
@ShishirPatil
Copy link
Owner

Thanks for trying it out @chris-aeviator ! Yeah, this is something we do want to migrate to, for now we are compatible with openai==0.28 which uses functions. Once we move to openai>=1.0 we will start supporting tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants