mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-19 18:35:18 +02:00
refactor rag; add files support; use qdrant
This commit is contained in:
parent
b438e8f307
commit
7847c96977
43 changed files with 4556 additions and 2372 deletions
7
apps/rowboat/app/lib/qdrant.ts
Normal file
7
apps/rowboat/app/lib/qdrant.ts
Normal 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 } : {}),
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue