update function prompt.

This commit is contained in:
Haiping Chen 2023-11-30 08:17:01 -06:00
parent 52bfe435f5
commit 56f99c2924

View file

@ -2,8 +2,9 @@
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":""}.
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.
5. If user mentioned some specific requirment, don't ask this 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.
Make your decision for the next step, output your response in JSON:
Which function should be used for the next step based on latest user's response, output your response in JSON: