mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 13:58:58 +00:00
refactor: the document structure of GraphRAG (#2084)
This commit is contained in:
@@ -49,6 +49,7 @@ class Chunk(Document):
|
||||
chunk_id: str = Field(
|
||||
default_factory=lambda: str(uuid.uuid4()), description="unique id for the chunk"
|
||||
)
|
||||
chunk_name: str = Field(default="", description="chunk name")
|
||||
content: str = Field(default="", description="chunk text content")
|
||||
|
||||
metadata: Dict[str, Any] = Field(
|
||||
|
Reference in New Issue
Block a user