commit
6e694125fd
|
|
@ -6,12 +6,12 @@ public class ResponseToUserRoutingHandler : RoutingHandlerBase, IRoutingHandler
|
|||
{
|
||||
public string Name => "response_to_user";
|
||||
|
||||
public string Description => "Response according to the context without asking specific agent.";
|
||||
public string Description => "When you can handle the conversation without asking specific agent.";
|
||||
|
||||
public List<ParameterPropertyDef> Parameters => new List<ParameterPropertyDef>
|
||||
{
|
||||
new ParameterPropertyDef("reason", "why response to user"),
|
||||
new ParameterPropertyDef("response", "response content"),
|
||||
new ParameterPropertyDef("reason", "why response to user directly without go to other agents"),
|
||||
new ParameterPropertyDef("response", "response content to user in courteous words. If the user wants to end the conversation, you must set conversation_end to true and response politely."),
|
||||
new ParameterPropertyDef("conversation_end", "whether to end this conversation, true or false", type: "boolean")
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
What is the next step based on the CONVERSATION?
|
||||
Route to the last handling agent in priority.
|
||||
|
||||
{%- if expected_next_action_agent != empty -%}
|
||||
{% if expected_next_action_agent != empty -%}
|
||||
Expected next action agent is {{ expected_next_action_agent }}.
|
||||
{%- endif -%}
|
||||
{%- if expected_user_goal_agent != empty -%}
|
||||
Expected user goal agent is {{ expected_user_goal_agent }}.
|
||||
{%- endif -%}
|
||||
{%- endif %}
|
||||
|
||||
If user wants to speak to customer service, use function human_intervention_needed.
|
||||
If user wants to or is processing with a specific task that can be handled by agents, respond in appropriate output format defined to let proper agent to handle the task.
|
||||
Loading…
Reference in a new issue