Types¶
RawSearchResult¶
RetrieverResult¶
- class neo4j_graphrag.types.RetrieverResult(*, items, metadata=None)[source]¶
Represents a result returned from a retriever.
- Parameters:
items (list[RetrieverResultItem])
- items¶
A list of retrieved items.
- Type:
RetrieverResultItem¶
LLMResponse¶
RagResultModel¶
- class neo4j_graphrag.generation.types.RagResultModel(*, answer, retriever_result=None)[source]¶
- Parameters:
answer (str)
retriever_result (RetrieverResult | None)
TextChunk¶
TextChunks¶
Neo4jNode¶
Neo4jRelationship¶
Neo4jGraph¶
- class neo4j_graphrag.experimental.components.types.Neo4jGraph(*, nodes=[], relationships=[])[source]¶
Represents a Neo4j graph.
- Parameters:
relationships (list[Neo4jRelationship])
- relationships¶
A list of relationships in the graph.
- Type: