@qdrant/qdrant-js v1.14.1
Qdrant-JS: JavaScript Qdrant SDK
This package represents the JS SDK for the Qdrant vector search engine.
The next packages are re-exported from it:
Installation
pnpm i @qdrant/qdrant-js
# or
npm install @qdrant/qdrant-js
# or
yarn add @qdrant/qdrant-jsUsage
The REST client is imported from the root path; the gRPC is imported from the /grpc subpath:
import {QdrantClient} from '@qdrant/qdrant-js'; // REST clientimport {QdrantClient} from '@qdrant/qdrant-js/grpc'; // gRPC clientIt is recommended to use the REST (OpenAPI-based) client initially, since REST tends to be easier to debug. Switch to gRPC when you're APIs are working for increase performance. Bear in mind that for small-size request, REST may be of equal if not more performance than gRPC. gRPC incurs a tiny conversion cost but goes easier on the wire, which makes a difference with big data chunks.
Contributing
These are the most relevant scripts for development:
pnpm build: builds and bundles from TypeScript sourcespnpm pre-check: type-checks sourcespnpm pre-commit: same as pre-check, but for git hooks (husky)
5 months ago
6 months ago
9 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago