Skip to main content
The OpenAI plugin provides access to GPT models and supports all model types: text generation, embeddings, and object generation.

Features

  • Full model support - Text, embeddings, and objects
  • Multiple models - GPT-4, GPT-3.5, and embedding models
  • Streaming support - Real-time response generation
  • Function calling - Structured output generation

Installation

Configuration

Environment Variables

Character Configuration

Supported Operations

Model Configuration

The plugin uses two model categories:
  • SMALL_MODEL: Used for simpler tasks, faster responses
  • LARGE_MODEL: Used for complex reasoning, better quality
You can configure any available OpenAI model in these slots based on your needs and budget.

Usage Example

The plugin automatically registers with the runtime:

Cost Considerations

  • GPT-4 is more expensive than GPT-3.5
  • Use text-embedding-3-small for cheaper embeddings
  • Monitor usage via OpenAI dashboard

External Resources