add user detail query and answer to single action prompt (#1230)
This commit is contained in:
@@ -9,6 +9,8 @@ Reply in JSON format with the following keys:
|
||||
"actions": array // You are supposed to give only one action("UPLOAD_FILE") in the action list. Here's the format of the action:
|
||||
[{
|
||||
"reasoning": str, // The reasoning behind the action. This reasoning must be user information agnostic. Mention why you chose the action type, and why you chose the element id. Keep the reasoning short and to the point.
|
||||
"user_detail_query": str, // Think of this value as a Jeopardy question. Ask the user for the details you need for executing this action. Ask the question even if the details are disclosed in user instruction or user details. If it's a file upload, ask for the file. Otherwise, use null. Examples are: "What file should I upload?". If the action doesn't require any user details, use null.
|
||||
"user_detail_answer": str, // The answer to the `user_detail_query`. The source of this answer can be user instruction or user details.
|
||||
"confidence_float": float, // The confidence of the action. Pick a number between 0.0 and 1.0. 0.0 means no confidence, 1.0 means full confidence
|
||||
"action_type": str, // It's a string enum: "UPLOAD_FILE". "UPLOAD_FILE" is an element you'd like to upload a file into.
|
||||
"id": str, // The id of the element to take action on. The id has to be one from the elements list.
|
||||
|
||||
Reference in New Issue
Block a user