structllm is a universal and lightweight Python library that provides Structured Outputs functionality for any LLM provider (OpenAI, Anthropic, Mistral, local models, etc.), not just OpenAI. It guarantees that LLM responses conform to your provided JSON schema using Pydantic models.
If your LLM model has 7B parameters or more, it can be used with structllm.
piotrbednarski•23h ago
If your LLM model has 7B parameters or more, it can be used with structllm.