Skip to main content
This example demonstrates how to use a post-hook to validate the output of an Team, before it is returned to the user. This example shows how to:
  1. Validate team responses for quality and safety
  2. Ensure outputs meet minimum standards before being returned
  3. Raise OutputCheckError when validation fails

Code

Usage

1

Set up your virtual environment

2

Install dependencies

3

Run example