| Crates.io | openai-tools |
| lib.rs | openai-tools |
| version | 0.5.3 |
| created_at | 2024-12-16 13:49:46.662083+00 |
| updated_at | 2025-07-19 14:53:29.6511+00 |
| description | Tools for OpenAI API |
| homepage | |
| repository | https://github.com/akitenkrad/rs-openai-tools |
| max_upload_size | |
| id | 1485017 |
| size | 386,270 |
API Wrapper for OpenAI API.
To start using the openai-tools, add it to your projects's dependencies in the `Cargo.toml' file:
cargo add openai-tools
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_tools::OpenAI;
| 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