MCPcopy Create free account

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

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

Function_validate_page_range
(v: Tuple[int, int])
Evopresent/docling/datamodel/settings.py:9
Functionaccuracy_reward
Dispatcher reward function. Calls the appropriate reward logic based on the task.
train/src/train_multi_task.py:613
Functionactual_rendered_length
Estimate how many characters from `text` will actually fit in the bounding box, taking into account explicit newlines.
Evopresent/utils/wei_utils.py:1130
Methodadd
r"""Saves a list of vector records to the storage. Args: records (List[VectorRecord]): List of vector records to be saved.
Evopresent/camel/storages/vectordb_storages/base.py:112
Methodadd
r"""Adds a list of vectors to the specified collection. Args: records (List[VectorRecord]): List of vectors to be added.
Evopresent/camel/storages/vectordb_storages/milvus.py:276
Methodadd
r"""Add a function or list of functions to the runtime. Args: funcs (Union[FunctionTool, List[FunctionTool]]): The function or
Evopresent/camel/runtime/remote_http_runtime.py:79
Methodadd
r"""Add a function or list of functions to the runtime. Args: funcs (FunctionTool or List[FunctionTool]): The function or
Evopresent/camel/runtime/llm_guard_runtime.py:106
Methodadd
r"""Adds a function to the toolkit. Args: name (str): The name of the function to add.
Evopresent/camel/runtime/utils/ignore_risk_toolkit.py:39
Functionadd_blank_slide
Add a blank slide to the Presentation (layout index 6 is typically blank). :param prs: The Presentation object to add a slide to. :r
Evopresent/utils/pptx_utils.py:1278
Functionadd_border
Iterates over all slides and shapes in the Presentation 'prs', applies a red border to each shape, and places a transparent (no fill).
Evopresent/utils/pptx_utils.py:1893
Functionadd_border_and_labels
Iterates over all slides and shapes in the Presentation 'prs', applies a red border to each shape, and places a transparent (no fill), blue-
Evopresent/utils/wei_utils.py:372
Functionadd_border_to_all_elements
Iterates over all slides and shapes in the Presentation object 'prs' and applies a red border with the specified width to each shape.
Evopresent/utils/wei_utils.py:345
Methodadd_filter
r"""Add a custom filter function to the InstructionFilter. This allows adding filters that are not in the registry. Args:
Evopresent/camel/datagen/self_instruct/filter/instruction_filter.py:47
Methodadd_graph_elements
r"""Add graph elements (nodes and relationships) to the graph. Args: graph_elements (List[GraphElement]): A list of graph element
Evopresent/camel/storages/graph_storages/nebula_graph.py:175
Methodadd_graph_elements
r"""Adds nodes and relationships from a list of GraphElement objects to the graph storage. Args: graph_elements (List[Gra
Evopresent/camel/storages/graph_storages/neo4j_graph.py:507
Functionadd_image
Add an image to the slide at the specified position and size. :param slide: The slide object where the image should be placed. :para
Evopresent/utils/pptx_utils.py:1556
Functionadd_line_simple
Add a simple horizontal or vertical line to the slide. Parameters: slide: The slide object. name: The name/label for the lin
Evopresent/utils/pptx_utils.py:1592
Methodadd_model_scheduling_strategy
r"""Add a scheduling strategy method provided by user to ModelManger. Args: name (str): The name of the strategy. str
Evopresent/camel/agents/chat_agent.py:1522
Methodadd_records
r"""Adds records to a dataset. Args: dataset_name (str): The name of the dataset. records (List[Record]): A list of r
Evopresent/camel/datahubs/base.py:64
Methodadd_records
r"""Adds records to a dataset on the Hugging Face Hub. Args: dataset_name (str): The name of the dataset. records (Li
Evopresent/camel/datahubs/huggingface.py:190
Methodadd_role_playing_worker
r"""Add a worker node to the workforce that uses `RolePlaying` system. Args: description (str): Description of the node.
Evopresent/camel/societies/workforce/workforce.py:175
Methodadd_single_agent_worker
r"""Add a worker node to the workforce that uses a single agent. Args: description (str): Description of the worker node.
Evopresent/camel/societies/workforce/workforce.py:158
Methodadd_task
r"""Add a task to run a command inside the container when building. Similar to `docker exec`. Args: task (TaskConfig): Th
Evopresent/camel/runtime/docker_runtime.py:122
Methodadd_tasks
r"""self.tasks and self.task_map will be updated by the input tasks.
Evopresent/camel/tasks/task.py:384
Functionadd_textbox
Create a textbox shape on the given slide, optionally fill its background with a color if fill_color is specified as (r, g, b). :par
Evopresent/utils/pptx_utils.py:1298
Methodadd_tool
r"""Add a tool to the agent, specifying if it's an external tool.
Evopresent/camel/agents/chat_agent.py:266
Methodadd_triplet
r"""Adds a relationship (triplet) between two entities in the database. Args: subj (str): The identifier for the subject entity.
Evopresent/camel/storages/graph_storages/base.py:46
Methodadd_triplet
r"""Adds a relationship (triplet) between two entities in the database. Args: subj (str): The identifier for the subject entity.
Evopresent/camel/storages/graph_storages/neo4j_graph.py:342
Methodadd_workforce
r"""Add a workforce node to the workforce. Args: workforce (Workforce): The workforce node to be added. Returns:
Evopresent/camel/societies/workforce/workforce.py:214
Functionadjust_font_size
Increase or decrease the current font size of all runs in a shape by `delta` points. If a run has no explicitly set font size (font.size is N
Evopresent/utils/pptx_utils.py:1663
Functionalign_to_figure
(align, dur_info)
video_generation/MegaTTS3/tts/utils/audio_utils/plot.py:73
Methodalways_first
r"""Always return the first model from self.models. Returns: BaseModelBackend for processing incoming messages.
Evopresent/camel/models/model_manager.py:164
Methodamo_sampling
(z_t, t, t_next, v)
video_generation/MegaTTS3/tts/modules/llm_dit/dit.py:151
Methodanswer_call
(example: Dict[str, Any])
Evopresent/camel/benchmarks/ragbench.py:313
Functionapi_keys_required
r"""A decorator to check if the required API keys are provided in the environment variables or as function arguments. Args: param_env
Evopresent/camel/utils/commons.py:236
Methodapp_mention
r"""Event handler for `app_mention` events. This method is triggered when someone mentions the app in Slack. Args: conte
Evopresent/camel/bots/slack/slack_app.py:180
Methodapply
r"""Evaluate the given instruction based on the filter's criteria. Args: instruction (str): The instruction to evaluate.
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:32
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True Inst
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:82
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:98
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:113
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:143
Methodapply
r"""Filter the instruction Args: instruction (str): The instruction to be filtered. Returns: bool: True if t
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:184
Functionapply_theme
(agent, prompt, num_retries, existing_code='')
Evopresent/utils/wei_utils.py:495
Methodarun
Public async entrypoint, required by the abstract base.
Evopresent/camel/models/openrouter_model.py:180
Methodas_dict
(self)
Evopresent/camel/configs/togetherai_config.py:98
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
Evopresent/camel/configs/deepseek_config.py:108
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
Evopresent/camel/configs/openai_config.py:113
Methodas_dict
(self)
Evopresent/camel/configs/anthropic_config.py:64
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
Evopresent/camel/configs/gemini_config.py:88
Methodas_dict
(self)
Evopresent/camel/configs/samba_config.py:66
Methodas_dict
(self)
Evopresent/camel/configs/reka_config.py:67
Methodas_dict
r"""Returns the function calling record as a dictionary. Returns: dict[str, Any]: The function calling record as a dictionary.
Evopresent/camel/agents/chat_agent.py:117
Methodask_human_via_console
r"""Ask a question to the human via the console. Args: question (str): The question to ask the human. Returns:
Evopresent/camel/toolkits/human_toolkit.py:30
Functionasync_callable
(*args, **kwargs)
Evopresent/camel/utils/async_func.py:36
Methodauthor
r"""Getter for the author attribute, fetching details if not cached. Returns: Dict[str, Any]: A dictionary containing author deta
Evopresent/camel/toolkits/google_scholar_toolkit.py:77
Methodavg
(self)
Evopresent/docling/utils/profiling.py:26
Methodbalance_get
r"""Retrieve your account balance. Returns: str: A str containing the account balance if successful, or an error
Evopresent/camel/toolkits/stripe_toolkit.py:110
Methodbalance_transaction_list
r"""List your balance transactions. Args: limit (int, optional): Number of balance transactions to retrieve. (def
Evopresent/camel/toolkits/stripe_toolkit.py:129
Methodbuild
Build the shape element in a slide. Args: slide (PPTXSlide): The slide to build the shape in. Returns:
Evopresent/utils/src/presentation.py:269
Methodbuild
(self, slide: PPTXSlide)
Evopresent/utils/src/presentation.py:521
Methodbuild
Recreates the freeform geometry on the slide using a FreeformBuilder. Note: If you loaded this shape from an existing slide, you may
Evopresent/utils/src/presentation.py:619
Methodbuild
(self, slide: PPTXSlide)
Evopresent/utils/src/presentation.py:767
Methodbuild
(self, slide: PPTXSlide)
Evopresent/utils/src/presentation.py:1054
Functionbuild_token_encoder
(token_list_file)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:274
Methodcalculate_cost_from_response
r"""Calculate the cost of the given completion response. Args: response (dict): The completion response from LiteLLM. Re
Evopresent/camel/utils/token_counting.py:349
Functioncall_api
(input_json: Dict[str, Any])
Evopresent/camel/toolkits/open_api_specs/outschool/paths/get_classes.py:21
Functioncall_api
(input_json: Dict[str, Any])
Evopresent/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py:21
Functioncall_api
(input_json: Dict[str, Any])
Evopresent/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py:21
Methodcanonicalize_path
r"""Canonicalize file path for Azure Blob Storage. Args: file_path (PurePath): The path to be canonicalized. Returns:
Evopresent/camel/storages/object_storages/azure_blob.py:87
Methodcanonicalize_path
r"""Canonicalize the path for Google Cloud Storage. Args: file_path (PurePath): The path to be canonicalized. Returns:
Evopresent/camel/storages/object_storages/google_cloud.py:62
Methodcanonicalize_path
r"""Canonicalize file path for Amazon S3. Args: file_path (PurePath): The path to be canonicalized. Returns:
Evopresent/camel/storages/object_storages/amazon_s3.py:123
Methodcaption
(self)
Evopresent/utils/src/presentation.py:547
Functioncenter_shape_horizontally
Center a shape horizontally on the slide using the presentation's slide width. :param prs: The Presentation object (which holds slide_wi
Evopresent/utils/pptx_utils.py:1684
Functioncenter_shape_vertically
Center a shape vertically on the slide using the presentation's slide height. :param prs: The Presentation object (which holds slide_hei
Evopresent/utils/pptx_utils.py:1694
Functionchar_capacity
Estimate the number of characters that will fit into a rectangular text box. Parameters ---------- bbox : (x, y, height, width) # a
Evopresent/utils/wei_utils.py:1018
Methodcharacters
Receive notification of character data. Args: content: Data reported by the handler.
Evopresent/docling/backend/xml/uspto_backend.py:332
Methodcharacters
Receive notification of character data. Args: content: Data reported by the handler.
Evopresent/docling/backend/xml/uspto_backend.py:664
Methodcharacters
Receive notification of character data. Args: content: Data reported by the handler.
Evopresent/docling/backend/xml/uspto_backend.py:1225
Methodcheck_alternative_envvars
r""" Set num_threads from the "alternative" envvar OMP_NUM_THREADS. The alternative envvar is used only if it is valid and the regular
Evopresent/docling/datamodel/pipeline_options.py:32
Functioncheck_and_fix_subsections
Given a 'section' bounding box and a dictionary of 'subsections', checks: 1) That each subsection is within the main section and that
Evopresent/utils/wei_utils.py:722
Functioncheck_bounding_boxes
Given a dictionary 'bboxes' whose keys are bounding-box names and whose values are dictionaries with keys 'left', 'top', 'width', and 'height
Evopresent/utils/wei_utils.py:591
Methodcheck_crawl_job
r"""Check the status of a crawl job. Args: job_id (str): The ID of the crawl job. Returns: Dict: The respons
Evopresent/camel/loaders/firecrawl_reader.py:80
Functioncheck_if_running
r"""Check if the workforce is (not) running, specified the boolean value. If the workforce is not in the expected status, raise an exception.
Evopresent/camel/societies/workforce/utils.py:52
Functioncheck_layout
Run a GPT-4 based critique on the provided HTML and extracted layout JSON. Returns a dict with Acceptable (bool) and Fixes (list[str]).
Evopresent/evopresent/ppt/layout_checker.py:296
Methodcheck_model_config
(self)
Evopresent/camel/models/openai_compatible_model_v2.py:242
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to OpenRouter API. But OpenRouter API does not have any ad
Evopresent/camel/models/openrouter_model.py:191
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Cohere API. Raises: ValueError: If the mod
Evopresent/camel/models/cohere_model.py:271
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to TogetherAI API. Raises: ValueError: If the
Evopresent/camel/models/togetherai_model.py:123
Methodcheck_model_config
r"""Check whether the model configuration is valid for anthropic model backends. Raises: ValueError: If the model configu
Evopresent/camel/models/anthropic_model.py:136
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Gemini API. Raises: ValueError: If the mod
Evopresent/camel/models/gemini_model.py:128
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Gemini API. Raises: ValueError: If the mod
Evopresent/camel/models/gemini_model.py:248
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Ollama API. Raises: ValueError: If the mod
Evopresent/camel/models/ollama_model.py:107
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to SGLang API. Raises: ValueError: If the mod
Evopresent/camel/models/sglang_model.py:166
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Yi API. Raises: ValueError: If the model c
Evopresent/camel/models/yi_model.py:119
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Mistral API. Raises: ValueError: If the mo
Evopresent/camel/models/mistral_model.py:254
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to OpenAI API. Raises: ValueError: If the mod
Evopresent/camel/models/zhipuai_model.py:121
Methodcheck_model_config
r"""Directly pass the check on arguments to STUB model.
Evopresent/camel/models/stub_model.py:111
Methodcheck_model_config
(self)
Evopresent/camel/models/openai_compatible_model.py:116
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Groq API. But Groq API does not have any additional arg
Evopresent/camel/models/groq_model.py:118
Methodcheck_model_config
r"""Check whether the model configuration contains any unexpected arguments to Azure OpenAI API. Raises: ValueError: If t
Evopresent/camel/models/azure_openai_model.py:132
← previousnext →1,601–1,700 of 2,738, ranked by callers