Guardrails.ai
A Python library for validating outputs and retrying failures. Still in alpha, so expect sharp edges and bugs.
About
A Python library for validating outputs and retrying failures. Still in alpha, so expect sharp edges and bugs. Found in: Hannibal046/Awesome-LLM
Details
Guardrails is a Python framework that helps build reliable AI applications by running Input/Output Guards on LLMs. These guards detect, quantify, and mitigate specific types of risks (e.g., toxicity, hallucination). Guardrails also enables generating structured data from LLMs. The framework integrates with the Guardrails Hub, a collection of pre-built validators that can be combined into custom guards. It is designed to improve the safety, accuracy, and reliability of AI applications in production.