#structured-output
4 pages tagged structured-output.
4/4
guidance
Package-level reference for the guidance library on PyPI — install, LLM-provider extras, versioning, and alternatives like instructor and outlines.
Structured Output
Techniques for reliable structured generation — JSON mode, schema-constrained decoding, function/tool calls as output, and validator pairing with Pydantic or Zod.
Prompting
Prompt engineering patterns, RAG, evaluations, few-shot, chain-of-thought, and structured output — foundational techniques for extracting reliable, structured behavior from LLMs.
guidance
Interleave Python control flow with LLM generation and enforce structured output using guidance. Covers gen(), select(), chat blocks, regex constraints, JSON schemas, and token healing.