Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UCSB-AI/EvoPresent
/ functions
Functions
2,738 in github.com/UCSB-AI/EvoPresent
⨍
Functions
2,738
◇
Types & classes
627
↳
Endpoints
2
Method
retrieve
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
Method
retrieve
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
Method
retrieve
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
Method
retrieve_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
Method
round_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
Method
run
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
Method
run
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
Method
run
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
Method
run
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
Method
run
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
Method
run
r"""Start the Telegram bot.
Evopresent/camel/bots/telegram_bot.py:61
Method
run
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
Method
run
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
Method
run
Public synchronous entrypoint, required by the abstract base.
Evopresent/camel/models/openrouter_model.py:169
Method
run
r"""Runs inference of Cohere chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/cohere_model.py:218
Method
run
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
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/togetherai_model.py:86
Method
run
r"""Run inference of Anthropic chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/anthropic_model.py:105
Method
run
r"""Runs inference of Gemini chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/gemini_model.py:85
Method
run
r"""Runs inference of Gemini chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/gemini_model.py:205
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/ollama_model.py:122
Method
run
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
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/sglang_model.py:181
Method
run
r"""Runs inference of Mistral chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/mistral_model.py:215
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/zhipuai_model.py:84
Method
run
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
Method
run
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
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/groq_model.py:95
Method
run
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
Method
run
r"""Runs inference of InternLM chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/internlm_model.py:85
Method
run
r"""Runs inference of Mistral chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/reka_model.py:176
Method
run
r"""Runs inference of NVIDIA chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/nvidia_model.py:80
Method
run
r"""Runs inference of DeepSeek chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/deepseek_model.py:100
Method
run
r"""Runs inference of DeepSeek chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/deepseek_model.py:297
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list. Returns: C
Evopresent/camel/models/nemotron_model.py:66
Method
run
r"""Runs inference of LiteLLM chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/litellm_model.py:109
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/vllm_model.py:124
Method
run
r"""Runs SambaNova's service. Args: messages (List[OpenAIMessage]): Message list with the chat history in OpenAI
Evopresent/camel/models/samba_model.py:151
Method
run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/openai_model.py:93
Method
run
r"""Runs inference of Qwen chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/qwen_model.py:97
Method
run
r"""Runs inference of Qwen chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/qwen_model.py:208
Method
run
r"""Runs inference of Qwen chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/qwen_model.py:301
Method
run
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
Method
run
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
Method
run
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
Method
run
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
Method
run
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. level (Literal['level
Evopresent/camel/benchmarks/apibank.py:192
Method
run
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
Method
run
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
Method
run
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. task (Literal["NVDLibrary", "VirusTot
Evopresent/camel/benchmarks/nexus.py:256
Method
run
r"""Run the benchmark evaluation. Args: agent (ChatAgent): Chat agent for generating answers. auto_retriever (AutoRet
Evopresent/camel/benchmarks/ragbench.py:287
Method
run
r"""Run the benchmark. Args: agent (ChatAgent): The agent to run the benchmark. dataset_name (Literal
Evopresent/camel/benchmarks/apibench.py:242
Method
run_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
Method
run_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
Function
run_code_from_agent
(agent, msg, num_retries=1)
Evopresent/utils/wei_utils.py:245
Method
run_inference
Run face video generation inference
video_generation/tts_face_generator.py:331
Method
sample_chunk
(tt, zt)
video_generation/models/float/FLOAT.py:122
Method
save
r"""Saves a batch of records to the key-value storage system.
Evopresent/camel/storages/key_value_storages/redis.py:101
Method
save
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
Method
save
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
Method
save
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
Method
save_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
Function
save_layout_to_file
(payload: Dict[str, Any], out_path: str)
Evopresent/evopresent/ppt/layout_extractor.py:263
Function
save_options
(opt, save_path)
video_generation/options/base_options.py:94
Method
save_to_cache
(module, _, output)
video_generation/MegaTTS3/tts/modules/aligner/whisper_small.py:295
Function
scale_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
Method
scrape
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
Method
screen_market
r"""Screen stocks based on market and fundamental criteria. Args: provider (Literal["fmp", "yfinance"]): Data provider.
Evopresent/camel/toolkits/openbb_toolkit.py:211
Function
se_resnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:432
Function
se_resnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:441
Function
se_resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:405
Function
se_resnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:414
Function
se_resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
video_generation/models/__init__.py:423
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
search_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
Method
seg
(self)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:254
Function
select_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
Method
send_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
Method
send_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
Function
sequence_mask
(lengths, maxlen=None, dtype=torch.bool)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/seq_utils.py:39
Method
set_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:648
Method
set_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:672
Method
set_channel
r"""Sets the channel for the node.
Evopresent/camel/societies/workforce/base.py:41
Method
set_channel
(self, channel: TaskChannel)
Evopresent/camel/societies/workforce/worker.py:75
Method
set_code_type
r"""Sets the type of code. Args: code_type (str): The type of code.
Evopresent/camel/prompts/base.py:160
Method
set_debug
(self, debug: bool)
Evopresent/utils/src/utils.py:333
Method
set_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
Method
set_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
Method
set_id
r"""Set the id of the task. Args: id (str): The id of the task.
Evopresent/camel/tasks/task.py:132
← previous
next →
2,401–2,500 of 2,738, ranked by callers