Skip to main content
This example demonstrates how to use a post-hook to transform the output of an Agent, before it is returned to the user. This example shows how to:
  1. Transform agent responses by updating RunOutput.content
  2. Add formatting, structure, and additional information
  3. Enhance the user experience through content modification

Code

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run example