move tokens to config part 2
This commit is contained in:
35
RETRIEX_PROMPT_CONFIG_FIX_README.md
Normal file
35
RETRIEX_PROMPT_CONFIG_FIX_README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user