Skip to main content

Prerequisites

You need to install the openai library.
Set the OPENAI_API_KEY environment variable.

Example

The following agent will use DALL-E to generate an image based on a text prompt.
cookbook/14_tools/dalle_tools.py

Toolkit Params

Toolkit Functions

Developer Resources