MCPcopy Create free account

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

Functions929 in github.com/Alibaba-NLP/DeepResearch

Functionis_image
(path_or_url: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:129
Functionjson_default
(value)
WebAgent/WebWeaver/topsdk/util.py:49
Functionjson_dumps_compact
(obj: dict, ensure_ascii=False, indent=None, **kwargs)
inference/file_tools/utils.py:320
Functionjson_dumps_pretty
(obj: dict, ensure_ascii=False, indent=2, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:314
Functionjson_dumps_pretty
(obj: dict, ensure_ascii=False, indent=2, **kwargs)
inference/file_tools/utils.py:316
Functionjson_loads
(text: str)
inference/file_tools/utils.py:295
Functionkimi_api
(ds, output_path)
WebAgent/WebWalker/src/rag_system.py:192
Functionllm_api_wrapper
(api_call, data)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/parallel_run.py:53
Functionload_image_from_base64
(image_base64: Union[bytes, str])
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:509
Functionload_image_from_base64
(image_base64: Union[bytes, str])
inference/file_tools/utils.py:512
Functionlog_with_location
(color=Fore.WHITE)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/logger.py:71
Functionmake_system_prompt
()
WebAgent/WebDancer/demos/assistant_qwq_chat.py:39
Functionmerge_generate_cfgs
(base_generate_cfg: Optional[dict], new_generate_cfg: Optional[dict])
inference/file_tools/utils.py:438
Methodmix_nick
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_openuid_get_bymixnick_request.py:19
Methodmodel_dump_json
(self, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/schema.py:35
Methodname_for_human
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/base.py:161
Functionnew_handler
(*args, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:43
Functionnew_handler
(*args, **kwargs)
inference/file_tools/utils.py:43
Methodnick
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/taobao_kfc_keyword_search_request.py:34
Methodnum_tokens_from_messages
Return the number of tokens used by a list of messages.
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/openai_style_api_client.py:37
Functiono1_api
(ds, output_path)
WebAgent/WebWalker/src/rag_system.py:30
Methodobservation
(self, tool: dict, tool_dict: dict, tool_results, empty_mode: bool=False, readpage: bool=False, max_observatio
inference/tool_python.py:59
Methodorder
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/alibaba_aidata_site_data_get_request.py:66
Methodorder_by
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/alibaba_aidata_site_data_get_request.py:77
Functionparse_args
()
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:128
Functionparse_html
(file_path: str)
inference/file_tools/file_parser.py:387
Methodparse_json_output
(raw)
WebAgent/WebWeaver/tool/tool_visit.py:110
Functionparse_pdf
(pdf_path: str, extract_image: bool = False)
inference/file_tools/file_parser.py:175
Functionparse_ppt
(path: str, extract_image: bool = False)
inference/file_tools/file_parser.py:139
Functionparse_txt
(path: str)
inference/file_tools/file_parser.py:227
Functionparse_word
(docx_path: str, extract_image: bool = False)
inference/file_tools/file_parser.py:120
Functionparse_xml
(file_path: str)
inference/file_tools/file_parser.py:442
Methodparse_zip
(self, file_path: str)
inference/file_tools/file_parser.py:564
Methodpostprocess_fncall_messages
( messages: List[Message], parallel_function_calls: bool = True, function_choice: Unio
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/nous_fncall_prompt_think.py:99
Methodpostprocess_fncall_messages
Transform the plaintext model output into structured function call messages, return in the multimodal format for consistency.
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/base_fncall_prompt.py:25
Methodpostprocess_fncall_messages
( messages: List[Message], parallel_function_calls: bool = True, function_choice: Unio
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/code_fncall_prompt.py:60
Methodpostprocess_fncall_messages
( messages: List[Message], parallel_function_calls: bool = True, function_choice: Unio
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/qwen_fncall_prompt.py:100
Methodpreprocess_fncall_messages
( messages: List[Message], functions: List[dict], lang: Literal['en', 'zh'], p
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/nous_fncall_prompt_think.py:18
Methodpreprocess_fncall_messages
( messages: List[Message], functions: List[dict], lang: Literal['en', 'zh'], p
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/code_fncall_prompt.py:13
Methodpreprocess_fncall_messages
( messages: List[Message], functions: List[dict], lang: Literal['en', 'zh'], p
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/fncall_prompts/qwen_fncall_prompt.py:13
Functionprint_colored
(text, color)
WebAgent/AgentFold/infer.py:87
Functionprocess_data
(data)
WebAgent/WebWalker/src/rag_system.py:230
Functionprocess_item
(item)
WebAgent/WebWatcher/infer/evaluation/evaluate_hle_official.py:117
Functionprocess_item
(item, tokenizer)
evaluation/evaluate_hle_official.py:106
Methodquery
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/alibaba_aidata_site_data_get_request.py:44
Methodquick_chat
(self, prompt: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:80
Methodrandom_num
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_secret_get_request.py:40
Functionread_jsonl
Reads a JSONL file, parsing each line as a JSON object.
WebAgent/WebWeaver/utils/utils.py:5
Methodreadpage
Attempt to read webpage content by alternating between jina and aidata services. Args: url: The URL to read
WebAgent/WebWeaver/tool/tool_retrieve.py:215
Methodrecall_type
(self)
WebAgent/WebWeaver/topsdk/defaultability/request/alibaba_aidata_site_data_get_request.py:88
Methodrefresh_token
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_auth_token_refresh_request.py:19
Functionregister_llm
(model_type)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:20
Functionregister_tool
(name, allow_overwrite=False)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/base.py:30
Functionreplace_cite
(match)
WebAgent/WebDancer/demos/gui/html_decorate.py:39
Methodreplace_consecutive_elements
(arr, target)
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:371
Functionreplace_echarts
将echarts代码块转换为HTML和JavaScript Args: match: 正则表达式匹配对象 Returns: str: 包含HTML和JavaScrip
WebAgent/WebDancer/demos/gui/html_decorate.py:82
Functionreplace_takeaway
(match)
WebAgent/WebDancer/demos/gui/html_decorate.py:59
Functionrm_newlines
(text)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/str_processing.py:6
Methodrole_checker
(cls, value: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/schema.py:139
Methodrun_batch
(self, messages_batch: List[List[Union[Dict, Message]]], **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/agent.py:140
Methodrun_llm_loop
Run main LLM generation loop.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:395
Methodrun_nonstream
Same as self.run, but with stream=False, meaning it returns the complete response directly instead of streaming the response increment
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/agent.py:57
Methodsanity_check_output
(self, content)
inference/react_agent.py:56
Methodsave_image_detail
(self, data_dict, save_dir)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/vl_search_text.py:151
Methodsave_image_detail
(self, data_dict, save_dir)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/vl_search_image.py:111
Functionsave_jsonl
Saves a list of processed data to a JSONL file.
WebAgent/WebWeaver/utils/utils.py:17
Functionsave_text_to_file
(path: str, text: str)
inference/file_tools/utils.py:204
Functionsearch_cache_decorator
(func)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/vl_search_text.py:38
Functionsearch_cache_decorator
(func)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/vl_search_image.py:41
Methodsecret_version
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_secret_get_request.py:29
Methodset
设置缓存值
WebAgent/WebDancer/demos/tools/private/cache_utils.py:54
Methodstart_date
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_files_get_request.py:40
Methodstatus
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_files_get_request.py:29
Functionstr2bool
(v)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:9
Methodsupport_multimodal_input
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwenvl_oai.py:19
Methodsupport_multimodal_input
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwenvl_dashscope.py:21
Methodsupport_multimodal_input
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:50
Methodsupport_multimodal_output
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwenomni_dashscope.py:12
Methodsupport_multimodal_output
(self)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:55
Methodtaobao_appip_get
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:56
Methodtaobao_files_get
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:36
Methodtaobao_httpdns_get
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:21
Methodtaobao_kfc_keyword_search
(self, request: BaseRequest, session: str)
WebAgent/WebWeaver/topsdk/defaultability/defaultability.py:26
Methodtaobao_openuid_get
(self, request: BaseRequest, session: str)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:11
Methodtaobao_openuid_get_bymixnick
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:31
Methodtaobao_openuid_get_bytrade
(self, request: BaseRequest, session: str)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:16
Methodtaobao_top_auth_token_create
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:46
Methodtaobao_top_auth_token_refresh
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:41
Methodtaobao_top_sdk_feedback_upload
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:51
Methodtaobao_top_secret_get
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/ability304/ability304.py:26
Methodtid
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_openuid_get_bytrade_request.py:19
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_openuid_get_bytrade_request.py:33
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_openuid_get_request.py:17
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_httpdns_get_request.py:17
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_auth_token_create_request.py:49
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_files_get_request.py:65
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_openuid_get_bymixnick_request.py:33
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_sdk_feedback_upload_request.py:49
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_auth_token_refresh_request.py:33
Methodto_dict
(self)
WebAgent/WebWeaver/topsdk/ability304/request/taobao_top_secret_get_request.py:65
← previousnext →801–900 of 929, ranked by callers