Skip to content

Add Qdrant vector database REST wrapper#487

Open
jynbil1 wants to merge 1 commit into
arakoodev:tsfrom
jynbil1:codex/qdrant-vector-db-273
Open

Add Qdrant vector database REST wrapper#487
jynbil1 wants to merge 1 commit into
arakoodev:tsfrom
jynbil1:codex/qdrant-vector-db-273

Conversation

@jynbil1
Copy link
Copy Markdown

@jynbil1 jynbil1 commented May 12, 2026

Summary

  • add a Qdrant REST API wrapper under the JavaScript vector-db module
  • export Qdrant and QdrantDistanceMetric from vector-db
  • add focused tests for client creation, collection creation, upsert, search, and delete

Validation

  • npm run build
  • npx jest src/vector-db/src/tests/qdrant/qdrant.test.ts --runInBand

Closes #273

@github-actions
Copy link
Copy Markdown

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Before we can accept your contribution, we ask that you sign the Arakoo Contributor License Agreement. You can sign the CLA by adding a new comment to this pull request and pasting exactly the following text.


I have read the Arakoo CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9da691b334

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

config();

type QdrantPointId = number | string;
type QdrantVector = number[] | Record<string, number[]>;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Allow named-vector query shape in search args

QdrantVector is reused for searchPoints, but its object branch is Record<string, number[]>, which rejects Qdrant's valid named-vector search payload shape ({ vector: number[], name: string }). In a strict TypeScript project, this makes multi-vector searches fail at compile time unless callers cast to any, effectively breaking a supported Qdrant search mode introduced by this wrapper.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BOUNTY: add support for qdrant vector database in javascript sdk

1 participant