/claim #273
vector-db package.Qdrant and TypeScript types alongside Supabase.insertVectorData/upsert, getDataFromQuery/search, getData/scroll, getDataById, updateById, and deleteById.JS/edgechains/examples/qdrant-vector-db.vector-db: yesnpx vitest run src/vector-db/src/tests/qdrant/qdrant.test.tsnpm run buildnpm start from JS/edgechains/examples/qdrant-vector-dbShort demo GIF:
The example uses a mock HTTP client and prints the Qdrant REST requests it would send for collection creation, vector upsert, and search. It does not use any Qdrant npm package.
Full demo transcript, included so the output remains reviewable even if GitHub clips the embedded media:
EdgeChains #273 demo: Qdrant vector database client
Dry-run example; no Qdrant server or Qdrant npm package required.
$ cd JS/edgechains/examples/qdrant-vector-db
$ npm start
Creating collection:
PUT /collections/edgechains_docs
vectors.size = 3
vectors.distance = Cosine
Upserting vectors:
PUT /collections/edgechains_docs/points
points[0].id = doc-1
points[0].payload.text = EdgeChains supports direct Qdrant REST calls.
Searching:
POST /collections/edgechains_docs/points/search
vector = [0.12, 0.25, 0.87]
limit = 3
Search results:
doc-1 score=0.98 text="EdgeChains supports direct Qdrant REST calls."
✓ npx vitest run src/vector-db/src/tests/qdrant/qdrant.test.ts
jonahsills
@jonahsills
Arakoo.ai
@arakoodev