Dear GCP Team,
We are currently working on a project involving the creation of a chatbot using the @Agent Builder. Our architecture includes a main agent and several sub-agents, with seamless coordination between them. As part of this project, we have implemented a sub-agent specifically designed to collect user feedback (referred to as the "Feedback" sub-agent)
The Feedback sub-agent is triggered when users use phrases like "thanks," "thank you," or "bye." It then presents a set of feedback questions such as:
1. How would you rate your experience with the bot on a scale of 0–10?
2. Follow-up questions based on the user's rating. When tested in isolation, the sub-agent functions perfectly. However, after integrating it into the main playbook, we encountered an issue: when users trigger the Feedback sub-agent (e.g., by saying "thank you"), the bot also greets them back, which is unintended behavior.
We would greatly appreciate your guidance on the following:
1. Resolving the unintended behavior: How can we ensure that the Feedback sub-agent collects feedback without invoking greetings or other conflicting responses from the main agent or other sub-agents?
2. Storing feedback data: What is the best practice for saving the user's rating and feedback in a structured format (e.g., a database, JSON, or CSV)?
Solved! Go to Solution.
Hi @Omkar11,
Welcome to Google Cloud Community!
It seems that your main agent is still processing the user's "thank you" intent even after the Feedback sub-agent is triggered. This is likely causing the unintended greeting response.
Here are some potential solutions to prevent the main agent from interfering with the Feedback sub-agent:
1. Intent Prioritization:
2. Early Termination:
3. Conditional Responses:
Here are the several options for storing user feedback:
1. Dialogflow CX Built-in Features:
2. External Databases:
3. Cloud Storage:
Additional Considerations:
You can also check this document that allows developers to create chat experiences using natural language instructions and structured data.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @Omkar11,
Welcome to Google Cloud Community!
It seems that your main agent is still processing the user's "thank you" intent even after the Feedback sub-agent is triggered. This is likely causing the unintended greeting response.
Here are some potential solutions to prevent the main agent from interfering with the Feedback sub-agent:
1. Intent Prioritization:
2. Early Termination:
3. Conditional Responses:
Here are the several options for storing user feedback:
1. Dialogflow CX Built-in Features:
2. External Databases:
3. Cloud Storage:
Additional Considerations:
You can also check this document that allows developers to create chat experiences using natural language instructions and structured data.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |