npm
@qdrant/js-client-rest
#89 of 964 in the AI Agent Index
36 Score
Real usage 80
Momentum —
Attention —
About
This repository contains the REST client for the Qdrant vector search engine.
Or directly using an endpoint from the API:
A non-ok fetch response throws a generic ApiError
But an Openapi document can declare a different response type for each status code, or a default error response type.
These can be accessed via a discriminated union on status, as in code snippet below:
The REST implementation relies on the native fetch API, which is available in Deno and Node.js (starting on v18.0.0 without experimental flag). The Deno implementation supports HTTP/2 whereas Node.js is still lagging on the spec and provide only HTTP 1.1 support (this is due to the fact that under the hood Node.js…
Across sources
563.0k Downloads / week
- Downloads / week 563.0k