Skip to main content
This example demonstrates how to use a pre-hook to transform the input of an Agent, before it is presented to the LLM.

Code

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install libraries

3

Run example