optimistic-gold•2y ago
Hallucinations
I have just built Peter Isaacs great solution to preventing hallucinations (Wells Fargo video). However I have come up against a problem when the user inputs a prompt that is not true. For example, the prompt 'Is metformin used to treat headaches?' (it isn't) takes me to the 'Couldn't verify information' block. Any thoughts on this please?
1 Reply
To address the issue of your assistant navigating to the 'Couldn't verify information' block when faced with untrue user prompts, consider leveraging the capabilities of the Capture step and the Knowledge Base (KB) functionality in Voiceflow. Here's a brief overview of how you can enhance the user experience and manage such scenarios:
- Capture Step Configurations: Utilize the 'No Match' or 'No Reply' responses within the Capture step to guide users towards alternative conversation paths when their input is unrelated or incorrect. This allows for a more controlled and guided user experience, ensuring that the conversation remains relevant and informative.
- Knowledge Base Utilization: The KB function in Voiceflow allows your assistant to reference your uploaded documents and data to power answers and define variables. By carefully curating your KB content, you can improve the accuracy and relevance of the assistant's responses to user queries, even when faced with untrue or misleading prompts. - Prompt Configuration: Ensure that your prompts are configured correctly to modify the potential output effectively. This involves selecting the appropriate model for your task, which can significantly impact the assistant's performance in handling various types of queries, including those based on incorrect information. By implementing these strategies, you can enhance your assistant's ability to handle untrue prompts more gracefully and provide users with a more seamless and informative interaction. For more detailed information on configuring your Capture step and utilizing the Knowledge Base, you can visit: - Designing Adding Actions - How the Knowledge Base Works
- Knowledge Base Utilization: The KB function in Voiceflow allows your assistant to reference your uploaded documents and data to power answers and define variables. By carefully curating your KB content, you can improve the accuracy and relevance of the assistant's responses to user queries, even when faced with untrue or misleading prompts. - Prompt Configuration: Ensure that your prompts are configured correctly to modify the potential output effectively. This involves selecting the appropriate model for your task, which can significantly impact the assistant's performance in handling various types of queries, including those based on incorrect information. By implementing these strategies, you can enhance your assistant's ability to handle untrue prompts more gracefully and provide users with a more seamless and informative interaction. For more detailed information on configuring your Capture step and utilizing the Knowledge Base, you can visit: - Designing Adding Actions - How the Knowledge Base Works