Vacuum the db after ingestion

This commit is contained in:
Yiorgis Gozadinos 2026-04-02 16:48:25 +03:00
parent 076916a8cc
commit 11555e3787
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,6 @@
storage:
vacuum_retention_seconds: 0
embeddings:
model:
provider: ollama

View file

@ -42,6 +42,8 @@ jobs:
OLLAMA_BASE_URL: ${{ secrets.OLLAMA_BASE_URL }}
OLLAMA_API_KEY: ${{ secrets.OLLAMA_API_KEY }}
run: uv run haiku-rag --config ${{ github.workspace }}/.github/haiku.rag.yaml add-src docs/ --db rag.lancedb
- name: Vacuum database
run: uv run haiku-rag --config ${{ github.workspace }}/.github/haiku.rag.yaml vacuum --db rag.lancedb
- name: Package RAG database
run: tar czf haiku-rag-docs.lancedb.tar.gz rag.lancedb/
- name: Upload to release