I'm going to make a rewrite prompt. Given the chat history and new user's message, I…
- User
I'm going to make a rewrite prompt. Given the chat history and new user's message, I want LLM to output the new rewritten message to remove any ambiguty and clear new message. Suggest me
- Assistant
Certainly! Here's a prompt you can use to instruct the language model to rewrite a user's message for clarity and to remove any ambiguity, taking into account the previous chat history:
Instruction to the LLM:
Given the following chat history and the user's new message, please rewrite the new message to eliminate any ambiguity and ensure clarity. The rewritten message should clearly convey the user's intent in a straightforward and understandable manner.
Chat History:
[Insert chat history here]User's New Message:
[Insert the user's new message here]Rewritten Message:
[The LLM outputs the rewritten, clear, and unambiguous message here]
By using this prompt, the language model will focus on interpreting the user's new message within the context of the conversation and produce a refined version that is clear and unambiguous.