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

OpenAI Adapter Structured Outputs #69

Open
byu opened this issue Aug 14, 2024 · 0 comments
Open

OpenAI Adapter Structured Outputs #69

byu opened this issue Aug 14, 2024 · 0 comments

Comments

@byu
Copy link

byu commented Aug 14, 2024

Context

OpenAI blog post introduces the "Structured Outputs" feature to their API.

This Structured Output feature expands the JSON model by guaranteeing that the JSON output will conform to a provided JSON Schema.

Change

Pass the instructor generated JSON Schema into the OpenAI request as "Structured Output" "json_schema" in the requested "response_format", in addition to "messages"?

Consequences

Experimentation and Discussion TBD?
Relevance TBD?

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