-
Notifications
You must be signed in to change notification settings - Fork 1k
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 result_format JSON #720
Comments
Relevant lines of code: guidance/guidance/models/_openai.py Lines 243 to 251 in 7c71e90
guidance/guidance/library/_json.py Lines 204 to 211 in 7c71e90
|
Need to upgrade openai to 1.1 based on openai/openai-python@v1.0.1...v1.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
OpenAI now provides a JSON response format! https://community.openai.com/t/how-do-i-use-the-new-json-mode/475890/14
Since OpenAI does not support enforced grammar, this is a big deal.
Describe the solution you'd like
The
json
grammar should trigger this functionality in theOpenAIChatEngine
The text was updated successfully, but these errors were encountered: