harden reset system

This commit is contained in:
team 1
2026-02-15 18:07:38 +01:00
parent bf71ca07fa
commit 59e48242b5
4 changed files with 3 additions and 6 deletions

View File

@@ -6,7 +6,6 @@ namespace App\Ingest;
use App\Entity\DocumentVersion;
use App\Index\IndexMetaManager;
use App\Index\IndexStructureChangedException;
use App\Knowledge\ChunkManager;
use App\Knowledge\Ingest\KnowledgeIngestService;
use App\Vector\VectorIndexBuilder;

View File

@@ -84,14 +84,12 @@ final class VectorIndexBuilder
// Wir erwarten/standardisieren (ab jetzt) CLI-Args:
// --index <path-to-index.ndjson>
// --out <path-to-vector.index.tmp>
//
// Falls dein Python-Script aktuell andere Args hat,
// passen wir es im nächsten Schritt konsistent an.
$cmd = [
$this->pythonBin,
$this->scriptPath,
'--index', $this->indexNdjsonPath,
'--out', $tmpVectorIndexPath,
'--model', 'all-MiniLM-L6-v2',
];
$process = new Process($cmd);