refactor rag; add files support; use qdrant

This commit is contained in:
ramnique 2025-02-08 00:41:01 +05:30
parent b438e8f307
commit 7847c96977
43 changed files with 4556 additions and 2372 deletions

View file

@ -0,0 +1,7 @@
import {QdrantClient} from '@qdrant/js-client-rest';
// TO connect to Qdrant running locally
export const qdrantClient = new QdrantClient({
url: process.env.QDRANT_URL,
...(process.env.QDRANT_API_KEY ? { apiKey: process.env.QDRANT_API_KEY } : {}),
});