harden reset system
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user