Skip to content

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

chore: 更新工作流和文档,修复文件路径和格式

yifanfeng975580bd9b63ac
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 7ade1f2..0341398 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -36,14 +36,14 @@ jobs:
enable-cache: true
- name: Install build dependencies
- run: uv pip install --system build hatchling
+ run: uv tool install build hatchling
- name: Build package
run: python -m build
- name: Check distribution
run: |
- uv pip install --system twine
+ uv tool install twine
twine check dist/*
- name: Upload distribution packages
diff --git a/README.md b/README.md
index f838b2f..335a489 100644
--- a/README.md
+++ b/README.md
@@ -34,17 +34,6 @@
Hyper-Extract is an intelligent, LLM-powered knowledge extraction and evolution framework. It radically simplifies transforming highly unstructured texts into persistent, predictable, and strongly-typed **Knowledge Abstracts**. It effortlessly extracts information into a wide spectrum of formats—ranging from simple **Collections** (Lists/Sets) and **Pydantic Models**, to complex **Knowledge Graphs**, **Hypergraphs**, and even **Spatio-Temporal Graphs**.
-## 📑 Table of Contents
-
-- [Core Features](#-core-features)
-- [Quick Start](#-quick-start)
- - [CLI](#2-the-command-line-way)
- - [Python API](#-the-python-api-way)
-- [The 8 Auto-Types](#-deep-dive-the-8-auto-types)
-- [Architecture](#-architecture-overview)
-- [Comparison](#-comparison-with-other-libraries)
-- [Documentation](#-related-documentation)
-
## ✨ Core Features
- 🔷 **8 Auto-Types:** From basic `AutoModel`/`AutoList` to advanced `AutoGraph`, `AutoHypergraph`, and `AutoSpatioTemporalGraph`.
diff --git a/README_ZH.md b/README_ZH.md
index 007d3d6..9cb5f35 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -34,17 +34,6 @@
Hyper-Extract 是一个智能的、由大语言模型(LLM)驱动的知识提取与演进框架。它极大地简化了将杂乱不堪的文本转化为持久化、强类型的**知识摘要(Knowledge Abstracts)**的过程。无论从基础的**集合(Collection/List)和**结构化模型(Model),还是到高阶复杂的**知识图谱(Knowledge Graph)**、**超图(Hypergraph)**,甚至是**时空图谱(Spatio-Temporal Graph)**,它都能轻松拿捏。
-## 📑 目录
-
-- [核心亮点](#-核心亮点)
-- [快速上手](#-快速上手)
- - [CLI命令行](#2-cli-命令行玩法)
- - [Python API](#-python-api-深度集成)
-- [8大知识结构](#-8种核心知识结构)
-- [系统架构](#-系统架构)
-- [对比其他库](#-与其他相关库的对比)
-- [文档](#-相关文档)
-
## ✨ 核心亮点
- 🔷 **8大基础知识结构数据结构(Auto-Types):** 从基础的 `AutoModel`/`AutoList` 到高阶的 `AutoGraph`, `AutoHypergraph`, 以及 `AutoSpatioTemporalGraph`(时空图)。
diff --git a/docs/en/cli/workflow.md b/docs/en/cli/workflow.md
index c69d76d..8a8e917 100644
--- a/docs/en/cli/workflow.md
+++ b/docs/en/cli/workflow.md
@@ -14,7 +14,7 @@ Imagine you're a researcher who wants to extract and interact with knowledge fro
Hyper-Extract supports `.md` and `.txt` files. Download the sample research paper below to follow this guide:
-<a href="/assets/examples/en/transformer_paper.txt" download class="md-button">📥 Download Sample Document</a>
+<a href="../../assets/examples/en/transformer_paper.txt" download class="md-button">📥 Download Sample Document</a>
Save the file as `transformer_paper.md` in your working directory.
diff --git a/docs/en/index.md b/docs/en/index.md
index dbd3197..3f1878f 100644
--- a/docs/en/index.md
+++ b/docs/en/index.md
@@ -1,8 +1,4 @@
-<div align="center">
- <img alt="Hyper-Extract Logo" src="../assets/logo/logo-horizontal.svg" width="500">
-</div>
-
-<br/>
+![Hyper-Extract Logo](../assets/logo/logo-horizontal.svg){ width="500" }
> **Transform documents into structured knowledge with one command.**
>
diff --git a/docs/zh/cli/workflow.md b/docs/zh/cli/workflow.md
index 99b2f5d..284b3f0 100644
--- a/docs/zh/cli/workflow.md
+++ b/docs/zh/cli/workflow.md
@@ -14,7 +14,7 @@
Hyper-Extract 支持 `.md` 和 `.txt` 文件。下载下面的示例研究论文以跟随本指南:
-<a href="/assets/examples/zh/transformer_paper.txt" download class="md-button">📥 下载示例文档</a>
+<a href="../../assets/examples/zh/transformer_paper.txt" download class="md-button">📥 下载示例文档</a>
将文件保存为 `transformer_paper.md` 在你的工作目录中。
diff --git a/docs/zh/index.md b/docs/zh/index.md
index e7f1149..ceceb88 100644
--- a/docs/zh/index.md
+++ b/docs/zh/index.md
@@ -1,8 +1,4 @@
-<div align="center">
- <img alt="Hyper-Extract Logo" src="../assets/logo/logo-horizontal.svg" width="500">
-</div>
-
-<br/>
+![Hyper-Extract Logo](../assets/logo/logo-horizontal.svg){ width="500" }
> **Transform documents into structured knowledge with one command.**
>
diff --git a/mkdocs.yml b/mkdocs.yml
index 0e725fc..f250d84 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -127,11 +127,6 @@ plugins:
- Medical: templates/reference/medicine.md
- TCM: templates/reference/tcm.md
- Industry: templates/reference/industry.md
- - Resources:
- - resources/index.md
- - resources/faq.md
- - resources/troubleshooting.md
- - resources/contributing.md
- Tutorials:
- tutorials/index.md
- Research Assistant:
@@ -145,6 +140,11 @@ plugins:
- tutorials/knowledge-base/step2-ingest.md
- tutorials/knowledge-base/step3-query.md
- Document Analysis: tutorials/document-analysis/index.md
+ - Resources:
+ - resources/index.md
+ - resources/faq.md
+ - resources/troubleshooting.md
+ - resources/contributing.md
- locale: zh
name: 中文
build: true