I am currently developing an AI Agent/Digital Assistant and I am looking to enhance the user experience by using interactive UI elements rather than just text input.
Requirement: At the end of a service flow, I want the chatbot to ask, "Is there anything else I can assist you with?" and simultaneously display two buttons: [Yes] and [No]. I want this to appear in the AI Agent chatbot I have created and it has to appear after the response has been provided by the Agent.
Desired Behavior:
- If [Yes] is clicked: It should trigger a specific agent.
- If [No] is clicked: It should trigger another agent.
What is the best way to implement these buttons within the chat interface?
Reference (Can we add buttons the same way the sources button is present after the response)