MCPcopy Create free account

hub / github.com/THUDM/AutoWebGLM / functions

Functions428 in github.com/THUDM/AutoWebGLM

↓ 1 callersFunctionprint_html_object
(obj: str='')
webarena/browser_env/html_tools/utils.py:51
↓ 1 callersFunctionprocess_dom_list
(dom_list)
miniwob++/miniwob_tools/utils.py:61
↓ 1 callersMethodprompt_constructor
(self, tag: str='', label: str='', content: str='', subtree_str: str='', class_dict: dict[str]={})
miniwob++/html_tools/prompt.py:96
↓ 1 callersMethodprompt_constructor
(self, tag: str='', label: str='', content: str='', subtree_str: str='', class_dict: dict[str]={})
webarena/browser_env/html_tools/prompt.py:96
↓ 1 callersFunctionrect2tuple
(rect: str)
webarena/browser_env/html_tools/utils.py:93
↓ 1 callersMethodrender
Render the trajectory
webarena/browser_env/helper_functions.py:254
↓ 1 callersFunctionrenew_comb
(comb: list[str], auth_folder: str = "./.auth")
webarena/browser_env/auto_login.py:61
↓ 1 callersMethodreset
( self, *, seed: int | None = None, options: dict[str, str] | None = None,
webarena/browser_env/async_envs.py:103
↓ 1 callersMethodreset
(self, exists: dict[str]={})
webarena/browser_env/html_tools/identifier.py:20
↓ 1 callersFunctionrun
Convert all python files in agent/prompts to json files in agent/prompts/jsons Python files are easiser to edit
webarena/agent/prompts/to_json.py:8
↓ 1 callersFunctionsave_pixel_array
(arr: np.ndarray, fp: str)
miniwob++/miniwob_tools/utils.py:7
↓ 1 callersMethodset_args
(self, use_position: bool=False, window_size: tuple=(), rect_dict: dict[str]={}, label_attr: str='',
miniwob++/html_tools/html_parser.py:88
↓ 1 callersMethodset_args
(self, use_position: bool=False, window_size: tuple=(), rect_dict: dict[str]={}, label_attr: str='',
webarena/browser_env/html_tools/html_parser.py:89
↓ 1 callersFunctionshow_screenshot
(state_info)
webarena/solver/utils.py:9
↓ 1 callersMethodsubtree_constructor
(self, subtree: list[str]=[])
miniwob++/html_tools/prompt.py:23
↓ 1 callersFunctiontest
( args: argparse.Namespace, agent: Agent | PromptAgent | TeacherForcingAgent, config_file_list: li
webarena/run.py:221
↓ 1 callersMethodtest
(self, testname: str='', test_cnt: int=10)
miniwob++/main.py:174
↓ 1 callersMethodua_match
(ref: str, pred: str, intent: str)
webarena/evaluation_harness/evaluators.py:120
Method__call__
(self, text: str)
webarena/llms/tokenizers.py:28
Method__call__
( self, trajectory: Trajectory, config_file: Path | str, page: Page | PseudoPa
webarena/evaluation_harness/evaluators.py:37
Method__call__
( self, trajectory: Trajectory, config_file: Path | str, page: Page | PseudoPa
webarena/evaluation_harness/evaluators.py:123
Method__call__
( self, trajectory: Trajectory, config_file: Path | str, page: Page | PseudoPa
webarena/evaluation_harness/evaluators.py:177
Method__call__
( self, trajectory: Trajectory, config_file: Path | str, page: Page | PseudoPa
webarena/evaluation_harness/evaluators.py:248
Method__call__
( self, trajectory: Trajectory, config_file: Path | str, page: Page | PseudoPa
webarena/evaluation_harness/evaluators.py:341
Method__getattr__
(self, attr: str)
webarena/evaluation_harness/helper_functions.py:216
Method__init__
(self, checkpoint_dir: str, test_amount: int, keep_num: int)
miniwob++/monitor.py:43
Method__init__
(self, model_path='chatgpt', result_path=LOG_CONTENT, cuda: str='0', log_path='logs/', prompt='new_action_spac
miniwob++/main.py:42
Method__init__
(self, ctx: str, args: dict[str]={})
miniwob++/html_tools/html_parser.py:11
Method__init__
(self, prompt: str='')
miniwob++/html_tools/prompt.py:4
Method__init__
(self, method: str='order', existing_labels: dict[str]={})
miniwob++/html_tools/identifier.py:4
Method__init__
(self, model_path='chatgpt', cuda='0')
miniwob++/llms/call.py:5
Method__init__
(self, prompt: str='basic')
miniwob++/miniwob_tools/action.py:26
Method__init__
( self, max_page_length: int = 8192, headless: bool = True, slow_mo: int = 0,
webarena/browser_env/envs.py:79
Method__init__
( self, observation_type: str, current_viewport_only: bool, viewport_size: Vie
webarena/browser_env/processors.py:51
Method__init__
(self, observation_type: str)
webarena/browser_env/processors.py:812
Method__init__
( self, main_observation_type: str, text_observation_type: str, image_observat
webarena/browser_env/processors.py:829
Method__init__
(self, message: str)
webarena/browser_env/actions.py:1581
Method__init__
( self, config_file: str, result_dir: str, action_set_tag: str )
webarena/browser_env/helper_functions.py:232
Method__init__
( self, max_page_length: int = 2048, headless: bool = True, slow_mo: int = 0,
webarena/browser_env/async_envs.py:25
Method__init__
(self, ctx: str, args: dict[str]={})
webarena/browser_env/html_tools/html_parser.py:11
Method__init__
(self, prompt: str='')
webarena/browser_env/html_tools/prompt.py:4
Method__init__
(self, method: str='order', existing_labels: dict[str]={})
webarena/browser_env/html_tools/identifier.py:4
Method__init__
(self, provider: str, model_name: str)
webarena/llms/tokenizers.py:8
Method__init__
(self)
webarena/agent/agent.py:56
Method__init__
( self, action_set_tag: str, lm_config: lm_config.LMConfig, prompt_constructor
webarena/agent/agent.py:110
Method__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
webarena/agent/prompts/prompt_constructor.py:157
Method__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
webarena/agent/prompts/prompt_constructor.py:215
Method__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
webarena/agent/prompts/prompt_constructor.py:304
Method__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
webarena/agent/prompts/prompt_constructor.py:557
Method__init__
(self, eval_tag: str = "")
webarena/evaluation_harness/evaluators.py:33
Method__init__
(self, evaluators: list[Evaluator])
webarena/evaluation_harness/evaluators.py:337
Method__init__
(self, original_page: Page, url: str)
webarena/evaluation_harness/helper_functions.py:212
Method__str__
(self)
webarena/browser_env/actions.py:360
Method_dfs
(node: html.HtmlElement, keep: list[str]=[], obs: list[str]=[], parent_chain: bool=False, ge
miniwob++/html_tools/html_parser.py:191
Method_dfs
(node: html.HtmlElement, keep: list[str]=[], obs: list[str]=[], parent_chain: bool=False, ge
webarena/browser_env/html_tools/html_parser.py:200
Method_extract_action
(self, response: str)
webarena/agent/prompts/prompt_constructor.py:200
Method_extract_action
(self, response: str)
webarena/agent/prompts/prompt_constructor.py:256
Method_extract_action
(self, response: str)
webarena/agent/prompts/prompt_constructor.py:372
Method_extract_action
(self, response: str)
webarena/agent/prompts/prompt_constructor.py:627
Method_extract_segment
(html: str, tag: str)
webarena/agent/prompts/prompt_constructor.py:456
Method_left
(html, start)
webarena/agent/prompts/prompt_constructor.py:460
Method_right
(html, start)
webarena/agent/prompts/prompt_constructor.py:477
Functionaccessibility_tree_current_viewport_script_browser_env
()
webarena/tests/conftest.py:53
Functionaccessibility_tree_script_browser_env
()
webarena/tests/conftest.py:40
Methodaction_processor
Return the main processor that is associated with the action space
webarena/browser_env/processors.py:883
Methodadd_prefix
(data, prefix)
miniwob++/html_tools/prompt.py:27
Methodadd_prefix
(data, prefix)
webarena/browser_env/html_tools/prompt.py:27
Functionaexecute_keyboard_type
Fill the focused element with text.
webarena/browser_env/actions.py:1008
Functionagenerate_from_openai_chat_completion
Generate from OpenAI Chat Completion API. Args: messages_list: list of message list temperature: Temperature to use. max_
webarena/llms/providers/openai_utils.py:193
Functionagenerate_from_openai_completion
Generate from OpenAI Completion API. Args: prompts: list of prompts temperature: Temperature to use. max_tokens: Maximum
webarena/llms/providers/openai_utils.py:89
Functionasync_script_browser_env
()
webarena/tests/conftest.py:67
Methodattr_check
(attr, type_model='str')
miniwob++/html_tools/html_parser.py:24
Methodattr_check
(attr, type_model='str')
webarena/browser_env/html_tools/html_parser.py:24
Functioncalculator
()
webarena/environment_docker/webarena-homepage/app.py:17
Functioncall_gpt
(model, prompt, history=None, system=None)
miniwob++/llms/providers/gpt.py:4
Functioncall_manual
(prompt, history=None, system=None)
miniwob++/llms/providers/__init__.py:4
Methodcall_pretrain_model
(self, query: str, sample_times: int=1)
miniwob++/llms/call.py:16
Methodchatglm3_base_template
(query, history=None, system=None)
miniwob++/llms/call.py:17
Methodcheck_action
( self, trajectory: Trajectory, intent: str, meta_data: dict[str, Any], target_action: str )
webarena/agent/agent.py:162
Methodcheck_attr
(attr: str, node: html.HtmlElement)
miniwob++/html_tools/html_parser.py:162
Methodcheck_attr
(attr: str, node: html.HtmlElement)
webarena/browser_env/html_tools/html_parser.py:167
Methodclean_url
(url: str)
webarena/evaluation_harness/evaluators.py:187
Methodclose
(self)
webarena/browser_env/helper_functions.py:306
Methodclose
(self)
webarena/browser_env/async_envs.py:115
Methodconstruct
Construct prompt given the trajectory
webarena/agent/prompts/prompt_constructor.py:165
Methodconstruct
( self, trajectory: Trajectory, intent: str, meta_data: dict[str, Any] = {},
webarena/agent/prompts/prompt_constructor.py:224
Methodconstruct
( self, trajectory: Trajectory, intent: str, meta_data: dict[str, Any] = {},
webarena/agent/prompts/prompt_constructor.py:314
Methodconstruct
( self, trajectory: Trajectory, intent: str, meta_data: dict[str, Any] = {},
webarena/agent/prompts/prompt_constructor.py:567
Functionconstruct_llm_config
(args: argparse.Namespace)
webarena/llms/lm_config.py:34
Functioncreate_focus_action
Return a valid action object with type CLICK. Keep compatible with the old version.
webarena/browser_env/actions.py:864
Functioncreate_focus_and_type_action
Return a valid action object with type TYPE. Keep compatible with the old version.
webarena/browser_env/actions.py:903
Functioncreate_job
(q, model_path: str, result_path: str, cuda: str, tasks: list[str], test_cnt: int=10)
miniwob++/main.py:300
Functioncreate_mouse_click_action
Return a valid action object with type COORD_CLICK.
webarena/browser_env/actions.py:684
Functioncreate_mouse_hover_action
Return a valid action object with type COORD_CLICK.
webarena/browser_env/actions.py:560
Functioncurrent_viewport_script_browser_env
()
webarena/tests/conftest.py:27
Methoddfs
(node_cursor: int, depth: int)
webarena/browser_env/processors.py:366
Functionexecute_keyboard_type
Fill the focused element with text.
webarena/browser_env/actions.py:1003
Methodextract
(self, result: str='')
miniwob++/miniwob_tools/action.py:42
Methodextract_operation
(result: str='')
miniwob++/miniwob_tools/action.py:46
Methodextract_operation_new_action_space
(result: str='')
miniwob++/miniwob_tools/action.py:106
← previousnext →201–300 of 428, ranked by callers