Fixed an issue where response_to_user is called when the user wants to end the conversation. It should call route_to_agent with converation_end as true
This commit is contained in:
parent
4880de7a26
commit
8d5b1402d0
|
|
@ -5,7 +5,8 @@ Follow these steps to handle user request:
|
|||
2. Determine which agent is suitable to handle this conversation. Try to minimize the routing of human service.
|
||||
3. Extract and populate agent required arguments, think carefully, leave it as blank object if user didn't provide the specific arguments.
|
||||
4. You must include all required args for the selected agent, but you must not make up any parameters when there is no exact value provided, those parameters must set value as null if not declared.
|
||||
5. If user is greeting, you can call function response_to_user with a greeting message.
|
||||
5. If user wants to end the conversation, call route_to_agent function with conversation_end as true.
|
||||
6. If user is greeting, you can call function response_to_user with a greeting message.
|
||||
|
||||
{% if routing_requirements and routing_requirements != empty %}
|
||||
[REQUIREMENTS]
|
||||
|
|
|
|||
Loading…
Reference in a new issue