How to Set Up Effective Prompts
ReplyHero: How to Set Up Effective Prompts
When using ReplyHero’s autoreply feature, you may encounter a situation where the bot gives your customers answers that are unrelated to your business or just completely made up. This phenomenon, known as “bot hallucination”, occurs when the bot tries to fill in gaps in its knowledge, causing it to provide imagined information.
The good news is, with a few adjustments, this can be prevented to ensure that your bot delivers accurate and helpful responses.
Contents: Best Practices to Follow
1. Be Specific
Always be as specific as possible. Include all the necessary information so that your bot doesn’t have to guess or create answers on its own.
- Bad Example ❌
- Good Example ✅
2. Clearly divide the instruction from the content
Provide clear instructions by separating them from the context that the bot will use. You can do this by using ###
or """
to clearly divide the instruction from its respective context.
- Bad Example ❌
- Good Example ✅
3. Specify the Desired Output Format Using Examples
Giving examples of the output format is crucial in reducing the chances of bot hallucination. Show the bot exactly what you expect by providing them examples in your prompt.
- Bad Example ❌
- Good Example ✅
- Bad Example ❌
- Good Example ✅
4. Focus on “What to Do” Instructions
Finally, it’s important to guide the bot by focusing on positive instructions and what it should do instead of telling them what not to do.
- Bad Example ❌
- Good Example ✅
By using these strategies, you’ll greatly reduce the likelihood of bot hallucination, ensuring that the bot provides your customers with accurate and helpful responses.
We hope that this guide has helped you. If you have any queries or further assistance, feel free to reach out to us through email at hester@replyhero.io.