stash light

This commit is contained in:
team 1
2026-02-12 10:03:52 +01:00
parent 5b650a8f28
commit 0bb0c0b42f
51 changed files with 6864 additions and 72 deletions

View File

@@ -4,6 +4,14 @@
# https://symfony.com/doc/current/best_practices.html
parameters:
mto.index.chunk_size: 800
mto.index.chunk_overlap: 100
mto.index.embedding_model: 'nomic-embed-text'
mto.index.embedding_dimension: 768
mto.index.scoring_version: 1
mto.vector.python_bin: '/var/www/html/src/Vector/.venv/bin/python'
mto.vector.ingest_script: '/src/Vector/vector_ingest.py'
mto.vector.timeout: 600
services:
@@ -103,4 +111,20 @@ services:
App\Command\VectorInstallCommand:
arguments:
$vectorDir: '%kernel.project_dir%/src/Vector'
$vectorDir: '%kernel.project_dir%/src/Vector'
App\Index\IndexConfiguration:
arguments:
$chunkSize: '%mto.index.chunk_size%'
$chunkOverlap: '%mto.index.chunk_overlap%'
$embeddingModel: '%mto.index.embedding_model%'
$embeddingDimension: '%mto.index.embedding_dimension%'
$scoringVersion: '%mto.index.scoring_version%'
$indexFormat: 'ndjson'
$vectorBackend: 'faiss'
App\Vector\VectorIndexBuilder:
arguments:
$pythonBin: '%mto.vector.python_bin%'
$relativeScriptPath: '%mto.vector.ingest_script%'
$timeoutSeconds: '%mto.vector.timeout%'