MCPcopy Create free account

hub / github.com/BAAI-Agents/Cradle / functions

Functions1,182 in github.com/BAAI-Agents/Cradle

Functionselect_next_product_type_in_menu
Move to the next product type in the menu by pressing the "down" arrow key.
cradle/environment/rdr2/atomic_skills/buy.py:69
Functionselect_previous_index_object
When the index is opened, moves to the previous index selection by pressing the "up" arrow key. Items of interest may be out of view, so this
cradle/environment/rdr2/atomic_skills/map.py:81
Functionselect_previous_product_type_in_menu
Move to the previous product type in the menu by pressing the "up" arrow key.
cradle/environment/rdr2/atomic_skills/buy.py:77
Functionselect_product_type
Moving the mouse over the specified product type and pressing enter allows viewing the contained products.
cradle/environment/rdr2/atomic_skills/buy.py:191
Functionselect_rightside_product
This function simulates the action of selecting the product on the next rightside of the current selected product. It uses the pydirectinput
cradle/environment/rdr2/atomic_skills/trade_utils.py:89
Functionselect_sidearm
Move the mouse to a specific location to select the sidearm in the game. Parameters: - x: The normalized abscissa of the pixel. - y:
cradle/environment/rdr2/atomic_skills/combat.py:29
Functionselect_tool
Selects a specific tool from the in-game toolbar based on the given tool number. Each tool serves a distinct purpose essential for managing your
cradle/environment/stardew/atomic_skills/basic_skills.py:158
Functionselect_upside_product
This function simulates the action of selecting the product on the next upside of the current selected product. It uses the pydirectinput lib
cradle/environment/rdr2/atomic_skills/trade_utils.py:62
Methodself_reflection
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/rdr2_planner.py:861
Methodself_reflection
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/stardew_planner.py:979
Functionsell_one_product
Presses "enter" to sell one unit of the current product.
cradle/environment/rdr2/atomic_skills/sell.py:32
Functionsell_product
Opens the trade bar for selling products. Note: it must run the shopkeeper_interaction function before running this function Parameters:
cradle/environment/rdr2/atomic_skills/sell.py:8
Functionsell_single_product_all_quantity
Presses and holds the "f" key to sell the quantity of one unit of the current product. Note: The product quantity must be greater than one.
cradle/environment/rdr2/atomic_skills/sell.py:20
Methodset_continuous_mode
Set the continuous mode value.
cradle/config/config.py:282
Methodset_embedding_provider
(self, embedding_provider)
cradle/environment/skill_registry.py:103
Methodset_env_name
Set the environment name.
cradle/config/config.py:270
Functionshift_toolbar
Cycles through the toolbar slots in the game by pressing the "Tab" key. This action allows the player to switch between different sets of tools o
cradle/environment/stardew/atomic_skills/basic_skills.py:174
Functionshoot_people
Shoot at person-shaped targets, if necessary.
cradle/environment/rdr2/composite_skills/auto_shoot.py:37
Functionshoot_wolves
Shoot at wolf targets, if necessary.
cradle/environment/rdr2/composite_skills/auto_shoot.py:45
Functionshopkeeper_interaction
Initiates interaction with the shopkeeper by long-pressing the right mouse button. This action opens the transaction menu. Note: The tran
cradle/environment/rdr2/atomic_skills/trade_utils.py:11
Functionshow
(elements)
docs/js/bulma-carousel.js:109
Functionshow_image
(img)
cradle/utils/image_utils.py:33
Methodsimilarity_search
Retrieve the keys from the vectorstores. Args: query: the query data. top_k: the number of results to return.
cradle/memory/short_term_memory.py:91
Methodsimilarity_search
Retrieve the keys from the vectorstore. Args: data: the query data. top_k: the number of results to return.
cradle/memory/basic_vector_memory.py:72
Methodsimilarity_search
Retrieve the keys from the store. Args: data: the query data. top_k: the number of results to return. **k
cradle/memory/base.py:36
Methodsimilarity_search
Return keys most similar to query.
cradle/memory/vector_store.py:45
Functionskip_warning
The function to skip the popped up warning dialog noticed with "Warning".
cradle/environment/dealers/atomic_skills/basic_skills.py:92
Methodstore_skills
(self, path = None)
cradle/gameio/game_manager.py:228
Methodsuccess_detection
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/planner.py:801
Methodsuccess_detection
detect whether the task is success :param args: :param kwargs: :return:
cradle/planner/base.py:48
Methodsuccess_detection
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/rdr2_planner.py:851
Methodsuccess_detection
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/stardew_planner.py:969
Functionswitch_material_panel
Switch the material panel. The material panel includes the Media, Audio, Text, Stickers, Effects, Transitions, Filters, Adjustments, and Template
cradle/environment/capcut/composite_skills/shortcut.py:94
Methodswitch_to_game
Switch to game. Args: env_name: Environment name. ide_name: IDE name. Returns:
cradle/environment/ui_control.py:32
Methodswitch_to_game
(self, env_name: str, ide_name: str)
cradle/environment/rdr2/ui_control.py:48
Methodswitch_to_game
(self, env_name: str, ide_name: str)
cradle/environment/skylines/ui_control.py:41
Methodswitch_to_game
(self, env_name: str, ide_name: str)
cradle/environment/software/ui_control.py:26
Methodswitch_to_game
(self, env_name: str, ide_name: str)
cradle/environment/dealers/ui_control.py:40
Methodswitch_to_game
(self, env_name: str, ide_name: str)
cradle/environment/stardew/ui_control.py:41
Functionswitch_to_next_product_type
Presses "e" to switch to the next product type.
cradle/environment/rdr2/atomic_skills/sell.py:40
Functionswitch_to_previous_product_type
Presses "q" to switch to the previous product type.
cradle/environment/rdr2/atomic_skills/sell.py:48
Methodtake_screenshot
(self, tid: float, screen_region: tuple[int, int, int, int] =
cradle/environment/skylines/ui_control.py:82
Methodtake_screenshot
(self, tid: float, screen_region: tuple[int, int, int, int] =
cradle/environment/software/ui_control.py:44
Methodtake_screenshot
(self, tid: float, screen_region: tuple[int, int, int, int] =
cradle/environment/dealers/ui_control.py:81
Methodtake_screenshot
(self, tid: float, screen_region: tuple[int, int, int, int] =
cradle/environment/stardew/ui_control.py:82
Methodtask_inference
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/rdr2_planner.py:871
Methodtask_inference
(self, *args, input: Dict[str, Any] = None, **kwargs)
cradle/planner/stardew_planner.py:989
Methodtemplate_matching_for_current_toolbar
(self, sr_file_list, base_template_file_list, work_template_file_list)
cradle/planner/rdr2_planner.py:461
Functiontiming
(func)
cradle/utils/template_matching.py:39
Methodto_json
(self: W, *, encoder: Encoder = json.dumps, **encoder_kwargs)
cradle/environment/skill.py:60
Functiontoggle_view
Toggles the view mode.
cradle/environment/rdr2/atomic_skills/buy.py:161
Functiontry_de_zone
The function to remove the zone in the game. The zone must cover the road. Parameters: - x1: The x-coordinate of top left corner point
cradle/environment/skylines/atomic_skills/basic_skills.py:341
Functiontry_place_commercial_zone
Previews the placement of a commercial zone within a rectangular region with diagonal corners at (x1, y1) and (x2, y2). This function does not ac
cradle/environment/skylines/atomic_skills/basic_skills.py:255
Functiontry_place_industrial_zone
Previews the placement of a industrial zone within a rectangular region with diagonal corners at (x1, y1) and (x2, y2). This function does not ac
cradle/environment/skylines/atomic_skills/basic_skills.py:298
Functiontry_place_power_line
Previews the placement of a power line between two specified points, (x1, y1) and (x2, y2). This function does not actually construct the power l
cradle/environment/skylines/atomic_skills/basic_skills.py:106
Functiontry_place_residential_zone
Previews the placement of a residential zone within a rectangular region with diagonal corners at (x1, y1) and (x2, y2). This function does not a
cradle/environment/skylines/atomic_skills/basic_skills.py:212
Functiontry_place_two_lane_road
Previews the placement of a road between two specified points, (x1, y1) and (x2, y2). This function does not actually construct the road, but rat
cradle/environment/skylines/atomic_skills/basic_skills.py:53
Functiontry_place_water_drain_pipe
Previews the placement of a water drain pipe on point, (x, y). This function does not actually construct the water drain pipe, but rather display
cradle/environment/skylines/atomic_skills/basic_skills.py:189
Functiontry_place_water_pipe
Previews the placement of a water pipe between two specified points, (x1, y1) and (x2, y2). This function does not actually construct the water p
cradle/environment/skylines/atomic_skills/basic_skills.py:159
Functiontry_place_water_pumping_station
Previews the placement of a water pumping station on point, (x, y). This function does not actually construct the water pumping station, but rath
cradle/environment/skylines/atomic_skills/basic_skills.py:136
Functiontry_place_wind_turbine
Previews the placement of a wind turbine on point, (x, y). This function does not actually construct the wind turbine, but rather displays a visu
cradle/environment/skylines/atomic_skills/basic_skills.py:83
Functionturn_and_move_forward
First turns the in-game character left or right based on the specified theta angle and then moves the in-game character forward for the specified
cradle/environment/rdr2/atomic_skills/move.py:13
Functiontype_text
Types the specified text using the keyboard. One character at a time. Parameters: - text: The text to be typed into the current UI contr
cradle/environment/feishu/atomic_skills/interact.py:106
Functiontype_text
Types the specified text using the keyboard. One character at a time. Parameters: - text: The text to be typed into the current UI contr
cradle/environment/chrome/atomic_skills/interact.py:53
Functiontype_text
Types the specified text using the keyboard. One character at a time. Parameters: - text: The text to be typed into the current UI contr
cradle/environment/software/atomic_skills/base.py:155
Functiontype_text
Types the specified text using the keyboard. One character at a time. Parameters: - text: The text to be typed into the current UI contr
cradle/environment/outlook/atomic_skills/interact.py:47
Functiontype_text
Types the specified text using the keyboard. One character at a time. Parameters: - text: The text to be typed into the current UI contr
cradle/environment/xiuxiu/atomic_skills/interact.py:55
Functionundo
Undo the last action.
cradle/environment/xiuxiu/atomic_skills/interact.py:113
Methodunpause_game
Args: env_name: Environment name. ide_name: IDE name. Returns:
cradle/environment/ui_control.py:21
Methodunpause_game
(self, env_name: str, ide_name: str)
cradle/environment/software/ui_control.py:22
Functionuse_tool
Executes an in-game action commonly assigned to using the character's current selected tool. According to the selected tool, this action can rang
cradle/environment/stardew/atomic_skills/basic_skills.py:51
Functionuse_tool_multiple_times
Use the current selected tool with the 3X3 size of area in front of the character. This function automates the action of using selected tool in a
cradle/environment/stardew/composite_skills/farm.py:43
Functionuuid
()
docs/js/bulma-carousel.js:995
Functionvc
()
docs/js/fontawesome.all.min.js:5
Functionview_info
Views product price and basic information by pressing "f".
cradle/environment/rdr2/atomic_skills/buy.py:93
Functionview_next_page
Pressing "e" opens the next page in the catalog.
cradle/environment/rdr2/atomic_skills/buy.py:41
Functionview_previous_page
Pressing "q" returns to the previous page in the catalog.
cradle/environment/rdr2/atomic_skills/buy.py:51
Functionview_weapons
View the weapon wheel.
cradle/environment/rdr2/atomic_skills/combat.py:53
Functionwidth
(element)
docs/js/bulma-carousel.js:132
Functionwrapper
(*args, **kwargs)
cradle/utils/template_matching.py:40
Methodwrapper
(self, *args, **kwargs)
cradle/provider/base/base_provider.py:22
Functionzoom
Enables zoom after opening the catalog.
cradle/environment/rdr2/atomic_skills/buy.py:11
← previous1,101–1,182 of 1,182, ranked by callers