MCPcopy Create free account

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

Functions929 in github.com/Alibaba-NLP/DeepResearch

↓ 2 callersMethod__init__
(self, cfg: Optional[Dict] = None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:59
↓ 2 callersMethod_batch_tokenize
Tokenize a batch of responses.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:86
↓ 2 callersMethod_chat
( self, messages: List[Union[Message, Dict]], stream: bool, delta_stream: bool
WebAgent/WebDancer/demos/llm/oai.py:197
↓ 2 callersMethod_chat_complete_create
(*args, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/oai.py:53
↓ 2 callersMethod_chat_complete_create
(*args, **kwargs)
WebAgent/WebDancer/demos/llm/oai.py:65
↓ 2 callersMethod_check_subprocess_shell
If we see subprocess.run(..., shell=True), or similar calls, flag it as especially dangerous.
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/code_safety_checker.py:248
↓ 2 callersMethod_convert_messages_to_target_type
(self, messages: List[Message], target_type: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:359
↓ 2 callersFunction_count_tokens
(msg: Message)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:461
↓ 2 callersMethod_create_agent_info_block
(self, agent_index=0)
WebAgent/WebDancer/demos/gui/web_ui.py:357
↓ 2 callersMethod_create_agent_plugins_block
(self, agent_index=0)
WebAgent/WebDancer/demos/gui/web_ui.py:369
↓ 2 callersMethod_detect_tool
(self, text: str)
WebAgent/WebWalker/src/agent.py:191
↓ 2 callersMethod_example_level_pad
Pad responses for non-active examples with pad tokens.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/tensor_helper.py:50
↓ 2 callersMethod_execute_code
(self, kc, code: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/code_interpreter.py:243
↓ 2 callersMethod_extract_frames_uniform
Extract frames at uniform intervals
inference/file_tools/video_analysis.py:522
↓ 2 callersFunction_extract_vl_response
(response)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwenvl_dashscope.py:134
↓ 2 callersMethod_flatten_result
(self, result: list)
inference/file_tools/file_parser.py:558
↓ 2 callersFunction_format_as_text_messages
(messages: List[Message])
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:375
↓ 2 callersFunction_format_local_files
(messages: List[Message])
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwenvl_dashscope.py:93
↓ 2 callersMethod_frame_to_base64
Convert image to base64 string
inference/file_tools/video_analysis.py:575
↓ 2 callersMethod_full_stream_output
(response)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwen_dashscope.py:117
↓ 2 callersMethod_generate_with_gpu_padding
Wrapper for generation that handles multi-GPU padding requirements. if num_gpus <= 1, return self.actor_rollout_wg.generate_s
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:279
↓ 2 callersMethod_get_agent_index_by_name
(self, agent_name)
WebAgent/WebDancer/demos/gui/web_ui.py:343
↓ 2 callersMethod_get_open_mode
Extract the 'mode' argument if the user calls open(..., mode='w'), etc.
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/code_safety_checker.py:259
↓ 2 callersMethod_get_stopping_criteria
(self, generate_cfg: dict)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/openvino.py:69
↓ 2 callersMethod_get_video_duration
Get video duration in seconds
inference/file_tools/video_analysis.py:227
↓ 2 callersMethod_is_supported_type
Check if file type is supported
inference/file_tools/video_analysis.py:332
↓ 2 callersFunction_load_tiktoken_bpe
(tiktoken_bpe_file: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/tokenization_qwen.py:35
↓ 2 callersMethod_lock_file
获取文件锁
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/cache_utils.py:12
↓ 2 callersMethod_lock_file
获取文件锁
WebAgent/WebDancer/demos/tools/private/cache_utils.py:12
↓ 2 callersMethod_postprocess_messages
( self, messages: List[Message], fncall_mode: bool, generate_cfg: dict, )
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:333
↓ 2 callersMethod_postprocess_responses
Process responses to stop at search operation or answer operation.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:104
↓ 2 callersFunction_raise_or_delay
Retry with exponential backoff
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:538
↓ 2 callersMethod_raw_prompt_ids
(self, rollings)
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:367
↓ 2 callersMethod_read_cache
读取缓存文件
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/cache_utils.py:20
↓ 2 callersMethod_read_cache
读取缓存文件
WebAgent/WebDancer/demos/tools/private/cache_utils.py:20
↓ 2 callersFunction_replace_with_separator
(text, separator, regexs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/sfilter.py:27
↓ 2 callersMethod_report_method_write
We discovered something like <object>.to_csv(...), so we mark it as potentially dangerous since it writes to disk.
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/code_safety_checker.py:229
↓ 2 callersFunction_rm_think
(text: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:577
↓ 2 callersMethod_run
Return one response generator based on the received messages. The workflow for an agent to generate a reply. Each agent subclass need
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/agent.py:124
↓ 2 callersMethod_serve_image
(self, image_base64: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/code_interpreter.py:298
↓ 2 callersMethod_unlock_file
释放文件锁
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/cache_utils.py:16
↓ 2 callersMethod_unlock_file
释放文件锁
WebAgent/WebDancer/demos/tools/private/cache_utils.py:16
↓ 2 callersFunctionaidata_readpage
(url)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/readpage.py:51
↓ 2 callersMethodaidata_readpage
Read webpage content using Aidata service. Args: url: The URL to read Returns:
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/private/jialong_visit.py:146
↓ 2 callersMethodalibaba_aidata_aignite_application_run
(self, request: BaseRequest)
WebAgent/WebWeaver/topsdk/defaultability/defaultability.py:11
↓ 2 callersMethodcall
(self, params: Union[str, dict], **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/code_interpreter_http.py:127
↓ 2 callersMethodcall
(self, **kwargs)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/openai_style_api_client.py:80
↓ 2 callersMethodcall
(self, params: str, **kwargs)
WebAgent/WebDancer/demos/tools/private/visit.py:95
↓ 2 callersMethodcall
(self, params: Union[str, dict], **kwargs)
WebAgent/WebWeaver/tool/tool_select_url.py:79
↓ 2 callersMethodcall
(self, params: Union[str, dict], **kwargs)
WebAgent/WebWeaver/tool/tool_search.py:113
↓ 2 callersMethodcall
(self, params: Union[str, dict], **kwargs)
WebAgent/WebResummer/src/tool_visit.py:55
↓ 2 callersFunctioncall_llm
(sem, prompt, max_tokens, model_name, client=None, mode='agent')
WebAgent/NestBrowse/utils.py:9
↓ 2 callersFunctioncall_llm_with_tool
(item, args)
WebAgent/AgentFold/infer.py:200
↓ 2 callersFunctioncall_resum_server
(query, max_retries=10)
WebAgent/WebResummer/src/summary_utils.py:13
↓ 2 callersMethodcall_server
(self, msgs, max_tries=10)
WebAgent/WebSailor/src/react_agent.py:39
↓ 2 callersMethodcall_server
(self, msgs, max_tries=10)
WebAgent/WebResummer/src/react_agent.py:43
↓ 2 callersMethodcall_server
(self, msgs, planning_port, max_tries=10)
inference/react_agent.py:59
↓ 2 callersMethodcall_server_align
(self, msgs, max_retries=2)
WebAgent/WebWeaver/tool/tool_visit.py:181
↓ 2 callersMethodchat
LLM chat interface. Args: messages: Inputted messages. functions: Inputted functions for function calling. OpenAI for
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/base.py:87
↓ 2 callersFunctioncheck_banned_operations
Scans Python code for certain banned keywords (exit, yield, requests, url, pip, install, conda) as real code tokens, ignoring strings/comment
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/code_safety_checker.py:5
↓ 2 callersMethodcheck_code_safety
Parse the given Python AST node, and detect known dangerous function calls or file operations. Returns (is_safe, message).
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/code_safety_checker.py:278
↓ 2 callersFunctionclean_markdown
Args: res (str): markdown content Returns: str: cleaned markdown content
WebAgent/WebWalker/src/utils.py:17
↓ 2 callersMethodconvert_messages_to_dicts
(messages: List[Message])
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/oai.py:164
↓ 2 callersMethodconvert_messages_to_dicts
(messages: List[Message])
WebAgent/WebDancer/demos/llm/oai.py:210
↓ 2 callersFunctioncount_tokens
(text, tokenizer)
WebAgent/NestBrowse/utils.py:76
↓ 2 callersMethodcount_tokens
(self, text: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/tokenization_qwen.py:204
↓ 2 callersMethodcount_tokens
(self, messages, model="gpt-4o")
WebAgent/WebWeaver/react_agent_search_id.py:81
↓ 2 callersMethodcount_tokens
(self, messages, model="gpt-4o")
WebAgent/WebWeaver/react_agent_outline_write.py:75
↓ 2 callersMethodcount_tokens
(self, messages, model="gpt-4o")
WebAgent/WebResummer/src/react_agent.py:73
↓ 2 callersFunctioncount_tokens_with_tokenizer
(text, tokenizer)
evaluation/evaluate_deepsearch_official.py:175
↓ 2 callersMethodcut_to_effective_len
Cut tensors to their effective length based on attention mask.
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/tensor_helper.py:16
↓ 2 callersMethoddeactivate_batch
(self, active_mask,rollings)
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:388
↓ 2 callersFunctiondf_to_markdown
(df: pd.DataFrame)
inference/file_tools/file_parser.py:115
↓ 2 callersMethodexecute_predictions
Execute predictions across multiple environments. NOTE: the function is the actual `step` function in the environment NOTE pe
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:586
↓ 2 callersFunctionextract_files_from_messages
(messages: List[Message], include_images: bool)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:423
↓ 2 callersFunctionextract_links_with_text
Args: html (str): html content Returns: str: clickable buttons
WebAgent/WebWalker/src/app.py:56
↓ 2 callersFunctionfetch
(session, url, headers, data, semaphore, query_text)
WebAgent/WebWalker/src/rag_system.py:84
↓ 2 callersFunctionget_args
()
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:109
↓ 2 callersFunctionget_content_between_a_b
Args: start_tag (str): start_tag end_tag (str): end_tag text (str): complete sentence Returns: str: the cont
WebAgent/WebWalker/src/utils.py:57
↓ 2 callersFunctionget_current_time
(format="%Y-%m-%d")
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/csi.py:63
↓ 2 callersFunctionget_date_now
()
WebAgent/WebDancer/demos/utils/date.py:28
↓ 2 callersFunctionget_file_type
(path: str)
inference/file_tools/utils.py:235
↓ 2 callersFunctionget_info
Args: url (str): url screentshot (bool): whether to take a screenshot Returns: str: html content and cleaned mar
WebAgent/WebWalker/src/utils.py:36
↓ 2 callersFunctionget_llm_response
(messages, max_tokens)
WebAgent/ParallelMuse/compressed_reasoning_aggregation.py:75
↓ 2 callersFunctionhas_chinese_chars
(data: Any)
inference/file_tools/utils.py:81
↓ 2 callersFunctionhash_sha256
(text: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:64
↓ 2 callersFunctioninitialize_dashscope
(cfg: Optional[Dict] = None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/llm/qwen_dashscope.py:125
↓ 2 callersMethodllm
(self, messages)
WebAgent/WebDancer/demos/tools/private/visit.py:118
↓ 2 callersFunctionload_file2list
(filename: str, sheet_name=0, header=0, update_by='uuid')
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/gpt4o/utils.py:198
↓ 2 callersFunctionparse_file_by_idp
(file_url: str = None, file_path: str = None, file_type: str = None)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/tools/simple_doc_parser.py:37
↓ 2 callersFunctionparse_tabular_file
(file_path: str, **kwargs)
inference/file_tools/file_parser.py:366
↓ 2 callersMethodpostprocess_predictions
Process (text-based) predictions from llm into actions and validity flags. Args: predictions: List of raw predic
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:665
↓ 2 callersFunctionprocess_image
(image, max_pixels: int = 2048 * 2048, min_pixels: int = 512 * 512)
WebAgent/WebWatcher/infer/scripts_eval/mmrag_r1/llm_agent/generation.py:21
↓ 2 callersMethodprocess_image
(self, image)
WebAgent/WebWatcher/infer/scripts_eval/agent_eval.py:146
↓ 2 callersFunctionprocess_response
(raw_response, goal, summary_model, tokenizer, sem)
WebAgent/NestBrowse/toolkit/tool_explore.py:7
↓ 2 callersFunctionread_jsonl
(file_path)
WebAgent/NestBrowse/utils.py:66
↓ 2 callersMethodreadpage
Attempt to read webpage content by alternating between jina and aidata services. Args: url: The URL to read
WebAgent/WebDancer/demos/tools/private/visit.py:131
↓ 2 callersMethodreadpage
Attempt to read webpage content by alternating between jina and aidata services. Args: url: The URL to read
WebAgent/WebResummer/src/tool_visit.py:152
↓ 2 callersFunctionsanitize_chrome_file_path
(file_path: str)
inference/file_tools/utils.py:137
↓ 2 callersFunctionsanitize_windows_file_path
(file_path: str)
WebAgent/WebWatcher/infer/vl_search_r1/qwen-agent-o1_search/qwen_agent/utils/utils.py:151
← previousnext →101–200 of 929, ranked by callers