OpenAI Integration
Works with both Python and TypeScript. Your existing code stays the same—just change the base URL.Setup
- Python
- TypeScript
Chat Completions
- Python
- TypeScript
Streaming
- Python
- TypeScript
Tools / Function Calling
Works exactly like the official SDK:Embeddings
Check Cache Status
- Python
- TypeScript
Response Headers
Error Handling
Errors from OpenAI pass through unchanged. Raptor adds firewall blocks:All OpenAI features work: GPT-4, GPT-4o, o1, embeddings, images, audio, and more. If it works with OpenAI, it works through Raptor.
