JSON mode and seed parameters
We've introduced new model config parameters for JSON mode and Seed in our Editor and API.
With the introduction of the new OpenAI turbo models you can now set additional properties that impact the behaviour of the model; response_format
and seed
.
Further details
See further guidance from OpenAI on the JSON response format here and reproducing outputs using the seed parameter here.
These new parameters can now optionally contribute to your model config in our Editor and API. Updated values for response_format
or seed
will constitute new versions of your model on Humanloop.
JSON mode prompts
When using JSON mode with the new turbo models, you should still include formatting instructions in your prompt.
In fact, if you do not include the word 'json' anywhere in your prompt, OpenAI will return a validation error currently.