Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
feat: 将多个类中的 verbose 参数默认值更改为 False,以减少日志输出
yifanfeng975ead16cd6d2a
diff --git a/examples/auto_set_demo.py b/examples/auto_set_demo.pyindex 211e010..b227563 100644--- a/examples/auto_set_demo.py+++ b/examples/auto_set_demo.py@@ -76,6 +76,7 @@ def main():- loot_drops: 击败后可能掉落的物品要尽可能准确和详细,包括所有提到的怪物和它们的属性。如果信息不完整,请基于已有信息做出合理推断。""",+ verbose=True,)# 来自冒险者的日志 - 包含重复的怪物但信息略有不同diff --git a/hyperextract/core/base.py b/hyperextract/core/base.pyindex 4102d68..1164f2d 100644--- a/hyperextract/core/base.py+++ b/hyperextract/core/base.py@@ -42,7 +42,7 @@ class BaseAutoType(ABC, Generic[T]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,):"""Initialize the knowledge object with schema and processing configuration.diff --git a/hyperextract/core/list.py b/hyperextract/core/list.pyindex 84f9107..efda648 100644--- a/hyperextract/core/list.py+++ b/hyperextract/core/list.py@@ -62,7 +62,7 @@ class AutoList(BaseAutoType[AutoListSchema[Item]], Generic[Item]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,fields_for_index: List[str] | None = None,):"""Initialize AutoList with item schema and configuration.diff --git a/hyperextract/core/model.py b/hyperextract/core/model.pyindex 49963e7..a3a3061 100644--- a/hyperextract/core/model.py+++ b/hyperextract/core/model.py@@ -43,7 +43,7 @@ class AutoModel(BaseAutoType[T]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,**kwargs,):"""Initialize AutoModel with schema and configuration.diff --git a/hyperextract/core/set.py b/hyperextract/core/set.pyindex 2335aa1..5deaa42 100644--- a/hyperextract/core/set.py+++ b/hyperextract/core/set.py@@ -95,7 +95,7 @@ class AutoSet(BaseAutoType[AutoSetSchema[Item]], Generic[Item]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,fields_for_index: List[str] | None = None,**kwargs: Any,):diff --git a/hyperextract/graphs/base.py b/hyperextract/graphs/base.pyindex 3dd493d..3e92cae 100644--- a/hyperextract/graphs/base.py+++ b/hyperextract/graphs/base.py@@ -156,7 +156,7 @@ class AutoGraph(BaseAutoType[AutoGraphSchema[Node, Edge]], Generic[Node, Edge]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,node_fields_for_index: List[str] | None = None,edge_fields_for_index: List[str] | None = None,**kwargs: Any,diff --git a/hyperextract/graphs/itext2kg.py b/hyperextract/graphs/itext2kg.pyindex caa1941..1c92bbd 100644--- a/hyperextract/graphs/itext2kg.py+++ b/hyperextract/graphs/itext2kg.py@@ -122,7 +122,7 @@ class iText2KG(AutoGraph[NodeSchema, EdgeSchema]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,):"""Initialize iText2KG.diff --git a/hyperextract/graphs/itext2kg_star.py b/hyperextract/graphs/itext2kg_star.pyindex abf5a1c..c2af9ae 100644--- a/hyperextract/graphs/itext2kg_star.py+++ b/hyperextract/graphs/itext2kg_star.py@@ -137,7 +137,7 @@ class iText2KG_Star(AutoGraph[NodeSchema, EdgeSchema]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,):"""Initialize iText2KG_Star.diff --git a/hyperextract/graphs/kg_gen.py b/hyperextract/graphs/kg_gen.pyindex 1e91899..b2a775e 100644--- a/hyperextract/graphs/kg_gen.py+++ b/hyperextract/graphs/kg_gen.py@@ -106,7 +106,7 @@ class KG_Gen(AutoGraph[NodeSchema, EdgeSchema]):chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,):"""Initialize KGGenGraph.diff --git a/hyperextract/hypergraphs/base.py b/hyperextract/hypergraphs/base.pyindex 6c92bc4..6857b88 100644--- a/hyperextract/hypergraphs/base.py+++ b/hyperextract/hypergraphs/base.py@@ -152,7 +152,7 @@ class AutoHypergraph(chunk_size: int = 2000,chunk_overlap: int = 200,max_workers: int = 10,- verbose: bool = True,+ verbose: bool = False,node_fields_for_index: List[str] | None = None,edge_fields_for_index: List[str] | None = None,**kwargs: Any,