You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/neo4j_genai/retrievers/external/pinecone/pinecone.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -74,11 +74,11 @@ class PineconeNeo4jRetriever(ExternalRetriever):
74
74
Args:
75
75
driver (neo4j.Driver): The Neo4j Python driver.
76
76
client (Pinecone): The Pinecone client object.
77
-
collection (str): Name of a set of Weaviate objects that share the same data structure.
78
-
id_property_external (str): The name of the Weaviate property that has the identifier that refers to a corresponding Neo4j node id property.
79
-
id_property_neo4j (str): The name of the Neo4j node property that's used as the identifier for relating matches from Weaviate to Neo4j nodes.
77
+
index_name (str): The name of the Pinecone index.
78
+
id_property_neo4j (str): The name of the Neo4j node property that's used as the identifier for relating matches from Pinecone to Neo4j nodes.
80
79
embedder (Optional[Embedder]): Embedder object to embed query text.
81
80
return_properties (Optional[list[str]]): List of node properties to return.
81
+
retrieval_query (str): Cypher query that gets appended.
82
82
result_formatter (Optional[Callable[[neo4j.Record], RetrieverResultItem]]): Function to transform a neo4j.Record to a RetrieverResultItem.
83
83
neo4j_database (Optional[str]): The name of the Neo4j database. If not provided, this defaults to "neo4j" in the database (`see reference to documentation <https://neo4j.com/docs/operations-manual/current/database-administration/#manage-databases-default>`_).
0 commit comments