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

Support structured outputs with non-openai models #246

Open
dereklegenzoff opened this issue Feb 17, 2025 · 0 comments
Open

Support structured outputs with non-openai models #246

dereklegenzoff opened this issue Feb 17, 2025 · 0 comments
Assignees

Comments

@dereklegenzoff
Copy link
Contributor

Currently only OpenAI models support stuctured outputs via both GSX's outputSchema parameter and then native response_format parameter. At a minimum, we should make outputSchema work for other models via tool calls and consider making response_format work as well.

We can detect if it's a model that supports structured outputs using the client's base url

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