patch 17e
This commit is contained in:
35
RETRIEX_PATCH_17E_PROMPT_CONFIG_PATH_RESTORE_README.md
Normal file
35
RETRIEX_PATCH_17E_PROMPT_CONFIG_PATH_RESTORE_README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# RetrieX Patch 17e – Prompt Config Path Restore
|
||||
|
||||
## Zweck
|
||||
|
||||
Dieser Patch behebt einen technischen Konfigurationsfehler aus dem p17c/p17d-Zwischenstand.
|
||||
|
||||
Nach dem Einspielen konnte `PromptBuilderConfig::getDirectMainDeviceRequestPatterns()` den YAML-Pfad
|
||||
|
||||
`role_guard.direct_main_device_request_patterns`
|
||||
|
||||
nicht finden. Dadurch brach die Anfrageverarbeitung mit folgendem Fehler ab:
|
||||
|
||||
`Missing required RetrieX prompt config path "role_guard.direct_main_device_request_patterns".`
|
||||
|
||||
## Änderungen
|
||||
|
||||
- `config/retriex/prompt.yaml`
|
||||
- stellt `role_guard.direct_main_device_request_patterns` wieder her.
|
||||
- Die Patterns entsprechen der bereits YAML-backed externalisierten Device-Advisory-Erkennung aus p14/p17.
|
||||
|
||||
## Nicht geändert
|
||||
|
||||
- Keine PHP-Änderung.
|
||||
- Keine Runtime-Logikänderung.
|
||||
- Keine Änderung am CAL-Accuracy-Verhalten.
|
||||
- Keine neue Heuristik.
|
||||
|
||||
## Prüfung nach Einspielen
|
||||
|
||||
```bash
|
||||
bin/console mto:agent:config:validate
|
||||
bin/console mto:agent:regression:test
|
||||
bin/console mto:agent:config:audit-source --details
|
||||
bin/console mto:agent:config:audit-patterns --details
|
||||
```
|
||||
@@ -209,6 +209,12 @@ parameters:
|
||||
- ph-indikatoren
|
||||
- ph indikatoren
|
||||
|
||||
|
||||
direct_main_device_request_patterns:
|
||||
- '/\b(welcher|welches|welche)\s+[^?.!,;]{0,40}(testomat|messgerät|messgeraet|analysegerät|analysegeraet|gerät|geraet|analysator)\b/u'
|
||||
- '/\b(suche|finde|empfiehl|empfehle)\s+[^?.!,;]{0,40}(testomat|messgerät|messgeraet|analysegerät|analysegeraet|gerät|geraet|analysator)\b/u'
|
||||
- '/\b(testomat|messgerät|messgeraet|analysegerät|analysegeraet|gerät|geraet|analysator)\s+[^?.!,;]{0,40}(messen|misst|überwachen|ueberwachen|kann|für|fuer)\b/u'
|
||||
|
||||
measurement_evidence_guard:
|
||||
intro_rules:
|
||||
- '- This block is generated from the current user question and is stricter than broad product-selection wording.'
|
||||
@@ -542,6 +548,7 @@ parameters:
|
||||
entry explicitly connects them.'
|
||||
- '- If several devices or indicators are present, keep each device-indicator-range assignment separate and do not transfer an indicator from one product to
|
||||
another.'
|
||||
- '- For Testomat CAL or Testomat 2000 CAL threshold/range questions, use only source entries that explicitly name CAL or Testomat 2000 CAL in the same product record. Do not answer with Testomat 808 indicator ranges or the generic 0,02 °dH to 5 °dH range unless a CAL source record explicitly contains that exact assignment.'
|
||||
- '- If the retrieved CAL-specific source records do not explicitly state numeric CAL threshold values, say that the exact CAL Grenzwerte are not belegbar from the provided sources instead of giving 0,02 °dH to 5 °dH as a typical range.'
|
||||
- '- For Testomat CAL, do not transfer plain numeric 808 indicator types such as 300, 300 S, 301, 302, 303, 305, 310, 320, 330, or 350. CAL indicator statements must remain CAL-specific, for example TH-prefixed indicator codes when those are explicitly present in the CAL source.'
|
||||
- '- If the source states only a threshold function, do not expand it into broader control logic.'
|
||||
|
||||
Reference in New Issue
Block a user