gateway
gateway copied to clipboard
Can NOT connect to Qdrant through Portkey integration
trafficstars
What Happened?
Issue Description I cannot connect to Qdrant through Portkey integration.
Steps to Reproduce
- Create an integration to Qdrant in Portkey, given the
New Base URL,Authorizationwith value in formatBearer <qdrant-api-key>included in custom headers. - Follow the guide at
https://portkey.ai/docs/integrations/vector-databases/qdrant#3-use-the-portkey-sdk-to-interact-with-qdrant, write Python code to 1) init aportkey, and then 2) try GET method to list collections as follows. - Case 1:
response = portkey.get(path = “/collections”) - Case 2:
response = portkey.get(path = “<New Base URL>/collections”) - Case 3:
response = portkey.get(path = “<New Base URL>/collections”, headers = {"api-key": "<qdrant-api-key>"})
Results
- Case 1 failed with exceptions, indicating invalid provider passed.
- Case 2 failed with exceptions, indicating no Authorization Bearer provided.
- Case 3 works. However, in this case, Portkey is not acting like a gateway.
What Should Have Happened?
No response
Relevant Code Snippet
No response
Your Twitter/LinkedIn
No response