Change list[str] -> str for vectordbs (#1388)

This commit is contained in:
Anu
2024-06-07 10:15:40 -06:00
committed by GitHub
parent fd07513004
commit e0d0f6e94c
11 changed files with 27 additions and 27 deletions

View File

@@ -150,7 +150,7 @@ class PineconeDB(BaseVectorDB):
def query(
self,
input_query: list[str],
input_query: str,
n_results: int,
where: Optional[dict[str, any]] = None,
raw_filter: Optional[dict[str, any]] = None,
@@ -162,7 +162,7 @@ class PineconeDB(BaseVectorDB):
Query contents from vector database based on vector similarity.
Args:
input_query (list[str]): List of query strings.
input_query (str): query string.
n_results (int): Number of similar documents to fetch from the database.
where (dict[str, any], optional): Filter criteria for the search.
raw_filter (dict[str, any], optional): Advanced raw filter criteria for the search.