Skip to main content

Module openai

Module openai 

Source
Expand description

OpenAI-compatible remote provider.

Covers OpenAI, Azure OpenAI, vLLM, and local OpenAI-style servers via base_url. Chat completions drive the discriminative and generative tasks (one bounded-concurrent call per input row); the embeddings endpoint serves ai_embed in a single batched call. This is the embeddings path for the whole feature — Anthropic exposes no embeddings endpoint.

Structs§

OpenAiProvider
OpenAI-compatible HTTP provider.