phase a audit

This commit is contained in:
team2
2026-02-22 13:51:45 +01:00
parent 5656a10930
commit b3e9110dd1
14 changed files with 222 additions and 463 deletions

View File

@@ -30,9 +30,14 @@ parameters:
mto.knowledge.vector_tags_index: '%mto.knowledge.root%/vector_tags.index'
mto.knowledge.vector_tags_index_meta: '%mto.knowledge.root%/vector_tags.index.meta.json'
# Tag vector scripts (in src/Vector)
mto.vector.ingest_tags_script: '%mto.root%/src/Vector/vector_ingest_tags.py'
mto.vector.search_tags_script: '%mto.root%/src/Vector/vector_search_tags.py'
# ------------------------------------------------------------
# Vector Script Directory (A2)
# ------------------------------------------------------------
mto.vector.script_dir: '%mto.root%/python/vector'
# Tag vector scripts
mto.vector.ingest_tags_script: '%mto.vector.script_dir%/vector_ingest_tags.py'
mto.vector.search_tags_script: '%mto.vector.script_dir%/vector_search_tags.py'
# Lock for tag rebuild jobs
mto.tags.rebuild_lock: '%mto.knowledge.root%/locks/tag_rebuild.lock'
@@ -53,10 +58,9 @@ parameters:
# Python / Vector Runtime
# ------------------------------------------------------------
mto.vector.python_bin: '/var/www/html/.venv/bin/python3'
mto.vector.ingest_script: '%mto.root%/src/Vector/vector_ingest.py'
mto.vector.search_script: '%mto.root%/src/Vector/vector_search.py'
mto.vector.ingest_script: '%mto.vector.script_dir%/vector_ingest.py'
mto.vector.search_script: '%mto.vector.script_dir%/vector_search.py'
mto.vector.timeout: 600
mto.vector.service_url: 'http://127.0.0.1:8090'
@@ -177,7 +181,7 @@ services:
$tagsNdjsonPath: '%mto.knowledge.tags_ndjson%'
# ------------------------------------------------------------
# Tags Vector (Builder + Search) ✅ HIER IST DER FIX
# Tags Vector
# ------------------------------------------------------------
App\Tag\TagVectorIndexBuilder:
@@ -221,6 +225,6 @@ services:
App\Vector\VectorIndexHealthService:
arguments:
$indexNdjsonPath: '%kernel.project_dir%/var/knowledge/index.ndjson'
$vectorIndexPath: '%kernel.project_dir%/var/knowledge/vector.index'
$vectorMetaPath: '%kernel.project_dir%/var/knowledge/vector.index.meta.json'
$indexNdjsonPath: '%mto.knowledge.ndjson%'
$vectorIndexPath: '%mto.knowledge.vector_index%'
$vectorMetaPath: '%mto.knowledge.vector_index_meta%'