Hi. I have a serious issue.
# support
y
I made a voice agent and it is suppose to give the right openinghours for the season. As of the holidays, the company I'm making the voice agent for have different opening hours. However, every first time I ask for the openinghours, it gives the wrong answer. So if I ask: "what are the opening hours on Christmas?" - it will give the wrong answer. But if I ask 3 other days right after, it will give the right answers. However, it's probably not gonna happen that a customer is going to ask for 5 seperate days in a row. What can I do?
v
@Yves It sounds like there may be an issue with how the voice agent is retrieving or caching the opening hours, especially for special dates like holidays. Here are a few steps you can take to troubleshoot and resolve the issue: 1. **Check the Data Source**: Ensure that the data source for the opening hours is up-to-date and includes the holiday hours. If the data source is incorrect, the voice agent will provide wrong information. 2. **Review the Code**: Look at the part of the code that handles the retrieval of opening hours. There might be a condition or a caching mechanism that isn't accounting for special dates on the first query. 3. **Test Thoroughly**: Conduct thorough testing for various scenarios, including holidays, regular days, and edge cases. This will help you identify any patterns or specific conditions that lead to incorrect responses. 4. **Update the Voice Agent**: If you find a bug or an issue with the logic, update the voice agent's code to handle special dates correctly from the first query. 5. **Provide Clear Instructions**: Make sure to provide clear instructions to the voice agent for handling exceptions like holidays. This might involve adding additional logic or rules to prioritize holiday hours when relevant. 6. **Implement Fallbacks**: If the issue persists, consider implementing a fallback mechanism where the voice agent can ask for clarification or confirm the date with the user to ensure accurate information is provided. If you need further assistance with the technical aspects or if you're unsure how to proceed, please don't hesitate to reach out for more support.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
y
Is there someone who can help me?
2 Views