Open chris-aeviator opened 1 month ago
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.
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.