qdrant-js  by qdrant

JS/TS SDK for Qdrant vector search

Created 2 years ago
376 stars

Top 75.5% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a JavaScript/TypeScript SDK for interacting with the Qdrant vector search engine. It offers three distinct packages: a main SDK, a lightweight REST client, and a gRPC client, catering to developers building applications with Qdrant in Node.js, Deno, browsers, and Cloudflare Workers.

How It Works

The SDK leverages modern JavaScript features and provides type safety through TypeScript definitions. It offers both REST and gRPC interfaces, allowing users to choose the protocol that best suits their performance and network requirements. The client can connect to locally running Qdrant instances or Qdrant Cloud deployments.

Quick Start & Requirements

  • Install via npm, yarn, or pnpm: npm install @qdrant/js-client-rest
  • Requires Node.js >= 18.0.0 for full functionality.
  • Qdrant instance (local Docker or Qdrant Cloud) is required.
  • See examples for usage.

Highlighted Details

  • Supports Node.js (ESM/CJS), Deno, Browser, and Cloudflare Workers.
  • Offers both REST and gRPC client implementations.
  • Versioning aligns with Qdrant engine releases.

Maintenance & Community

  • Actively maintained, with releases tied to Qdrant engine updates.
  • Contributions are welcome; uses pnpm for monorepo management.

Licensing & Compatibility

  • Apache 2.0 License.
  • Permissive license suitable for commercial and closed-source applications.

Limitations & Caveats

The primary package @qdrant/js-client-rest is described as "lightweight," suggesting potential feature limitations compared to a full-featured client. The gRPC client is also available but not explicitly detailed in the README.

Health Check
Last Commit

1 week ago

Responsiveness

1+ week

Pull Requests (30d)
3
Issues (30d)
1
Star History
14 stars in the last 30 days

Explore Similar Projects

Starred by Bryan Helmig Bryan Helmig(Cofounder of Zapier) and Jared Palmer Jared Palmer(Ex-VP AI at Vercel; Founder of Turborepo; Author of Formik, TSDX).

pgvector-node by pgvector

0.3%
403
Node.js library for pgvector support
Created 4 years ago
Updated 1 week ago
Feedback? Help us improve.