Skip to content

Commit c520978

Browse files
committed
Document metadata can have other types than str
1 parent cd97efc commit c520978

File tree

1 file changed

+1
-1
lines changed
  • src/neo4j_graphrag/experimental/components

1 file changed

+1
-1
lines changed

src/neo4j_graphrag/experimental/components/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DocumentInfo(DataModel):
3636
"""
3737

3838
path: str
39-
metadata: Optional[Dict[str, str]] = None
39+
metadata: Optional[Dict[str, Any]] = None
4040
uid: str = Field(default_factory=lambda: str(uuid.uuid4()))
4141
document_type: Optional[str] = None
4242

0 commit comments

Comments
 (0)