MCPcopy Create free account

hub / github.com/UCSB-AI/EvoPresent / functions

Functions2,738 in github.com/UCSB-AI/EvoPresent

Methodretrieve
r"""Retrieves similar records from the vector database based on the content of the keyword. Args: keyword (str): This str
Evopresent/camel/memories/blocks/vectordb_block.py:51
Methodretrieve
r"""Retrieves records with a proper size for the agent from the memory based on the window size or fetches the entire chat history if no
Evopresent/camel/memories/blocks/chat_history_block.py:54
Methodretrieve
r"""Retrieve the content based on the query. Args: query (str): The query to search for. contents (List[str]): The li
Evopresent/camel/benchmarks/gaia.py:75
Methodretrieve_file_content
r"""Retrieves the content of a file from the GitHub repository. Args: file_path (str): The path of the file to retrieve.
Evopresent/camel/toolkits/github_toolkit.py:284
Methodround_robin
r"""Return models one by one in simple round-robin fashion. Returns: BaseModelBackend for processing incoming messages.
Evopresent/camel/models/model_manager.py:156
Methodrun
r"""Executes the given code in the e2b sandbox. Args: code (str): The code string to execute. code_type (str): The ty
Evopresent/camel/interpreters/e2b_interpreter.py:73
Methodrun
r"""Generates a temporary file with the given code, executes it, and deletes the file afterward. Args: code (str): Th
Evopresent/camel/interpreters/subprocess_interpreter.py:122
Methodrun
r"""Executes the given code in the Jupyter kernel. Args: code (str): The code string to execute. code_type (str): The
Evopresent/camel/interpreters/ipython_interpreter.py:121
Methodrun
r"""Executes the given code based on its type. Args: code (str): The code to be executed. code_type (str): The type o
Evopresent/camel/interpreters/base.py:22
Methodrun
r"""Executes the given code with specified code type in the interpreter. This method takes a string of code and its type, checks if t
Evopresent/camel/interpreters/internal_python_interpreter.py:98
Methodrun
r"""Start the Telegram bot.
Evopresent/camel/bots/telegram_bot.py:61
Methodrun
r"""Start the Discord bot using its token. This method starts the bot and logs into Discord synchronously using the provided token. I
Evopresent/camel/bots/discord/discord_app.py:132
Methodrun
r"""Starts the Slack Bolt app server to listen for incoming Slack events. Args: port (int): The port on which the server
Evopresent/camel/bots/slack/slack_app.py:147
Methodrun
Public synchronous entrypoint, required by the abstract base.
Evopresent/camel/models/openrouter_model.py:169
Methodrun
r"""Runs inference of Cohere chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/cohere_model.py:218
Methodrun
r"""Process a list of messages by selecting a model based on the scheduling strategy. Sends the entire list of messages to the
Evopresent/camel/models/model_manager.py:180
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/togetherai_model.py:86
Methodrun
r"""Run inference of Anthropic chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/anthropic_model.py:105
Methodrun
r"""Runs inference of Gemini chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/gemini_model.py:85
Methodrun
r"""Runs inference of Gemini chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/gemini_model.py:205
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/ollama_model.py:122
Methodrun
r"""Runs the query to the backend model. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/base_model.py:77
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/sglang_model.py:181
Methodrun
r"""Runs inference of Mistral chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/mistral_model.py:215
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/zhipuai_model.py:84
Methodrun
r"""Run fake inference by returning a fixed string. All arguments are unused for the dummy model. Returns: Dict[str, Any]
Evopresent/camel/models/stub_model.py:77
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/openai_compatible_model.py:71
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/groq_model.py:95
Methodrun
r"""Runs inference of Azure OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/azure_openai_model.py:110
Methodrun
r"""Runs inference of InternLM chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/internlm_model.py:85
Methodrun
r"""Runs inference of Mistral chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/reka_model.py:176
Methodrun
r"""Runs inference of NVIDIA chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/nvidia_model.py:80
Methodrun
r"""Runs inference of DeepSeek chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/deepseek_model.py:100
Methodrun
r"""Runs inference of DeepSeek chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/deepseek_model.py:297
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list. Returns: C
Evopresent/camel/models/nemotron_model.py:66
Methodrun
r"""Runs inference of LiteLLM chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/litellm_model.py:109
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/vllm_model.py:124
Methodrun
r"""Runs SambaNova's service. Args: messages (List[OpenAIMessage]): Message list with the chat history in OpenAI
Evopresent/camel/models/samba_model.py:151
Methodrun
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/openai_model.py:93
Methodrun
r"""Runs inference of Qwen chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/qwen_model.py:97
Methodrun
r"""Runs inference of Qwen chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/qwen_model.py:208
Methodrun
r"""Runs inference of Qwen chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/qwen_model.py:301
Methodrun
r"""Generate role names based on the input task prompt. Args: task_prompt (Union[str, TextPrompt]): The prompt fo
Evopresent/camel/agents/role_assignment_agent.py:61
Methodrun
r"""Generate subtasks based on the previous task results and incomplete task list. Args: task_list (List[str]): The compl
Evopresent/camel/agents/task_agent.py:277
Methodrun
r"""Prioritize the task list given the agent objective. Args: task_list (List[str]): The unprioritized tasks of agent. R
Evopresent/camel/agents/task_agent.py:382
Methodrun
r"""Run the agent to extract node and relationship information. Args: element (Element): The input element. parse_gra
Evopresent/camel/agents/knowledge_graph_agent.py:143
Methodrun
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. level (Literal['level
Evopresent/camel/benchmarks/apibank.py:192
Methodrun
r"""Run the benchmark. Args: agent (ChatAgent): The chat agent. on (str): The data split to run the benchmark on.
Evopresent/camel/benchmarks/base.py:123
Methodrun
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. on (Literal["valid", "test"]): The se
Evopresent/camel/benchmarks/gaia.py:200
Methodrun
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. task (Literal["NVDLibrary", "VirusTot
Evopresent/camel/benchmarks/nexus.py:256
Methodrun
r"""Run the benchmark evaluation. Args: agent (ChatAgent): Chat agent for generating answers. auto_retriever (AutoRet
Evopresent/camel/benchmarks/ragbench.py:287
Methodrun
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. dataset_name (Literal
Evopresent/camel/benchmarks/apibench.py:242
Methodrun_actor
r"""Run an actor on the Apify platform. Args: actor_id (str): The ID of the actor to run. run_input (Optional[dict]):
Evopresent/camel/loaders/apify_reader.py:44
Methodrun_atomic
r"""Run an atomic operation on the agent. An atomic operation is an operation that is guaranteed to be executed without interruption
Evopresent/camel/agents/programmed_agent_instruction.py:77
Functionrun_code_from_agent
(agent, msg, num_retries=1)
Evopresent/utils/wei_utils.py:245
Methodrun_inference
Run face video generation inference
video_generation/tts_face_generator.py:331
Methodsample_chunk
(tt, zt)
video_generation/models/float/FLOAT.py:122
Methodsave
r"""Saves a batch of records to the key-value storage system.
Evopresent/camel/storages/key_value_storages/redis.py:101
Methodsave
r"""Saves a batch of records to the key-value storage system. Args: records (List[Dict[str, Any]]): A list of dictionaries, where
Evopresent/camel/storages/key_value_storages/in_memory.py:30
Methodsave
r"""Saves a batch of records to the key-value storage system. Args: records (List[Dict[str, Any]]): A list of dictionaries, where
Evopresent/camel/storages/key_value_storages/base.py:34
Methodsave
r"""Saves a new installation record or updates an existing one. Args: installation (DiscordInstallation): The installation data t
Evopresent/camel/bots/discord/discord_store.py:85
Methodsave_installation
r"""Save the installation information for a given guild. Args: guild_id (str): The ID of the guild where the bot is installed.
Evopresent/camel/bots/discord/discord_app.py:292
Functionsave_layout_to_file
(payload: Dict[str, Any], out_path: str)
Evopresent/evopresent/ppt/layout_extractor.py:263
Functionsave_options
(opt, save_path)
video_generation/options/base_options.py:94
Methodsave_to_cache
(module, _, output)
video_generation/MegaTTS3/tts/modules/aligner/whisper_small.py:295
Functionscale_to_target_area
Scale the given width and height by the same factor to achieve a new area equal to target_width * target_height while preserving the aspect
Evopresent/utils/wei_utils.py:988
Methodscrape
r"""To scrape a single URL. This function supports advanced scraping by setting different parameters and returns the full scraped data as a
Evopresent/camel/loaders/firecrawl_reader.py:98
Methodscreen_market
r"""Screen stocks based on market and fundamental criteria. Args: provider (Literal["fmp", "yfinance"]): Data provider.
Evopresent/camel/toolkits/openbb_toolkit.py:211
Functionse_resnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:432
Functionse_resnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:441
Functionse_resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:405
Functionse_resnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:414
Functionse_resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:423
Methodsearch_brave
r"""This function queries the Brave search engine API and returns a dictionary, representing a search result. See https://api.search.b
Evopresent/camel/toolkits/search_toolkit.py:235
Methodsearch_duckduckgo
r"""Use DuckDuckGo search engine to search information for the given query. This function queries the DuckDuckGo API for related topi
Evopresent/camel/toolkits/search_toolkit.py:143
Methodsearch_equity
r"""Search for equity symbols and company information. For SEC provider, an empty query ("") returns the complete list of companies s
Evopresent/camel/toolkits/openbb_toolkit.py:87
Methodsearch_etf
r"""Search for ETF information. Args: query (str): Search query (ETF name or symbol). provider (Literal["fmp", "intri
Evopresent/camel/toolkits/openbb_toolkit.py:183
Methodsearch_filings
r"""Search for SEC filings by CIK or ticker symbol. Args: symbol (str): Symbol to get data for (e.g., "MAXD"). provid
Evopresent/camel/toolkits/openbb_toolkit.py:145
Methodsearch_financial_attributes
r"""Search for available financial attributes/tags. Args: query (str): Search term (e.g., "marketcap", "revenue", "assets").
Evopresent/camel/toolkits/openbb_toolkit.py:741
Methodsearch_google
r"""Use Google search engine to search information for the given query. Args: query (str): The query to be searched.
Evopresent/camel/toolkits/search_toolkit.py:386
Methodsearch_institution
r"""Search for financial institutions in SEC database. Args: query (str): Institution name to search (e.g., "Berkshire
Evopresent/camel/toolkits/openbb_toolkit.py:122
Methodsearch_linkup
r"""Search for a query in the Linkup API and return results in various formats. Args: query (str): The search query.
Evopresent/camel/toolkits/search_toolkit.py:72
Methodsearch_papers
r"""Searches for academic papers on arXiv using a query string and optional paper IDs. Args: query (str): The search quer
Evopresent/camel/toolkits/arxiv_toolkit.py:69
Methodsearch_real_time_data
r"""Search real-time data using an AI model. This function accesses real-time information using the specified AI model based on the g
Evopresent/camel/toolkits/dappier_toolkit.py:46
Methodsearch_reddit
r"""Search Reddit based on the provided keywords. Args: keywords (list): The keywords to search for on Reddit. n_thre
Evopresent/camel/toolkits/ask_news_toolkit.py:509
Methodsearch_wiki
r"""Search the entity in WikiPedia and return the summary of the required page, containing factual information about the given
Evopresent/camel/toolkits/search_toolkit.py:33
Methodseg
(self)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:254
Functionselect_attn
:param attn_logits: [n_layers, B, n_head, T_sp, T_txt] :return:
video_generation/MegaTTS3/tts/modules/ar_dur/commons/seq_utils.py:94
Methodsend_message
r"""Sends a text message to a specified WhatsApp number. Args: to (str): The recipient's WhatsApp number in international format.
Evopresent/camel/toolkits/whatsapp_toolkit.py:64
Methodsend_slack_message
r"""Send a message to a Slack channel. Args: message (str): The message to send. channel_id (str): The ID of the Slac
Evopresent/camel/toolkits/slack_toolkit.py:223
Functionsequence_mask
(lengths, maxlen=None, dtype=torch.bool)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/seq_utils.py:39
Methodset_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:648
Methodset_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:672
Methodset_channel
r"""Sets the channel for the node.
Evopresent/camel/societies/workforce/base.py:41
Methodset_channel
(self, channel: TaskChannel)
Evopresent/camel/societies/workforce/worker.py:75
Methodset_code_type
r"""Sets the type of code. Args: code_type (str): The type of code.
Evopresent/camel/prompts/base.py:160
Methodset_debug
(self, debug: bool)
Evopresent/utils/src/utils.py:333
Methodset_function_description
r"""Sets the description of the function in the OpenAI tool schema. Args: description (str): The description for the function.
Evopresent/camel/toolkits/function_tool.py:527
Methodset_function_name
r"""Sets the name of the function in the OpenAI tool schema. Args: name (str): The name of the function to set.
Evopresent/camel/toolkits/function_tool.py:509
Methodset_id
r"""Set the id of the task. Args: id (str): The id of the task.
Evopresent/camel/tasks/task.py:132
← previousnext →2,401–2,500 of 2,738, ranked by callers