Skip to content
Snippets Groups Projects
Unverified Commit a4c94afa authored by James Briggs's avatar James Briggs Committed by GitHub
Browse files

Merge branch 'main' into multiple_functions_in_openai_dynamic_routes

parents d2381722 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