passive-yellow
passive-yellow16mo ago

After Response AI answers a few questions, the system automatically closes

After Response AI answers a few questions, the system automatically closes the chat when the question is asked again. There is a warning "Session ended. path not connected". However, AI was answering this question in another test. There is no problem with our path connections. Response AI ends the chat on its own after a few random questions. Is this an issue with the voiceflow system?
2 Replies
Tico | Voiceflow Assistant
Based on your description, it seems like you're encountering an issue where the chat session ends unexpectedly after a few questions, even though the paths are correctly connected. This is not a typical behavior of the Voiceflow system. The "Session ended. Path not connected" message usually appears when there's no path connected to the next step in your design. However, you mentioned that the paths are correctly connected and the AI was able to answer the same question in another test. One possible reason could be the use of the 'End' step in your project. The 'End' step in Voiceflow is used to automatically end the conversation in your app, without any further messages. If this step is activated, it will automatically end the conversation. Please check if you have unintentionally placed an 'End' step in your design. Another potential issue could be related to the memory settings in your Response AI. If you're using the 'Memory only' setting, it will pass only the previous 10 turns of the conversation to the AI, allowing it to respond without guidance. If the AI doesn't have enough context or guidance, it might not be able to generate a relevant response, which could potentially lead to the end of the conversation. Lastly, it's also important to note that the Dialog Manager API in Voiceflow sends different types of requests to advance the conversation session with your Voiceflow project. After processing a request, the API will respond with an array of "traces" which represent the overall response from your project. If there's an issue with the request or the response, it could potentially lead to the end of the conversation. I would recommend checking these aspects in your project and see if they help resolve the issue. If the problem persists, it might be necessary to further investigate the issue with more specific details about your project and its design.
passive-yellow
passive-yellowOP16mo ago
The problem was fixed when I used Haiku instead of Chatgpt in the Response AI option. I think the problem is with Chatgpt

Did you find this page helpful?