Skip to content

Commit 0497e40

Browse files
authored
Update docstring for Pinecone retriever (#121)
1 parent 998a3af commit 0497e40

File tree

1 file changed

+3
-3
lines changed
  • src/neo4j_genai/retrievers/external/pinecone

1 file changed

+3
-3
lines changed

src/neo4j_genai/retrievers/external/pinecone/pinecone.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ class PineconeNeo4jRetriever(ExternalRetriever):
7474
Args:
7575
driver (neo4j.Driver): The Neo4j Python driver.
7676
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.
8079
embedder (Optional[Embedder]): Embedder object to embed query text.
8180
return_properties (Optional[list[str]]): List of node properties to return.
81+
retrieval_query (str): Cypher query that gets appended.
8282
result_formatter (Optional[Callable[[neo4j.Record], RetrieverResultItem]]): Function to transform a neo4j.Record to a RetrieverResultItem.
8383
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>`_).
8484

0 commit comments

Comments
 (0)