MCPcopy Create free account

hub / github.com/Alibaba-NLP/DeepResearch / functions

Functions929 in github.com/Alibaba-NLP/DeepResearch

↓ 142 callersMethodget
(self, key: str, path: Optional[str] = None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/storage.py:70
↓ 126 callersMethodget
获取缓存值
WebAgent/WebDancer/demos/tools/private/cache_utils.py:50
↓ 61 callersMethodinfo
(msg)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/logger.py:107
↓ 47 callersMethodget
(self, key, default=None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/schema.py:40
↓ 36 callersMethodpop
(self, key, default=None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:21
↓ 31 callersMethodencode
(self, text: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/tokenization_qwen.py:201
↓ 31 callersMethodwarning
(msg)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/logger.py:112
↓ 24 callersMethoderror
(msg)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/logger.py:117
↓ 24 callersMethodget
获取缓存值
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/cache_utils.py:50
↓ 23 callersFunctionconvert_basic
转换基本类型 :param param: :return:
WebAgent/WebWeaver/topsdk/util.py:63
↓ 23 callersMethodsearch
(self,query)
WebAgent/WebWatcher/infer/scripts_eval/agent_eval.py:174
↓ 21 callersMethoddebug
(msg)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/logger.py:102
↓ 21 callersMethodmodel_dump
(self, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/schema.py:30
↓ 17 callersMethodparse_args
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:52
↓ 16 callersMethodrun
Return one response generator based on the received messages. This method performs a uniform type conversion for the inputted messages,
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/agent.py:64
↓ 14 callersMethodexecute
(self, api_code: str, request_dict: dict,file_dict: dict)
WebAgent/WebWeaver/topsdk/client.py:40
↓ 13 callersMethodget_type_and_value
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/schema.py:101
↓ 13 callersMethodrun
(self, messages: List[Message] = None, share: bool = False, server_name: s
WebAgent/WebDancer/demos/gui/web_ui.py:69
↓ 10 callersMethod_verify_json_format_args
Verify the parameters of the function call
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/base.py:126
↓ 10 callersMethodget_api_name
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_appip_get_request.py:14
↓ 10 callersMethodget_file_param_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_appip_get_request.py:21
↓ 10 callersFunctionprocess_url
Args: url (str): url sub_url (str): sub_url Returns: str: the processed url
WebAgent/WebWalker/src/utils.py:5
↓ 10 callersMethodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_appip_get_request.py:17
↓ 9 callersFunctionbuild_text_completion_prompt
( messages: List[Message], allow_special: bool = False, default_system: str = DEFAULT_SYSTEM_MESSA
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:448
↓ 8 callersFunctionprint_traceback
(is_error: bool = True)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:70
↓ 7 callersMethodcall
The interface for calling tools. Each tool needs to implement this function, which is the workflow of the tool. Args: pa
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/base.py:112
↓ 7 callersMethodeval
(self, input_file_list, output_file)
WebAgent/WebWatcher/infer/scripts_eval/agent_eval.py:434
↓ 7 callersFunctionsafe_average
(scores)
WebAgent/WebWalker/src/evaluate.py:130
↓ 6 callersMethod_call_tool
The interface of calling tools for the agent. Args: tool_name: The name of one tool. tool_args: Model generated or us
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/agent.py:217
↓ 6 callersFunctionconvert_struct
转换dict 对象类型参数,转json字符串 :param param: :return:
WebAgent/WebWeaver/topsdk/util.py:91
↓ 6 callersFunctioncount_tokens
(text: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/tokenization_qwen.py:216
↓ 6 callersMethodget_api_name
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/taobao_kfc_keyword_search_request.py:67
↓ 6 callersMethodget_file_param_dict
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/taobao_kfc_keyword_search_request.py:83
↓ 6 callersFunctionhas_chinese_chars
(data: Any)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:81
↓ 6 callersMethodto_dict
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/taobao_kfc_keyword_search_request.py:70
↓ 5 callersMethodcancel
(cls)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/resource/code_interpreter_init_kernel.py:40
↓ 5 callersMethodcreate_attention_mask
Create attention mask from input ids.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/tensor_helper.py:35
↓ 5 callersFunctionformat_as_text_message
( msg: Message, add_upload_info: bool, lang: Literal['auto', 'en', 'zh'] = 'auto', )
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:392
↓ 5 callersMethodmix_str
(self,pstr)
WebAgent/WebWeaver/topsdk/client.py:93
↓ 5 callersMethodtokenize
Converts a string in a sequence of tokens. Args: text (`str`): The sequence to be encoded. a
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/tokenization_qwen.py:135
↓ 4 callersMethod_call_tool
(self, tool_name: str, tool_args: Union[str, dict] = '{}', **kwargs)
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/qwen_tool_call.py:39
↓ 4 callersMethod_capture_frame
Capture a video frame at specified timestamp
inference/file_tools/video_analysis.py:543
↓ 4 callersFunction_conv_fname
(fname: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwenvl_dashscope.py:114
↓ 4 callersMethodcall
(self, params, **kwargs)
WebAgent/NestBrowse/toolkit/browser.py:162
↓ 4 callersMethodcall
(self, params: Union[str, dict], **kwargs)
inference/tool_visit.py:64
↓ 4 callersMethodconcatenate_with_padding
Concatenate tensors and handle padding.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/tensor_helper.py:43
↓ 4 callersMethodexecute_with_session
(self, api_code: str, request_dict: dict, file_dict: dict, session: str)
WebAgent/WebWeaver/topsdk/client.py:43
↓ 4 callersFunctionextract_tags
(text, tag)
WebAgent/AgentFold/infer.py:90
↓ 4 callersFunctionfind_pattern_last_idx
(pattern)
WebAgent/ParallelMuse/functionality_specified_partial_rollout.py:123
↓ 4 callersFunctionformat_as_multimodal_message
( msg: Message, add_upload_info: bool, add_multimodel_upload_info: bool, lang: Literal['auto',
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:322
↓ 4 callersFunctionget_basename_from_url
(path_or_url: str, need_rm_uuid: bool = False)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:94
↓ 4 callersFunctionget_basename_from_url
(path_or_url: str, need_rm_uuid: bool = False)
inference/file_tools/utils.py:94
↓ 4 callersFunctionhas_chinese_messages
(messages: List[Union[Message, dict]], check_roles: Tuple[str] = (SYSTEM, USER))
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:86
↓ 4 callersFunctionhash_sha256
(text: str)
inference/file_tools/utils.py:64
↓ 4 callersFunctionis_correct_judgement
(judgement)
evaluation/evaluate_deepsearch_official.py:72
↓ 4 callersFunctionprocess_single_round
(input_file)
WebAgent/WebSailor/src/evaluate.py:68
↓ 4 callersFunctionprocess_single_round
(input_file)
evaluation/evaluate_deepsearch_official.py:147
↓ 4 callersFunctionread_text_from_file
(path: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:209
↓ 4 callersFunctionremove_incomplete_special_tokens
(text: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/qwen_fncall_prompt.py:356
↓ 4 callersFunctionrollout_single_traj
(llm_sem, tool_sem, data, messages, args, max_turn_given=None, rollout_type='traj_level_rollout')
WebAgent/ParallelMuse/functionality_specified_partial_rollout.py:205
↓ 4 callersMethodset
设置缓存值
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/cache_utils.py:54
↓ 4 callersMethodto_dict
TOPAPI Request类需要实现此方法, 转换Request对象为dict
WebAgent/WebWeaver/topsdk/client.py:112
↓ 4 callersFunctiontruncate_long_strings
(d, max_len=100, head=False)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:172
↓ 3 callersMethod__init__
(self, cfg: Optional[dict] = None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/base.py:100
↓ 3 callersMethod_call_llm
The interface of calling LLM for the agent. We prepend the system_message of this agent to the messages, and call LLM. Args:
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/agent.py:189
↓ 3 callersMethod_chat
( self, messages: List[Union[Message, Dict]], stream: bool, delta_stream: bool
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:266
↓ 3 callersMethod_report_dangerous_call
Handle recognized "dangerous" calls, with special logic for open(...).
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/code_safety_checker.py:216
↓ 3 callersMethod_update_right_side
Update right side state.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:257
↓ 3 callersFunctionavg_statistic
(value_list)
WebAgent/WebResummer/src/evaluate.py:62
↓ 3 callersMethodcall
(self, params: str, **kwargs)
WebAgent/WebWalker/src/app.py:229
↓ 3 callersMethodcall
(self, params)
inference/file_tools/video_agent.py:80
↓ 3 callersFunctioncall_dashscope
(model, messages, stop, temperature, top_p, max_tokens, max_retries=10)
WebAgent/WebWeaver/dashscope_api.py:9
↓ 3 callersMethodcall_server
(self, msgs, max_tries=10)
WebAgent/WebSailor/src/tool_visit.py:69
↓ 3 callersMethodcall_server
(self, msgs, max_tries=10)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/visit.py:88
↓ 3 callersFunctionclean_paragraph
(text)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/simple_doc_parser.py:72
↓ 3 callersFunctionclean_text
(text: str)
inference/file_tools/file_parser.py:93
↓ 3 callersMethodconvert_tokens_to_string
Converts a sequence of tokens in a single string.
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/tokenization_qwen.py:165
↓ 3 callersMethodcreate_position_ids
Create position ids from attention mask.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/tensor_helper.py:39
↓ 3 callersFunctiondate2str
( date, sep="-", with_week: bool = False, language: str = "en", date_format: str = DEFAULT
WebAgent/WebDancer/demos/utils/date.py:50
↓ 3 callersFunctiondf_to_md
(df)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/simple_doc_parser.py:167
↓ 3 callersFunctionextract_text_from_message
( msg: Message, add_upload_info: bool, lang: Literal['auto', 'en', 'zh'] = 'auto', )
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:409
↓ 3 callersFunctionget_file_type
(path: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:235
↓ 3 callersFunctionis_http_url
(path_or_url: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:123
↓ 3 callersFunctionis_http_url
(path_or_url: str)
inference/file_tools/utils.py:123
↓ 3 callersFunctionjson_dumps_compact
(obj: dict, ensure_ascii=False, indent=None, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:318
↓ 3 callersMethodllm
(self, messages)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/jialong_visit.py:92
↓ 3 callersFunctionmerge_generate_cfgs
(base_generate_cfg: Optional[dict], new_generate_cfg: Optional[dict])
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:435
↓ 3 callersFunctionparse_excel
(file_path: str, extract_image: bool = False)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/simple_doc_parser.py:190
↓ 3 callersFunctionprint_traceback
(is_error: bool = True)
inference/file_tools/utils.py:70
↓ 3 callersMethodput
(self, key: str, value: str, path: Optional[str] = None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/storage.py:57
↓ 3 callersFunctionread_jsonl
(file_path)
WebAgent/ParallelMuse/functionality_specified_partial_rollout.py:34
↓ 3 callersMethodreadpage
Attempt to read webpage content by alternating between jina and aidata services. Args: url: The URL to read
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/jialong_visit.py:221
↓ 3 callersMethodreadpage_jina
Attempt to read webpage content by alternating between jina and aidata services. Args: url: The URL to read
inference/tool_visit.py:179
↓ 3 callersFunctionsanitize_chrome_file_path
(file_path: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:137
↓ 3 callersFunctionsetup_logger
(level = None, logfile_name: str = 'search-agent')
WebAgent/WebDancer/demos/utils/logs.py:16
↓ 3 callersFunctionsingle_round_statistics
(input_file)
WebAgent/WebSailor/src/evaluate.py:88
↓ 3 callersFunctionsingle_round_statistics
(input_file)
evaluation/evaluate_deepsearch_official.py:209
↓ 3 callersMethodtry_download
(self, url, method, timeout, max_retries)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/vl_search_text.py:154
↓ 3 callersMethodtry_download
(self, url, method, timeout, max_retries)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/vl_search_image.py:114
↓ 2 callersMethod__init__
(self, role: str, content: Optional[Union[str, List[ContentItem]]],
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/schema.py:124
next →1–100 of 929, ranked by callers