guardrails-ai — Easy Playground
Add validation and structure to LLM outputs
Getting started with guardrails-aiRun locally
Install
pip install guardrails-aiPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: guardrails_ai)
guardrails-ai is a third-party package. Add validation and structure to LLM outputs. Install with: pip install guardrails-ai
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?