Skip to content

Examples

Ready-to-run examples demonstrating Guardrails in various scenarios. See the guardrails/examples/ folder for complete implementations.

Example Implementations

Hallucination Detection Example

Complete implementation using real documents as knowledge sources: examples/hallucination_detection/

Getting Started

  1. Follow the Quickstart guide: Python
  2. Explore repositories: Python examples
  3. Run scripts to see Guardrails in action

Each example is self-contained with clear configuration and usage patterns.