MCPcopy Create free account

hub / github.com/THUDM/AutoWebGLM / functions

Functions428 in github.com/THUDM/AutoWebGLM

↓ 2 callersMethodsetup
(self, config_file: Path | None = None)
webarena/browser_env/async_envs.py:47
↓ 2 callersMethodsubtree_constructor
(self, subtree: list[str]=[])
webarena/browser_env/html_tools/prompt.py:23
↓ 2 callersMethodtest_all_parallel
(self, tasks: list=testcases, test_cnt: int=10)
miniwob++/main.py:281
↓ 2 callersMethodupdate_top_checkpoints
(self)
miniwob++/monitor.py:72
↓ 1 callersMethod_extract_action
(self, response: str)
webarena/agent/prompts/prompt_constructor.py:145
↓ 1 callersMethod_extract_intention
(response, lang='en')
webarena/agent/prompts/prompt_constructor.py:443
↓ 1 callersMethod_get_position_bar
(data)
webarena/agent/prompts/prompt_constructor.py:435
↓ 1 callersMethod_get_position_bar
(data)
webarena/agent/prompts/prompt_constructor.py:680
↓ 1 callersFunction_test
()
webarena/tests/test_browser_env/test_auth_cookie.py:47
↓ 1 callersFunction_throttled_openai_chat_completion_acreate
( model: str, messages: list[dict[str, str]], temperature: float, max_tokens: int, top_p:
webarena/llms/providers/openai_utils.py:161
↓ 1 callersFunction_throttled_openai_completion_acreate
( engine: str, prompt: str, temperature: float, max_tokens: int, top_p: float, limiter
webarena/llms/providers/openai_utils.py:60
↓ 1 callersFunctionaction2create_function
(action: Action)
webarena/browser_env/actions.py:251
↓ 1 callersFunctionaexecute_action
Execute the async action on the ChromeDriver.
webarena/browser_env/actions.py:1390
↓ 1 callersFunctionaexecute_click_current
Click at the current mouse position.
webarena/browser_env/actions.py:1024
↓ 1 callersFunctionaexecute_key_press
Press a key.
webarena/browser_env/actions.py:958
↓ 1 callersFunctionaexecute_mouse_click
Click at coordinates (left, top).
webarena/browser_env/actions.py:994
↓ 1 callersFunctionaexecute_mouse_hover
Click at coordinates (left, top).
webarena/browser_env/actions.py:976
↓ 1 callersFunctionaexecute_playwright_check
( locator_code: list[ParsedPlaywrightCode], page: APage )
webarena/browser_env/actions.py:1242
↓ 1 callersFunctionaexecute_playwright_click
( locator_code: list[ParsedPlaywrightCode], page: APage, pw_action_args: list[str] = [], pw_ac
webarena/browser_env/actions.py:1156
↓ 1 callersFunctionaexecute_playwright_hover
( locator_code: list[ParsedPlaywrightCode], page: APage )
webarena/browser_env/actions.py:1177
↓ 1 callersFunctionaexecute_playwright_select_option
( locator_code: list[ParsedPlaywrightCode], page: APage, pw_action_args: list[str] = [], pw_ac
webarena/browser_env/actions.py:1223
↓ 1 callersFunctionaexecute_playwright_type
( text: str, locator_code: list[ParsedPlaywrightCode], page: APage, pw_action_args: list[str]
webarena/browser_env/actions.py:1199
↓ 1 callersFunctionaexecute_scroll
(direction: str, page: APage)
webarena/browser_env/actions.py:938
↓ 1 callersFunctionasync_is_in_viewport
( element: ALocator, viewport: ViewportSize, threshold: float = 0.3 )
webarena/browser_env/actions.py:76
↓ 1 callersFunctioncall_llm
( lm_config: lm_config.LMConfig, prompt: APIInput, )
webarena/llms/utils.py:18
↓ 1 callersFunctioncall_pretrain_model
(query: str, model, tokenizer, cuda, sample_times: int=1)
webarena/llms/providers/ours.py:1
↓ 1 callersMethodcheck_action
Predict the next action given the observation
webarena/agent/agent.py:40
↓ 1 callersFunctioncheck_unexpected_logout
(args: argparse.Namespace)
webarena/scripts/check_error_runs.py:112
↓ 1 callersFunctioncheck_unhandled_errors
(args: argparse.Namespace)
webarena/scripts/check_error_runs.py:87
↓ 1 callersMethodclean_accesibility_tree
further clean accesibility tree
webarena/browser_env/processors.py:681
↓ 1 callersFunctionconfig
()
webarena/run.py:61
↓ 1 callersFunctionconstruct_agent
(args: argparse.Namespace)
webarena/agent/agent.py:205
↓ 1 callersFunctionconvert
(elem: dict)
miniwob++/miniwob_tools/utils.py:80
↓ 1 callersFunctioncreate_check_action
(pw_code: str)
webarena/browser_env/actions.py:814
↓ 1 callersFunctioncreate_our_goto_url_action
Return a valid action object with type GOTO_URL.
webarena/browser_env/actions.py:659
↓ 1 callersFunctioncreate_our_select_option_action
( pw_code: str, label: str, text: str, )
webarena/browser_env/actions.py:847
↓ 1 callersFunctioncreate_our_type_action
( text: str, element_id: str = "", element_role: RolesType = "link", element_name: str = "",
webarena/browser_env/actions.py:788
↓ 1 callersFunctioncreate_record_action
(text: str)
webarena/browser_env/actions.py:825
↓ 1 callersFunctioncreate_select_option_action
( pw_code: str, )
webarena/browser_env/actions.py:835
↓ 1 callersFunctioncreate_type_action
( text: str, element_id: str = "", element_role: RolesType = "link", element_name: str = "",
webarena/browser_env/actions.py:765
↓ 1 callersMethodctx2tree
(ctx: str)
miniwob++/html_tools/html_parser.py:121
↓ 1 callersMethodctx2tree
(ctx: str)
webarena/browser_env/html_tools/html_parser.py:126
↓ 1 callersFunctiondump_config
(args: argparse.Namespace)
webarena/run.py:446
↓ 1 callersFunctionearly_stop
Check whether need to early stop
webarena/run.py:165
↓ 1 callersMethodevaluate_and_update
(self, checkpoint_dir)
miniwob++/monitor.py:85
↓ 1 callersFunctionexecute_action
Execute the action on the ChromeDriver.
webarena/browser_env/actions.py:1250
↓ 1 callersFunctionexecute_click_current
Click at the current mouse position.
webarena/browser_env/actions.py:1013
↓ 1 callersFunctionexecute_key_press
Press a key.
webarena/browser_env/actions.py:951
↓ 1 callersFunctionexecute_playwright_check
( locator_code: list[ParsedPlaywrightCode], page: Page )
webarena/browser_env/actions.py:1234
↓ 1 callersFunctionexecute_playwright_click
( locator_code: list[ParsedPlaywrightCode], page: Page, pw_action_args: list[str] = [], pw_act
webarena/browser_env/actions.py:1144
↓ 1 callersFunctionexecute_playwright_hover
( locator_code: list[ParsedPlaywrightCode], page: Page )
webarena/browser_env/actions.py:1168
↓ 1 callersFunctionexecute_playwright_select_option
( locator_code: list[ParsedPlaywrightCode], page: Page, pw_action_args: list[str] = [], pw_act
webarena/browser_env/actions.py:1212
↓ 1 callersFunctionexecute_playwright_type
( text: str, locator_code: list[ParsedPlaywrightCode], page: Page, pw_action_args: list[str] =
webarena/browser_env/actions.py:1186
↓ 1 callersFunctionexecute_scroll
(direction: str, page: Page)
webarena/browser_env/actions.py:925
↓ 1 callersMethodfetch_page_accessibility_tree
( self, info: BrowserInfo, client: CDPSession, current_viewport_only: bool,
webarena/browser_env/processors.py:483
↓ 1 callersMethodfetch_page_html
( self, info: BrowserInfo, page: Page, client: CDPSession, current_vie
webarena/browser_env/processors.py:178
↓ 1 callersMethodfuzzy_match
(ref: str, pred: str, intent: str)
webarena/evaluation_harness/evaluators.py:115
↓ 1 callersFunctiongen_tmp_storage_state
()
webarena/scripts/collect_obs.py:23
↓ 1 callersFunctiongenerate_from_huggingface_completion
( prompt: str, model_endpoint: str, temperature: float, top_p: float, max_new_tokens: int,
webarena/llms/providers/hf_utils.py:4
↓ 1 callersFunctiongenerate_from_openai_completion
( prompt: str, engine: str, temperature: float, max_tokens: int, top_p: float, context
webarena/llms/providers/openai_utils.py:134
↓ 1 callersMethodget_bounding_client_rect
( client: CDPSession, backend_node_id: str )
webarena/browser_env/processors.py:114
↓ 1 callersFunctionget_free_gpus
()
miniwob++/monitor.py:13
↓ 1 callersFunctionget_html
(dom_list: list)
miniwob++/miniwob_tools/utils.py:70
↓ 1 callersFunctionget_json_tree
(elem: dict, dom_list: list)
miniwob++/miniwob_tools/utils.py:71
↓ 1 callersMethodget_last_action
(trajectory: Trajectory)
webarena/evaluation_harness/evaluators.py:47
↓ 1 callersFunctionget_observation
( observation_type: str, current_viewport_only: bool )
webarena/scripts/collect_obs.py:28
↓ 1 callersMethodget_observation
( self, page: Page, client: CDPSession, context: str = '', )
webarena/browser_env/processors.py:869
↓ 1 callersMethodget_observation_metadata
(self)
webarena/browser_env/processors.py:876
↓ 1 callersMethodget_observation_space
(self)
webarena/browser_env/processors.py:846
↓ 1 callersMethodget_operation
(self, prompt: str)
miniwob++/main.py:47
↓ 1 callersFunctionget_position_info
(dom_list: list)
miniwob++/miniwob_tools/utils.py:181
↓ 1 callersMethodget_prompt
(self)
miniwob++/miniwob_tools/action.py:39
↓ 1 callersFunctionget_render_action
Parse the predicted actions for rendering purpose. More comprehensive information
webarena/browser_env/helper_functions.py:37
↓ 1 callersFunctionget_rouge_score
(hypothesis, reference)
eval.py:9
↓ 1 callersMethodget_segment
(self, bid: str)
miniwob++/html_tools/html_parser.py:392
↓ 1 callersFunctionget_unfinished
(config_files: list[str], result_dir: str)
webarena/run.py:434
↓ 1 callersFunctionget_xpath_top_down
(element: html.HtmlElement, id_column: str='temp_id', path: str='', order: int=0, in_
miniwob++/html_tools/utils.py:2
↓ 1 callersFunctionget_xpath_top_down
(element: html.HtmlElement, id_column: str='temp_id', label_column: str='temp_clickable_label', path: str='',
webarena/browser_env/html_tools/utils.py:2
↓ 1 callersMethodid_label_converter
(self, label: str)
miniwob++/html_tools/html_parser.py:146
↓ 1 callersFunctionint2str
(index)
webarena/browser_env/scripts/get_data.js:2
↓ 1 callersFunctionis_in_viewport
Given a playwright locator, check if it is in the viewport
webarena/browser_env/actions.py:57
↓ 1 callersFunctionllm_fuzzy_match
Check whether the prediction matches the reference with GPT4-turbo
webarena/evaluation_harness/helper_functions.py:146
↓ 1 callersFunctionllm_ua_match
Check whether the prediction matches the reference with GPT-turbo
webarena/evaluation_harness/helper_functions.py:176
↓ 1 callersFunctionmain
()
webarena/scripts/generate_test_data.py:8
↓ 1 callersFunctionmain
(result_folder: str, config_json: str)
webarena/scripts/html2json.py:12
↓ 1 callersFunctionmap_keys
(key_comb: str)
webarena/browser_env/actions.py:578
↓ 1 callersMethodmap_url_to_local
Map the urls to their local counterparts
webarena/agent/prompts/prompt_constructor.py:135
↓ 1 callersMethodmark_id
(self)
miniwob++/html_tools/html_parser.py:152
↓ 1 callersMethodmark_id
(self)
webarena/browser_env/html_tools/html_parser.py:157
↓ 1 callersFunctionmerge_logs
(result_folder: str, args: argparse.Namespace)
webarena/scripts/check_error_runs.py:11
↓ 1 callersMethodmodel_call
(self, prompt)
miniwob++/llms/call.py:60
↓ 1 callersMethodmonitor
(self)
miniwob++/monitor.py:104
↓ 1 callersMethodparse_accessibility_tree
Parse the accessibility tree into a string text
webarena/browser_env/processors.py:594
↓ 1 callersMethodparse_args
(self, args: dict[str]={})
miniwob++/html_tools/html_parser.py:23
↓ 1 callersFunctionparse_function_call
(function_call)
eval.py:21
↓ 1 callersMethodparse_my_html
Parse the html tree into a string text
webarena/browser_env/processors.py:358
↓ 1 callersMethodparse_tree
(self)
miniwob++/html_tools/html_parser.py:267
↓ 1 callersMethodparse_tree
(self)
webarena/browser_env/html_tools/html_parser.py:282
↓ 1 callersMethodpolicy
(self, obs, env, prev_ops)
miniwob++/main.py:52
↓ 1 callersFunctionprepare
(args: argparse.Namespace)
webarena/run.py:397
← previousnext →101–200 of 428, ranked by callers