Find answers from the community

Updated 3 months ago

Asking Follow-up Questions After User Inactivity

At a glance

The community members are discussing how to ask follow-up questions after a period of user inactivity, and how to end the conversation if the user responds negatively. Some suggestions include:

- Using a timer to check if the user has been inactive for 2 minutes, and then asking if the user needs any further assistance.

- Validating the user's response using a language model or training a small machine learning model to identify the user's intent.

- Resetting the chat engine's memory to remove the user's conversation if the user wants to end the conversation.

However, there is no explicitly marked answer in the comments.

How can I ask follow-up question such as if I can help you with anything else after 2minutes of inactivity from the user
W
P
6 comments
You can keep a timer for this and check if time exceeds ask question to the user
And how do I end conversation if user responds a no
You can either validate response using llm or train a small ml model to identify the intent.
Any sample example how to end conversation for that user?
How do you want to end the conversation?
You can simply reset the chat engine memory if you want to remove user conversation from the chat engine
Add a reply
Sign up and join the conversation on Discord