MCPcopy Create free account

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

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

↓ 1 callersMethodextract_text_and_code_prompts
r"""Extract text and code prompts from the message content. Returns: Tuple[List[TextPrompt], List[CodePrompt]]: A tuple containin
Evopresent/camel/messages/base.py:242
↓ 1 callersMethodextract_text_recursively
(self, item: Tag)
Evopresent/docling/backend/html_backend.py:148
↓ 1 callersMethodextract_tool_calls
r"""Extracts all tool calls from the provided message string. Args: message (str): The input message string containing potential
Evopresent/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:44
↓ 1 callersMethodextract_tool_response
r"""Extracts a single tool response from the provided message string. Args: message (str): The input message string containing a
Evopresent/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:68
↓ 1 callersFunctionfill_with_neg_inf2
FP16-compatible function that fills a tensor with -inf.
video_generation/MegaTTS3/tts/modules/ar_dur/ar_dur_predictor.py:37
↓ 1 callersMethodfind_by_guild
r"""Finds an installation record by guild ID.
Evopresent/camel/bots/discord/discord_store.py:36
↓ 1 callersMethodfind_candidates
Find potential overlapping cluster IDs using all indexes.
Evopresent/docling/utils/layout_postprocessor.py:73
↓ 1 callersFunctionfind_html_files
Find and sort HTML files
video_generation/html_to_video_complete.py:311
↓ 1 callersMethodflatten_options
r"""Flattens the options to the critic. Args: messages (Sequence[BaseMessage]): A list of `BaseMessage` objects. Returns
Evopresent/camel/agents/critic_agent.py:80
↓ 1 callersMethodformat_tool_call
r"""Formats a tool call message with the given content, function name, and arguments. Args: content (str): The content or
Evopresent/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:94
↓ 1 callersMethodformat_tool_response
r"""Formats a tool response message with the given function name and result. Args: func_name (str): The name of the funct
Evopresent/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:117
↓ 1 callersMethodforward
(self, x: Tensor)
video_generation/MegaTTS3/tts/modules/aligner/whisper_small.py:48
↓ 1 callersMethodforward
:param x: [B, T, C] :param padding_mask: [B, T] :return: [B, T, C] or [L, B, T, C]
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:706
↓ 1 callersMethodforward
(self, x)
video_generation/MegaTTS3/tts/modules/wavvae/encoder/common_modules/conv.py:138
↓ 1 callersMethodforward
(self, a:torch.Tensor, prev_a:torch.Tensor = None)
video_generation/models/float/FLOAT.py:211
↓ 1 callersMethodforward_embedding
(self, txt_tokens)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:760
↓ 1 callersMethodforward_style_embed
(self, spk_embed=None, spk_id=None, mel_ref=None)
video_generation/MegaTTS3/tts/modules/ar_dur/ar_dur_predictor.py:148
↓ 1 callersMethodforward_with_cfv
(self, t, x, wa, wr, we, prev_x, prev_wa, a_cfg_scale=1.0, r_cfg_scale=1.0, e_cfg_scale=1.0, **kwargs)
video_generation/models/float/FMT.py:316
↓ 1 callersMethodframewise_modulate
(self, x, shift, scale)
video_generation/models/float/FMT.py:185
↓ 1 callersMethodfrom_chat_history
(cls, chat_history)
Evopresent/camel/benchmarks/apibank.py:443
↓ 1 callersMethodfrom_context
r"""Create a data collector from a context. Args: name (str): The name of the agent. context (Dict[str, Any]): The co
Evopresent/camel/data_collector/base.py:70
↓ 1 callersMethodfrom_dict
r"""Generates a system message from a dictionary. Args: meta_dict (Dict[str, str]): The dictionary containing the
Evopresent/camel/generators.py:98
↓ 1 callersMethodfrom_slide
Create a SlidePage from a PPTXSlide. Args: slide (PPTXSlide): The slide object. slide_idx (int): The index o
Evopresent/utils/src/presentation.py:996
↓ 1 callersFunctionfunc_string_to_callable
r"""Convert a function code string to a callable function object. Args: code (str): The function code as a string. Returns:
Evopresent/camel/utils/commons.py:385
↓ 1 callersFunctiong2p
(self, text_inp)
video_generation/MegaTTS3/tts/frontend_function.py:24
↓ 1 callersFunctiongen_image_and_table
Generate and process images, tables and equations from the paper using vision model. Adds disk caching and parallelization for faster processing.
Evopresent/evopresent/ppt/parse_raw.py:411
↓ 1 callersMethodgenerate_3d_preview
r"""Generates a 3D preview using the Meshy API. Args: prompt (str): Description of the object. art_style (str): Art s
Evopresent/camel/toolkits/meshy_toolkit.py:47
↓ 1 callersMethodgenerate_apinames_filepaths
Generates a list of tuples containing API names and their corresponding file paths. This function iterates over the OpenAPIName enum,
Evopresent/camel/toolkits/open_api_toolkit.py:500
↓ 1 callersFunctiongenerate_docstring
r"""Generates a docstring for a given function code using LLM. This function leverages a language model to generate a PEP 8/PEP 257-compliant
Evopresent/camel/toolkits/function_tool.py:222
↓ 1 callersFunctiongenerate_html_presentation
(outline_path, output_dir, base_dir=None, paper_name=None, model_name_t=None, style=None, use_checker=True, ch
Evopresent/evopresent/ppt/gen_pptx_code.py:965
↓ 1 callersFunctiongenerate_html_slide
(slide_data, images_mapping=None, slide_style=None, use_checker=True, checker_threshold=8.7, checker_max_attem
Evopresent/evopresent/ppt/gen_pptx_code.py:664
↓ 1 callersMethodgenerate_image
(cls, *, prompt: str, save_path: str, max_width: int = 800, max_height: int = 600, **kwargs)
Evopresent/evopresent/ppt/visualization_helper.py:18
↓ 1 callersMethodgenerate_machine_instance
r"""Generate instances for a given instruction. Args: instruction (str): The instruction to create instances for. cla
Evopresent/camel/datagen/self_instruct/self_instruct.py:221
↓ 1 callersMethodgenerate_machine_instances
r"""Generate instances for each machine task based on its classification status.
Evopresent/camel/datagen/self_instruct/self_instruct.py:211
↓ 1 callersMethodgenerate_machine_instruction
r"""Generate a machine instruction using the agent. Combines human and machine tasks based on the configured ratio to create a pr
Evopresent/camel/datagen/self_instruct/self_instruct.py:139
↓ 1 callersMethodgenerate_multi_hop_qa
r"""Generate a multi-hop question-answer pair from given context. Args: context (str): The input text context to generate QA from
Evopresent/camel/agents/multi_hop_generator_agent.py:83
↓ 1 callersMethodgenerate_openapi_funcs
r"""Generates a list of Python functions based on OpenAPI specification. This function dynamically creates a list of callable functio
Evopresent/camel/toolkits/open_api_toolkit.py:374
↓ 1 callersFunctiongenerate_prompt_for_structured_output
This function generates a prompt based on the provided Pydantic model and user message. Args: response_format (Type[BaseModel]):
Evopresent/camel/utils/commons.py:697
↓ 1 callersFunctiongenerate_tts_audio
Asynchronous TTS audio generation
video_generation/tts_face_generator.py:123
↓ 1 callersFunctionget_all_ckpts
(work_dir, steps=None)
video_generation/MegaTTS3/tts/utils/commons/ckpt_utils.py:64
↓ 1 callersMethodget_all_sample_ids
(self)
Evopresent/camel/benchmarks/apibank.py:479
↓ 1 callersFunctionget_all_sub_trees
(root_node)
Evopresent/camel/benchmarks/apibench.py:350
↓ 1 callersFunctionget_api_call
r"""Parse api call from model output.
Evopresent/camel/benchmarks/apibank.py:418
↓ 1 callersFunctionget_args
(node, dataset_name)
Evopresent/camel/benchmarks/apibench.py:388
↓ 1 callersMethodget_assigned_task_by_assignee
r"""Get a task from the channel that has been assigned to the assignee.
Evopresent/camel/societies/workforce/task_channel.py:101
↓ 1 callersMethodget_author_detailed_info
r"""Retrieves detailed information about the author. Returns: dict: A dictionary containing detailed information about the
Evopresent/camel/toolkits/google_scholar_toolkit.py:113
↓ 1 callersMethodget_bitmap_rects
(self, float: int = 1)
Evopresent/docling/backend/pdf_backend.py:24
↓ 1 callersMethodget_context_creator
r"""Gets context creator. Returns: BaseContextCreator: A model context creator.
Evopresent/camel/memories/base.py:125
↓ 1 callersMethodget_context_summary
Return brief context for the current slide (previous two + next). Args: current_index (int): Zero-based index of the current slid
Evopresent/evopresent/ppt/gen_speech.py:29
↓ 1 callersMethodget_default_options
(cls)
Evopresent/docling/pipeline/base_pipeline.py:100
↓ 1 callersMethodget_dependency_ids
r"""Get the IDs of all dependencies in the channel.
Evopresent/camel/societies/workforce/task_channel.py:162
↓ 1 callersMethodget_depth
r"""Get current task depth.
Evopresent/camel/tasks/task.py:284
↓ 1 callersFunctionget_extra_padding_for_conv1d
(x: torch.Tensor, kernel_size: int, stride: int, padding_total: int = 0)
video_generation/MegaTTS3/tts/modules/wavvae/encoder/common_modules/conv.py:71
↓ 1 callersMethodget_final_answer
r"""Get the final answer from the content. Args: content (str): The content to extract the final answer from. Returns:
Evopresent/camel/benchmarks/gaia.py:464
↓ 1 callersFunctionget_first_int
r"""Returns the first integer number found in the given string. If no integer number is found, returns None. Args: string (str): The
Evopresent/camel/utils/commons.py:83
↓ 1 callersFunctionget_font_pptcstyle
(font: dict)
Evopresent/utils/src/utils.py:39
↓ 1 callersMethodget_function_description
r"""Gets the description of the function from the OpenAI tool schema. Returns: str: The description of the function.
Evopresent/camel/toolkits/function_tool.py:517
↓ 1 callersMethodget_github_access_token
r"""Retrieve the GitHub access token from environment variables. Returns: str: A string containing the GitHub access token.
Evopresent/camel/toolkits/github_toolkit.py:60
↓ 1 callersMethodget_groups
Returns groups as {root: [elements]}.
Evopresent/docling/utils/layout_postprocessor.py:40
↓ 1 callersFunctionget_image_path
Get the path of an image
Evopresent/evopresent/ppt/gen_pptx_code.py:135
↓ 1 callersMethodget_indexes
r"""Fetches the tag indexes from the database. Returns: List[str]: A list of tag index names.
Evopresent/camel/storages/graph_storages/nebula_graph.py:429
↓ 1 callersMethodget_input
r"""Gets the input from the user. Returns: str: The user's input.
Evopresent/camel/human.py:77
↓ 1 callersFunctionget_json_from_response
(raw_response: str)
Evopresent/utils/src/utils.py:121
↓ 1 callersMethodget_label_and_level
(self, paragraph: Paragraph)
Evopresent/docling/backend/msword_backend.py:235
↓ 1 callersMethodget_math_italic
Get a text in italic as HTML entities. Args: The text to transform. Returns: The text in italics as HTML ent
Evopresent/docling/backend/xml/uspto_backend.py:1867
↓ 1 callersFunctionget_media_source_text
r"""Extracts the source URL and optional caption from a Notion media block. Args: block: A dictionary representing a Notion media blo
Evopresent/camel/toolkits/notion_toolkit.py:37
↓ 1 callersFunctionget_norm_module
(module: nn.Module, causal: bool = False, norm: str = 'none', **norm_kwargs)
video_generation/MegaTTS3/tts/modules/wavvae/encoder/common_modules/conv.py:57
↓ 1 callersMethodget_notion_block_text_content
r"""Retrieves the text content of a Notion block. Args: block_id (str): The ID of the Notion block to retrieve. Returns:
Evopresent/camel/toolkits/notion_toolkit.py:171
↓ 1 callersMethodget_numId_and_ilvl
( self, paragraph: Paragraph )
Evopresent/docling/backend/msword_backend.py:216
↓ 1 callersMethodget_ocr_model
( self, artifacts_path: Optional[Path] = None )
Evopresent/docling/pipeline/standard_pdf_pipeline.py:158
↓ 1 callersMethodget_openweathermap_api_key
r"""Retrieve the OpenWeatherMap API key from environment variables. Returns: str: The OpenWeatherMap API key. Raises:
Evopresent/camel/toolkits/weather_toolkit.py:28
↓ 1 callersMethodget_option
r"""Gets the option selected by the critic. Args: input_message (BaseMessage): A `BaseMessage` object representing
Evopresent/camel/agents/critic_agent.py:104
↓ 1 callersMethodget_page_image
( self, scale: float = 1, cropbox: Optional[BoundingBox] = None )
Evopresent/docling/backend/pypdfium2_backend.py:195
↓ 1 callersMethodget_page_image
( self, scale: float = 1, cropbox: Optional[BoundingBox] = None )
Evopresent/docling/backend/docling_parse_backend.py:148
↓ 1 callersMethodget_page_image
( self, scale: float = 1, cropbox: Optional[BoundingBox] = None )
Evopresent/docling/backend/docling_parse_v2_backend.py:163
↓ 1 callersMethodget_picture_description_model
( self, artifacts_path: Optional[Path] = None )
Evopresent/docling/pipeline/standard_pdf_pipeline.py:195
↓ 1 callersFunctionget_posi_angle_vec
(position)
video_generation/models/float/FMT.py:29
↓ 1 callersMethodget_profile
r"""Retrieves the authenticated user's LinkedIn profile info. This function sends a GET request to the LinkedIn API to retrieve the a
Evopresent/camel/toolkits/linkedin_toolkit.py:139
↓ 1 callersFunctionget_prompt_template_key_words
r"""Given a string template containing curly braces {}, return a set of the words inside the braces. Args: template (str): A string c
Evopresent/camel/utils/commons.py:66
↓ 1 callersFunctionget_pydantic_model
r"""A multi-purpose function that can be used as a normal function, a class decorator, or a function decorator. Args: input_data (Uni
Evopresent/camel/utils/response_format.py:24
↓ 1 callersMethodget_result
r"""Get task result to a sting. Args: indent (str): The ident for hierarchical tasks. Returns: str: The prin
Evopresent/camel/tasks/task.py:198
↓ 1 callersMethodget_returned_task_by_publisher
r"""Get a task from the channel that has been returned by the publisher.
Evopresent/camel/societies/workforce/task_channel.py:86
↓ 1 callersMethodget_schema
r"""Generates a schema string describing node and relationship properties and relationships. Returns: str: A string descr
Evopresent/camel/storages/graph_storages/nebula_graph.py:403
↓ 1 callersMethodget_scores_types
r"""get the scores types Returns: List[str]: list of scores types
Evopresent/camel/models/reward/skywork_model.py:82
↓ 1 callersFunctionget_sinusoid_encoding_table
Sinusoidal position encoding table. Args: n_position (int): the length of the input sequence d_hid (int): the dimension of the hidden state
video_generation/models/float/FMT.py:19
↓ 1 callersMethodget_size
(self)
Evopresent/docling/backend/pdf_backend.py:34
↓ 1 callersFunctionget_slide_style
(markdown_text=None, style_name=None)
Evopresent/evopresent/ppt/gen_pptx_code.py:225
↓ 1 callersFunctionget_system_information
r"""Gathers information about the operating system. Returns: dict: A dictionary containing various pieces of OS information.
Evopresent/camel/utils/commons.py:317
↓ 1 callersMethodget_task_by_id
r"""Get a task from the channel by its ID.
Evopresent/camel/societies/workforce/task_channel.py:172
↓ 1 callersMethodget_task_specify_prompt
r"""Gets the prompt for specifying a task for a given task type. Args: task_type (TaskType): The type of the task. Retur
Evopresent/camel/prompts/prompt_templates.py:111
↓ 1 callersMethodget_task_status
r"""Retrieves the status or result of a specific 3D model generation task using the Meshy API. Args: task_id (str): The I
Evopresent/camel/toolkits/meshy_toolkit.py:97
↓ 1 callersMethodget_text_cells
(self)
Evopresent/docling/backend/pdf_backend.py:20
↓ 1 callersFunctionget_text_embedding
Generate text embeddings for a list of text strings. Args: text (list[str]): A list of text strings. model: The model used f
Evopresent/utils/src/model_utils.py:143
↓ 1 callersMethodget_text_from_block
r"""Extracts plain text from a Notion block based on its type. Args: block (dict): A dictionary representing a Notion block.
Evopresent/camel/toolkits/notion_toolkit.py:204
↓ 1 callersMethodget_text_in_rect
(self, bbox: BoundingBox)
Evopresent/docling/backend/pdf_backend.py:16
↓ 1 callersMethodget_usage_dict
r"""Get usage dictionary when using the stream mode. Args: output_messages (list): List of output messages. prompt_to
Evopresent/camel/agents/chat_agent.py:1499
↓ 1 callersMethodhandle_batch_response
r"""Process a batch response from the model and extract the necessary information. Args: response (dict): Model response.
Evopresent/camel/agents/chat_agent.py:1208
↓ 1 callersMethodhandle_code
Handles monospace code snippets (pre).
Evopresent/docling/backend/html_backend.py:211
↓ 1 callersMethodhandle_figure
Handles image tags (img).
Evopresent/docling/backend/html_backend.py:417
↓ 1 callersMethodhandle_header
Handles header tags (h1, h2, etc.).
Evopresent/docling/backend/html_backend.py:169
← previousnext →801–900 of 2,738, ranked by callers