Since Qdrant Cloud has a fairly strict CORS policy, here's a simple val that proxies calls to Qdrant Cloud API and makes them accessible from Web apps.
To set up:
- fork this val
- add your
QDRANT_API_KEY
to your environment variables. This would limit usage of your proxy to your API key only.
- start using val as a proxy
Use it as a 1:1 replacement for Qdrant API, except for one additional query string parameter:
cluster_id
-- the part of the Qdrant API endpoint before cloud.qdrant.io
.