feat(vector-db): add REST-only Qdrant client with live integration tests - #664
Open
BillTheHuman wants to merge 1 commit into
Open
BillTheHuman wants to merge 1 commit into
BillTheHuman wants to merge 1 commit into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the Arakoo CLA Document and I hereby sign the CLA |
Author
|
recheck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #273.
Adds a Qdrant client through the current
@arakoodev/edgechains.js/vector-dbentry point. The older paths in the issue have moved; this change targetsJS/edgechains/arakoodev/src/vector-dbon the checkedtsbaseline8d79cb4bbf23a9dbc305152fc225bd50db48a0de.Implementation
fetchcalls directly to the REST API; no Qdrant SDK or added runtime dependency.api-keyheaders and apply a client-side deadline. No automatic replay of failed writes; timeout/transport errors explain that the server may already have applied a write.Actual verification
Tested revision:
6717dfd695b506193a24657689d5067b6b0a272a.Node 22.21.1, TypeScript 5.9.3, Vitest 2.1.9, real Qdrant 1.19.1 in an isolated local container. Synthetic vectors and a local test key only; no cloud account or model API was used.
git diff --checkpass.npm pack --dry-runconfirms the client JS, declarations and vector-db export are included. Nothing was published to npm.Example, documentation and required demo
Usage, API scope and reproduction instructions
Validation summary
16-second running demo, MP4
The demo is an actual terminal recording of
examples/qdrant.cjsimporting the compiled package export and asserting live Qdrant results. It creates and removes only its own temporary collection. It is not an animation of invented output.Contribution and bounty status
The implementation, testing and description were prepared with AI assistance on behalf of William (BillTheHuman). No independent manual human code review is claimed. Existing competing submissions are acknowledged; no competing implementation was copied. This follows the posted attempt plan: #273 (comment).
The advertised $30 is submitted for maintainer/reward-creator consideration, not represented as assigned, awarded or owed. No CLA signature or agreement acceptance is asserted on William's behalf here; any required personal signature remains for him to review.
/claim #273