HAIKU_RAG_DB and DB_PATH are gone: a capability covers what the configuration places or the db_path it is given, and the app backend and the AG-UI example load their configuration as the CLI does. The compose files point HAIKU_RAG_CONFIG_PATH at the mounted haiku.rag.yaml, which places the database at /data where DB_VOLUME is mounted; the backend refuses a configured set since it serves one database. The chat scopes a selection by source only over a set and names databases on filter rows only across several. Docstrings, docs and test fixtures stop describing an unnamed database; every database a search, listing or citation reports carries a name.
47 lines
969 B
Text
47 lines
969 B
Text
# haiku.rag configuration for the chat app
|
|
# Copy to haiku.rag.yaml and customize as needed
|
|
|
|
# The database. The compose files mount DB_VOLUME (default
|
|
# ./data/haiku.rag.lancedb) at /data.
|
|
lancedb:
|
|
databases:
|
|
haiku.rag: /data
|
|
|
|
# QA model configuration
|
|
qa:
|
|
model:
|
|
provider: ollama
|
|
name: gpt-oss
|
|
# For Anthropic:
|
|
# provider: anthropic
|
|
# name: claude-sonnet-4-20250514
|
|
# For OpenAI:
|
|
# provider: openai
|
|
# name: gpt-4o
|
|
|
|
# Embedding configuration
|
|
embeddings:
|
|
model:
|
|
provider: ollama
|
|
name: qwen3-embedding:4b
|
|
vector_dim: 2560
|
|
# For OpenAI:
|
|
# provider: openai
|
|
# name: text-embedding-3-small
|
|
# vector_dim: 1536
|
|
|
|
# Optional reranking
|
|
# reranking:
|
|
# model:
|
|
# provider: cohere
|
|
# name: rerank-v3.5
|
|
|
|
# Search settings
|
|
search:
|
|
limit: 5
|
|
|
|
# Provider settings
|
|
providers:
|
|
ollama:
|
|
# Use host.docker.internal to reach Ollama running on the host machine
|
|
base_url: http://host.docker.internal:11434
|