OpenAI Tools
API Wrapper for OpenAI API.
Installation
To start using the openai-tools
, add it to your projects's dependencies in the `Cargo.toml' file:
API key is necessary to access OpenAI API.
Set it in the .env
file:
OPENAI_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
Then, import the necesarry modules in your code:
use OpenAI;
Features
Feature Name | Chat Completion | Responses | Embedding | Realtime | Images | Audio | Eval |
---|---|---|---|---|---|---|---|
Basic Features | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
Structured Output | ✅ | ✅ | - | - | - | - | - |
Function Calling / MCP Tools | ✅ | ✅ | - | - | - | - | - |
Image Input | ✅ | ✅ | - | - | - | - | - |
✅: Implemented
🔧: In Progress
❌: Not yet