TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
GUARDRAILS
Summary from the TLDR newsletter
Guardrails is a Python package for specifying structure and type and validating and correcting the outputs of large language models. It does pydantic-style validation of LLM outputs, takes corrective actions, and enforces structure and type guarantees. Developers specify LLM output using a file format and a lightweight wrapper implements the spec.