Files
MtoRagSystem/RETRIEX_ACCESSORY_INTENT_ROLE_PRECEDENCE_FIX_README.md
2026-04-29 14:39:12 +02:00

1.0 KiB

RetrieX Accessory Intent Role Precedence Fix

This patch fixes a side effect of the product-role and measurement-evidence guards.

Problem:

  • Queries such as "suche ph-indikatoren fuer messgeraete" contain both accessory wording (Indikatoren) and device wording (Messgeraete).
  • The previous role resolver prioritized main-device wording first, so the request was treated as a device suitability question.
  • This incorrectly triggered the pH measurement-capability guard and produced a no-match answer for pH-measuring Testomat devices.

Fix:

  • Explicit accessory/consumable intent now takes precedence over generic device wording.
  • Measurement-capability guards are skipped for accessory/consumable requests.
  • Shop-product measurement evidence lines are also skipped for accessory/consumable requests.
  • Additional indicator variants such as "indikatoren" and "ph-indikatoren" are added to the configurable accessory intent lists.

Scope:

  • No changes to SSE, jobs, retrieval, scoring, shop search, AgentRunner, or LLM timeouts.