From 2a52e30ba81ed7b985e85711f2a7b6714ce25c54 Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Wed, 25 Oct 2023 22:05:12 -0500 Subject: [PATCH] change description of human_intervention_needed. --- .../Routing/Handlers/HumanInterventionNeededHandler.cs | 4 ++-- .../templates/next_step_prompt.liquid | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Infrastructure/BotSharp.Core/Routing/Handlers/HumanInterventionNeededHandler.cs b/src/Infrastructure/BotSharp.Core/Routing/Handlers/HumanInterventionNeededHandler.cs index 3df04f69..62247445 100644 --- a/src/Infrastructure/BotSharp.Core/Routing/Handlers/HumanInterventionNeededHandler.cs +++ b/src/Infrastructure/BotSharp.Core/Routing/Handlers/HumanInterventionNeededHandler.cs @@ -9,13 +9,13 @@ public class HumanInterventionNeededHandler : RoutingHandlerBase, IRoutingHandle { public string Name => "human_intervention_needed"; - public string Description => "Reach out to a real human or customer representative."; + public string Description => "Reach out to human being, customer service or customer representative."; private readonly RoutingSettings _settings; public List Parameters => new List { - new NameDesc("reason", "why need customer service representative (human being)"), + new NameDesc("reason", "why need customer service"), new NameDesc("response", "response content to user") }; diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid b/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid index 24132c96..b61e4b34 100644 --- a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid +++ b/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid @@ -1 +1 @@ -What is the next step based on the CONVERSATION? Response must be in appropriate JSON format. \ No newline at end of file +What is the next step based on the CONVERSATION? Response must be in appropriate JSON format. Route to the latest agent as much as possible. \ No newline at end of file