Skip to content
Snippets Groups Projects
Unverified Commit 0730140e authored by Andy Garvin's avatar Andy Garvin Committed by GitHub
Browse files

fix: include node relationships when converting jsonToDoc (#968)

parent 810711d3
No related branches found
No related tags found
No related merge requests found
---
"llamaindex": patch
---
include node relationships when converting jsonToDoc
......@@ -44,6 +44,7 @@ export function jsonToDoc(docDict: DocJson): BaseNode {
id_: dataDict.id_,
hash: dataDict.hash,
metadata: dataDict.metadata,
relationships: dataDict.relationships,
});
} else {
throw new Error(`Unknown doc type: ${docType}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment