MCPcopy Create free account

hub / github.com/blanche-official/blanche / functions

Functions564 in github.com/blanche-official/blanche

↓ 1 callersMethodget_pipe
(self, llmserve: LLMService | None = None)
blanche/pipe/listing.py:247
↓ 1 callersFunctionget_playwright_code_from_selector
( selectors: HtmlSelector, action_type: str, parameters: list[ActionParameterValue], timeout:
blanche/actions/code.py:36
↓ 1 callersFunctionget_subtree_roles
(node: A11yNode, include_root_role: bool = True)
blanche/pipe/preprocessing/a11y/pruning.py:93
↓ 1 callersMethodgoto
()
blanche/actions/base.py:136
↓ 1 callersFunctiongroup_1_char_strings
(texts: list[str])
blanche/pipe/preprocessing/a11y/grouping.py:118
↓ 1 callersFunctionimage_from_bytes
(image_bytes: bytes)
blanche/utils/image.py:12
↓ 1 callersFunctionimg_down
Downloads and saves an image from a URL, handling different formats. Args: link: URL of the image to download output_dir: Op
blanche/utils/image.py:39
↓ 1 callersMethodimportant_roles
(self)
blanche/pipe/preprocessing/a11y/pruning.py:68
↓ 1 callersMethodis_data
(self)
blanche/actions/space.py:47
↓ 1 callersMethodis_done
(self, text: str)
blanche/common/parser.py:115
↓ 1 callersMethodis_done
(self, text: str)
examples/agent.py:140
↓ 1 callersMethodis_editable
(self)
tests/mock/mock_browser.py:56
↓ 1 callersMethodis_enabled
(self)
tests/mock/mock_browser.py:52
↓ 1 callersMethodis_image
(self)
blanche/browser/node_type.py:592
↓ 1 callersFunctionis_interaction_group
(node: A11yNode, add_group_role: bool = True)
blanche/pipe/preprocessing/a11y/grouping.py:58
↓ 1 callersFunctionis_text_group
(node: A11yNode, add_group_role: bool = True)
blanche/pipe/preprocessing/a11y/grouping.py:51
↓ 1 callersFunctionis_valid_url
Check if the given URL is valid and points to a website. Args: url (str): The URL to check. Returns: bool: True if the URL i
blanche/utils/url.py:39
↓ 1 callersMethodis_visible
(self)
tests/mock/mock_browser.py:48
↓ 1 callersFunctionlist_all_text_names_in_subtree
(node: A11yNode)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:38
↓ 1 callersFunctionload_webvoyager_data
()
eval/webvoyager/load_data.py:29
↓ 1 callersFunctionmatching_ft
(node: A11yNode)
blanche/pipe/preprocessing/a11y/traversal.py:22
↓ 1 callersMethodmerge_action_lists
( self, inodes_ids: list[str], actions: list[PossibleAction], previous_action_
blanche/pipe/main.py:179
↓ 1 callersFunctionnb_conflicting_children
(n: A11yNode)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:196
↓ 1 callersMethodparse
(self, content: str, partial: bool = True)
blanche/actions/parsing.py:16
↓ 1 callersFunctionparse_markdown_action_list
( markdown_content: str, parse_parameters: bool = True, partial: bool = False, )
blanche/actions/parsing.py:142
↓ 1 callersFunctionparse_name_and_type
(parameter_str: str)
blanche/actions/parsing.py:72
↓ 1 callersFunctionparse_values
(values_str: str)
blanche/actions/parsing.py:90
↓ 1 callersMethodpress
(self, key: str = "Enter")
blanche/browser/driver.py:141
↓ 1 callersMethodpress
Mock key press action
tests/mock/mock_browser.py:133
↓ 1 callersFunctionprioritize_role
(child: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:253
↓ 1 callersFunctionprocess_action_code
( action: ExecutableAction, context: Context, generated: bool = False, )
blanche/actions/code.py:100
↓ 1 callersFunctionprune_non_dialogs_if_present
(node: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:100
↓ 1 callersMethodrelevant_attrs
(self)
blanche/browser/node_type.py:469
↓ 1 callersMethodreset
Mock browser reset
tests/mock/mock_browser.py:129
↓ 1 callersFunctionresolve_image_conflict
(page: Page, node: BlancheNode, node_id: str)
blanche/pipe/data_scraping.py:116
↓ 1 callersMethodrules
(self)
blanche/common/parser.py:50
↓ 1 callersMethodrun
(self, task: str, url: str | None = None)
blanche/common/agent.py:18
↓ 1 callersMethodscrape
()
blanche/actions/base.py:147
↓ 1 callersFunctionshould_group
(node: A11yNode, group_roles: set[str], add_group_role: bool = True)
blanche/pipe/preprocessing/a11y/grouping.py:26
↓ 1 callersMethodspecial_actions
(self)
blanche/actions/space.py:101
↓ 1 callersFunctionsplit_parameters
(parameters_str: str)
blanche/actions/parsing.py:96
↓ 1 callersMethodstart
(self)
blanche/browser/driver.py:46
↓ 1 callersMethodstart
Initialize the playwright instance
blanche/browser/pool.py:117
↓ 1 callersMethodstart
(self, **data: Unpack[SessionRequestDict])
blanche/sdk/client.py:78
↓ 1 callersMethodstart
(self)
blanche/common/resource.py:15
↓ 1 callersMethodstart
Mock browser startup
tests/mock/mock_browser.py:116
↓ 1 callersMethodsubtree_without
(self, roles: set[str])
blanche/browser/node_type.py:627
↓ 1 callersFunctionsync_image_ids_between_trees
(target: A11yNode, source: A11yNode)
blanche/pipe/preprocessing/a11y/id_generation.py:119
↓ 1 callersMethodterminate
()
blanche/actions/base.py:195
↓ 1 callersMethodtext_content
(self)
tests/mock/mock_browser.py:44
↓ 1 callersMethodthink
Processes the conversation history through the LLM to decide the next action. Override this method to customize how your agent inter
examples/agent.py:81
↓ 1 callersMethodto_interaction_node
(self)
blanche/browser/node_type.py:639
↓ 1 callersFunctiontransform_to_markdown
(children: list[A11yNode], join_with: str = "\n")
blanche/pipe/preprocessing/a11y/grouping.py:85
↓ 1 callersFunctiontransform_to_markdown_list
(children: list[A11yNode], level: int = 0)
blanche/pipe/preprocessing/a11y/grouping.py:264
↓ 1 callersFunctiontry_relax_selector
(page: Page, node: A11yNode, relax_level: int = 1)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:526
↓ 1 callersFunctionverify_ids
(source_node: A11yNode, target_node: A11yNode)
tests/pipe/preprocessing/a11y/test_id_generation.py:74
↓ 1 callersMethodwhich
(self, text: str)
blanche/common/parser.py:30
↓ 1 callersMethodwith_actions
(self, actions: list[Action])
blanche/actions/space.py:74
Method__aenter__
(self)
blanche/common/resource.py:24
Method__aexit__
( self, exc_type: type[BaseException], exc_val: BaseException, exc_tb: type[Ba
blanche/common/resource.py:28
Method__enter__
(self)
blanche/sdk/client.py:102
Method__exit__
(self, exc_type, exc_value, traceback)
blanche/sdk/client.py:106
Method__init__
( self, max_steps: int = 30, browser: BrowserDriver | None = None, llmserve: L
blanche/env.py:51
Method__init__
(self, **kwargs: Unpack[BrowserArgs])
blanche/browser/driver.py:30
Method__init__
( self, **browser_args: Unpack[BrowserArgs], )
blanche/browser/driver.py:70
Method__init__
( self, base_debug_port: int = 9222, config: BrowserPoolConfig | None = None,
blanche/browser/pool.py:81
Method__init__
(self, llmserve: LLMService | None = None)
blanche/pipe/document_category.py:13
Method__init__
(self, browser: BrowserDriver)
blanche/pipe/resolution.py:17
Method__init__
(self, llmserve: LLMService | None = None, browser: BrowserDriver | None = None)
blanche/pipe/data_scraping.py:162
Method__init__
(self, llmserve: LLMService | None = None)
blanche/pipe/listing.py:19
Method__init__
( self, llmserve: LLMService | None, prompt_id: str, incremental_prompt_id: st
blanche/pipe/listing.py:48
Method__init__
(self, llmserve: LLMService | None = None)
blanche/pipe/listing.py:224
Method__init__
( self, action_listing_pipe: ActionListingPipe = ActionListingPipe.SIMPLE_MARKDOWN_TABLE,
blanche/pipe/main.py:44
Method__init__
(self, prompts_dir: str | Path)
blanche/llms/prompt.py:8
Method__init__
(self)
blanche/llms/service.py:23
Method__init__
( self, api_key: str | None = None, server_url: str | None = None, )
blanche/sdk/client.py:38
Method__init__
(self, resource: AsyncResourceProtocol)
blanche/common/resource.py:11
Method__init__
( self, # api_model: str = "openai/gpt-4-turbo", api_model: str = "groq/llama-3.3-70b-
eval/webvoyager/eval.py:22
Method__init__
( self, api_key: str, max_attached_imgs: int = 3, api_model: str = "openai/gpt
eval/webvoyager/eval.py:126
Method__init__
( self, headless: bool = True, timeout: int = 10000, screenshot: bool = False,
tests/mock/mock_browser.py:78
Method__init__
(self, mock_response: str)
tests/mock/mock_service.py:12
Method__init__
(self)
tests/mock/mock_env.py:15
Method__init__
( self, model: str, max_steps: int, headless: bool, parser: Parser | N
examples/agent.py:63
Method__new__
(cls)
blanche/actions/space.py:188
Method__post_init__
(self)
blanche/browser/node_type.py:654
Method__post_init__
(self)
blanche/actions/base.py:48
Method__post_init__
(self)
blanche/actions/base.py:81
Method__post_init__
(self)
blanche/actions/base.py:131
Method__post_init__
(self)
blanche/actions/space.py:68
Method__post_init__
(self)
blanche/pipe/preprocessing/a11y/tree.py:36
Method__post_init__
(self)
blanche/sdk/types.py:49
Method__post_init__
(self)
eval/webvoyager/load_data.py:14
Function_timeit
(func: F)
blanche/common/logging.py:11
Functionaction_ids
()
tests/actions/test_parsing.py:97
Functionaction_list_answer
()
tests/pipe/test_listing.py:12
Functionaction_parameters
()
tests/actions/test_parsing.py:71
Functionaction_parameters_with_values
()
tests/actions/test_parsing.py:121
Functionaction_table_answer
()
tests/pipe/test_listing.py:28
Functionaenv
Helper fixture that returns the BlancheEnv instance directly
tests/test_env.py:46
Functionapi_key
()
tests/sdk/test_client.py:23
← previousnext →201–300 of 564, ranked by callers