refactor: retire external vector deployment

This commit is contained in:
2026-08-08 19:05:57 +02:00
parent 8f4ec1e1a3
commit 4e3fecbe8e
44 changed files with 370 additions and 1710 deletions
+6 -2
View File
@@ -2,6 +2,10 @@ language: en
dwh:
type: postgres_direct
connection:
{host: vector-db, database: thoth, schema: vectors, user: thoth_vector_reader,
password_file: "${THT_VECTOR_READER_PASSWORD_FILE}"}
host: "${THT_PREPROCESS_DWH_HOST:-dwh}"
port: "${THT_PREPROCESS_DWH_PORT:-5432}"
database: "${THT_PREPROCESS_DWH_DATABASE:-warehouse}"
schema: "${THT_PREPROCESS_DWH_SCHEMA:-public}"
user: "${THT_PREPROCESS_DWH_USER:-thoth_reader}"
password_file: "${THT_PREPROCESS_DWH_PASSWORD_FILE:-/run/secrets/preprocess-dwh-password}"
roots: {artifacts: artifacts, indexes: indexes, sessions: sessions}
+16 -9
View File
@@ -1,15 +1,22 @@
language: en
dwh:
type: postgres_direct
connection: {host: unused, database: unused, schema: public, user: unused, password: unused}
connection:
host: "${THT_PREPROCESS_DWH_HOST:-unused}"
port: "${THT_PREPROCESS_DWH_PORT:-5432}"
database: "${THT_PREPROCESS_DWH_DATABASE:-unused}"
schema: "${THT_PREPROCESS_DWH_SCHEMA:-public}"
user: "${THT_PREPROCESS_DWH_USER:-unused}"
password_file: "${THT_PREPROCESS_DWH_PASSWORD_FILE:-/run/secrets/preprocess-dwh-password}"
vectors:
type: pgvector_direct
reader:
{host: vector-db, database: thoth, schema: vectors, user: thoth_vector_reader,
password_file: "${THT_VECTOR_READER_PASSWORD_FILE}"}
writer:
{host: vector-db, database: thoth, schema: vectors, user: thoth_vector_writer,
password_file: "${THT_VECTOR_WRITER_PASSWORD_FILE}"}
type: qdrant
base_url: http://qdrant:6333
collection: preprocess-evidence
roots: {artifacts: artifacts, indexes: indexes, sessions: sessions}
evidence: {source_root: /data/source, evidence_dir: evidence}
embeddings: {base_url: "${THT_OLLAMA_URL}", model: smoke, dim: 768, batch_size: 32}
embeddings:
provider: ollama_internal
base_url: http://embedding:11434
model: qwen3-embedding:0.6b
dim: 1024
batch_size: 32