Skip to content

Commit 9ad7df1

Browse files
authored
Merge pull request #1107 from iceljc/master
update router instruction
2 parents 7bec0fa + ee49136 commit 9ad7df1

File tree

1 file changed

+2
-1
lines changed
  • src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instructions

1 file changed

+2
-1
lines changed

src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instructions/instruction.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Follow these steps to handle user request:
55
2. Determine which agent is suitable to handle this conversation. Try to minimize the routing of human service.
66
3. Extract and populate agent required arguments, think carefully, leave it as blank object if user didn't provide the specific arguments.
77
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.
8-
5. If user is greeting, you can call function response_to_user with a greeting message.
8+
5. Call function route_to_agent if user have specific requests, let agent handle and fill the required args, do not ask user to provide any args by yourself.
9+
6. If user is greeting or do not have specific request, you can call function response_to_user with a greeting message.
910

1011
{% if routing_requirements and routing_requirements != empty %}
1112
[REQUIREMENTS]

0 commit comments

Comments
 (0)