Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/source/user_guide_kg_builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,10 @@ It can be used in this way:
from neo4j_graphrag.experimental.components.entity_relation_extractor import (
LLMEntityRelationExtractor,
)
from neo4j_graphrag.experimental.components.types import (
TextChunks,
TextChunk
)
from neo4j_graphrag.llm import OpenAILLM

extractor = LLMEntityRelationExtractor(
Expand All @@ -908,7 +912,7 @@ It can be used in this way:
},
)
)
await extractor.run(chunks=TextChunks(chunks=[TextChunk(text="some text")]))
await extractor.run(chunks=TextChunks(chunks=[TextChunk(text="some text", index=0)]))


.. warning::
Expand Down