1.9.0 • Published 1 month ago

@qdrant/qdrant-js v1.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

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-js

Usage

The REST client is imported from the root path; the gRPC is imported from the /grpc subpath:

import {QdrantClient} from '@qdrant/qdrant-js'; // REST client
import {QdrantClient} from '@qdrant/qdrant-js/grpc'; // gRPC client

It 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 sources
  • pnpm pre-check: type-checks sources
  • pnpm pre-commit: same as pre-check, but for git hooks (husky)
1.9.0

1 month ago

1.8.2

2 months ago

1.8.1

3 months ago

1.8.0

3 months ago

1.7.0

6 months ago

1.6.0

8 months ago

1.5.0

9 months ago

1.4.0

10 months ago

1.3.0

11 months ago

1.2.2

12 months ago

1.2.1

12 months ago

1.2.0

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

0.1.0

1 year ago