ollama-python
ollama-python copied to clipboard
Return python object instead of JSON
Is it on the roadmap to return a Python object instead of a dictionary?
If it is, the solution is to create Pydantic classes for everything and the parse the JSON object with the model_validate_json function
Yeah that would be a better way to manage stuff.
Added with the new release! @Siddhesh-Agarwal @RithikRaj64 :)