Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Westlake-AGI-Lab/AppAgentX
/ functions
Functions
184 in github.com/Westlake-AGI-Lab/AppAgentX
⨍
Functions
184
◇
Types & classes
18
↳
Endpoints
7
↓ 1 callers
Function
predict_yolo
Use huggingface model to replace the original model
backend/OmniParser/utils.py:376
↓ 1 callers
Function
process_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 callers
Function
process_chain
()
demo.py:776
↓ 1 callers
Function
process_evolution
()
demo.py:1023
↓ 1 callers
Function
process_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 callers
Function
process_triplet
Process reasoning for a single triplet Args: triplet: Triplet containing source page, element, target page and action information
chain_understand.py:159
↓ 1 callers
Function
remove_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 callers
Function
run_test
Run tests.
chain_evolve.py:525
↓ 1 callers
Function
single_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 callers
Method
update_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 callers
Method
upsert_batch
Batch insert or update vectors Args: vectors: List of VectorData objects Returns: bool: Whether the operatio
data/vector_db.py:57
↓ 1 callers
Method
verify_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
Function
action_2_format
(step_data)
backend/OmniParser/util/action_matching.py:279
Function
auto_exploration
()
demo.py:84
Function
callback
(state, node_name=None, info=None)
demo.py:95
Function
capture_screen_node
(state: DeploymentState)
deployment.py:1602
Function
check_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
Function
check_shortcuts_node
Check element associations with shortcuts
deployment.py:1725
Function
check_task_completion
Determine if task is completed Args: state: Execution state Returns: Updated execution state with task completion statu
deployment.py:1996
Function
clear_images
()
demo.py:308
Function
create_execution_state
Create initial execution state Args: device: Device ID Returns: Dictionary containing initial state
deployment.py:38
Method
delete_vectors
Delete vectors Args: ids: List of vector IDs to delete node_type: Node type (used as namespace) Returns:
data/vector_db.py:133
Function
element_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
Function
execute_action_node
Execute operation
deployment.py:1812
Function
execute_deployment_task
( device, task_description, progress=gr.Progress() )
demo.py:1189
Function
execute_task
Main function to execute a task Args: state: Initial state task: User task device: Device ID neo4j_db: Neo4j
deployment.py:747
Function
execution_callback
(state, node_name=None, info=None)
demo.py:1221
Function
extract_batch_images
批量提取图像特征
backend/ImageEmbedding/image_embedding.py:146
Function
extract_single_image
提取单张图像的特征
backend/ImageEmbedding/image_embedding.py:125
Function
fallback_node
Fall back to React mode
deployment.py:1888
Function
generate_high_level_action
(selected_file, progress=gr.Progress())
demo.py:918
Function
generate_template_node
Generate execution template
deployment.py:1788
Method
get_action_sequence
Get the execution sequence of a composite action
data/graph_db.py:239
Function
get_available_models
获取可用的模型列表
backend/ImageEmbedding/image_embedding.py:89
Function
get_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
Function
get_model_info
获取当前模型的信息
backend/ImageEmbedding/image_embedding.py:171
Method
get_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
Method
get_page_elements
Get all elements on a page and their executable atomic actions
data/graph_db.py:220
Method
get_stats
Get index statistics
data/vector_db.py:150
Function
get_xywh_yolo
(input)
backend/OmniParser/utils.py:489
Function
initialize_device
(device, task_info)
demo.py:55
Function
is_task_completed
Check if task is completed
deployment.py:1922
Function
load_image
(image_path: str)
backend/OmniParser/utils.py:309
Function
match_elements_node
Match current screen elements using visual embeddings
deployment.py:1622
Function
on_button_click
(action_type, selected_file)
demo.py:665
Function
page_understand
Understand the current page
explor_auto.py:59
Function
patched_run_task
(task, device)
demo.py:1270
Function
perform_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
Function
pred_2_format
(step_data)
backend/OmniParser/util/action_matching.py:319
Function
pred_2_format_simplified
(step_data)
backend/OmniParser/util/action_matching.py:366
Function
predict
Use huggingface model to replace the original model
backend/OmniParser/utils.py:355
Function
process
( image_input, box_threshold, iou_threshold, use_paddleocr, imgsz )
backend/OmniParser/gradio_demo.py:37
Function
process_image
( file: UploadFile = File(...), box_threshold: float = Form(0.05), # Box Threshold iou_threshold:
backend/OmniParser/omni.py:35
Method
query_similar
Query similar vectors and parse JSON strings in the results
data/vector_db.py:98
Function
remove_overlap
(boxes, iou_threshold, ocr_bbox=None)
backend/OmniParser/utils.py:173
Function
run_benchmark
运行性能测试
backend/ImageEmbedding/image_embedding.py:184
Function
run_exploration
()
demo.py:116
Function
run_in_background
()
demo.py:1265
Function
run_task
(initial_state: State, progress_callback=None)
explor_auto.py:353
Function
screen_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
Function
screen_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
Function
self_evolution
(task, data)
demo.py:202
Function
set_model
设置要使用的模型
backend/ImageEmbedding/image_embedding.py:98
Function
shortcut_evaluation_node
Evaluate whether to execute shortcut operations
deployment.py:1755
Function
should_execute_shortcut
Decide whether to execute shortcut
deployment.py:1913
Function
should_fallback
Decide whether to fall back to basic operations
deployment.py:1904
Function
start_session
()
demo.py:365
Function
stop_session
()
demo.py:391
Function
store_to_database
(selected_file)
demo.py:628
Function
take_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
Function
tsk_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
Function
tsk_setting
(state: State)
explor_auto.py:25
Function
understand_chain
(selected_file, progress=gr.Progress())
demo.py:671
Function
update_devices
()
demo.py:267
Function
update_execution_devices
()
demo.py:1180
Function
update_file_and_task_id
(selected_file)
demo.py:616
Function
update_file_list
Update file list and return options
demo.py:510
Function
update_inputs
(action)
demo.py:23
Function
user_exploration
(action, element_number, text_input, swipe_direction)
demo.py:146
← previous
101–184 of 184, ranked by callers