Add is_truncated to graph query for NetworkX graph db

This commit is contained in:
yangdx
2025-04-02 22:12:20 +08:00
parent 4ceafb7cbc
commit 82c4baba70
4 changed files with 33 additions and 12 deletions

View File

@@ -26,3 +26,4 @@ class KnowledgeGraphEdge(BaseModel):
class KnowledgeGraph(BaseModel):
nodes: list[KnowledgeGraphNode] = []
edges: list[KnowledgeGraphEdge] = []
is_truncated: bool = False