Skip to content

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.

fix: resolve provider-docs conflict markers from the #189 merge (Atlas Cloud + Cheaper Inference union)

yifanfeng97a8e27199ffd3
diff --git a/docs/en/concepts/provider-system.md b/docs/en/concepts/provider-system.md
index e49746e..c5c2629 100644
--- a/docs/en/concepts/provider-system.md
+++ b/docs/en/concepts/provider-system.md
@@ -1,10 +1,6 @@
# Provider System
-<<<<<<< HEAD
-Hyper-Extract supports these ways to connect to LLMs: **OpenAI**, **Anthropic**, **Google Gemini**, **Alibaba Bailian**, **DeepSeek**, **OrcaRouter**, **Cheaper Inference**, and **local vLLM**. All use the same `create_client()` interface — only the first line changes.
-=======
-Hyper-Extract supports these ways to connect to LLMs: **OpenAI**, **Anthropic**, **Google Gemini**, **Alibaba Bailian**, **DeepSeek**, **OrcaRouter**, **Atlas Cloud**, and **local vLLM**. All use the same `create_client()` interface — only the first line changes.
->>>>>>> pr-189-src
+Hyper-Extract supports these ways to connect to LLMs: **OpenAI**, **Anthropic**, **Google Gemini**, **Alibaba Bailian**, **DeepSeek**, **OrcaRouter**, **Atlas Cloud**, **Cheaper Inference**, and **local vLLM**. All use the same `create_client()` interface — only the first line changes.
---
@@ -19,11 +15,8 @@ Hyper-Extract supports these ways to connect to LLMs: **OpenAI**, **Anthropic**,
| **Google Gemini** | gemini-3.8-flash / gemini-2.5-flash / gemini-2.5-pro | ✅ (tool calling) | ✅ | LLM only — no embedder path in this repo (pair with an OpenAI-compatible embedder). Needs `hyperextract[google]`. Keys: `GOOGLE_API_KEY` or `GEMINI_API_KEY`. Alias: `gemini` |
| **DeepSeek** | deepseek-v4-flash / deepseek-v4-pro | ✅ | ✅ | OpenAI-compatible. V4 models default to "thinking" mode, which Hyper-Extract auto-disables (`extra_body`) so structured extraction works. LLM only — no embeddings API. Keys: `DEEPSEEK_API_KEY` |
| **OrcaRouter** | `orcarouter/auto`, `openai/gpt-4o-mini`, `anthropic/claude-haiku-4-5`, `deepseek/...`, `gemini/...` | ✅ | ✅ | OpenAI-compatible gateway routing 150+ models from OpenAI, Anthropic, Google, DeepSeek, Qwen, MiniMax, xAI behind one endpoint and key. Keys: `ORCAROUTER_API_KEY` |
-<<<<<<< HEAD
| **Cheaper Inference** | gpt-5.4-mini | ✅ | ✅ | OpenAI-compatible gateway. One key gives access to models from several labs. LLM only — no embeddings API (pair with an OpenAI-compatible embedder). Keys: `CHEAPER_INFERENCE_API_KEY` |
-=======
| **Atlas Cloud** | `deepseek-ai/deepseek-v4-flash`, `deepseek-ai/deepseek-v4-pro`, `moonshotai/kimi-k3`, `qwen/qwen3.5-plus`, `openai/gpt-5.5`, `anthropic/claude-sonnet-4.6` | ✅ | ✅ | OpenAI-compatible gateway serving DeepSeek, Z.ai, Moonshot, Qwen, MiniMax, OpenAI, Anthropic and Google models under vendor-prefixed ids. LLM only — no embeddings API. `glm-5.x` models reject the forced `tool_choice` structured extraction uses; pick another model. Keys: `ATLASCLOUD_API_KEY` |
->>>>>>> pr-189-src
| **Alibaba Bailian** | qwen-plus / qwen-turbo / qwen3.6-plus / deepseek-r1 | ✅ | ✅ | Works out of the box |
| **Alibaba Bailian** | qwen-max / deepseek-v3 | ❌ | ❌ | Only `json_object`; not compatible with function-calling structured output |
@@ -89,20 +82,20 @@ llm, emb = create_client(
# Key: ORCAROUTER_API_KEY (fallback: OPENAI_API_KEY).
llm, emb = create_client("orcarouter")
-<<<<<<< HEAD
-# Cheaper Inference — OpenAI-compatible gateway, one key for models from
-# several labs. No embeddings API, so pair it with an OpenAI-compatible embedder.
-# Key: CHEAPER_INFERENCE_API_KEY. Override model with "cheaperinference:gpt-5.4".
-llm, emb = create_client(
- llm="cheaperinference", # default model: gpt-5.4-mini
-=======
# Atlas Cloud — OpenAI-compatible gateway with vendor-prefixed model ids
# (deepseek-ai/..., moonshotai/..., qwen/..., openai/..., anthropic/...).
# LLM only — pair it with an OpenAI-compatible embedder.
# Key: ATLASCLOUD_API_KEY. Override model with "atlascloud:moonshotai/kimi-k3".
llm, emb = create_client(
llm="atlascloud",
->>>>>>> pr-189-src
+ embedder="openai:text-embedding-3-small",
+)
+
+# Cheaper Inference — OpenAI-compatible gateway, one key for models from
+# several labs. No embeddings API, so pair it with an OpenAI-compatible embedder.
+# Key: CHEAPER_INFERENCE_API_KEY. Override model with "cheaperinference:gpt-5.4".
+llm, emb = create_client(
+ llm="cheaperinference",
embedder="openai:text-embedding-3-small",
)
diff --git a/docs/en/python/guides/provider-configuration.md b/docs/en/python/guides/provider-configuration.md
index aa89c8d..cbe1dd1 100644
--- a/docs/en/python/guides/provider-configuration.md
+++ b/docs/en/python/guides/provider-configuration.md
@@ -1,10 +1,6 @@
# Provider Configuration Guide
-<<<<<<< HEAD
-Configure Hyper-Extract to work with OpenAI, Bailian (Alibaba Cloud), DeepSeek, OrcaRouter, Cheaper Inference, or local vLLM deployments.
-=======
-Configure Hyper-Extract to work with OpenAI, Bailian (Alibaba Cloud), DeepSeek, OrcaRouter, Atlas Cloud, or local vLLM deployments.
->>>>>>> pr-189-src
+Configure Hyper-Extract to work with OpenAI, Bailian (Alibaba Cloud), DeepSeek, OrcaRouter, Atlas Cloud, Cheaper Inference, or local vLLM deployments.
---
@@ -68,20 +64,6 @@ llm, emb = create_client("orcarouter")
# Or override the model: create_client("orcarouter:openai/gpt-4o-mini", ...)
```
-<<<<<<< HEAD
-### Cheaper Inference
-
-```python
-from hyperextract import create_client
-
-# Cheaper Inference is an OpenAI-compatible gateway with one key for models
-# from several labs. It has no embeddings API, so pair it with another embedder.
-# Key: CHEAPER_INFERENCE_API_KEY.
-llm, emb = create_client(
- llm="cheaperinference", # default model: gpt-5.4-mini
- embedder="openai:text-embedding-3-small",
-)
-=======
### Atlas Cloud
```python
@@ -97,7 +79,20 @@ llm, emb = create_client(
)
# Or override the model: create_client(llm="atlascloud:moonshotai/kimi-k3", ...)
# Avoid glm-5.x here: it rejects the forced tool_choice that extraction uses.
->>>>>>> pr-189-src
+```
+
+### Cheaper Inference
+
+```python
+from hyperextract import create_client
+
+# Cheaper Inference is an OpenAI-compatible gateway with one key for models
+# from several labs. It has no embeddings API, so pair it with another embedder.
+# Key: CHEAPER_INFERENCE_API_KEY.
+llm, emb = create_client(
+ llm="cheaperinference", # default model: gpt-5.4-mini
+ embedder="openai:text-embedding-3-small",
+)
```
### Local vLLM
@@ -140,11 +135,8 @@ print(f"Nodes: {len(graph.nodes)}, Edges: {len(graph.edges)}")
| **Anthropic** | `he config llm -p anthropic -k sk-ant-xxx` + `he config embedder -p openai -k sk-xxx` |
| **DeepSeek** | `he config llm -p deepseek -k sk-xxx` + `he config embedder -p openai -k sk-xxx` |
| **OrcaRouter** | `he config init -p orcarouter -k sk-orca-xxx` |
-<<<<<<< HEAD
| **Cheaper Inference** | `he config llm -p cheaperinference -m gpt-5.4-mini -k ci_live_xxx` + `he config embedder -p openai -k sk-xxx` |
-=======
| **Atlas Cloud** | `he config llm -p atlascloud -k xxx` + `he config embedder -p openai -k sk-xxx` |
->>>>>>> pr-189-src
| **vLLM** | `he config init` → select "local vLLM" |
| **Mixed** (LLM=Bailian, Embedder=vLLM) | `he config llm -p bailian -k sk-xxx` + `he config embedder -p vllm -u http://localhost:8001/v1 -k dummy` |