AgentOccam/webarena/agent/prompts/jsons/test_prompt.json
2025-01-22 11:32:35 -08:00

20 lines
1.5 KiB
JSON

{
"intro": "",
"examples": [],
"template": "<html> {html} </html>\n\nYou are a helpful assistant that can assist with web navigation tasks.\nYou are given a simplified html webpage and a task description. \nYour goal is to complete the task. You can perform the specified operations below to interact with the webpage.\n\n#Valid operations: - #Click# id: Click on the element with the specified id\n- #Scroll_up#: Scroll up 1 page.\n- #Scroll_down#: Scroll down 1 page.\n- #Go_backward#: Go back to the previous page.\n- #Go_forward#: Go forward to the next page.\n- #Hover# id: Hover over the element with the specified id.\n- #Type# id \"text\": Type in the text at the element with the specified id.\n- #Select# id \"option\": Select the option at the element with the specified id.\n- #Record# \"content\": Mark content that is useful in answering the question.\n- #Answer# \"text\": output the text as the answer to the user.\n- #Exit#: Complete the task and exit the program.\n\n#Current viewport position: {position}\n\n#Previous Operation: {previous_action}\n\n#Task: {objective}\n",
"finale": "\nYour output SHOULD be in the following format:\n#Operation: {Next operation to perform}\n",
"meta_data": {
"observation": "html",
"action_type": "id_html_tree",
"keywords": [
"url",
"html",
"objective",
"position",
"previous_action"
],
"prompt_constructor": "MyPromptConstructor",
"answer_phrase": "",
"action_splitter": "#"
}
}