Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
chore: bump version to 0.11.0; news for 0.11.0
yifanfeng9734217863fa3c
diff --git a/README.md b/README.mdindex c817e50..ef8d2b8 100644--- a/README.md+++ b/README.md@@ -354,7 +354,7 @@ identifiers:## 📰 What's New-**v0.10.5** — 🛡️ Load-time template validation (undeclared identifier fields fail at create, not at merge) · 🧠 Native Gemini · 🔒 ontomem 0.6.1 safe merging.+**v0.11.0** — 🛠️ Critical 0.10.5 preset fix (7 temporal/spatial presets) · 🔌 New API Route & Runcrate providers · 🛡️ Hypergraph member-field load-time validation.📰 **[Full release notes](https://yifanfeng97.github.io/Hyper-Extract/latest/news/)** · [All releases](https://github.com/yifanfeng97/hyper-extract/releases)diff --git a/README_ZH.md b/README_ZH.mdindex d8578a0..fcb0cef 100644--- a/README_ZH.md+++ b/README_ZH.md@@ -354,7 +354,7 @@ identifiers:## 📰 最新动态-**v0.10.5** — 🛡️ 加载期模板校验(未声明字段在 create 阶段即报错)· 🧠 原生 Gemini · 🔒 ontomem 0.6.1 安全合并。+**v0.11.0** — 🛠️ 0.10.5 关键预设修复(7 个时空类模板)· 🔌 新增 API Route 与 Runcrate provider · 🛡️ 超图成员字段加载期校验。📰 **[完整版本说明](https://yifanfeng97.github.io/Hyper-Extract/latest/zh/news/)** · [全部 Releases](https://github.com/yifanfeng97/hyper-extract/releases)diff --git a/docs/en/news.md b/docs/en/news.mdindex d10002f..516c7b7 100644--- a/docs/en/news.md+++ b/docs/en/news.md@@ -4,6 +4,15 @@ Release notes and highlights. For a complete changelog, see the [GitHub releases---+## v0.11.0 — Preset Regression Fix, New Providers & Diagnostics++- **🛠️ Critical fix for 0.10.5** — the load-time identifiers check validated `time_field`/`location_field` against the wrong output section, breaking `Template.create` for 7 shipped presets (`temporal_graph`, `spatial_graph`, `spatio_temporal_graph`, `biography_graph`, `event_timeline`, `case_fact_timeline`, `hospital_timeline`). Now validated against `relations.fields` per the presets and the validator's HE-T006 rule. *(#184)*+- **🔌 New provider presets** — **API Route** (`API_ROUTE_API_KEY`) and **Runcrate** (open models + embeddings on one key, `RUNCRATE_API_KEY`), both OpenAI-compatible, with EN/ZH docs and tests. *(#190, #192)*+- **🛡️ More load-time validation** — hypergraph `relation_members` in string/list form are now field-checked at `Template.create` (previously crashed at feed time with `AttributeError`). *(#185)*+- **🧭 Better diagnostics** — a graph-family template carrying naive `item_id` identifiers fails with the validator's HE-T003 guidance instead of a bare `AttributeError`. *(#191)*++---+## v0.10.5 — Load-Time Template Validation & Friendly Local-Model Errors- **🛡️ Load-time identifiers validation** — a template whose `node_id`/`relation_id`/`relation_members` reference fields not declared in `output` now fails at `Template.create` with `relation_id references '{type}' but relations.fields does not declare 'type'`, instead of crashing at first merge with an unrelated `max()` error. *(production feedback; requires ontomem ≥ 0.6.1)*diff --git a/docs/zh/news.md b/docs/zh/news.mdindex 97eb8e7..85af2ef 100644--- a/docs/zh/news.md+++ b/docs/zh/news.md@@ -4,6 +4,15 @@---+## v0.11.0 — 预设回归修复、新 Provider 与诊断改进++- **🛠️ 0.10.5 关键修复** — 加载期 identifiers 校验把 `time_field`/`location_field` 对错了 output 段,导致 7 个已发布预设(`temporal_graph`、`spatial_graph`、`spatio_temporal_graph`、`biography_graph`、`event_timeline`、`case_fact_timeline`、`hospital_timeline`)无法创建。现按预设与校验器 HE-T006 规则对 `relations.fields` 校验。*(#184)*+- **🔌 新 provider 预设** — **API Route**(`API_ROUTE_API_KEY`)与 **Runcrate**(开放模型 + 嵌入共用一个密钥 `RUNCRATE_API_KEY`),均 OpenAI 兼容,含中英文档与测试。*(#190, #192)*+- **🛡️ 更多加载期校验** — 超图 `relation_members` 的字符串/列表形式现在也会在 `Template.create` 时做字段检查(此前在 feed 阶段才 AttributeError)。*(#185)*+- **🧭 更好的诊断** — graph 族模板误用 naive `item_id` identifiers 时,报校验器 HE-T003 的指引信息而非裸 `AttributeError`。*(#191)*++---+## v0.10.5 — 加载期模板校验与本地模型友好报错- **🛡️ 加载期 identifiers 校验** — 模板的 `node_id`/`relation_id`/`relation_members` 引用了 `output` 未声明字段时,`Template.create` 阶段即报 `relation_id references '{type}' but relations.fields does not declare 'type'`,而非首次合并时崩出无关的 `max()` 错误。*(生产反馈;需要 ontomem ≥ 0.6.1)*diff --git a/pyproject.toml b/pyproject.tomlindex 237bcb7..3a01f1e 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "hyperextract"-version = "0.10.5"+version = "0.11.0"description = "An intelligent, LLM-powered knowledge extraction and evolution framework with semantic search capabilities"readme = "README.md"requires-python = ">=3.11"diff --git a/uv.lock b/uv.lockindex 45fc72f..e6959f6 100644--- a/uv.lock+++ b/uv.lock@@ -977,7 +977,7 @@ wheels = [[[package]]name = "hyperextract"-version = "0.10.5"+version = "0.11.0"source = { editable = "." }dependencies = [{ name = "faiss-cpu" },@@ -1191,9 +1191,9 @@ source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }dependencies = [{ name = "jsonpointer" },]-sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c" }+sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699, upload-time = "2023-06-26T12:07:29.144Z" }wheels = [- { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade" },+ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898, upload-time = "2023-06-16T21:01:28.466Z" },][[package]]