Files
MtoRagSystem/RETRIEX_PROMPT_CONFIG_FIX_README.md
2026-04-26 11:21:09 +02:00

36 lines
976 B
Markdown

# RetrieX Prompt Config Centralization Fix
This patch centralizes PromptBuilder wording and label configuration in `config/retriex/prompt.yaml` while keeping the previous PHP defaults as fallbacks.
Changed files:
- `config/retriex/prompt.yaml`
- `src/Config/PromptBuilderConfig.php`
Scope:
- Section labels
- Conversation context intro lines
- Live shop result prompt rules
- Output priority rules
- Response format rules
- Language rules
- Fact grounding rules
- Retrieved knowledge / URL source labels
- Shop result field labels
- Technical product model pattern
Intentionally unchanged:
- Main active system prompt from the database
- Retrieval logic
- Shop search logic
- Vocabulary / intent / agent config logic
- PromptBuilderConfig keyword detection, which remains backed by `vocabulary.yaml`
After applying:
1. Clear Symfony cache.
2. Run the known 1.4.2 regression prompts.
3. Verify that generated prompt sections remain identical to the previous behavior.