Merge pull request #39 from rowboatlabs/dev

add qdrant migrate instructions
This commit is contained in:
Ramnique Singh 2025-03-10 14:03:51 +05:30 committed by GitHub
commit 41b89ded93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

View file

@ -193,6 +193,16 @@ RowBoat supports RAG capabilities to enhance responses with your custom knowledg
QDRANT_API_KEY=<your-api-key> # Only needed for Qdrant Cloud
```
3. **Initialize Qdrant Collections**
```bash
docker compose --profile setup_qdrant up setup_qdrant
```
If you need to delete the collections and start fresh, you can run:
```bash
docker compose --profile delete_qdrant up delete_qdrant
```
### RAG Features
RowBoat supports two types of knowledge base ingestion:

View file

@ -69,6 +69,28 @@ services:
- OPENAI_API_KEY=${OPENAI_API_KEY}
restart: unless-stopped
setup_qdrant:
build:
context: ./apps/rowboat
dockerfile: scripts.Dockerfile
command: ["npm", "run", "setupQdrant"]
profiles: [ "setup_qdrant" ]
environment:
- QDRANT_URL=${QDRANT_URL}
- QDRANT_API_KEY=${QDRANT_API_KEY}
restart: no
delete_qdrant:
build:
context: ./apps/rowboat
dockerfile: scripts.Dockerfile
command: ["npm", "run", "deleteQdrant"]
profiles: [ "delete_qdrant" ]
environment:
- QDRANT_URL=${QDRANT_URL}
- QDRANT_API_KEY=${QDRANT_API_KEY}
restart: no
rag_files_worker:
build:
context: ./apps/rowboat