openai

The openai module implements OpenAI API.

Authentication

openai uses a StoredKey “OpenAI” by default for authentication. You can set the key in Settings ▸ Keys. All methods will throw an error if the key is not set.

Syntax

openai

Properties

Models

Text

Images

Embeddings

Files

Fine-tunes

Moderations

Utilities