Skip to main content

Module openai

Module openai 

Source
Expand description

OpenAI Chat Completions provider.

Handles GPT models and any OpenAI-compatible endpoint (Groq, Together, Ollama, DeepSeek, OpenRouter, vLLM, LMStudio, etc.). The only difference between providers is the base URL and auth.

Structsยง

OpenAiProvider
OpenAI Chat Completions provider (GPT, Groq, Together, DeepSeek, etc.).