-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cc9839
commit 9d44878
Showing
2 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
.../data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
[Output Requirements] | ||
1. Read the [Functions] definition, you can utilize the function to retrieve data or execute actions. | ||
2. Think step by step, check if specific function will provider data to help complete user request based on the [Conversation]. | ||
2. Think step by step, check if specific function will provider data to help complete user request based on the conversation. | ||
3. If you need to call a function to decide how to response user, | ||
response in format: {"role": "function", "reason":"why choose this function", "function_name": "", "args": {}}, | ||
otherwise response in format: {"role": "assistant", "reason":"why response to user", "content":"next step question"}. | ||
4. If the [Conversation] already contains the function execution result, don't need to call it again. | ||
4. If the conversation already contains the function execution result, don't need to call it again. | ||
5. If user mentioned some specific requirment, don't ask this question in your response. | ||
6. Don't repeat the same question in your response. | ||
|
||
Which function should be used for the next step based on latest user's response, output your response in JSON: | ||
6. Don't repeat the same question in your response. |