Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMAP-ML/Thinking-with-Map
/ functions
Functions
4,735 in github.com/AMAP-ML/Thinking-with-Map
⨍
Functions
4,735
◇
Types & classes
687
↳
Endpoints
185
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/tools/code_interpreter.py:88
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/tools/google_map_search.py:108
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/tools/search_tools/base_search.py:52
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/tools/search_tools/hybrid_search.py:27
Method
__init__
( self, vocab_file=None, errors='replace', extra_vocab_file=None, )
demo/qwen_agent/utils/tokenization_qwen.py:62
Method
__init__
(self, name: str, arguments: str)
demo/qwen_agent/llm/schema.py:73
Method
__init__
(self, text: Optional[str] = None, image: Optional[str] = None,
demo/qwen_agent/llm/schema.py:87
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/transformers_llm.py:40
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/qwenvl_dashscope.py:38
Method
__init__
(self, exception: Optional[Exception] = None, code: Optional[str] = None,
demo/qwen_agent/llm/base.py:46
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/azure.py:27
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/openvino.py:56
Method
__init__
(self, stop_sequences, tokenizer)
demo/qwen_agent/llm/openvino.py:96
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/qwenaudio_dashscope.py:28
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/qwenomni_oai.py:28
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/function_calling.py:25
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/qwen_dashscope.py:32
Method
__init__
(self, cfg: Optional[Dict] = None)
demo/qwen_agent/llm/oai.py:39
Method
__init__
Initialization the memory. Args: rag_cfg: The config for RAG. One example is: { 'max_ref_token': 40
demo/qwen_agent/memory/memory.py:38
Method
__init__
Initialization the chatbot. Args: agent: The agent or a list of agents, supports various types of agents
demo/qwen_agent/gui/web_ui.py:32
Method
__init__
Initialization the agent. Args: function_list: One list of tool name, tool configuration or Tool object, such as 'c
demo/qwen_agent/agents/fncall_agent.py:30
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/assistant.py:84
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/group_chat_auto_router.py:50
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/human_simulator.py:38
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/react_chat.py:53
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/virtual_memory_agent.py:30
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/group_chat_creator.py:71
Method
__init__
(self, user_agent: HumanSimulator, assistant_agent: Agent, max_round: Optional[int] = 5, **kwargs)
demo/qwen_agent/agents/dialogue_simulator.py:25
Method
__init__
(self, llm: Optional[Union[Dict, BaseChatModel]] = None, system_message: Opt
demo/qwen_agent/agents/tir_agent.py:59
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/memo_assistant.py:43
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/router.py:38
Method
__init__
Initialization the agent. Args: agents: A list of agents of agent configurations. One configuration example is: {
demo/qwen_agent/agents/group_chat.py:37
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/keygen_strategies/split_query_then_gen_keyword_with_knowledge.py:26
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/keygen_strategies/gen_keyword_with_knowledge.py:58
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/keygen_strategies/split_query.py:79
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/keygen_strategies/gen_keyword.py:69
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/keygen_strategies/split_query_then_gen_keyword.py:30
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/doc_qa/parallel_doc_qa_member.py:118
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/doc_qa/basic_doc_qa.py:43
Method
__init__
(self, function_list: Optional[List[Union[str, Dict, BaseTool]]] = None, llm
demo/qwen_agent/agents/doc_qa/parallel_doc_qa.py:50
Method
__iter__
(self)
verl/tests/utils/dataset/test_create_rl_sampler_on_cpu.py:40
Method
__iter__
Implement the iterator protocol. Allows iterating over the attribute names of the instance. Yields: str: The name of each field i
verl/verl/base_config.py:70
Method
__iter__
(cls)
verl/verl/utils/py_functional.py:214
Method
__iter__
(self)
demo/qwen_agent/tools/python_executor.py:74
Method
__len__
(self)
verl/recipe/minicpmo/rl_dataset.py:483
Method
__len__
(self)
verl/tests/utils/dataset/test_create_rl_sampler_on_cpu.py:43
Method
__len__
(self)
verl/tests/utils/dataset/test_create_rl_sampler_on_cpu.py:73
Method
__len__
Return the number of fields in the dataclass. Returns: int: The number of fields in the dataclass.
verl/verl/base_config.py:79
Method
__len__
(self)
verl/verl/protocol.py:345
Method
__len__
(self)
verl/verl/utils/dataset/rm_dataset.py:117
Method
__len__
(self)
verl/verl/utils/dataset/sft_dataset.py:133
Method
__len__
(self)
verl/verl/utils/dataset/rl_dataset.py:266
Method
__len__
(self)
verl/verl/utils/dataset/multiturn_sft_dataset.py:130
Method
__len__
(self)
demo/qwen_agent/utils/tokenization_qwen.py:129
Method
__lt__
(self, other)
verl/verl/utils/seqlen_balancing.py:53
Method
__lt__
(self, other)
verl/verl/utils/seqlen_balancing.py:88
Method
__new__
(cls, *args, **kwargs)
verl/verl/utils/rollout_trace.py:53
Method
__new__
(cls, *args, **kwargs)
demo/qwen_agent/tools/mcp_manager.py:34
Method
__post_init__
(self)
verl/scripts/legacy_model_merger.py:89
Method
__post_init__
(self)
verl/verl/protocol.py:341
Method
__post_init__
(self)
verl/verl/model_merger/base_model_merger.py:119
Method
__post_init__
(self)
verl/verl/utils/profiler/config.py:31
Method
__post_init__
config validation logics go here
verl/verl/utils/profiler/config.py:47
Method
__post_init__
config validation logics go here
verl/verl/utils/profiler/config.py:65
Method
__post_init__
config validation logics go here
verl/verl/utils/profiler/config.py:90
Method
__post_init__
config validation logics go here
verl/verl/utils/profiler/config.py:152
Method
__post_init__
(self)
verl/verl/workers/config/optimizer.py:82
Method
__post_init__
Validate FSDP actor configuration parameters.
verl/verl/workers/config/actor.py:217
Method
__post_init__
Validate FSDP actor configuration parameters.
verl/verl/workers/config/actor.py:250
Method
__post_init__
Validate FSDP critic configuration parameters.
verl/verl/workers/config/critic.py:196
Method
__post_init__
(self)
verl/verl/workers/config/rollout.py:82
Method
__post_init__
Validate the rollout config
verl/verl/workers/config/rollout.py:208
Method
__post_init__
config validation logics go here
verl/verl/workers/config/engine.py:79
Method
__post_init__
(self)
verl/verl/workers/config/engine.py:129
Method
__post_init__
(self)
verl/verl/workers/config/model.py:93
Method
__reduce_ex__
(cls, protocol)
verl/verl/utils/py_functional.py:226
Method
__reduce_ex__
Unpickle via: getattr(import_module(module).Dispatch, 'ONE_TO_ALL') so the existing class is reused instead of re-executed.
verl/verl/utils/py_functional.py:248
Method
__repr__
(self)
verl/verl/utils/seqlen_balancing.py:96
Method
__repr__
(self)
verl/verl/utils/py_functional.py:245
Method
__repr__
(self)
demo/qwen_agent/llm/schema.py:76
Method
__repr__
(self)
demo/qwen_agent/llm/schema.py:113
Method
__repr__
(self)
demo/qwen_agent/llm/schema.py:157
Method
__setitem__
(self, key, value)
demo/qwen_agent/tools/image_search.py:72
Method
__setitem__
(self, key, value)
demo/qwen_agent/llm/schema.py:42
Method
__setstate__
(self, data)
verl/verl/protocol.py:411
Method
__setstate__
(self, state)
demo/qwen_agent/utils/tokenization_qwen.py:118
Method
__str__
(self)
verl/tests/special_e2e/envs/digit_completion/task.py:56
Method
__str__
(self)
verl/verl/trainer/ppo/utils.py:40
Method
__str__
(self)
demo/qwen_agent/tools/image_search.py:56
Method
__str__
(self)
demo/qwen_agent/llm/schema.py:65
Method
_ask_member_agent
(self, index: int, messages: List[Message],
demo/qwen_agent/agents/doc_qa/parallel_doc_qa.py:254
Method
_batch_search
(self, query_list: list[str], num: int = None, return_score: bool = False)
verl/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:193
Method
_batch_search
(self, query_list: list[str], num: int = None, return_score: bool = False)
verl/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:240
Method
_build_multimodal_labels
Build multimodal labels with IGNORE_INDEX for patch embeddings
verl/recipe/vla/models/openvla_oft/modeling_prismatic.py:502
Method
_build_rollout
Build the rollout with temporary reversion to true torch.compile.
verl/recipe/r1_ascend/megatron_workers.py:44
Method
_build_system_from_role_config
(config: Dict)
demo/qwen_agent/agents/group_chat.py:267
Method
_call_model_service
()
demo/qwen_agent/llm/base.py:230
Method
_call_tool
The interface of calling tools for the agent. Args: tool_name: The name of one tool. tool_args: Model generated or us
demo/qwen_agent/agent.py:178
Function
_call_with_kwargs
Calls `raw_fn` by merging `extra_kwargs` into call-time `kwargs`, with `extra_kwargs` taking precedence. This function is used to merge additiona
verl/verl/trainer/ppo/reward.py:43
Function
_call_with_kwargs_async
Calls `raw_fn` by merging `extra_kwargs` into call-time `kwargs`, with `extra_kwargs` taking precedence. This function is used to merge additiona
verl/verl/trainer/ppo/reward.py:52
← previous
next →
2,801–2,900 of 4,735, ranked by callers