File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/neo4j_graphrag/retrievers Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,17 @@ LLMEntityRelationExtractor
70
70
.. autoclass :: neo4j_graphrag.experimental.components.entity_relation_extractor.LLMEntityRelationExtractor
71
71
:members: run
72
72
73
+
74
+ .. _pipeline-section :
75
+
76
+ ********
77
+ Pipeline
78
+ ********
79
+
80
+ .. autoclass :: neo4j_graphrag.experimental.pipeline.Pipeline
81
+ :members: run, add_component, connect, get_pygraphviz_graph
82
+
83
+
73
84
.. _retrievers-section :
74
85
75
86
**********
Original file line number Diff line number Diff line change @@ -60,6 +60,12 @@ class VectorRetriever(Retriever):
60
60
retriever = VectorRetriever(driver, "vector-index-name", custom_embedder)
61
61
retriever.search(query_text="Find me a book about Fremen", top_k=5)
62
62
63
+ or if the vector embedding of the query text is available:
64
+
65
+ .. code-block:: python
66
+
67
+ retriever.search(query_vector=..., top_k=5)
68
+
63
69
Args:
64
70
driver (neo4j.Driver): The Neo4j Python driver.
65
71
index_name (str): Vector index name.
You can’t perform that action at this time.
0 commit comments