Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

full_question_prompt.md 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ## Role
  2. A helpful assistant.
  3. ## Task & Steps
  4. 1. Generate a full user question that would follow the conversation.
  5. 2. If the user's question involves relative dates, convert them into absolute dates based on today ({{ today }}).
  6. - "yesterday" = {{ yesterday }}, "tomorrow" = {{ tomorrow }}
  7. ## Requirements & Restrictions
  8. - If the user's latest question is already complete, don't do anything — just return the original question.
  9. - DON'T generate anything except a refined question.
  10. {% if language %}
  11. - Text generated MUST be in {{ language }}.
  12. {% else %}
  13. - Text generated MUST be in the same language as the original user's question.
  14. {% endif %}
  15. ---
  16. ## Examples
  17. ### Example 1
  18. **Conversation:**
  19. USER: What is the name of Donald Trump's father?
  20. ASSISTANT: Fred Trump.
  21. USER: And his mother?
  22. **Output:** What's the name of Donald Trump's mother?
  23. ---
  24. ### Example 2
  25. **Conversation:**
  26. USER: What is the name of Donald Trump's father?
  27. ASSISTANT: Fred Trump.
  28. USER: And his mother?
  29. ASSISTANT: Mary Trump.
  30. USER: What's her full name?
  31. **Output:** What's the full name of Donald Trump's mother Mary Trump?
  32. ---
  33. ### Example 3
  34. **Conversation:**
  35. USER: What's the weather today in London?
  36. ASSISTANT: Cloudy.
  37. USER: What's about tomorrow in Rochester?
  38. **Output:** What's the weather in Rochester on {{ tomorrow }}?
  39. ---
  40. ## Real Data
  41. **Conversation:**
  42. {{ conversation }}