Skip to main content
This example shows how to pass a message as input to an agent.

Code

cookbook/agent_concepts/other/input_as_message.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Set your API key

3

Install libraries

4

Run Agent