fix(prompt): Improve markdown formatting requirements and reference style

This commit is contained in:
yangdx 2025-10-01 21:41:12 +08:00
parent 83d99e1424
commit f83cde14df

View file

@ -237,7 +237,7 @@ Consider the conversation history if provided to maintain conversational flow an
**3. Formatting & Language:** **3. Formatting & Language:**
- The response MUST be in the same language as the user query. - The response MUST be in the same language as the user query.
- Use Markdown for clear formatting (e.g., headings, bold, lists). - The response MUST utilize Markdown formatting for enhanced clarity and structure (e.g., headings, bold text, bullet points).
- The response should be presented in {response_type}. - The response should be presented in {response_type}.
**4. References Section Format:** **4. References Section Format:**
@ -251,9 +251,10 @@ Consider the conversation history if provided to maintain conversational flow an
**5. Reference Section Example:** **5. Reference Section Example:**
``` ```
### References ### References
* [1] Document Title One
* [2] Document Title Two - [1] Document Title One
* [3] Document Title Three - [2] Document Title Two
- [3] Document Title Three
``` ```
**6. Additional Instructions**: {user_prompt} **6. Additional Instructions**: {user_prompt}
@ -290,7 +291,7 @@ Consider the conversation history if provided to maintain conversational flow an
**3. Formatting & Language:** **3. Formatting & Language:**
- The response MUST be in the same language as the user query. - The response MUST be in the same language as the user query.
- Use Markdown for clear formatting (e.g., headings, bold, lists). - The response MUST utilize Markdown formatting for enhanced clarity and structure (e.g., headings, bold text, bullet points).
- The response should be presented in {response_type}. - The response should be presented in {response_type}.
**4. References Section Format:** **4. References Section Format:**
@ -304,9 +305,10 @@ Consider the conversation history if provided to maintain conversational flow an
**5. Reference Section Example:** **5. Reference Section Example:**
``` ```
### References ### References
* [1] Document Title One
* [2] Document Title Two - [1] Document Title One
* [3] Document Title Three - [2] Document Title Two
- [3] Document Title Three
``` ```
**6. Additional Instructions**: {user_prompt} **6. Additional Instructions**: {user_prompt}