Skip to content

Add Qdrant vector database client#479

Open
HunterCML wants to merge 1 commit into
arakoodev:tsfrom
HunterCML:codex/qdrant-vector-client
Open

Add Qdrant vector database client#479
HunterCML wants to merge 1 commit into
arakoodev:tsfrom
HunterCML:codex/qdrant-vector-client

Conversation

@HunterCML
Copy link
Copy Markdown

Summary

  • add a fetch-backed Qdrant vector database client for the JavaScript SDK
  • export Qdrant from the vector-db package
  • cover collection creation, point upsert, vector search, point deletion, and client setup with unit tests

Notes

  • implements Qdrant API calls directly without the Qdrant package
  • uses QDRANT_URL and optional QDRANT_API_KEY, defaulting to http://localhost:6333

Validation

  • npx tsc --noEmit --target ES2022 --module NodeNext --moduleResolution NodeNext --esModuleInterop --strict --skipLibCheck --types jest,node .\src\vector-db\src\lib\qdrant\qdrant.ts
  • runtime smoke test against a fake client for create collection, insert, search, and delete paths

Repo-level check notes

  • npm run build currently fails on Windows before TypeScript because the script uses rm -rf dist
  • full npx tsc -b is blocked by existing unrelated errors in hono, node-html-parser, and youtubeLoader.ts
  • targeted npx jest src/vector-db/src/tests/qdrant/qdrant.test.ts --runInBand is blocked by the current local install missing Jest transitive packages (jest-haste-map, exit)

/claim #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
Author

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant