MCPcopy Create free account

hub / github.com/Tencent-Hunyuan/C3-Benchmark / functions

Functions245 in github.com/Tencent-Hunyuan/C3-Benchmark

↓ 1 callersFunctionmain
()
c3_bench/bench_test/handle/api_handle.py:37
↓ 1 callersFunctionmatrix_calculate_triangle_data
(matrix_map)
c3_bench/bench_test/analysis_result.py:450
↓ 1 callersFunctionmatrix_calculate_variance
(matrix)
c3_bench/bench_test/analysis_result.py:407
↓ 1 callersFunctionone_turn_pipeline
()
c3_bench/multi_agent/generate.py:27
↓ 1 callersFunctionparam_error_type_analysis
(data)
c3_bench/bench_test/analysis_result.py:298
↓ 1 callersFunctionparse_answer
(user_tasks)
c3_bench/multi_agent/agent/user_chat.py:68
↓ 1 callersFunctionparse_answer
(user_tasks)
c3_bench/multi_agent/agent/user_ask.py:78
↓ 1 callersFunctionparse_argument
()
c3_bench/bench_test/analysis_result.py:648
↓ 1 callersFunctionparse_argument
()
c3_bench/bench_test/request_pipeline_upta.py:186
↓ 1 callersFunctionparse_argument
()
c3_bench/bench_test/request_pipeline.py:92
↓ 1 callersFunctionparse_python_function_call
(call_str)
c3_bench/bench_test/handle/gorilla_handle.py:10
↓ 1 callersFunctionpipeline
(node_list, messages, tools, env_info, fetch_data_list, layer_num_total, agent_handle_to_model)
c3_bench/multi_agent/generate.py:18
↓ 1 callersFunctionplanner
(messages, tools, env_info, request_func)
c3_bench/multi_agent/agent/planner.py:242
↓ 1 callersMethodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/basic_handle.py:17
↓ 1 callersMethodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/xlam2_handle.py:62
↓ 1 callersMethodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/watt_handle.py:95
↓ 1 callersMethodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/toolace_handle.py:85
↓ 1 callersMethodpreprocess_model_output
Preprocess the model output to extract content and potential tool calls. Returns: Tuple of (content, potential_tool_calls
c3_bench/bench_test/tool_parser/hunyuan_tool_parser.py:54
↓ 1 callersMethodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/basic_handle.py:14
↓ 1 callersMethodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/xlam2_handle.py:23
↓ 1 callersMethodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/watt_handle.py:55
↓ 1 callersMethodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/toolace_handle.py:64
↓ 1 callersMethodprocess_planner_tool
(self, messages)
c3_bench/bench_test/handle/hammer_handle.py:15
↓ 1 callersMethodprocess_planner_tool
(self, messages)
c3_bench/bench_test/handle/watt_handle.py:18
↓ 1 callersMethodprocess_planner_tool
(self, messages)
c3_bench/bench_test/handle/toolace_handle.py:23
↓ 1 callersFunctionproperties_filter
(dic_)
c3_bench/bench_test/utils/tools.py:99
↓ 1 callersFunctionrandom_select_answer
(user_tasks)
c3_bench/multi_agent/utils/agent_utils.py:14
↓ 1 callersMethodremove_function_object
(self, functions)
c3_bench/bench_test/tool_class/hammer.py:63
↓ 1 callersMethodremove_function_object
(self, functions)
c3_bench/bench_test/tool_class/llama.py:73
↓ 1 callersMethodremove_function_object
(self, functions)
c3_bench/bench_test/tool_class/watt.py:29
↓ 1 callersMethodrequest_funcall
(self, messages, tools, env_info=None)
c3_bench/bench_test/handle/hunyuan_handle.py:59
↓ 1 callersMethodrequest_funcall
(self, messages, tools, env_info=None)
c3_bench/bench_test/handle/xlam2_handle.py:38
↓ 1 callersMethodrequest_funcall
(self, messages, tools, env_info=None)
c3_bench/bench_test/handle/watt_handle.py:122
↓ 1 callersMethodrequest_funcall
(self, messages, tools, env_info=None)
c3_bench/bench_test/handle/toolace_handle.py:104
↓ 1 callersMethodrequest_model
(self, messages)
c3_bench/multi_agent/handle/api_handle.py:14
↓ 1 callersMethodrequest_model
(self, model, messages, tools, env_info)
c3_bench/bench_test/handle/hunyuan_handle.py:18
↓ 1 callersFunctionrule_checker_en
(messages, tools, env_info, tool_flag, request_func, enable_llm)
c3_bench/multi_agent/agent/checker_planner.py:229
↓ 1 callersFunctionrule_checker_en
(messages, action_list, tools)
c3_bench/multi_agent/agent/checker_tool.py:31
↓ 1 callersFunctionrule_checker_zh
(messages, tools, env_info, tool_flag, request_func, enable_llm)
c3_bench/multi_agent/agent/checker_planner.py:85
↓ 1 callersFunctionrule_checker_zh
(messages, action_list, tools)
c3_bench/multi_agent/agent/checker_tool.py:7
↓ 1 callersFunctionsplit_messages_by_equal
(messages)
c3_bench/bench_test/request_pipeline_upta.py:219
↓ 1 callersFunctionsplit_messages_by_equal
(messages)
c3_bench/bench_test/request_pipeline.py:124
↓ 1 callersMethodsplit_path
(self)
c3_bench/bench_test/tool_call_graph.py:176
↓ 1 callersFunctionstrip_function_calls
Split the content by the function call delimiter and remove empty strings
c3_bench/bench_test/handle/gorilla_handle.py:42
↓ 1 callersFunctiontool
(messages, tools, env_info, request_func)
c3_bench/multi_agent/agent/tool.py:80
↓ 1 callersFunctiontransform_train_data
(messages, tools, env_info)
c3_bench/multi_agent/utils/data_process_utils.py:15
↓ 1 callersMethodupdate_updating_all_path_list
(self, step, idx_to_list)
c3_bench/bench_test/tool_call_graph.py:228
↓ 1 callersFunctionuser_answer_ask
(messages, tools, env_info, request_func)
c3_bench/multi_agent/agent/user_answer_ask.py:66
↓ 1 callersFunctionuser_continue_question
(messages, tools, env_info, request_func, node)
c3_bench/multi_agent/agent/user_continue_question.py:626
↓ 1 callersFunctionuser_vague_answer_ask
(messages, tools, env_info, request_func)
c3_bench/multi_agent/agent/user_vague_answer_ask.py:65
↓ 1 callersFunctionwrite_json_to_file
(data, path, func=None, print_f=True)
c3_bench/bench_test/utils/readnwrite.py:33
↓ 1 callersFunctionwrite_list_of_list_to_csv
(list_of_list, csv_file_name)
c3_bench/bench_test/utils/readnwrite.py:84
Method__init__
(self)
c3_bench/multi_agent/handle/api_handle.py:8
Method__init__
(self, node_action, node_observation, node_user_input, node_dependency_list)
c3_bench/bench_test/tool_call_graph.py:11
Method__init__
(self, answer_list)
c3_bench/bench_test/tool_call_graph.py:19
Method__init__
(self, tokenizer: AnyTokenizer)
c3_bench/bench_test/tool_parser/hunyuan_tool_parser.py:28
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/gorilla_handle.py:98
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/chatglm_handle.py:9
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/xlam_handle.py:9
Method__init__
(self, model_url, is_english)
c3_bench/bench_test/handle/basic_handle.py:7
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/llama_handle.py:9
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/hunyuan_handle.py:8
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/hammer_handle.py:10
Method__init__
(self)
c3_bench/bench_test/handle/tools.py:9
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/xlam2_handle.py:19
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/fcm_handle.py:9
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/watt_handle.py:13
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/toolace_handle.py:19
Method__init__
(self, model_url, is_english=False)
c3_bench/bench_test/handle/api_handle.py:10
Method__init__
(self, name, model_path)
c3_bench/bench_test/tool_class/tool_class_base.py:2
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/hammer.py:78
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/tool_ace.py:38
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/llama.py:106
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/xlam2.py:25
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/xlam.py:122
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/watt.py:54
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/deepseek.py:42
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/chatglm.py:75
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/gorilla.py:15
Method_get_res
(self, messages)
c3_bench/bench_test/tool_class/fc_medium.py:62
Methodclear
(self)
c3_bench/bench_test/handle/tools.py:25
Methoddecode_res
(self, outputs, inputs)
c3_bench/bench_test/tool_class/tool_ace.py:43
Methoddecode_res
(self, prompt, outputs)
c3_bench/bench_test/tool_class/llama.py:117
Methoddecode_res
(self, outputs, inputs)
c3_bench/bench_test/tool_class/xlam.py:127
Methoddecode_res
(self, outputs, inputs)
c3_bench/bench_test/tool_class/gorilla.py:20
Methoddo_POST
(self)
c3_bench/bench_test/web_server.py:40
Functioneasy_dict_count
(label_cnt, label)
c3_bench/bench_test/analysis_result.py:27
Methodextract_tool_calls
Extract tool calls from a complete model output.
c3_bench/bench_test/tool_parser/hunyuan_tool_parser.py:75
Methodextract_tool_calls_streaming
Extract tool calls for streaming mode.
c3_bench/bench_test/tool_parser/hunyuan_tool_parser.py:134
Methodformat_message
(self, messages, functions, more_info=None)
c3_bench/bench_test/tool_class/tool_ace.py:14
Methodformat_message
(self, messages, functions, more_info=None)
c3_bench/bench_test/tool_class/xlam.py:65
Functionget_current_date_with_weekday
()
c3_bench/bench_test/utils/date.py:36
Functionget_messages_until_task
整合历史消息并根据任务ID和任务内容过滤消息,同时根据语言移除角色标识。 Arguments: messages (list): 包含消息记录的列表,每条记录是一个字典,包含内容和角色等信息。 task_id (int): 任务ID,用于定位特定任
c3_bench/bench_test/analysis_result.py:1068
Functionget_random_date
(a1=(2024, 1, 1, 0, 0, 0, 0, 0, 0), a2=(2024, 12, 31, 23, 59, 59, 0, 0, 0))
c3_bench/bench_test/utils/date.py:7
Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/hammer.py:71
Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/llama.py:81
Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/xlam2.py:17
Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/tool_class_base.py:10
Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/deepseek.py:36
Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/chatglm.py:68
← previousnext →101–200 of 245, ranked by callers