Overview
The Playground provides an interactive environment for testing your guardrail configurations with real API calls, allowing you to validate behavior and fine-tune settings before going to production.Key Features
- API Call Builder: Construct and send API requests with custom parameters
- Real-time Response: See immediate results of guardrail processing
- Request History: Track and review previous test calls
- Response Analysis: Detailed breakdown of guardrail decisions
Use Cases
- Configuration Validation: Ensure guardrail settings work as intended
- Development Testing: Test guardrails during development and debugging
- User Acceptance Testing: Validate guardrails meet business requirements
- Troubleshooting: Debug guardrail behavior and identify issues
Best Practices
- Test with realistic data that matches your production use cases
- Document test scenarios and expected outcomes
- Regularly re-test after configuration changes
- Use the playground for both positive and negative test cases
- Monitor for unexpected behavior or edge cases