MCPcopy Create free account

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

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

Methodget_res
(self, messages, functions, extra_args={}, more_info=None)
c3_bench/bench_test/tool_class/fc_medium.py:55
Methodinit
(self)
c3_bench/bench_test/tool_class/hammer.py:54
Methodinit
(self)
c3_bench/bench_test/tool_class/tool_ace.py:6
Methodinit
(self)
c3_bench/bench_test/tool_class/llama.py:13
Methodinit
(self)
c3_bench/bench_test/tool_class/xlam2.py:8
Methodinit
(self)
c3_bench/bench_test/tool_class/xlam.py:12
Methodinit
(self)
c3_bench/bench_test/tool_class/watt.py:11
Methodinit
(self)
c3_bench/bench_test/tool_class/deepseek.py:28
Methodinit
(self)
c3_bench/bench_test/tool_class/chatglm.py:42
Methodinit
(self)
c3_bench/bench_test/tool_class/gorilla.py:6
Methodinit
(self)
c3_bench/bench_test/tool_class/fc_medium.py:45
Methodparameters2arguments
(self, function_dict)
c3_bench/bench_test/handle/watt_handle.py:89
Functionparse_string_to_function
(input_str)
c3_bench/bench_test/utils/parse_res.py:55
Methodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/chatglm_handle.py:34
Methodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/xlam_handle.py:23
Methodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/llama_handle.py:57
Methodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/hammer_handle.py:76
Methodpost_process_tool_call
(self, answer)
c3_bench/bench_test/handle/fcm_handle.py:47
Methodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/chatglm_handle.py:13
Methodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/xlam_handle.py:13
Methodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/llama_handle.py:15
Methodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/hammer_handle.py:45
Methodpreprocess_to_simple
(self, messages)
c3_bench/bench_test/handle/fcm_handle.py:14
Functionprint_dict_by_key
(dict_, sort_by=None, need_percent=False)
c3_bench/bench_test/analysis_result.py:31
Functionread_csv_to_dict_list
(file_path)
c3_bench/bench_test/utils/readnwrite.py:46
Functionread_json_file_to_list
(input_file)
c3_bench/bench_test/utils/readnwrite.py:7
Functionremove_messages
(messages, is_english=False)
c3_bench/bench_test/utils/tools.py:175
Methodrequest_funcall
(self, messages, tools, env_info=None)
c3_bench/bench_test/handle/basic_handle.py:66
Methodself_formated_template
(self, messages ,functions)
c3_bench/bench_test/tool_class/llama.py:28
Functionsplit_messages_by_equal
(messages)
c3_bench/bench_test/analysis_result.py:1054
Functionstr2bool
Transform string to bool. Arguments: v (str): The value to be converted. Returns: bool: The converted value.
c3_bench/bench_test/analysis_result.py:628
Functionstr2bool
Transform string to bool. Arguments: v (str): The value to be converted. Returns: bool: The converted value.
c3_bench/bench_test/request_pipeline_upta.py:20
Functionstr2bool
Transform string to bool. Arguments: v (str): The value to be converted. Returns: bool: The converted value.
c3_bench/bench_test/request_pipeline.py:18
Functionstr2bool
Transform string to bool. Arguments: v (str): The value to be converted. Returns: bool: The converted value.
c3_bench/bench_test/utils/tools.py:28
Methodtokenize
(self, text: str)
c3_bench/bench_test/analysis_result.py:53
Functiontool_call_prompt
(messages, tools, date_time)
c3_bench/bench_test/handle/tools.py:44
Functionuser_ask
(messages, tools, request_func)
c3_bench/multi_agent/agent/user_ask.py:88
Functionuser_chat
(messages, tools, request_func)
c3_bench/multi_agent/agent/user_chat.py:78
Functionuser_multi_tool
(messages, tools, request_func)
c3_bench/multi_agent/agent/user_multi_tool.py:101
Functionuser_multi_tool_parallel
(messages, tools, request_func)
c3_bench/multi_agent/agent/user_multi_tool_parallel.py:103
Functionuser_multi_tool_serial_parallel
(messages, tools, request_func)
c3_bench/multi_agent/agent/user_multi_tool_serial_parallel.py:101
Functionuser_single_tool
(messages, tools, request_func)
c3_bench/multi_agent/agent/user_single_tool.py:77
Methodvisit_Call
(self, node)
c3_bench/bench_test/handle/tools.py:12
Methodvisit_Str
(self, node)
c3_bench/bench_test/handle/toolace_handle.py:12
Functionwrite_json_data_to_file
(data_list, output_file)
c3_bench/multi_agent/utils/file_utils.py:13
← previous201–245 of 245, ranked by callers