MCPcopy Create free account

hub / github.com/THUDM/AutoWebGLM / functions

Functions428 in github.com/THUDM/AutoWebGLM

↓ 73 callersMethodstep
( self, action: Action )
webarena/browser_env/envs.py:236
↓ 65 callersMethodreset
( self, test_config_file: str, )
webarena/agent/agent.py:46
↓ 41 callersFunctionstep_once
(env, trajectory, render_helper, traces, state_info, agent, args, intent, meta_data, target_action)
webarena/solver/utils.py:37
↓ 33 callersFunctioncreate_id_based_action
Main function to return individual id based action
webarena/browser_env/actions.py:1660
↓ 29 callersFunctionis_equivalent
Return True if two actions are equal.
webarena/browser_env/actions.py:365
↓ 27 callersFunctioncreate_none_action
Return a valid action object that does nothing.
webarena/browser_env/actions.py:516
↓ 25 callersFunctioncreate_playwright_action
Main function to return individual playwright action
webarena/browser_env/actions.py:1587
↓ 16 callersMethodget_page_client
(self, page: Page)
webarena/browser_env/envs.py:173
↓ 14 callersMethodset_action_set_tag
(self, tag: str)
webarena/agent/agent.py:59
↓ 14 callersMethodset_actions
(self, action_seq: str | list[str])
webarena/agent/agent.py:62
↓ 13 callersFunctiontf_roll_out
Roll out the agent using teacher forcing actions
webarena/tests/test_evaluation_harness/test_evaluators.py:26
↓ 12 callersMethodextract
(data, default='')
miniwob++/html_tools/prompt.py:20
↓ 11 callersMethodclose
(self)
webarena/browser_env/envs.py:232
↓ 11 callersFunctioncreate_focus_and_click_action
Return a valid action object with type CLICK. Keep compatible with the old version.
webarena/browser_env/actions.py:883
↓ 11 callersMethodextract
(data, default='')
webarena/browser_env/html_tools/prompt.py:20
↓ 10 callersMethoddecode
(self, ids: list[int])
webarena/llms/tokenizers.py:25
↓ 10 callersFunctionparse_playwright_code
(code: str)
webarena/browser_env/actions.py:1520
↓ 9 callersFunctionaction2str
Return the string representation of an action sementic_element: the semantic information of the element such as a line in an accessibility tr
webarena/browser_env/actions.py:112
↓ 9 callersFunctioncreate_goto_url_action
Return a valid action object with type GOTO_URL.
webarena/browser_env/actions.py:647
↓ 8 callersFunctioncreate_scroll_action
Return the playwright action
webarena/browser_env/actions.py:546
↓ 7 callersFunctioncreate_stop_action
(answer: str="")
webarena/browser_env/actions.py:539
↓ 7 callersMethodencode
(self, text: str)
webarena/llms/tokenizers.py:22
↓ 6 callersMethodastep
( self, action: Action )
webarena/browser_env/async_envs.py:118
↓ 5 callersFunction_dfs
(elem: dict, dom_list: list, args: dict={})
miniwob++/miniwob_tools/utils.py:25
↓ 5 callersFunctionalocate
( locator_calls: list[ParsedPlaywrightCode], page: APage )
webarena/browser_env/actions.py:1132
↓ 5 callersMethodclean_answer
(answer: str)
webarena/evaluation_harness/evaluators.py:80
↓ 5 callersFunctionlocate
(locator_calls: list[ParsedPlaywrightCode], page: Page)
webarena/browser_env/actions.py:1122
↓ 5 callersMethodparse_args
(self, args: dict[str]={})
webarena/browser_env/html_tools/html_parser.py:23
↓ 5 callersFunctionpng_bytes_to_numpy
Convert png bytes to numpy array Example: >>> fig = go.Figure(go.Scatter(x=[1], y=[1])) >>> plt.imshow(png_bytes_to_numpy(fig.to_image('
webarena/browser_env/utils.py:16
↓ 4 callersMethod__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
webarena/agent/prompts/prompt_constructor.py:24
↓ 4 callersFunction_keys2ids
(keys: list[int | str] | str)
webarena/browser_env/actions.py:428
↓ 4 callersMethodareset
Reset the environment. :param options: options for the environment. The options are: - storage_state: the path to the sto
webarena/browser_env/async_envs.py:73
↓ 4 callersMethodmap_url_to_real
Map the urls to their real world counterparts
webarena/agent/prompts/prompt_constructor.py:128
↓ 4 callersMethodreset
Reset the environment. :param options: options for the environment. The current supported options are: - "storage_state":
webarena/browser_env/envs.py:187
↓ 4 callersFunctionupdate_dom_list
(dom_list: list)
miniwob++/miniwob_tools/utils.py:24
↓ 3 callersMethodaclose
(self)
webarena/browser_env/async_envs.py:111
↓ 3 callersFunctionaexecute_focus
Click the specified DOM element.
webarena/browser_env/actions.py:1086
↓ 3 callersFunctioncollate_actions
(actions: list[Action])
webarena/tests/test_browser_env/test_script_browser_env.py:79
↓ 3 callersMethodconstruct
( self, trajectory: Trajectory, intent: str, meta_data: dict[str, Any] = {},
webarena/agent/prompts/prompt_constructor.py:120
↓ 3 callersFunctioncreate_key_press_action
Return the key press action
webarena/browser_env/actions.py:575
↓ 3 callersFunctioncreate_random_action
Return a random action.
webarena/browser_env/actions.py:479
↓ 3 callersMethodexact_match
(ref: str, pred: str)
webarena/evaluation_harness/evaluators.py:90
↓ 3 callersFunctionexecute_focus
Click the specified DOM element.
webarena/browser_env/actions.py:1050
↓ 3 callersFunctionexecute_mouse_click
Click at coordinates (left, top).
webarena/browser_env/actions.py:985
↓ 3 callersFunctionexecute_type
Send keystrokes to the focused element.
webarena/browser_env/actions.py:1038
↓ 3 callersMethodgenerate
(self)
webarena/browser_env/html_tools/identifier.py:63
↓ 3 callersFunctiongenerate_from_openai_chat_completion
( messages: list[dict[str, str]], model: str, temperature: float, max_tokens: int, top_p:
webarena/llms/providers/openai_utils.py:238
↓ 3 callersMethodget_element_center
(self, element_id: str)
webarena/browser_env/processors.py:799
↓ 3 callersMethodget_text
(str: str)
webarena/browser_env/html_tools/html_parser.py:164
↓ 3 callersMethodparse
(self, root: html.HtmlElement, keep: list[str], obs: list[str], parent_chain: bool=False, get_new_label: bool=
webarena/browser_env/html_tools/html_parser.py:163
↓ 3 callersMethodreset
(self, exists: dict[str]={})
miniwob++/html_tools/identifier.py:20
↓ 3 callersFunctionshopping_get_auth_token
()
webarena/evaluation_harness/helper_functions.py:23
↓ 2 callersMethod__init__
(self, *args: Any)
webarena/agent/agent.py:31
↓ 2 callersMethod_get_obs
(self)
webarena/browser_env/envs.py:176
↓ 2 callersMethod_get_obs_metadata
(self)
webarena/browser_env/envs.py:182
↓ 2 callersFunctionaexecute_type
Send keystrokes to the focused element.
webarena/browser_env/actions.py:1044
↓ 2 callersFunctionchatglm3_base_template
(query, history=None, system=None)
webarena/llms/providers/ours.py:2
↓ 2 callersFunctioncreate_click_action
( element_id: str = "", element_role: RolesType = "link", element_name: str = "", pw_code: str
webarena/browser_env/actions.py:721
↓ 2 callersFunctioncreate_empty_metadata
()
webarena/browser_env/processors.py:44
↓ 2 callersFunctioncreate_go_back_action
Return a valid action object with type GO_BACK.
webarena/browser_env/actions.py:623
↓ 2 callersFunctioncreate_go_forward_action
Return a valid action object with type GO_FORWARD.
webarena/browser_env/actions.py:635
↓ 2 callersFunctioncreate_hover_action
( element_id: str = "", element_role: RolesType = "link", element_name: str = "", pw_code: str
webarena/browser_env/actions.py:743
↓ 2 callersFunctioncreate_keyboard_type_action
Return a valid action object with type TYPE.
webarena/browser_env/actions.py:708
↓ 2 callersFunctioncreate_new_tab_action
Return a valid action object with type NEW_TAB.
webarena/browser_env/actions.py:611
↓ 2 callersFunctioncreate_page_close_action
Return a valid action object with type PAGE_CLOSE.
webarena/browser_env/actions.py:672
↓ 2 callersFunctioncreate_page_focus_action
Return a valid action object with type PAGE_FOCUS.
webarena/browser_env/actions.py:598
↓ 2 callersMethoddel_training_state
(self)
miniwob++/monitor.py:94
↓ 2 callersMethodevaluate_checkpoint
(self, checkpoint_dir: Path)
miniwob++/monitor.py:51
↓ 2 callersFunctionevaluator_router
Router to get the evaluator class
webarena/evaluation_harness/evaluators.py:356
↓ 2 callersFunctionexecute_mouse_hover
Click at coordinates (left, top).
webarena/browser_env/actions.py:967
↓ 2 callersFunctionextract
(text)
eval.py:37
↓ 2 callersMethodextract_action
(self, response: str)
webarena/agent/prompts/prompt_constructor.py:148
↓ 2 callersMethodfetch_browser_info
( self, page: Page, client: CDPSession, )
webarena/browser_env/processors.py:65
↓ 2 callersMethodgenerate
(self)
miniwob++/html_tools/identifier.py:63
↓ 2 callersFunctiongeneration
(prompt: str, sample_times: int=1)
webarena/llms/providers/ours.py:10
↓ 2 callersFunctionget_action_description
Generate the text version of the predicted actions to store in action history for prompt use. May contain hint information to recover from the fai
webarena/browser_env/helper_functions.py:90
↓ 2 callersFunctionget_action_space
Return the space of serialized actions.
webarena/browser_env/actions.py:440
↓ 2 callersMethodget_element_in_viewport_ratio
( elem_left_bound: float, elem_top_bound: float, width: float, height: float,
webarena/browser_env/processors.py:147
↓ 2 callersMethodget_keep_elements
(self, tree: html.HtmlElement, keep: list[str], max_depth: int, max_children: int,
miniwob++/html_tools/html_parser.py:283
↓ 2 callersMethodget_keep_elements
(self, tree: html.HtmlElement, keep: list[str], max_depth: int, max_children: int,
webarena/browser_env/html_tools/html_parser.py:298
↓ 2 callersMethodget_lm_api_input
Return the require format for an API
webarena/agent/prompts/prompt_constructor.py:38
↓ 2 callersMethodget_node_by_bid
(self, tree: html.HtmlElement, bid: str)
miniwob++/html_tools/html_parser.py:140
↓ 2 callersMethodget_node_by_bid
(self, tree: html.HtmlElement, bid: str)
webarena/browser_env/html_tools/html_parser.py:145
↓ 2 callersFunctionget_page_height
(dom_list: list)
miniwob++/miniwob_tools/utils.py:156
↓ 2 callersMethodget_root
(tree: html.HtmlElement)
miniwob++/html_tools/html_parser.py:131
↓ 2 callersMethodget_root
(tree: html.HtmlElement)
webarena/browser_env/html_tools/html_parser.py:136
↓ 2 callersMethodget_segment
(self, bid: str)
webarena/browser_env/html_tools/html_parser.py:407
↓ 2 callersFunctionget_site_comb_from_filepath
(file_path: str)
webarena/browser_env/auto_login.py:107
↓ 2 callersFunctiongitlab_get_project_memeber_role
(page: Page, account_name: str)
webarena/evaluation_harness/helper_functions.py:115
↓ 2 callersMethodid_label_converter
(self, label: str)
webarena/browser_env/html_tools/html_parser.py:151
↓ 2 callersMethodlog_all_result
(result: dict, rewards: list)
miniwob++/main.py:293
↓ 2 callersFunctionmain
(auth_folder: str = "./.auth")
webarena/browser_env/auto_login.py:112
↓ 2 callersMethodmodify_page
(self)
webarena/browser_env/envs.py:280
↓ 2 callersMethodmust_include
(ref: str, pred: str, tokenize: bool = False)
webarena/evaluation_harness/evaluators.py:98
↓ 2 callersMethodnext_action
Predict the next action given the observation
webarena/agent/agent.py:34
↓ 2 callersMethodparse
(self, root: html.HtmlElement, keep: list[str], obs: list[str], parent_chain: bool=False, get_new_label: bool=
miniwob++/html_tools/html_parser.py:158
↓ 2 callersMethodprocess
(self, page: Page, client: CDPSession)
webarena/browser_env/processors.py:36
↓ 2 callersMethodprune
(self, tree: html.HtmlElement, nodes_to_keep: list[str])
miniwob++/html_tools/html_parser.py:351
↓ 2 callersMethodprune
(self, tree: html.HtmlElement, nodes_to_keep: list[str])
webarena/browser_env/html_tools/html_parser.py:366
↓ 2 callersMethodsetup
(self, config_file: Path | None = None)
webarena/browser_env/envs.py:127
next →1–100 of 428, ranked by callers