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
litellm can be modified relatively easily to support the previous JSON mode in addition to a structured schema by leveraging the existing non_default_params["response_format"] field differently in the litellm/ollama.py and litellm/ollama_chat.py.
I can make this change if desired, but I just need to wrap my head around testing in this library.
The Feature
Add support for structured schemas in
ollama
Motivation, pitch
As of v0.5.0,
ollama
now supports full schema structured format. Currently,litellm
only seems to supportJSON
mode.Are you a ML Ops Team?
No
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: