Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
chore: 移除未使用的导入,简化代码结构
yifanfeng976a17fdf7891c
diff --git a/hyperextract/hypergraphs/hyper_rag.py b/hyperextract/hypergraphs/hyper_rag.pyindex c70e151..b433af7 100644--- a/hyperextract/hypergraphs/hyper_rag.py+++ b/hyperextract/hypergraphs/hyper_rag.py@@ -6,12 +6,9 @@ Extracts and manages multi-entity relationships with support for n-ary hyperedgefrom typing import Listfrom pydantic import BaseModel, Fieldfrom hyperextract.hypergraphs.base import AutoHypergraph-from langchain_core.messages import AIMessagefrom langchain_core.embeddings import Embeddingsfrom langchain_core.language_models import BaseChatModel-from langchain_core.prompts.chat import ChatPromptTemplatefrom ontomem.merger import CustomRuleMerger-from ..utils.logging import logger# ============================================================================# Node Schema