This commit is contained in:
team 1
2026-05-04 17:49:01 +02:00
parent 387506b239
commit 794ab1a30b
9 changed files with 256 additions and 107 deletions

View File

@@ -16,12 +16,6 @@ parameters:
max_length_ratio_percent: 150
heartbeat_message: 'Ich optimiere die Anfrage…'
output_prefix_pattern: '/^(?:normalisiert|korrigiert|corrected|normalized)\s*:\s*/iu'
placeholder_outputs:
- normalized user input
- corrected user input
- user input
- normalisierte nutzereingabe
- korrigierte nutzereingabe
skip_patterns:
- '/https?:\/\//iu'
- '/\bwww\./iu'
@@ -198,15 +192,6 @@ parameters:
testomat_model_pattern: '/\bTestomat(?:®)?\s+(?:\d{3,4}(?:\s+[A-Z]{2,8})?|EVO(?:\s+[A-Z]{2,6})?|ECO(?:[-\s]?(?:PLUS|C))?|DUO(?:\s+\d{3,4})?|LAB(?:\s+[A-Z]{2,6})?)\b/iu'
hardness_value_pattern: '/\b\d+(?:[,.]\d+)?\s*°\s*dH\b/iu'
followup_actions:
commerce:
Im Shop suchen: 'Suche die aktuelle Produktauswahl im Shop.'
Nur Zubehör anzeigen: 'Zeige aus der aktuellen Produktauswahl nur Zubehör.'
Nur Geräte anzeigen: 'Zeige aus der aktuellen Produktauswahl nur Geräte.'
Preis anzeigen: 'Zeige mir die Preise der aktuell relevanten Produkte.'
knowledge:
Technische Details anzeigen: 'Zeige technische Details zur aktuellen Antwort.'
messages:
empty_prompt: '❌ Empty prompt.'
analyze_request: 'Ich analysiere deine Anfrage...'
@@ -419,6 +404,21 @@ parameters:
- '- Do not revive older products unless the current user input clearly refers to them.'
- '- If the current input starts a new topic, ignore older product context.'
- '- Prefer the most recent product reference over older ones.'
current_input_preservation:
enabled: true
# Terms that must be preserved from the current user input in the final
# Shopware search query. This prevents short domain terms from being
# dropped by query optimization or generic cleanup. Adapt this list for
# other domains/projects instead of changing PHP code.
terms:
- ph
- rx
- th
- tc
- redox
- orp
- '0,02'
context_usage:
referential_terms:
- der