cli: surface ingest/run_ingest.py as src/cli/embed_pipeline.py to make the Python embedder visible alongside the CLI

This commit is contained in:
Χγφτ Kompanion 2025-10-19 08:34:19 +02:00
parent 924f5c7995
commit 50ecdcf56b
1 changed files with 20 additions and 0 deletions

20
src/cli/embed_pipeline.py Normal file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env python3
"""
Moved from ingest/run_ingest.py for transparency. See ingest/pipeline.qt-kde-bge-m3.yaml
for configuration fields. This script remains a reference pipeline and is not
used by the C++ build.
"""
# Original content is available under ingest/run_ingest.py. Keeping this as a thin
# forwarder/import to avoid duplication while surfacing the script under src/cli/.
import os, sys
from pathlib import Path
here = Path(__file__).resolve()
ingest_script = here.parent.parent.parent / 'ingest' / 'run_ingest.py'
if not ingest_script.exists():
print('ingest/run_ingest.py not found', file=sys.stderr)
sys.exit(1)
code = ingest_script.read_text(encoding='utf-8')
exec(compile(code, str(ingest_script), 'exec'))