Python library for the instruction and reliable validation of structured outputs (JSON) of Large Language Models (LLMs) with Ollama and Pydantic. -> Deterministic work with LLMs.
MIT License
67
stars
3
forks
source link
Add multiple Pydantic BaseModels to ollama-instructor #4
Making it possible to provide a list of Pydantic BaseModels to
chat_completion
orchat_completion_with_stream
How? Make a request to ollama server for each Pydantic BaseModel in the list