Skip to content

Commit 56f99c2

Browse files
committed
update function prompt.
1 parent 52bfe43 commit 56f99c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
2. Think step by step, check if specific function will provider data to help complete user request based on the [Conversation].
33
3. If you need to call a function to decide how to response user,
44
response in format: {"role": "function", "reason":"why choose this function", "function_name": "", "args": {}},
5-
otherwise response in format: {"role": "assistant", "reason":"why response to user", "content":""}.
5+
otherwise response in format: {"role": "assistant", "reason":"why response to user", "content":"next step question"}.
66
4. If the [Conversation] already contains the function execution result, don't need to call it again.
7-
5. If user mentioned some specific requirment, don't ask this again.
7+
5. If user mentioned some specific requirment, don't ask this question in your response.
8+
6. Don't repeat the same question in your response.
89

9-
Make your decision for the next step, output your response in JSON:
10+
Which function should be used for the next step based on latest user's response, output your response in JSON:

0 commit comments

Comments
 (0)