Use when the user asks to build, refresh, validate, or inspect the Dirac DFT/TDDFT vector knowledge base, including ingestion status and retrieval quality.
scripts/run_vector_kb_ops.py# Full workflow: ingest + query probe + sync snapshot
python scripts/run_vector_kb_ops.py --mode full --base-url http://127.0.0.1:8001
# Force reingest and include web references from manifest
python scripts/run_vector_kb_ops.py --mode ingest --force-reingest --include-web
# Query-only probe
python scripts/run_vector_kb_ops.py --mode query --query "Octopus TDDFT convergence" --top-k 5
# Status-only snapshot from sync file
python scripts/run_vector_kb_ops.py --mode status
kb_sync.report_json / kb_sync.report_md.hits_count.total_sources, ingested_sources, total_chunks_added.unchanged_sources.