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