Skip to content
Snippets Groups Projects
Unverified Commit cbc9a689 authored by Kurtis Massey's avatar Kurtis Massey Committed by GitHub
Browse files

Merge branch 'main' into feat/BedrockEncoder

parents f04846d9 5d59a8ba
No related branches found
No related tags found
No related merge requests found
...@@ -188,6 +188,8 @@ class PineconeIndex(BaseIndex): ...@@ -188,6 +188,8 @@ class PineconeIndex(BaseIndex):
# Construct the request URL for listing vectors. Adjust parameters as needed. # Construct the request URL for listing vectors. Adjust parameters as needed.
list_url = f"https://{self.host}/vectors/list{prefix_str}" list_url = f"https://{self.host}/vectors/list{prefix_str}"
params: Dict = {} params: Dict = {}
if self.namespace:
params["namespace"] = self.namespace
headers = {"Api-Key": os.environ["PINECONE_API_KEY"]} headers = {"Api-Key": os.environ["PINECONE_API_KEY"]}
metadata = [] metadata = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment