- config.py ported from ChironeWp3, PSD_PROFILE -> THOTH_PROFILE; dual vector key (vector_rest/vector_write_rest top-level) preserved verbatim - workspace.py: thin boundary wrapper (D3) around load_config - workspaces/chirone.example.yaml: aligned to the real Config shape - tests/test_workspace.py: 2 tests (env expand + dual key; missing env raises) - .env.example: added DWH + DOCS_ROOT vars All tests pass (2/2).
36 lines
965 B
Bash
36 lines
965 B
Bash
# ThothII profile: server (full rebuild) | workstation (read REST + optional upsert)
|
|
THOTH_PROFILE=server
|
|
|
|
# Workspace DB (relational, direct transport) — example: chirone
|
|
THOTH_DB_HOST=
|
|
THOTH_DB_PORT=5432
|
|
THOTH_DB_NAME=
|
|
THOTH_DB_USER=
|
|
THOTH_DB_PASSWORD=
|
|
|
|
# DWH via REST (richiesto se database.transport = rest)
|
|
THOTH_DWH_REST_URL=https://supabase-aritmolab.policlinicosandonato.it/dwh/
|
|
THOTH_DWH_API_KEY=
|
|
|
|
# Evidence source root (cartella curata a mano con le evidence)
|
|
THOTH_DOCS_ROOT=
|
|
|
|
# Vector REST — LETTURA (rpc search_similar) sul Supabase remoto
|
|
THOTH_VEC_REST_URL=https://host/vector/v1/
|
|
THOTH_VEC_API_KEY=
|
|
|
|
# Vector REST — SCRITTURA controllata (upsert only) da client remoti autorizzati
|
|
THOTH_VEC_WRITE_API_KEY=
|
|
|
|
# Vector direct loading (server-only)
|
|
THOTH_VEC_HOST=localhost
|
|
THOTH_VEC_PORT=5438
|
|
THOTH_VEC_USER=postgres
|
|
THOTH_VEC_PASSWORD=
|
|
|
|
# Embeddings (Ollama)
|
|
THOTH_OLLAMA_URL=http://localhost:11434
|
|
|
|
# TLS (optional, internal CA)
|
|
THOTH_SSL_CA=
|