MCPcopy Create free account

hub / github.com/RUCAIBox/ManuSearch / functions

Functions128 in github.com/RUCAIBox/ManuSearch

Functioncheck_ans_valid
(resp_str)
searchagent/utils/utils.py:90
Methodclear_cache
Clear entire cache
searchagent/utils/cache.py:234
Methoddelete
(self, index: Union[List, int])
searchagent/utils/memory.py:38
Functiondict_value_isnone
(dict)
searchagent/utils/utils.py:96
Methodexecute
(self, *, plans, recorder)
searchagent/tools/solveplan.py:36
Methodexecute
Google search API Args: query (List[str]): list of search query strings
searchagent/tools/websearch.py:85
Methodexecute
( self, *, name: str, tool_input: Dict[str, Any] = None )
searchagent/tools/tool_collection.py:20
Methodexecute
get the detailed content on the selected pages. Args: select_urls (List[str]): list of urls to select. Max number of index to
searchagent/tools/visitpage.py:61
Methodexecute
(self, answer:Any)
searchagent/tools/final_answer.py:22
Methodforward
(self, message: AgentMessage, session_id=0, **kwargs)
searchagent/models/basellm.py:749
Methodgenerate_reason_process
(self)
searchagent/models/recorder.py:178
Methodget_ascii_part
(input_text)
searchagent/agent/agent.py:116
Methodget_failed_urls
Get list of failed URLs Returns: Dictionary of failed URLs in format {url: {timestamp, error}}
searchagent/utils/cache.py:209
Methodget_memory
(self, session_id=0, **kwargs)
searchagent/utils/memory.py:78
Methodget_tool
(self, name: str)
searchagent/tools/tool_collection.py:34
Functionis_complete_json
(json_str)
searchagent/utils/utils.py:110
Methodnode
Retrieve a node by its name. Args: node_name (str): Name of the node. Returns: str: A copy of the node
searchagent/models/recorder.py:91
Functionparse_keys
(score_dict:dict)
searchagent/utils/utils.py:186
Functionparse_resp_content
(resp)
searchagent/utils/utils.py:104
Methodprepare_search
Args: node_name(`str`): The current subqury recorder(`recorder`) Return:
searchagent/models/searcher.py:81
Methodreset
(self, session_id=0)
searchagent/utils/memory.py:89
Methodretry_failed_urls
Retry all failed URLs Returns: Dictionary of retry results in format {url: success_status}
searchagent/utils/cache.py:218
Methodsave
(self)
searchagent/utils/memory.py:60
Methodstream_chat
Generate results as streaming given a list of templates. Args: inputs (Union[List[dict]): gen_params (dict): The
searchagent/models/basellm.py:122
Methodstream_generate
Generate results as streaming given a str inputs. Args: inputs (str): gen_params (dict): The input params for gen
searchagent/models/basellm.py:89
Methodstreaming
(raw_response, has_tool:bool = False)
searchagent/models/basellm.py:455
Methodto_params
(self)
searchagent/tools/tool_collection.py:17
Methodtokenize
Tokenize the input prompts. Args: prompts(str | List[str]): user's prompt, or a batch prompts Returns:
searchagent/models/basellm.py:132
← previous101–128 of 128, ranked by callers