We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4e2d3 commit 6a0ba67Copy full SHA for 6a0ba67
docs/source/user_guide_kg_builder.rst
@@ -897,6 +897,10 @@ It can be used in this way:
897
from neo4j_graphrag.experimental.components.entity_relation_extractor import (
898
LLMEntityRelationExtractor,
899
)
900
+ from neo4j_graphrag.experimental.components.types import (
901
+ TextChunks,
902
+ TextChunk
903
+ )
904
from neo4j_graphrag.llm import OpenAILLM
905
906
extractor = LLMEntityRelationExtractor(
@@ -908,7 +912,7 @@ It can be used in this way:
908
912
},
909
913
910
914
911
- await extractor.run(chunks=TextChunks(chunks=[TextChunk(text="some text")]))
915
+ await extractor.run(chunks=TextChunks(chunks=[TextChunk(text="some text", index=0)]))
916
917
918
.. warning::
0 commit comments