Skip to content

Commit

Permalink
Fix Pinecone client kwargs doubling issue. (#11422)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozozozd authored Feb 27, 2024
1 parent 92a1b4d commit 8e683c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ def query(self, query: VectorStoreQuery, **kwargs: Any) -> VectorStoreQueryResul
vector=query_embedding,
sparse_vector=sparse_vector,
top_k=query.similarity_top_k,
include_values=True,
include_metadata=True,
include_values=kwargs.pop("include_values", True),
include_metadata=kwargs.pop("include_metadata", True),
namespace=self.namespace,
filter=filter,
**kwargs,
Expand Down

0 comments on commit 8e683c1

Please sign in to comment.