edcf7116cd
Convert all LLM-facing prompts, templates, and tool output labels to language-neutral English so the model responds in the user's input language. Update frontend relevance/match-type mappings to match. Output language strategy: - User-facing: reply in user's input language - Vector-indexed: match source document language - LLM-internal: fixed English
31 lines
871 B
YAML
31 lines
871 B
YAML
# Rewrite user prompt templates
|
|
templates:
|
|
- id: "default_rewrite_user"
|
|
name: "Standard Format"
|
|
description: "Standard rewrite user prompt format"
|
|
content: |
|
|
## Conversation History
|
|
{{conversation}}
|
|
|
|
## User Question to Rewrite
|
|
{{query}}
|
|
|
|
## Rewritten Question
|
|
|
|
- id: "detailed_rewrite_user"
|
|
name: "Detailed Format"
|
|
description: "Detailed rewrite user prompt format"
|
|
content: |
|
|
## Conversation History
|
|
Please carefully read the following conversation history between the user and assistant to understand the context:
|
|
|
|
{{conversation}}
|
|
|
|
## Current User Question
|
|
{{query}}
|
|
|
|
## Task Requirements
|
|
Based on the above conversation history, rewrite the current question into an independent, complete question that can be understood without context.
|
|
|
|
## Rewritten Question
|