MCPcopy Create free account

hub / github.com/Westlake-AGI-Lab/AppAgentX / functions

Functions184 in github.com/Westlake-AGI-Lab/AppAgentX

↓ 1 callersFunctionpredict_yolo
Use huggingface model to replace the original model
backend/OmniParser/utils.py:376
↓ 1 callersFunctionprocess_and_update_chain
Process triplet chain and update database Args: start_page_id: Starting page ID Returns: List of processed triplets
chain_understand.py:392
↓ 1 callersFunctionprocess_chain
()
demo.py:776
↓ 1 callersFunctionprocess_evolution
()
demo.py:1023
↓ 1 callersFunctionprocess_single_chain
Process all triplets in a single chain and merge descriptions Args: chain: Single triplet chain reasoning_chain: Triplet reasonin
chain_understand.py:309
↓ 1 callersFunctionprocess_triplet
Process reasoning for a single triplet Args: triplet: Triplet containing source page, element, target page and action information
chain_understand.py:159
↓ 1 callersFunctionremove_overlap_new
ocr_bbox format: [{'type': 'text', 'bbox':[x,y], 'interactivity':False, 'content':str }, ...] boxes format: [{'type': 'icon', 'bbox':[x,y], '
backend/OmniParser/utils.py:226
↓ 1 callersFunctionrun_test
Run tests.
chain_evolve.py:525
↓ 1 callersFunctionsingle_human_explor
single_human_explor function Function Overview: 1. Based on the passed action and related parameters (kwargs), call the screen_actio
explor_human.py:197
↓ 1 callersMethodupdate_node_property
Update a node property by node ID Args: node_id: Node ID value property_name: Name of the property to modify
data/graph_db.py:18
↓ 1 callersMethodupsert_batch
Batch insert or update vectors Args: vectors: List of VectorData objects Returns: bool: Whether the operatio
data/vector_db.py:57
↓ 1 callersMethodverify_connectivity
(self)
data/graph_db.py:12
Method__init__
(self, config: Dict)
backend/OmniParser/omniparser.py:25
Method__init__
( self, color: Union[Color, ColorPalette] = ColorPalette.DEFAULT, thickness: int = 3,
backend/OmniParser/util/box_annotator.py:27
Method__init__
(self, model_config: ModelConfig)
backend/ImageEmbedding/image_embedding.py:42
Method__init__
Initialize vector store Args: api_key: Pinecone API key index_name: Index name dimension: Vector dimensio
data/vector_db.py:23
Method__init__
(self, uri: str, auth: tuple)
data/graph_db.py:8
Functionaction_2_format
(step_data)
backend/OmniParser/util/action_matching.py:279
Functionauto_exploration
()
demo.py:84
Functioncallback
(state, node_name=None, info=None)
demo.py:95
Functioncapture_screen_node
(state: DeploymentState)
deployment.py:1602
Functioncheck_actions_match
Determines if two actions are considered to be the same. Two actions being "the same" is defined here as two actions that would result in a simil
backend/OmniParser/util/action_matching.py:186
Functioncheck_shortcuts_node
Check element associations with shortcuts
deployment.py:1725
Functioncheck_task_completion
Determine if task is completed Args: state: Execution state Returns: Updated execution state with task completion statu
deployment.py:1996
Functionclear_images
()
demo.py:308
Functioncreate_execution_state
Create initial execution state Args: device: Device ID Returns: Dictionary containing initial state
deployment.py:38
Methoddelete_vectors
Delete vectors Args: ids: List of vector IDs to delete node_type: Node type (used as namespace) Returns:
data/vector_db.py:133
Functionelement_similarity
Calculate the similarity of elements in two pages. Parameters: page1: str, image path of the first page page2: str, image pa
tool/img_tool.py:111
Functionexecute_action_node
Execute operation
deployment.py:1812
Functionexecute_deployment_task
( device, task_description, progress=gr.Progress() )
demo.py:1189
Functionexecute_task
Main function to execute a task Args: state: Initial state task: User task device: Device ID neo4j_db: Neo4j
deployment.py:747
Functionexecution_callback
(state, node_name=None, info=None)
demo.py:1221
Functionextract_batch_images
批量提取图像特征
backend/ImageEmbedding/image_embedding.py:146
Functionextract_single_image
提取单张图像的特征
backend/ImageEmbedding/image_embedding.py:125
Functionfallback_node
Fall back to React mode
deployment.py:1888
Functiongenerate_high_level_action
(selected_file, progress=gr.Progress())
demo.py:918
Functiongenerate_template_node
Generate execution template
deployment.py:1788
Methodget_action_sequence
Get the execution sequence of a composite action
data/graph_db.py:239
Functionget_available_models
获取可用的模型列表
backend/ImageEmbedding/image_embedding.py:89
Functionget_device_size
Get the screen size (width and height) of a mobile device (Android emulator or real device). Parameters: - device (str): Specify the
tool/screen_content.py:54
Functionget_model_info
获取当前模型的信息
backend/ImageEmbedding/image_embedding.py:171
Methodget_page_by_visual_embedding
Get page node by visual embedding ID Args: embedding_id: Visual embedding ID Returns: Dict[str, Any] or None
data/graph_db.py:632
Methodget_page_elements
Get all elements on a page and their executable atomic actions
data/graph_db.py:220
Methodget_stats
Get index statistics
data/vector_db.py:150
Functionget_xywh_yolo
(input)
backend/OmniParser/utils.py:489
Functioninitialize_device
(device, task_info)
demo.py:55
Functionis_task_completed
Check if task is completed
deployment.py:1922
Functionload_image
(image_path: str)
backend/OmniParser/utils.py:309
Functionmatch_elements_node
Match current screen elements using visual embeddings
deployment.py:1622
Functionon_button_click
(action_type, selected_file)
demo.py:665
Functionpage_understand
Understand the current page
explor_auto.py:59
Functionpatched_run_task
(task, device)
demo.py:1270
Functionperform_action
Perform actions based on the current state Specifically, this node does two things: 1. Use LLM to understand the interface and generate r
explor_auto.py:92
Functionpred_2_format
(step_data)
backend/OmniParser/util/action_matching.py:319
Functionpred_2_format_simplified
(step_data)
backend/OmniParser/util/action_matching.py:366
Functionpredict
Use huggingface model to replace the original model
backend/OmniParser/utils.py:355
Functionprocess
( image_input, box_threshold, iou_threshold, use_paddleocr, imgsz )
backend/OmniParser/gradio_demo.py:37
Functionprocess_image
( file: UploadFile = File(...), box_threshold: float = Form(0.05), # Box Threshold iou_threshold:
backend/OmniParser/omni.py:35
Methodquery_similar
Query similar vectors and parse JSON strings in the results
data/vector_db.py:98
Functionremove_overlap
(boxes, iou_threshold, ocr_bbox=None)
backend/OmniParser/utils.py:173
Functionrun_benchmark
运行性能测试
backend/ImageEmbedding/image_embedding.py:184
Functionrun_exploration
()
demo.py:116
Functionrun_in_background
()
demo.py:1265
Functionrun_task
(initial_state: State, progress_callback=None)
explor_auto.py:353
Functionscreen_action
Tool name: screen_action Tool function: Perform screen operations on mobile devices (Android emulator or real device), including tap
tool/screen_content.py:219
Functionscreen_element
Call the page understanding tool interface, upload the screenshot file and receive the parsing result, save the labeled image and parsing content
tool/screen_content.py:139
Functionself_evolution
(task, data)
demo.py:202
Functionset_model
设置要使用的模型
backend/ImageEmbedding/image_embedding.py:98
Functionshortcut_evaluation_node
Evaluate whether to execute shortcut operations
deployment.py:1755
Functionshould_execute_shortcut
Decide whether to execute shortcut
deployment.py:1913
Functionshould_fallback
Decide whether to fall back to basic operations
deployment.py:1904
Functionstart_session
()
demo.py:365
Functionstop_session
()
demo.py:391
Functionstore_to_database
(selected_file)
demo.py:628
Functiontake_screenshot
Take a screenshot of the specified mobile device (Android emulator or real device) and save it to a directory organized by application. Para
tool/screen_content.py:76
Functiontsk_completed
When the number of execution steps exceeds three, use LLM and the current history of three screenshots to determine if the task is complete.
explor_auto.py:213
Functiontsk_setting
(state: State)
explor_auto.py:25
Functionunderstand_chain
(selected_file, progress=gr.Progress())
demo.py:671
Functionupdate_devices
()
demo.py:267
Functionupdate_execution_devices
()
demo.py:1180
Functionupdate_file_and_task_id
(selected_file)
demo.py:616
Functionupdate_file_list
Update file list and return options
demo.py:510
Functionupdate_inputs
(action)
demo.py:23
Functionuser_exploration
(action, element_number, text_input, swipe_direction)
demo.py:146
← previous101–184 of 184, ranked by callers