llm-tools / embedJs

A NodeJS RAG framework to easily work with LLMs and embeddings
https://llm-tools.mintlify.app/get-started/introduction
Apache License 2.0
334 stars 40 forks source link

Qdrant Vector Database support #18

Closed adek closed 7 months ago

adek commented 7 months ago

It would be great if you could add Qdrant vector database to your project.

adhityan commented 7 months ago

Hello, the library supports Qdrant already, I seem to have missed updating the documentation - will fix this. In the meantime, you can use Qdrant by doing the following -

  1. Install qdrant support package @qdrant/js-client-rest
  2. Import QdrantDb from @llm-tools/embedjs/vectorDb/qdrant
  3. Set vectorDB to QdrantDb like so .setVectorDb(new QdrantDb({ apiKey: string; url: string; clusterName: string }))
adhityan commented 7 months ago

Added to documentation