You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the GitHub search to look for a similar issue and didn't find it.
I searched the Marvin documentation for this feature.
Describe the current behavior
Not yet released, but as of the merge of PR #957 we can specify the response format of messages returned from Open AI as a JSON object.
But as of August 6th, Open AI have extended the possible values of the the response_format. You can now specify any Pydantic base model, and they guarantee responses that conform to its schema.
Great! I'm interested, but on hols for August, if you haven't had a start before I'm back, I'll have a go at perhaps a work-in-progress PR as soon as I can!
Main caveat I noticed after posting the above is that the model must be gpt-4o-2024-08-06 or later to work with this stuff - so might be worth bumping up the default version again.
First check
Describe the current behavior
Not yet released, but as of the merge of PR #957 we can specify the response format of messages returned from Open AI as a JSON object.
But as of August 6th, Open AI have extended the possible values of the the
response_format
. You can now specify any Pydantic base model, and they guarantee responses that conform to its schema.See the Open AI guide here.
Describe the proposed behavior
Therefore, it would be very useful to extend marvin support such that we could now do:
Example Use
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: