Skip to content

Commit be413e9

Browse files
committed
Fix issue in Neo4jGraph.addGraphDocuments function where Document node is not populating text content
1 parent d6e25af commit be413e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/langchain-community/src/graphs/neo4j_graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const BASE_ENTITY_LABEL = "__Entity__";
4343

4444
const INCLUDE_DOCS_QUERY = `
4545
MERGE (d:Document {id:$document.metadata.id})
46-
SET d.text = $document.page_content
46+
SET d.text = $document.pageContent
4747
SET d += $document.metadata
4848
WITH d
4949
`;

0 commit comments

Comments
 (0)