# Vector runtime configuration shared by Symfony and vector control commands.
parameters:
  retriex.vector.script_dir: '%retriex.root%/python/vector'
  retriex.vector.python_bin: '%retriex.root%/.venv/bin/python3'
  retriex.vector.control_script: '%retriex.vector.script_dir%/vector_control.py'
  retriex.vector.ingest_script: '%retriex.vector.script_dir%/vector_ingest.py'
  retriex.vector.search_script: '%retriex.vector.script_dir%/vector_search.py'
  retriex.vector.ingest_tags_script: '%retriex.vector.script_dir%/vector_ingest_tags.py'
  retriex.vector.search_tags_script: '%retriex.vector.script_dir%/vector_search_tags.py'

  retriex.vector.host: '0.0.0.0'
  retriex.vector.port: 8090
  retriex.vector.service_url: 'http://127.0.0.1:%retriex.vector.port%'
  retriex.vector.timeout: 600

  retriex.vector.search.min_score: 0.30
  retriex.vector.search.max_limit: 200
  retriex.vector.search.http_timeout: 10

  retriex.vector.tags.min_score: 0.72
  retriex.vector.tags.default_limit: 8
  retriex.vector.tags.max_limit: 50
  retriex.vector.tags.http_timeout: 10

  retriex.vector.tag_routing.default_topk: 8
  retriex.vector.tag_routing.min_best_score: 0.72
  retriex.vector.tag_routing.max_score_drop_from_best: 0.08
  retriex.vector.tag_routing.max_routing_tags: 5
  retriex.vector.tag_routing.max_candidate_docs: 80
  retriex.vector.tag_routing.multi_tag_bonus_per_extra_tag: 0.05
  retriex.vector.tag_routing.max_multi_tag_bonus: 0.15
