Skip to main content
This example shows how to use the output_model parameter to specify the model that should be used to generate the final response from a team.

Code

cookbook/examples/teams/structured_input_output/03_team_with_output_model.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install required libraries

3

Set environment variables

4

Run the agent