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

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run example