MCPcopy Create free account

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

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

Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_model_config
(self)
Evopresent/camel/models/nemotron_model.py:90
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Functioncheck_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
Functioncheck_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
Methodclean_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
Methodclear
r"""Remove all vectors from the storage.
Evopresent/camel/storages/vectordb_storages/qdrant.py:475
Methodclear
r"""Remove all vectors from the storage.
Evopresent/camel/storages/vectordb_storages/base.py:176
Methodclear
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
Methodclear
r"""Removes all records from the key-value storage system.
Evopresent/camel/storages/key_value_storages/redis.py:123
Methodclear
r"""Removes all records from the key-value storage system.
Evopresent/camel/storages/key_value_storages/in_memory.py:48
Methodclear
r"""Removes all records from the key-value storage system.
Evopresent/camel/storages/key_value_storages/base.py:54
Methodclear
r"""Removes all records from the memory.
Evopresent/camel/memories/agent_memories.py:173
Methodclear
r"""Removes all records from the vector database memory.
Evopresent/camel/memories/blocks/vectordb_block.py:101
Methodclear
r"""Clears all chat messages from the memory.
Evopresent/camel/memories/blocks/chat_history_block.py:113
Methodclear_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:645
Methodclear_buffer
(self, incremental_state)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:144
Methodclear_buffer
(self, incremental_state=None)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:490
Methodclear_buffer
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:669
Methodclient
r"""Provides access to the underlying vector database client.
Evopresent/camel/storages/vectordb_storages/qdrant.py:489
Methodclient
r"""Provides access to the underlying vector database client.
Evopresent/camel/storages/vectordb_storages/base.py:187
Methodclient
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
Methodclient
r"""Returns the Redis client instance. Returns: redis.asyncio.Redis: The Redis client instance.
Evopresent/camel/storages/key_value_storages/redis.py:93
Methodclose_client
r"""Closes the client connection to the Qdrant storage.
Evopresent/camel/storages/vectordb_storages/qdrant.py:258
Methodclosures
Get the closures associated with the shape element. Returns: list: A list of closures.
Evopresent/utils/src/presentation.py:299
Methodcode_type
r"""Returns the type of code. Returns: Optional[str]: The type of code.
Evopresent/camel/prompts/base.py:152
Methodcollect_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
Functioncombine_html_slides
(presentation_dir, output_path)
Evopresent/evopresent/ppt/gen_pptx_code.py:1062
Methodcommon_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
Functioncompute_bullet_length
(textbox_content)
Evopresent/utils/wei_utils.py:584
Methodcompute_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
Methodcompute_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
Methodcompute_loss
(self, model, inputs, return_outputs=False, num_items_in_batch=None)
train/src/trainer/grpo_trainer.py:950
Methodcompute_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
Methodcontext_call
(example)
Evopresent/camel/benchmarks/ragbench.py:303
Methodcontinue_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
Functionconvert
( input_sources: Annotated[ List[str], typer.Argument( ..., metava
Evopresent/docling/cli/main.py:155
Methodconvert
r"""Convert the collected data.
Evopresent/camel/data_collector/base.py:186
Methodconvert
r"""Formats the input content into the expected BaseModel. Args: type (Literal["regex", "json", "type", "choice", "grammar"]):
Evopresent/camel/schemas/outlines_converter.py:189
Methodconvert
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
Methodconvert
( self, source: Union[Path, str, DocumentStream], # TODO review naming headers: Optio
Evopresent/docling/document_converter.py:186
Methodconvert
Parses the DOCX into a structured document model. Returns: The parsed document.
Evopresent/docling/backend/msword_backend.py:103
Methodconvert
Parses the ASCII into a structured document model.
Evopresent/docling/backend/asciidoc_backend.py:61
Methodconvert
(self)
Evopresent/docling/backend/mspowerpoint_backend.py:84
Methodconvert
(self)
Evopresent/docling/backend/abstract_backend.py:62
Methodconvert
(self)
Evopresent/docling/backend/msexcel_backend.py:92
Methodconvert
(self)
Evopresent/docling/backend/md_backend.py:363
Methodconvert
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:114
Methodconvert
(self)
Evopresent/docling/backend/xml/uspto_backend.py:124
Methodconvert
(self)
Evopresent/docling/backend/json/docling_json_backend.py:54
Functionconvert_to_wav
(wav_path)
video_generation/MegaTTS3/tts/utils/audio_utils/io.py:55
Methodcopy
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
Methodcount_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
Methodcount_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
Methodcount_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
Methodcount_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
Methodcount_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
Methodcount_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
Methodcount_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
Methodcrawl
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
Methodcreate_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
Methodcreate_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
Methodcreate_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
Methodcreate_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
Methodcreate_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
Methodcreate_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
Functioncreate_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
Methodcreate_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
Methodcreate_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
Functioncreate_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
Methodcurrent_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
Methodcurrent_task
r"""Get the current task.
Evopresent/camel/tasks/task.py:319
Methodcustomer_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
Methodcustomer_list
r"""List customers. Args: limit (int, optional): Number of customers to retrieve. (default: :obj:`100`)
Evopresent/camel/toolkits/stripe_toolkit.py:87
Methoddata_collator
(features)
train/src/trainer/grpo_trainer.py:341
Methoddecode
(self, ids, strip_eos=False, strip_padding=False)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:174
Functiondecorator
(func: F)
Evopresent/camel/utils/commons.py:203
Functiondecorator
(func)
Evopresent/camel/societies/workforce/utils.py:60
Functiondecorator
(func: Callable)
Evopresent/camel/loaders/panda_reader.py:36
Methoddeduce_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
Methoddeduplicate
r"""Remove similar personas from the group. Args: embedding_model (BaseEmbedding): The embedding model for simila
Evopresent/camel/personas/persona_hub.py:197
Methoddefault
(self, obj)
Evopresent/camel/storages/key_value_storages/json.py:41
Methoddelete
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
Methoddelete
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
Methoddelete
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
Methoddelete_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
Methoddelete_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
Methoddelete_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
Methoddelete_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
Methoddelete_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
← previousnext →1,701–1,800 of 2,738, ranked by callers