OpenAI Models
W-Kits supports various OpenAI models through the AI SDK. Import and use these models in your AI agents for different capabilities.
Environment Setup
You need to set up your OpenAI API key as an environment variable:
OPENAI_API_KEY=xxxxxxxxxImport and Usage
import { openai } from 'w-kits/models';
const agent = new Agent({
model: openai('gpt-4'),
// ... other configuration
});Model Capabilities
| Model | Image Input | Audio Input | Object Generation | Tool Usage |
|---|---|---|---|---|
| gpt-4o | ||||
| gpt-4o-mini | ||||
| gpt-4o-audio-preview | ||||
| gpt-4-turbo | ||||
| gpt-4 | ||||
| gpt-3.5-turbo |