MCPcopy Create free account

hub / github.com/LMIS-ORG/slime-agentic / functions

Functions2,220 in github.com/LMIS-ORG/slime-agentic

↓ 662 callersMethodappend
(self, item)
slime_plugins/rollout_buffer/buffer.py:145
↓ 559 callersMethodget
(cls, name: str)
slime/utils/types.py:209
↓ 185 callersMethodinfo
(self)
agentic/ToolOrchestra/tau2/data_model/tasks.py:322
↓ 54 callersMethodsize
(self)
slime/utils/reloadable_process_group.py:175
↓ 53 callersMethodload
(cls, path: Path)
agentic/ToolOrchestra/tau2/data_model/simulation.py:412
↓ 44 callersMethodcopy
(self, *, src_tag: str, dst_tag: str)
slime/utils/tensor_backper.py:34
↓ 38 callersMethodload
(self, rollout_id=None)
slime/ray/rollout.py:568
↓ 38 callersMethodsearch
(self, query: str, num: int = None, return_score: bool = False)
agentic/ToolOrchestra/retrieval_general_thought.py:170
↓ 36 callersMethodupdate
(self, result: "EvalResult | None" = None, skipped: bool = False)
agentic/ToolOrchestra/eval_orchestra.py:270
↓ 33 callersMethoddump
Dump the database to a file.
agentic/ToolOrchestra/tau2/environment/db.py:36
↓ 30 callersMethodadd
(self, name, elapsed_time)
slime/utils/timer.py:40
↓ 28 callersMethodsleep
(self, tags)
slime/ray/train_actor.py:105
↓ 25 callersMethodload
Load the database from a structured file like JSON, YAML, or TOML.
agentic/ToolOrchestra/tau2/environment/db.py:31
↓ 24 callersMethodbarrier
(self, *a, **kw)
slime/utils/reloadable_process_group.py:203
↓ 24 callersFunctionload_function
Load a function from a module. :param path: The path to the function, e.g. "module.submodule.function". :return: The function object.
slime/utils/misc.py:9
↓ 21 callersMethodread
(self)
slime_plugins/rollout_buffer/buffer.py:245
↓ 20 callersMethod_fwd
(self, method, *args, **kwargs)
slime/utils/reloadable_process_group.py:189
↓ 19 callersFunctionget_gloo_group
Get the Gloo group for distributed communication.
slime/utils/distributed_utils.py:28
↓ 19 callersMethodis_tool_call
Check if the message is a tool call.
agentic/ToolOrchestra/tau2/data_model/message.py:147
↓ 19 callersFunctionreset_arg
Reset the default value of a Megatron argument. :param parser: The argument parser. :param name: The name of the argument to reset. :
slime/utils/arguments.py:18
↓ 18 callersFunctionget_new_comm_function
Wrap communication functions with memory check.
slime/utils/reloadable_process_group.py:60
↓ 17 callersMethod_check_status_bar
Returns a string representation of the phone's status bar with basic indicators. Shows network signal, data connection type, wifi sta
agentic/ToolOrchestra/tau2/domains/telecom/user_tools.py:98
↓ 17 callersMethodinsert
Insert a string and its corresponding token IDs, log probabilities, and loss mask into the trie. Args: text: String to in
slime/router/middleware_hub/radix_tree.py:201
↓ 17 callersMethodregister_tasks
Register a new Domain implementation
agentic/ToolOrchestra/tau2/registry.py:125
↓ 16 callersMethod_parse_utc
(self, ts: str)
agentic/ToolOrchestra/tau2/domains/weather/tools.py:85
↓ 15 callersMethodgather
(self, *a, **kw)
slime/utils/reloadable_process_group.py:230
↓ 15 callersMethodregister_domain
Register a new Domain implementation
agentic/ToolOrchestra/tau2/registry.py:111
↓ 15 callersMethodwrite
(self, data)
slime_plugins/rollout_buffer/buffer.py:238
↓ 14 callersFunctionprint_memory
(msg, clear_before_print: bool = False)
slime/utils/memory_utils.py:35
↓ 13 callersMethodclose
(self)
tests/ci/gpu_lock_exec.py:165
↓ 13 callersMethodlog
Log data to tensorboard Args: data (dict): Dictionary containing metric names and values step (int): Current step/epo
slime/utils/tensorboard_utils.py:49
↓ 11 callersMethodencode
(self, query_list: List[str], is_query=True)
agentic/ToolOrchestra/retrieval_general_thought.py:94
↓ 11 callersMethodgenerate
Accept standard chat messages and return a GenerationOutput. If sampling_params is provided, it overrides the defaults set at initial
agentic/agentflow/core/llm_engine.py:39
↓ 11 callersMethodsimulate_network_search
Simulates the outcome of a cellular network search based on SIM status. This function can be used to update the network_connection_st
agentic/ToolOrchestra/tau2/domains/telecom/user_tools.py:984
↓ 11 callersFunctionsum_of_sample_mean
(x: torch.Tensor)
slime/backends/megatron_utils/cp_utils.py:67
↓ 10 callersMethod_get_bill_by_id
Retrieves a bill directly by its unique ID. Args: bill_id: The unique identifier of the bill. Returns:
agentic/ToolOrchestra/tau2/domains/telecom/tools.py:207
↓ 10 callersMethod_get_patient
(self, patient_id: str)
agentic/ToolOrchestra/tau2/domains/medicine/tools.py:64
↓ 10 callersMethodbroadcast
(self, *a, **kw)
slime/utils/reloadable_process_group.py:206
↓ 10 callersMethodclear
(self)
slime/utils/routing_replay.py:38
↓ 10 callersFunctionclear_memory
(clear_host_memory: bool = False)
slime/utils/memory_utils.py:10
↓ 10 callersMethodcreate
(source_getter, single_tag)
slime/utils/tensor_backper.py:12
↓ 10 callersMethodget_init_state
Get the initial state of the user simulator. Args: message_history: The message history of the conversation. Returns:
agentic/ToolOrchestra/tau2/user/base.py:120
↓ 10 callersMethodrun
(self, coro)
slime/utils/async_utils.py:18
↓ 9 callersMethod_get_client
(self, client_id: str)
agentic/ToolOrchestra/tau2/domains/bank/tools.py:67
↓ 9 callersMethod_get_game
Get a game from the database.
agentic/ToolOrchestra/tau2/domains/basketball/tools.py:62
↓ 9 callersMethod_get_prescription
(self, prescription_id: str)
agentic/ToolOrchestra/tau2/domains/medicine/tools.py:69
↓ 9 callersMethod_get_target_line
Retrieves a line using the customer ID and line ID. Args: customer_id: The unique identifier of the customer.
agentic/ToolOrchestra/tau2/domains/telecom/tools.py:225
↓ 9 callersMethodget_tools
Get the tools available in the ToolKit. Uses the `as_tool` to convert the functions to Tool objects. Returns: A dictionar
agentic/ToolOrchestra/tau2/environment/toolkit.py:110
↓ 9 callersFunctionnormalize_final_answer
Normalize a final answer to a quantitative reasoning question. Args: final_answer: The answer string to normalize Returns: N
slime/rollout/rm_hub/math_dapo_utils.py:143
↓ 9 callersMethodresolve
Resolve per-group defaults from model-level then args-level values.
slime/ray/rollout.py:83
↓ 9 callersMethodrun
Run the FastAPI server. Args: host: The host to bind to port: The port to bind to
agentic/ToolOrchestra/tau2/environment/server.py:234
↓ 9 callersMethodsave
(self, rollout_id)
slime/ray/rollout.py:565
↓ 8 callersMethod_get_line_by_phone
Retrieves a line directly by its phone number. Args: phone_number: The phone number to search for. Returns:
agentic/ToolOrchestra/tau2/domains/telecom/tools.py:131
↓ 8 callersMethod_make_request
Make a POST request to the specified endpoint with the given payload. Args: endpoint: The API endpoint to call payloa
slime/backends/sglang_utils/sglang_engine.py:227
↓ 8 callersFunction_msg_tokens
(msg)
agentic/ToolOrchestra/eval_orchestra.py:138
↓ 8 callersMethod_parse_time_hhmm
(self, hhmm: str)
agentic/ToolOrchestra/tau2/domains/school/tools.py:111
↓ 8 callersMethodcalculate_reward
Calculate the reward for the simulation.
agentic/ToolOrchestra/tau2/evaluator/evaluator_base.py:34
↓ 8 callersMethodcreate_tasks
(self, save_tasks: bool = False)
agentic/ToolOrchestra/tau2/domains/telecom/tasks/manager.py:161
↓ 8 callersFunctionexec_command
(cmd: str, capture_output: bool = False)
slime/utils/misc.py:37
↓ 8 callersMethodget
(self)
slime_plugins/rollout_buffer/buffer.py:184
↓ 8 callersMethodget_customer_by_phone
Finds a customer by their primary contact or line phone number. Args: phone_number: The phone number to search for.
agentic/ToolOrchestra/tau2/domains/telecom/tools.py:66
↓ 8 callersMethodget_env_constructor
Get a registered Domain by name
agentic/ToolOrchestra/tau2/registry.py:151
↓ 8 callersMethodremove
Remove a string and all nodes with this text as prefix from the trie. Args: text: String to remove (will also remove all
slime/router/middleware_hub/radix_tree.py:353
↓ 8 callersMethodstep
(self, rollout_id: int)
slime/utils/profile_utils.py:30
↓ 8 callersFunctiontimer
Can be used either as a decorator or a context manager: @timer def func(): ... or with timer("block_name"): ..
slime/utils/timer.py:55
↓ 8 callersFunctionzero
(len: int)
slime/backends/megatron_utils/cp_utils.py:142
↓ 7 callersMethod_get_booking
Find a booking by ID across all travelers. Returns: (Traveler owning the booking, Booking)
agentic/ToolOrchestra/tau2/domains/travel/tools.py:77
↓ 7 callersMethod_get_course
(self, course_id: str)
agentic/ToolOrchestra/tau2/domains/school/tools.py:57
↓ 7 callersMethod_get_order
Get the order from the database. Args: order_id: The order id, such as '#W0000000'. Be careful there is a '#' symbol at the begin
agentic/ToolOrchestra/tau2/domains/retail/tools.py:46
↓ 7 callersMethod_get_reservation
(self, reservation_id: str)
agentic/ToolOrchestra/tau2/domains/railway/tools.py:97
↓ 7 callersMethod_get_theater
(self, theater_id: str)
agentic/ToolOrchestra/tau2/domains/movie/tools.py:63
↓ 7 callersMethod_get_ticket
Get a service ticket from the database.
agentic/ToolOrchestra/tau2/domains/restaurant/tools.py:47
↓ 7 callersFunctionall_gather_with_cp
Gather tensors across all ranks in the context parallel group. The first dimension of the output tensor will be the `response_length`.
slime/backends/megatron_utils/cp_utils.py:123
↓ 7 callersMethodbackup
(self, tag: str)
slime/utils/tensor_backper.py:31
↓ 7 callersMethodexecute
Simple mode: send a text query to the expert. Args: query: The question/context to send expert:
agentic/ToolOrchestra/tools/expert_caller/tool.py:181
↓ 7 callersFunctiongenerate
Generate a response from the model. Args: model: The model to use. messages: The messages to send to the model. tool
agentic/ToolOrchestra/tau2/utils/llm_utils.py:488
↓ 7 callersMethodget_customer_by_id
Retrieves a customer directly by their unique ID. Args: customer_id: The unique identifier of the customer. Ret
agentic/ToolOrchestra/tau2/domains/telecom/tools.py:90
↓ 7 callersMethodget_reward_value
(self, args)
slime/utils/types.py:146
↓ 7 callersFunctionget_today
()
agentic/ToolOrchestra/tau2/domains/telecom/utils.py:47
↓ 7 callersFunctionis_valid_agent_history_message
Check if the message is a valid agent history message.
agentic/ToolOrchestra/tau2/agent/base.py:37
↓ 7 callersFunctionlast_boxed_only_string
Extract the last LaTeX boxed expression from a string. Args: string: Input string containing LaTeX code Returns: The last bo
slime/rollout/rm_hub/math_dapo_utils.py:20
↓ 7 callersFunctionremove_boxed
Remove the LaTeX boxed command from a string. Args: s: String with format "\\boxed{content}" Returns: The content inside the
slime/rollout/rm_hub/math_dapo_utils.py:50
↓ 7 callersFunctionslice_log_prob_with_cp
( log_prob: list[float] | torch.Tensor, total_length: int, response_length: int, qkv_format: s
slime/backends/megatron_utils/cp_utils.py:219
↓ 7 callersMethodstart
(self, name)
slime/utils/timer.py:20
↓ 6 callersMethod_get_location
(self, location_id: str)
agentic/ToolOrchestra/tau2/domains/weather/tools.py:70
↓ 6 callersMethod_get_payment_method
Get the payment method from the database. Args: payment_method_id: The payment method id, such as 'gift_card_0000000' or 'credit_
agentic/ToolOrchestra/tau2/domains/retail/tools.py:112
↓ 6 callersMethod_get_reservation
Get reservation from database.
agentic/ToolOrchestra/tau2/domains/airline/tools.py:63
↓ 6 callersMethod_get_sale
Get a sale from the database.
agentic/ToolOrchestra/tau2/domains/ecommerce/tools.py:47
↓ 6 callersMethod_get_show
Find a show by ID in a given theater, optionally constrained by date. Returns (show, date)
agentic/ToolOrchestra/tau2/domains/movie/tools.py:73
↓ 6 callersMethod_get_user
(self, user_id: str)
agentic/ToolOrchestra/tau2/domains/railway/tools.py:92
↓ 6 callersMethod_make_stats
(self, query_text: str, result_text: str | None, elapsed_ms: float)
agentic/ToolOrchestra/orchestra_solver.py:451
↓ 6 callersFunction_normalize_answer
(s: str)
agentic/memagent/eval_ruler_hqa.py:146
↓ 6 callersFunction_normalize_answer
(s: str)
agentic/memagent/eval_ruler_general.py:172
↓ 6 callersMethodasync_train
Do one rollout training
slime/ray/actor_group.py:118
↓ 6 callersMethodcollect
(self)
slime/rollout/filter_hub/base_types.py:33
↓ 6 callersFunctioncompute_rollout_step
(args, rollout_id)
slime/utils/metric_utils.py:120
↓ 6 callersFunctionconfigure_logger
(prefix: str = "")
slime/utils/logging_utils.py:12
↓ 6 callersMethodcreate_task
Create a new task for a user. Args: user_id: The ID of the user creating the task title: The title of the ta
agentic/ToolOrchestra/tau2/domains/mock/tools.py:31
↓ 6 callersFunctiondict_add_prefix
(d: dict[str, Any], prefix: str)
slime/utils/metric_utils.py:10
↓ 6 callersMethodexecute
Retrieve documents relevant to the query and return a formatted string. Args: query: The retrieval query text R
agentic/ToolOrchestra/tools/search_retrieval/tool.py:82
next →1–100 of 2,220, ranked by callers