mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-28 19:05:31 +02:00
Merge pull request #39 from rowboatlabs/dev
add qdrant migrate instructions
This commit is contained in:
commit
41b89ded93
2 changed files with 32 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -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
|
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
|
### RAG Features
|
||||||
|
|
||||||
RowBoat supports two types of knowledge base ingestion:
|
RowBoat supports two types of knowledge base ingestion:
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,28 @@ services:
|
||||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||||
restart: unless-stopped
|
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:
|
rag_files_worker:
|
||||||
build:
|
build:
|
||||||
context: ./apps/rowboat
|
context: ./apps/rowboat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue