diff --git a/docs/src/content/docs/ops/entity_resolution.mdx b/docs/src/content/docs/ops/entity_resolution.mdx index 362c3ecc1..4917fc1d4 100644 --- a/docs/src/content/docs/ops/entity_resolution.mdx +++ b/docs/src/content/docs/ops/entity_resolution.mdx @@ -179,6 +179,9 @@ Uses the same litellm model-string format as [`LiteLLMEmbedder`](./litellm): | Anthropic | `anthropic/claude-haiku-4-5` | | Google (Gemini) | `gemini/gemini-2.0-flash` | | Groq | `groq/llama-3.3-70b-versatile` | +| OrcaRouter | `openai/openai/gpt-5.5` | + +For an OpenAI-compatible gateway such as [OrcaRouter](https://www.orcarouter.ai), use the `openai/` provider prefix with a namespaced model id (the outer `openai/` selects the protocol; the inner `openai/…` is the router's model id) and point `api_base` at `https://api.orcarouter.ai/v1`. See the [LiteLLM docs](https://docs.litellm.ai/docs/providers) for the full list of 100+ supported providers. diff --git a/docs/src/content/docs/ops/litellm.mdx b/docs/src/content/docs/ops/litellm.mdx index f43b3f54d..6be1ed31f 100644 --- a/docs/src/content/docs/ops/litellm.mdx +++ b/docs/src/content/docs/ops/litellm.mdx @@ -181,6 +181,25 @@ embedder = LiteLLMEmbedder("ollama/nomic-embed-text", api_base="http://localhost embedder = LiteLLMEmbedder("text-embedding-3-small") ``` +### OrcaRouter + +[OrcaRouter](https://www.orcarouter.ai) is an OpenAI-compatible routing gateway that exposes models from OpenAI, Anthropic, Google, DeepSeek, Qwen and others behind a single endpoint and API key. Route embeddings through it with the `openai/` provider prefix and a namespaced model id: + +| Model | Model string | +|-------|-------------| +| Text Embedding 3 Small | `openai/openai/text-embedding-3-small` | +| Text Embedding 3 Large | `openai/openai/text-embedding-3-large` | + +The outer `openai/` selects the OpenAI-compatible protocol; the inner `openai/…` is the router's namespaced model id. Pass the gateway's base URL and API key directly: + +```python +embedder = LiteLLMEmbedder( + "openai/openai/text-embedding-3-small", + api_base="https://api.orcarouter.ai/v1", + api_key="sk-orca-...", +) +``` + ### Azure OpenAI | Model | Model string |