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
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to InternLM API. Raises: ValueError: If the m
Evopresent/camel/models/internlm_model.py:120
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to Reka API. Raises: ValueError: If the model
Evopresent/camel/models/reka_model.py:215
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to NVIDIA API. Raises: ValueError: If the mod
Evopresent/camel/models/nvidia_model.py:122
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to DeepSeek API. Raises: ValueError: If the m
Evopresent/camel/models/deepseek_model.py:204
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to DeepSeek API. Raises: ValueError: If the m
Evopresent/camel/models/deepseek_model.py:401
Method
check_model_config
(self)
Evopresent/camel/models/nemotron_model.py:90
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to LiteLLM API. Raises: ValueError: If the mo
Evopresent/camel/models/litellm_model.py:132
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to vLLM API. Raises: ValueError: If the model
Evopresent/camel/models/vllm_model.py:109
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to SambaNova API. Raises: ValueError: If the
Evopresent/camel/models/samba_model.py:121
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to OpenAI API. Raises: ValueError: If the mod
Evopresent/camel/models/openai_model.py:159
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to Qwen API. Raises: ValueError: If the model
Evopresent/camel/models/qwen_model.py:132
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to Qwen API. Raises: ValueError: If the model
Evopresent/camel/models/qwen_model.py:243
Method
check_model_config
r"""Check whether the model configuration contains any unexpected arguments to Qwen API. Raises: ValueError: If the model
Evopresent/camel/models/qwen_model.py:336
Function
check_server_running
r"""Check whether the port refered by the URL to the server is open. Args: server_url (str): The URL to the server running LLM infere
Evopresent/camel/utils/commons.py:158
Function
check_suffix
r"""A decorator to check the file suffix of a given file path. Args: valid_suffix (str): The required file suffix. Returns:
Evopresent/camel/loaders/panda_reader.py:26
Method
clean_text_data
r"""Cleans text data using a variety of cleaning functions provided by the `unstructured` library. This function applies multiple tex
Evopresent/camel/loaders/unstructured_io.py:191
Method
clear
r"""Remove all vectors from the storage.
Evopresent/camel/storages/vectordb_storages/qdrant.py:475
Method
clear
r"""Remove all vectors from the storage.
Evopresent/camel/storages/vectordb_storages/base.py:176
Method
clear
r"""Removes all vectors from the Milvus collection. This method deletes the existing collection and then recreates it with the same sc
Evopresent/camel/storages/vectordb_storages/milvus.py:374
Method
clear
r"""Removes all records from the key-value storage system.
Evopresent/camel/storages/key_value_storages/redis.py:123
Method
clear
r"""Removes all records from the key-value storage system.
Evopresent/camel/storages/key_value_storages/in_memory.py:48
Method
clear
r"""Removes all records from the key-value storage system.
Evopresent/camel/storages/key_value_storages/base.py:54
Method
clear
r"""Removes all records from the memory.
Evopresent/camel/memories/agent_memories.py:173
Method
clear
r"""Removes all records from the vector database memory.
Evopresent/camel/memories/blocks/vectordb_block.py:101
Method
clear
r"""Clears all chat messages from the memory.
Evopresent/camel/memories/blocks/chat_history_block.py:113
Method
clear_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:645
Method
clear_buffer
(self, incremental_state)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:144
Method
clear_buffer
(self, incremental_state=None)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:490
Method
clear_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:669
Method
client
r"""Provides access to the underlying vector database client.
Evopresent/camel/storages/vectordb_storages/qdrant.py:489
Method
client
r"""Provides access to the underlying vector database client.
Evopresent/camel/storages/vectordb_storages/base.py:187
Method
client
r"""Provides direct access to the Milvus client. This property allows for direct interactions with the Milvus client for operations that are
Evopresent/camel/storages/vectordb_storages/milvus.py:387
Method
client
r"""Returns the Redis client instance. Returns: redis.asyncio.Redis: The Redis client instance.
Evopresent/camel/storages/key_value_storages/redis.py:93
Method
close_client
r"""Closes the client connection to the Qdrant storage.
Evopresent/camel/storages/vectordb_storages/qdrant.py:258
Method
closures
Get the closures associated with the shape element. Returns: list: A list of closures.
Evopresent/utils/src/presentation.py:299
Method
code_type
r"""Returns the type of code. Returns: Optional[str]: The type of code.
Evopresent/camel/prompts/base.py:152
Method
collect_top_posts
r"""Collects the top posts and their comments from a specified subreddit. Args: subreddit_name (str): The name of the sub
Evopresent/camel/toolkits/reddit_toolkit.py:88
Function
combine_html_slides
(presentation_dir, output_path)
Evopresent/evopresent/ppt/gen_pptx_code.py:1062
Method
common_neighbour_aware_random_walk
r"""Runs the Common Neighbour Aware Random Walk (CNARW) sampling algorithm. Args: graph_name (str): The name of the origi
Evopresent/camel/storages/graph_storages/neo4j_graph.py:658
Function
compute_bullet_length
(textbox_content)
Evopresent/utils/wei_utils.py:584
Method
compute_conditional_flow
r"""Compute the conditional vector field similar to [3]. ut(x1|x0) = pi/2 (cos(pi*t/2) x1 - sin(pi*t/2) x0), see Eq.(21) [3].
video_generation/MegaTTS3/tts/modules/llm_dit/cfm.py:282
Method
compute_lambda
Compute the lambda function, see Eq.(23) [3]. Parameters ---------- t : FloatTensor, shape (bs) Returns ----
video_generation/MegaTTS3/tts/modules/llm_dit/cfm.py:233
Method
compute_loss
(self, model, inputs, return_outputs=False, num_items_in_batch=None)
train/src/trainer/grpo_trainer.py:950
Method
compute_mu_t
r"""Compute the mean of the probability path (Eq.5) from [3]. Parameters ---------- x0 : Tensor, shape (bs, *dim)
video_generation/MegaTTS3/tts/modules/llm_dit/cfm.py:260
Method
context_call
(example)
Evopresent/camel/benchmarks/ragbench.py:303
Method
continue_search
r"""Ask whether to continue search or not based on the provided answer. Args: query (str): The question. answer (str)
Evopresent/camel/agents/search_agent.py:108
Function
convert
( input_sources: Annotated[ List[str], typer.Argument( ..., metava
Evopresent/docling/cli/main.py:155
Method
convert
r"""Convert the collected data.
Evopresent/camel/data_collector/base.py:186
Method
convert
r"""Formats the input content into the expected BaseModel. Args: type (Literal["regex", "json", "type", "choice", "grammar"]):
Evopresent/camel/schemas/outlines_converter.py:189
Method
convert
r"""Formats the input content into the expected BaseModel Args: content (str): The content to be formatted. output_sc
Evopresent/camel/schemas/openai_converter.py:77
Method
convert
( self, source: Union[Path, str, DocumentStream], # TODO review naming headers: Optio
Evopresent/docling/document_converter.py:186
Method
convert
Parses the DOCX into a structured document model. Returns: The parsed document.
Evopresent/docling/backend/msword_backend.py:103
Method
convert
Parses the ASCII into a structured document model.
Evopresent/docling/backend/asciidoc_backend.py:61
Method
convert
(self)
Evopresent/docling/backend/mspowerpoint_backend.py:84
Method
convert
(self)
Evopresent/docling/backend/abstract_backend.py:62
Method
convert
(self)
Evopresent/docling/backend/msexcel_backend.py:92
Method
convert
(self)
Evopresent/docling/backend/md_backend.py:363
Method
convert
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:114
Method
convert
(self)
Evopresent/docling/backend/xml/uspto_backend.py:124
Method
convert
(self)
Evopresent/docling/backend/json/docling_json_backend.py:54
Function
convert_to_wav
(wav_path)
video_generation/MegaTTS3/tts/utils/audio_utils/io.py:55
Method
copy
r"""Copy a file or directory to the container. Args: source (str): The local path to the file. dest (str): The path t
Evopresent/camel/runtime/docker_runtime.py:105
Method
count_tokens_from_messages
r"""Count number of tokens in the provided message list. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/utils/token_counting.py:81
Method
count_tokens_from_messages
r"""Count number of tokens in the provided message list with the help of package tiktoken. Args: messages (List[OpenAIMes
Evopresent/camel/utils/token_counting.py:132
Method
count_tokens_from_messages
r"""Count number of tokens in the provided message list using loaded tokenizer specific for this type of model. Args: mes
Evopresent/camel/utils/token_counting.py:245
Method
count_tokens_from_messages
r"""Count number of tokens in the provided message list using loaded tokenizer specific for this type of model. Args: mes
Evopresent/camel/utils/token_counting.py:282
Method
count_tokens_from_messages
r"""Count number of tokens in the provided message list using the tokenizer specific to this type of model. Args: message
Evopresent/camel/utils/token_counting.py:336
Method
count_tokens_from_messages
r"""Count number of tokens in the provided message list using loaded tokenizer specific for this type of model. Args: mes
Evopresent/camel/utils/token_counting.py:388
Method
count_tokens_from_messages
r"""Token counting for STUB models, directly returning a constant. Args: messages (List[OpenAIMessage]): Message list with the ch
Evopresent/camel/models/stub_model.py:33
Method
crawl
r"""Crawl a URL and all accessible subpages. Customize the crawl by setting different parameters, and receive the full response or a job
Evopresent/camel/loaders/firecrawl_reader.py:45
Method
create_context
r"""Creates conversational context from chat history while respecting token limits. Constructs the context from provided records and
Evopresent/camel/memories/context_creators/score_based.py:60
Method
create_dataset
r"""Creates a new dataset. Args: name (str): The name of the dataset. kwargs (Any): Additional keyword arguments.
Evopresent/camel/datahubs/base.py:24
Method
create_dataset
r"""Creates a new dataset on the Hugging Face Hub. Args: name (str): The name of the dataset. private (bool): Whether
Evopresent/camel/datahubs/huggingface.py:116
Method
create_dataset_card
r"""Creates and uploads a dataset card to the Hugging Face Hub in YAML format. Args: dataset_name (str): The name of
Evopresent/camel/datahubs/huggingface.py:50
Method
create_model_card
Creates a draft of a model card using the information available to the `Trainer`. Args: model_name (`str` or `None`, *op
train/src/trainer/grpo_trainer.py:1090
Method
create_post
r"""Creates a post on LinkedIn for the authenticated user. Args: text (str): The content of the post to be created. Retu
Evopresent/camel/toolkits/linkedin_toolkit.py:39
Function
create_poster
Create a new Presentation object, set its slide size (e.g., 48x36 inches). :param width_inch: Float or int specifying width in inches (d
Evopresent/utils/pptx_utils.py:1265
Method
create_pull_request
r"""Creates a pull request. This function creates a pull request in specified repository, which updates a file in the specific path w
Evopresent/camel/toolkits/github_toolkit.py:80
Method
create_slack_channel
r"""Creates a new slack channel, either public or private. Args: name (str): Name of the public or private channel to create.
Evopresent/camel/toolkits/slack_toolkit.py:84
Function
create_tweet
r"""Creates a new tweet, optionally including a poll or a quote tweet, or simply a text-only tweet. This function sends a POST request to the
Evopresent/camel/toolkits/twitter_toolkit.py:41
Method
current_model_index
r"""Return the index of current model in self.models list. Returns: int: index of current model in given list of models.
Evopresent/camel/models/model_manager.py:109
Method
current_task
r"""Get the current task.
Evopresent/camel/tasks/task.py:319
Method
customer_get
r"""Retrieve a customer by ID. Args: customer_id (str): The ID of the customer to retrieve. Returns: str: Th
Evopresent/camel/toolkits/stripe_toolkit.py:67
Method
customer_list
r"""List customers. Args: limit (int, optional): Number of customers to retrieve. (default: :obj:`100`)
Evopresent/camel/toolkits/stripe_toolkit.py:87
Method
data_collator
(features)
train/src/trainer/grpo_trainer.py:341
Method
decode
(self, ids, strip_eos=False, strip_padding=False)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:174
Function
decorator
(func: F)
Evopresent/camel/utils/commons.py:203
Function
decorator
(func)
Evopresent/camel/societies/workforce/utils.py:60
Function
decorator
(func: Callable)
Evopresent/camel/loaders/panda_reader.py:36
Method
deduce_conditions_and_quality
r"""Derives the conditions and quality from the starting state and the target state based on the model of the deductive reasoning and the
Evopresent/camel/agents/deductive_reasoner_agent.py:68
Method
deduplicate
r"""Remove similar personas from the group. Args: embedding_model (BaseEmbedding): The embedding model for simila
Evopresent/camel/personas/persona_hub.py:197
Method
default
(self, obj)
Evopresent/camel/storages/key_value_storages/json.py:41
Method
delete
r"""Deletes a list of vectors identified by their IDs from the storage. Args: ids (List[str]): List of unique identifiers for the
Evopresent/camel/storages/vectordb_storages/base.py:129
Method
delete
r"""Deletes a list of vectors identified by their IDs from the storage. If unsure of ids you can first query the collection to grab th
Evopresent/camel/storages/vectordb_storages/milvus.py:299
Method
delete
r"""Deletes an installation record by guild ID. Args: guild_id (str): The guild ID of the record to delete.
Evopresent/camel/bots/discord/discord_store.py:147
Method
delete_dataset
r"""Deletes a dataset. Args: dataset_name (str): The name of the dataset to delete. kwargs (Any): Additional keyword
Evopresent/camel/datahubs/base.py:54
Method
delete_dataset
r"""Deletes a dataset from the Hugging Face Hub. Args: dataset_name (str): The name of the dataset to delete. kwargs
Evopresent/camel/datahubs/huggingface.py:172
Method
delete_post
r"""Deletes a LinkedIn post with the specified ID for an authorized user. This function sends a DELETE request to the LinkedIn API to
Evopresent/camel/toolkits/linkedin_toolkit.py:89
Method
delete_record
r"""Deletes a record from the dataset. Args: dataset_name (str): The name of the dataset. record_id (str): The ID of
Evopresent/camel/datahubs/base.py:120
Method
delete_record
r"""Deletes a record from the dataset. Args: dataset_name (str): The name of the dataset. record_id (str): The ID of
Evopresent/camel/datahubs/huggingface.py:273
← previous
next →
1,701–1,800 of 2,738, ranked by callers