Related terms
An open-source Python library for controlling and constraining large language model outputs using structured prompts, grammars, templates, and programmatic generation, enabling more reliable and deterministic AI applications.
JsonformerAn open-source Python library for constrained text generation that enables large language models to produce JSON outputs conforming to a predefined JSON Schema by generating only the content tokens while enforcing the required structure.
InstructorAn open-source Python library for structured output generation that enables developers to reliably extract validated data from large language models by defining schemas with Pydantic and automatically parsing model responses into typed objects.
PydanticA data validation and settings management library for Python using type annotations.