MCPcopy Create free account

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

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

Methodon_message
r"""Event handler for processing incoming messages. This method is called whenever a new message is received by the bot. It will igno
Evopresent/camel/bots/discord/discord_app.py:352
Methodon_message
r"""Event handler for `message` events. This method is triggered when the app receives a message in Slack. Args: context
Evopresent/camel/bots/slack/slack_app.py:208
Methodon_ready
r"""Event handler that is called when the bot has successfully connected to the Discord server. When the bot is ready and logged into
Evopresent/camel/bots/discord/discord_app.py:343
Methodopenapi_function
(**kwargs)
Evopresent/camel/toolkits/open_api_toolkit.py:441
Methodopenapi_function_decorator
r"""Decorate a function to make HTTP requests based on OpenAPI specification details. This decorator dynamically constructs and execu
Evopresent/camel/toolkits/open_api_toolkit.py:208
Functionoutline_estimate_num_chars
(outline)
Evopresent/utils/wei_utils.py:1223
Methodoutput_dim
(self)
Evopresent/camel/types/enums.py:698
Functionoverlay_face_video
Overlay face_video onto bg_video at bottom-right corner using ffmpeg Args: bg_video: Background video path face_video: F
video_generation/html_to_video_complete.py:233
Methodpage_count
(self)
Evopresent/docling/backend/mspowerpoint_backend.py:60
Methodpage_count
(self)
Evopresent/docling/backend/abstract_backend.py:50
Methodparse
Parse a USPTO patent. Parameters: patent_content: The content of a single patent in a USPTO file. Returns: T
Evopresent/docling/backend/xml/uspto_backend.py:157
Methodparse
(self, patent_content: str)
Evopresent/docling/backend/xml/uspto_backend.py:182
Methodparse
(self, patent_content: str)
Evopresent/docling/backend/xml/uspto_backend.py:519
Methodparse
(self, patent_content: str)
Evopresent/docling/backend/xml/uspto_backend.py:1035
Methodparse
(self, patent_content: str)
Evopresent/docling/backend/xml/uspto_backend.py:1080
Functionparse_config
(v, context=None)
video_generation/MegaTTS3/tts/utils/commons/hparams.py:51
Functionparse_response
r"""Parse Tasks from a response. Args: response (str): The model response. task_id (str, optional): a parent task id,
Evopresent/camel/tasks/task.py:32
Methodpayment_get
r"""Retrieve a payment by ID. Args: payment_id (str): The ID of the payment to retrieve. Returns: str:The pa
Evopresent/camel/toolkits/stripe_toolkit.py:155
Methodpayment_list
r"""List payments. Args: limit (int, optional): Number of payments to retrieve. (default::obj:`100`) Ret
Evopresent/camel/toolkits/stripe_toolkit.py:175
Methodpercentile
(self, perc: float)
Evopresent/docling/utils/profiling.py:35
Methodpersona_to_persona
r"""Derives additional personas based on interpersonal relationships from this persona. Args: persona (Persona): The pers
Evopresent/camel/personas/persona_hub.py:141
Methodpptc_description
Get the PPTC description of the shape element. Returns: str: The PPTC description.
Evopresent/utils/src/presentation.py:391
Methodpptc_size_info
Get the PPTC size information of the shape element. Returns: str: The PPTC size information.
Evopresent/utils/src/presentation.py:381
Methodpptc_space_info
Get the PPTC space information of the shape element. Returns: str: The PPTC space information.
Evopresent/utils/src/presentation.py:371
Methodpptc_text_info
Get the PPTC text information of the shape element. Returns: str: The PPTC text information.
Evopresent/utils/src/presentation.py:359
Methodprepare_element
( self, conv_res: ConversionResult, element: NodeItem )
Evopresent/docling/models/base_model.py:32
Methodprepare_element
( self, conv_res: ConversionResult, element: NodeItem )
Evopresent/docling/models/base_model.py:61
Methodprev_level
(self)
Evopresent/docling/backend/msword_backend.py:142
Methodprev_name
(self)
Evopresent/docling/backend/msword_backend.py:139
Methodprint_architecture
(self, verbose=False)
video_generation/models/__init__.py:16
Methodprint_options
Print and save options It will print both current options and default values(if different). It will save options into a text file / [checkpoints_
video_generation/options/base_options.py:76
Methodprocess_batch
r"""Process multiple texts in batch to generate multi-hop QA pairs. Args: texts (List[str]): List of input texts to process.
Evopresent/camel/datagen/source2synth/data_processor.py:91
Functionprocess_example
(example: Dict[str, Any])
Evopresent/camel/benchmarks/ragbench.py:55
Methodprocess_files
r"""Replace absolute imports in downloaded files with relative import.
Evopresent/camel/benchmarks/apibank.py:150
Methodprocess_image_to_base64
(image_path, max_long_side=640, min_side=28)
train/src/trainer/grpo_trainer.py:715
Methodprocess_task
r"""The main entry point for the workforce to process a task. It will start the workforce and all the child nodes under it, process the
Evopresent/camel/societies/workforce/workforce.py:132
Methodprocess_text
r"""Process a single text to generate multi-hop QA pairs. Args: text (str): The input text to process. source (str, o
Evopresent/camel/datagen/source2synth/data_processor.py:59
Functionprogrammable_capability
r"""Decorator for programmable agent capabilities. This decorator ensures that the decorated method is executed atomically and maintains the
Evopresent/camel/agents/programmed_agent_instruction.py:113
Functionprs_dedup
Deduplicate slides in a presentation based on text similarity. Args: presentation (Presentation): The presentation object containing
Evopresent/utils/src/model_utils.py:22
Methodput_file
r"""Put a file to the object storage. Args: file_path (PurePath): The path to the object in the storage. file (File):
Evopresent/camel/storages/object_storages/base.py:40
Methodquery
r"""Queries and compiles results using the Cohere re-ranking model. Args: query (str): Query string for information retriever.
Evopresent/camel/retrievers/cohere_rerank_retriever.py:74
Methodquery
r"""Query the graph store with statement and parameters. Args: query (str): The query to be executed. params (Optiona
Evopresent/camel/storages/graph_storages/base.py:69
Methodquery
r"""Searches for similar vectors in the storage based on the provided query. Args: query (VectorDBQuery): The query objec
Evopresent/camel/storages/vectordb_storages/qdrant.py:416
Methodquery
r"""Searches for similar vectors in the storage based on the provided query. Args: query (VectorDBQuery): The query objec
Evopresent/camel/storages/vectordb_storages/milvus.py:337
Methodquery_data_commons
r"""Query the Data Commons knowledge graph using SPARQL. Args: query_string (str): A SPARQL query string. Returns:
Evopresent/camel/toolkits/data_commons_toolkit.py:39
Methodquery_finance
r"""Fetch asset sentiment data for a given asset, metric, and date range. Args: asset (Literal): The asset for which to f
Evopresent/camel/toolkits/ask_news_toolkit.py:248
Methodquery_finance
r"""Fetch asset sentiment data for a given asset, metric, and date range. Args: asset (Literal): The asset for which to f
Evopresent/camel/toolkits/ask_news_toolkit.py:543
Methodquery_wolfram_alpha
r"""Queries Wolfram|Alpha and returns the result. Wolfram|Alpha is an answer engine developed by Wolfram Research. It is offered as an online
Evopresent/camel/toolkits/search_toolkit.py:492
Methodrandom_model
r"""Return random model from self.models list. Returns: BaseModelBackend for processing incoming messages.
Evopresent/camel/models/model_manager.py:172
Methodrandom_walk_with_restarts
r"""Runs the Random Walk with Restarts (RWR) sampling algorithm. Args: graph_name (str): The name of the original graph in the gr
Evopresent/camel/storages/graph_storages/neo4j_graph.py:587
Methodread_clipboard
r"""Reads a clipboard and returns a DataFrame. Args: *args (Any): Additional positional arguments. **kwargs (Dict[str
Evopresent/camel/loaders/panda_reader.py:213
Methodread_content
r"""Reads the content of a URL and returns it as a string with given form. Args: url (str): The URL to read. Ret
Evopresent/camel/loaders/jina_url_reader.py:79
Methodread_excel
r"""Reads an Excel file and returns a DataFrame. Args: file_path (str): The path to the Excel file. *args (Any): Addi
Evopresent/camel/loaders/panda_reader.py:139
Methodread_feather
r"""Reads a Feather file and returns a DataFrame. Args: file_path (str): The path to the Feather file. *args (Any): A
Evopresent/camel/loaders/panda_reader.py:244
Methodread_hdf
r"""Reads an HDF file and returns a DataFrame. Args: file_path (str): The path to the HDF file. *args (Any): Addition
Evopresent/camel/loaders/panda_reader.py:308
Methodread_html
r"""Reads an HTML file and returns a DataFrame. Args: file_path (str): The path to the HTML file. *args (Any): Additi
Evopresent/camel/loaders/panda_reader.py:228
Methodread_json
r"""Reads a JSON file and returns a DataFrame. Args: file_path (str): The path to the JSON file. *args (Any): Additio
Evopresent/camel/loaders/panda_reader.py:155
Methodread_orc
r"""Reads an ORC file and returns a DataFrame. Args: file_path (str): The path to the ORC file. *args (Any): Addition
Evopresent/camel/loaders/panda_reader.py:324
Methodread_pickle
r"""Reads a Pickle file and returns a DataFrame. Args: file_path (str): The path to the Pickle file. *args (Any): Add
Evopresent/camel/loaders/panda_reader.py:292
Methodread_sas
r"""Reads a SAS file and returns a DataFrame. Args: file_path (str): The path to the SAS file. *args (Any): Additiona
Evopresent/camel/loaders/panda_reader.py:276
Methodread_sql
r"""Reads a SQL file and returns a DataFrame. Args: *args (Any): Additional positional arguments. **kwargs (Dict[str,
Evopresent/camel/loaders/panda_reader.py:186
Methodread_stata
r"""Reads a Stata file and returns a DataFrame. Args: file_path (str): The path to the Stata file. *args (Any): Addit
Evopresent/camel/loaders/panda_reader.py:260
Methodread_table
r"""Reads a table and returns a DataFrame. Args: file_path (str): The path to the table. *args (Any): Additional posi
Evopresent/camel/loaders/panda_reader.py:198
Methodrecord
r"""Record agents. Args: agent (Union[List[ChatAgent], ChatAgent]): The agent(s) to inject.
Evopresent/camel/data_collector/base.py:136
Methodrecord
r"""Inject an agent into the data collector.
Evopresent/camel/data_collector/sharegpt_collector.py:83
Methodrecord
r"""Inject an agent into the data collector. Args: agent (Union[List[ChatAgent], ChatAgent]): The agent to inject
Evopresent/camel/data_collector/alpaca_collector.py:47
Methodrecording
r"""Whether the collector is recording.
Evopresent/camel/data_collector/base.py:169
Methodreduce_step
r"""Performs one step of the conversation by displaying options to the user, getting their input, and parsing their choice. Args:
Evopresent/camel/human.py:115
Methodrefresh_schema
r"""Refreshes the schema by fetching the latest schema details.
Evopresent/camel/storages/graph_storages/nebula_graph.py:371
Methodrefresh_schema
r"""Refreshes the graph schema information.
Evopresent/camel/storages/graph_storages/base.py:41
Methodrefund_get
r"""Retrieve a refund by ID. Args: refund_id (str): The ID of the refund to retrieve. Returns: str: The refu
Evopresent/camel/toolkits/stripe_toolkit.py:198
Methodrefund_list
r"""List refunds. Args: limit (int, optional): Number of refunds to retrieve. (default::obj:`100`) Retur
Evopresent/camel/toolkits/stripe_toolkit.py:218
Functionregister_filter
r"""Registers a new filter constructor in FILTER_REGISTRY. Args: name (str): Unique name of the filter. constructor (Callable[[Di
Evopresent/camel/datagen/self_instruct/filter/filter_registry.py:46
Methodremove_cluster
(self, cluster: Cluster)
Evopresent/docling/utils/layout_postprocessor.py:69
Functionremove_hierarchy_and_id
Recursively remove the 'hierarchy' and 'id' fields from a nested dictionary representing sections and subsections.
Evopresent/utils/wei_utils.py:1201
Methodremove_installation
r"""Remove the installation for a given guild. Args: guild (discord.Guild): The guild from which the bot is being
Evopresent/camel/bots/discord/discord_app.py:326
Methodremove_rundir
(self)
Evopresent/utils/src/utils.py:336
Methodremove_subtask
r"""Remove a subtask from the current task. Args: id (str): The id of the subtask to be removed.
Evopresent/camel/tasks/task.py:163
Methodremove_tool
r"""Remove a tool by name, specifying if it's an external tool.
Evopresent/camel/agents/chat_agent.py:293
Methodremove_weight_norm
(self)
video_generation/MegaTTS3/tts/modules/wavvae/decoder/hifigan_modules.py:206
Functionrename_keys_with_name
Recursively rename dictionary keys to data['name'] if: - The value is a dict, - It contains a 'name' field. Otherwise, keep the o
Evopresent/utils/pptx_utils.py:1951
Methodrepair_state
r"""Repair the state of the agent. Agents may have other non-atomic interfaces, such as a user interface, or chat between other agent
Evopresent/camel/agents/programmed_agent_instruction.py:98
Methodrepair_state
r"""Repair the state of the agent. Implements basic state repair for message role requirements. Args: requirement (Progr
Evopresent/camel/agents/programmed_agent_instruction.py:190
Functionrepl
(m)
Evopresent/evopresent/ppt/gen_pptx_code.py:890
Methodreplace_match
(match)
Evopresent/docling/backend/md_backend.py:43
Methodrepo_cache_folder
(self)
Evopresent/docling/datamodel/pipeline_options.py:218
Methodreset
r"""Resets the worker to its initial state.
Evopresent/camel/societies/workforce/single_agent_worker.py:46
Methodreset
(self)
Evopresent/camel/terminators/base.py:32
Methodreset
(self)
Evopresent/camel/terminators/base.py:46
Methodreset
r"""Reset the terminator.
Evopresent/camel/terminators/response_terminator.py:124
Methodreset
r"""Reset the terminator.
Evopresent/camel/terminators/token_limit_terminator.py:55
Methodreset
r"""Resets the runtime to its initial state.
Evopresent/camel/runtime/base.py:39
Methodreset
r"""Reset the API server. Returns: RemoteHttpRuntime: The current runtime.
Evopresent/camel/runtime/remote_http_runtime.py:189
Methodreset
r"""Reset the DockerRuntime instance. Returns: DockerRuntime: The DockerRuntime instance.
Evopresent/camel/runtime/docker_runtime.py:319
Methodreset
r"""Resets the runtime to its initial state.
Evopresent/camel/runtime/llm_guard_runtime.py:194
Methodreset
r"""Resets the chat history of the agent.
Evopresent/camel/agents/tool_agents/hugging_face_tool_agent.py:156
Methodreset
r"""Resets the agent to its initial state.
Evopresent/camel/agents/tool_agents/base.py:30
Methodreset
r"""Reset the retriever. Args: **kwargs (Any): The keyword arguments to pass to the retriever. Returns:
Evopresent/camel/benchmarks/gaia.py:91
Methodretrieve
(self)
Evopresent/camel/memories/agent_memories.py:51
Methodretrieve
r"""Retrieves context records from both the chat history and the vector database. Returns: List[ContextRecord]: A list of
Evopresent/camel/memories/agent_memories.py:144
← previousnext →2,301–2,400 of 2,738, ranked by callers