Skip to content
Snippets Groups Projects
Commit 73cf6b84 authored by theanupllm's avatar theanupllm
Browse files

Merge branch 'feat/BedrockEncoder' of...

Merge branch 'feat/BedrockEncoder' of https://github.com/kurtismassey/semantic-router into feat/BedrockEncoder
parents 19b2a6d4 cbc9a689
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.
Finish editing this message first!
Please register or to comment