MCPcopy Create free account

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

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

↓ 1 callersMethodbuffered_future_mask
(self, tensor)
video_generation/MegaTTS3/tts/modules/ar_dur/ar_dur_predictor.py:159
↓ 1 callersMethodbuild
r"""Build the API server. Returns: RemoteHttpRuntime: The current runtime.
Evopresent/camel/runtime/remote_http_runtime.py:55
↓ 1 callersMethodbuild_model
(self, device)
video_generation/MegaTTS3/tts/infer_cli.py:95
↓ 1 callersMethodbuild_slide
Build a slide in the presentation.
Evopresent/utils/src/presentation.py:1248
↓ 1 callersFunctionbuild_variables_block
(explanation_dict)
Evopresent/evopresent/ppt/mathjax_utils.py:243
↓ 1 callersFunctioncal_angle
(position, hid_idx)
video_generation/models/float/FMT.py:26
↓ 1 callersFunctioncalculate_compare_metrics
Calculate overall metrics for comparison task.
train/eval.py:704
↓ 1 callersFunctioncalculate_per_class_metrics
Calculate per-category metrics for deficiency tasks only.
train/eval.py:596
↓ 1 callersFunctioncalculate_rouge_l_score
r"""Calculate rouge l score between hypothesis and reference.
Evopresent/camel/benchmarks/apibank.py:410
↓ 1 callersFunctioncalculate_score_metrics
Calculate score prediction metrics.
train/eval.py:642
↓ 1 callersFunctioncalculate_task_metrics
Calculate detailed metrics for each task type (F1, accuracy, etc.) Note: This function assumes answer_content is already extracted from <answ
train/src/train_multi_task.py:551
↓ 1 callersMethodchat
r"""Runs the agent in a chat conversation mode. Args: *args (Any): Positional arguments to pass to the agent. remote
Evopresent/camel/agents/tool_agents/hugging_face_tool_agent.py:184
↓ 1 callersMethodcheck_model_config
r"""Check whether the input model configuration contains unexpected arguments Raises: ValueError: If the model configurat
Evopresent/camel/models/base_model.py:95
↓ 1 callersMethodcheck_overlap
Check if two bboxes overlap sufficiently.
Evopresent/docling/utils/layout_postprocessor.py:84
↓ 1 callersFunctionchunk_text_chinese
(text, limit=60)
video_generation/MegaTTS3/tts/utils/text_utils/split_text.py:18
↓ 1 callersFunctionchunk_text_chinesev2
Split Chinese text into chunks, prioritizing chunks ending with period, exclamation or question marks, then considering commas and other punc
video_generation/MegaTTS3/tts/utils/text_utils/split_text.py:85
↓ 1 callersFunctionclassify_categories
Uses OpenAI API to classify whether each main category has deficiencies (booleans). Returns a list of category names predicted as True.
train/eval.py:188
↓ 1 callersFunctionclean_node
(n)
Evopresent/evopresent/ppt/mathjax_utils.py:265
↓ 1 callersMethodclear_buffer
(self, input, encoder_out=None, encoder_padding_mask=None, incremental_state=None)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:604
↓ 1 callersMethodclear_buffer
(self, input, encoder_out=None, encoder_padding_mask=None, incremental_state=None)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:631
↓ 1 callersMethodclear_images
(self, shapes: list[ShapeElement])
Evopresent/utils/src/presentation.py:1265
↓ 1 callersMethodclear_slides
Delete all slides from the presentation.
Evopresent/utils/src/presentation.py:1256
↓ 1 callersMethodclear_text
(self, shapes: list[BaseShape])
Evopresent/utils/src/presentation.py:1272
↓ 1 callersMethodclient
(self)
Evopresent/camel/bots/discord/discord_app.py:383
↓ 1 callersFunctioncombine_audio_segments
(segments, crossfade_duration=0.16, sr=24000)
video_generation/MegaTTS3/tts/utils/audio_utils/io.py:83
↓ 1 callersFunctioncombine_video_chunks
Merge multiple video chunks into one complete video using ffmpeg concat mode
video_generation/html_to_video_complete.py:286
↓ 1 callersFunctioncompare_function_calls
r"""Compare the function name and arguments of agent_call and ground_truth_call. Args: agent_call (str): Function call by agent.
Evopresent/camel/benchmarks/nexus.py:500
↓ 1 callersFunctioncomparison_reward
For comparison tasks only: - Extract text from the <answer> tag. - If it exactly matches the solution (e.g., "Slide A" or "Slide B"),
train/src/train_multi_task.py:776
↓ 1 callersMethodcompletion_cost
(self)
Evopresent/camel/utils/token_counting.py:329
↓ 1 callersMethodcompose
r"""compose task result by the sub-tasks. Args: agent (ChatAgent): An agent that used to compose the task result. tem
Evopresent/camel/tasks/task.py:247
↓ 1 callersFunctioncompose_slide_video_png_with_audio
Composite PNG background with TTS audio into a video (no face overlay).
video_generation/html_to_video_complete.py:216
↓ 1 callersFunctioncompose_slide_video_with_face
Composite PNG background with face video into a single encoded output video (audio from face video).
video_generation/html_to_video_complete.py:192
↓ 1 callersMethodcompute_conditional_flow
Compute the conditional vector field ut(x1|x0) = x1 - x0, see Eq.(15) [1]. Parameters ---------- x0 : Tensor, shape
video_generation/MegaTTS3/tts/modules/llm_dit/cfm.py:161
↓ 1 callersMethodcompute_mu_t
Compute the mean of the probability path N(t * x1 + (1 - t) * x0, sigma), see (Eq.14) [1]. Parameters ---------- x0
video_generation/MegaTTS3/tts/modules/llm_dit/cfm.py:92
↓ 1 callersMethodconstruct_data
r"""Save the machine-generated tasks to the specified output path in JSON format.
Evopresent/camel/datagen/self_instruct/self_instruct.py:359
↓ 1 callersFunctionconstruct_prompt
r"Construct prompt from tools and input.
Evopresent/camel/benchmarks/nexus.py:408
↓ 1 callersFunctionconstruct_tool_descriptions
r"""Construct tool descriptions from function definitions and descriptions.
Evopresent/camel/benchmarks/nexus.py:364
↓ 1 callersFunctionconv1x1
(in_planes: int, out_planes: int, stride: int = 1)
video_generation/models/__init__.py:178
↓ 1 callersMethodconvert
r"""Convert the collected data into a dictionary.
Evopresent/camel/data_collector/sharegpt_collector.py:97
↓ 1 callersMethodconvert
r"""Convert the collected data into a dictionary.
Evopresent/camel/data_collector/alpaca_collector.py:64
↓ 1 callersMethodconvert
(self)
Evopresent/docling/backend/html_backend.py:68
↓ 1 callersMethodconvert_choice
r"""Convert the content to the specified choice. Args: content (str): The content to be converted. choices (List[str]
Evopresent/camel/schemas/outlines_converter.py:155
↓ 1 callersMethodconvert_grammar
r"""Convert the content to the specified grammar. Args: content (str): The content to be converted. grammar (str): Th
Evopresent/camel/schemas/outlines_converter.py:172
↓ 1 callersMethodconvert_json
r"""Convert the content to the specified JSON schema given by output_schema. Args: content (str): The content to be conve
Evopresent/camel/schemas/outlines_converter.py:84
↓ 1 callersMethodconvert_pydantic
r"""Convert the content to the specified Pydantic schema. Args: content (str): The content to be converted. output_sc
Evopresent/camel/schemas/outlines_converter.py:107
↓ 1 callersMethodconvert_regex
r"""Convert the content to the specified regex pattern. Args: content (str): The content to be converted. regex_patte
Evopresent/camel/schemas/outlines_converter.py:67
↓ 1 callersFunctionconvert_to_wav
(wav_path)
video_generation/MegaTTS3/tts/infer_cli.py:39
↓ 1 callersFunctionconvert_to_wav_bytes
(audio_binary)
video_generation/MegaTTS3/tts/utils/audio_utils/io.py:73
↓ 1 callersMethodconvert_type
r"""Convert the content to the specified type. The following types are currently available: 1. int 2. float
Evopresent/camel/schemas/outlines_converter.py:129
↓ 1 callersMethodcount_tokens_from_messages
r"""Count the number of tokens in the messages using the specific tokenizer. Args: messages (List[Dict]): message list wi
Evopresent/camel/models/base_model.py:105
↓ 1 callersFunctioncreate_chunks
r"""Returns successive n-sized chunks from provided text. Split a text into smaller chunks of size n". Args: text (str): The text to
Evopresent/camel/utils/commons.py:489
↓ 1 callersMethodcreate_context
r"""An abstract method to create conversational context from the chat history. Constructs the context from provided records. The spec
Evopresent/camel/memories/base.py:85
↓ 1 callersFunctioncreate_directories
Create necessary directories if they don't exist
Evopresent/evopresent/ppt/ppt_gen_pipeline.py:38
↓ 1 callersMethodcreate_element_from_text
r"""Creates a Text element from a given text input, with optional metadata and embeddings. Args: text (str): The text con
Evopresent/camel/loaders/unstructured_io.py:43
↓ 1 callersFunctioncreate_file
r"""Reads an uploaded file and returns a File object. Args: file (BytesIO): A BytesIO object representing the contents of the
Evopresent/camel/loaders/base_io.py:25
↓ 1 callersFunctioncreate_hash
(string: str)
Evopresent/docling/utils/utils.py:40
↓ 1 callersFunctioncut_wav
(wav_path, max_len=28)
video_generation/MegaTTS3/tts/infer_cli.py:57
↓ 1 callersMethoddecide_and_apply_enrichment
Apply enrichment based on scholar_request in the slide JSON. Args: paper_markdown: The paper content in markdown format
Evopresent/evopresent/ppt/scholar_agent.py:132
↓ 1 callersMethoddecode
(self, latent)
video_generation/MegaTTS3/tts/modules/wavvae/decoder/wavvae_v3.py:52
↓ 1 callersMethoddecode_latent_into_image
(self, s_r: torch.Tensor , s_r_feats: list, r_d: torch.Tensor)
video_generation/models/float/FLOAT.py:57
↓ 1 callersMethoddecode_list
Transform a sequence of int ids into a their string versions. This method supports transforming individual input/output ids to their
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:95
↓ 1 callersMethoddecode_list
(self, ids)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:183
↓ 1 callersMethoddefault_aud_loader
Default audio loader
video_generation/tts_face_generator.py:240
↓ 1 callersMethoddefault_img_loader
Default image loader
video_generation/tts_face_generator.py:235
↓ 1 callersMethoddelete
r"""Deletes an installation record by guild ID.
Evopresent/camel/bots/discord/discord_store.py:42
↓ 1 callersMethoddelete_collection
r"""Deletes the entire collection in the Qdrant storage.
Evopresent/camel/storages/vectordb_storages/qdrant.py:321
↓ 1 callersFunctiondetermine_color_scheme
(equation_text, importance)
Evopresent/evopresent/ppt/mathjax_utils.py:10
↓ 1 callersFunctiondetermine_equation_importance
(equation_text, context=None)
Evopresent/evopresent/ppt/mathjax_utils.py:7
↓ 1 callersMethoddevice
(self)
video_generation/MegaTTS3/tts/modules/aligner/whisper_small.py:275
↓ 1 callersMethoddisplay_options
r"""Displays the options to the user. Args: messages (Sequence[BaseMessage]): A list of `BaseMessage` objects. Returns:
Evopresent/camel/human.py:53
↓ 1 callersFunctiondist_load
(path)
video_generation/MegaTTS3/tts/utils/commons/ckpt_utils.py:28
↓ 1 callersMethoddocs
( self, format_options: Dict[InputFormat, "FormatOption"] )
Evopresent/docling/datamodel/document.py:235
↓ 1 callersMethoddownload
r"""Download APIBank dataset and code from Github.
Evopresent/camel/benchmarks/apibank.py:110
↓ 1 callersMethoddownload
r"""Download the benchmark data. Returns: BaseBenchmark: The benchmark instance.
Evopresent/camel/benchmarks/base.py:66
↓ 1 callersMethoddownload
r"""Download the Nexus Functional Calling Benchmark dataset.
Evopresent/camel/benchmarks/nexus.py:110
↓ 1 callersMethoddownload
r"""Download the RAGBench dataset.
Evopresent/camel/benchmarks/ragbench.py:263
↓ 1 callersMethoddownload
r"""Download the APIBench dataset.
Evopresent/camel/benchmarks/apibench.py:168
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False )
Evopresent/docling/models/table_structure_model.py:86
↓ 1 callersMethoddownload_models
( repo_id: str, local_dir: Optional[Path] = None, force: bool = False, progres
Evopresent/docling/models/picture_description_vlm_model.py:56
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False, )
Evopresent/docling/models/code_formula_model.py:113
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False )
Evopresent/docling/models/document_picture_classifier.py:104
↓ 1 callersFunctiondownload_url_with_progress
(url: str, progress: bool = False)
Evopresent/docling/utils/utils.py:47
↓ 1 callersMethoddraw_table_and_cells
( self, conv_res: ConversionResult, page: Page, tbl_list: Iterable[Table],
Evopresent/docling/models/table_structure_model.py:103
↓ 1 callersFunctiondur_pred
(self, ctx_dur_tokens, incremental_state_dur_prompt, ph_pred, tone_pred, seg_i, dur_disturb, dur_alpha, is_fir
video_generation/MegaTTS3/tts/frontend_function.py:95
↓ 1 callersFunctionedit_distance
(text1: str, text2: str)
Evopresent/utils/src/utils.py:92
↓ 1 callersMethodembed_audio
(self, mel: torch.Tensor)
video_generation/MegaTTS3/tts/modules/aligner/whisper_small.py:261
↓ 1 callersFunctionenc_dec_mask
(T, S, frame_width = 1, expansion = 2)
video_generation/models/float/FMT.py:12
↓ 1 callersMethodencode_identity_into_motion
(self, x_r: torch.Tensor)
video_generation/models/float/FLOAT.py:51
↓ 1 callersMethodencode_image_into_latent
(self, x: torch.Tensor)
video_generation/models/float/FLOAT.py:45
↓ 1 callersMethodencode_latent
(self, audio)
video_generation/MegaTTS3/tts/modules/wavvae/decoder/wavvae_v3.py:41
↓ 1 callersFunctionencode_question
r"""Encode multiple prompt instructions into a single string.
Evopresent/camel/benchmarks/apibench.py:60
↓ 1 callersMethodensure_edge_type_exists
r"""Ensures that a specified edge type exists in the NebulaGraph database. If the edge type already exists, this method does nothing.
Evopresent/camel/storages/graph_storages/nebula_graph.py:203
↓ 1 callersFunctionequivalent_length_with_forced_breaks
Returns the "width-equivalent length" of the text when forced newlines are respected. Each physical line (including partial) is counted as if
Evopresent/utils/wei_utils.py:1094
↓ 1 callersMethodevaluate
r"""Evaluate the messages using the reward model. Args: messages (List[Dict[str, str]]): A list of messages where each
Evopresent/camel/models/reward/evaluator.py:30
↓ 1 callersFunctionevaluate_response
( response, question_id, dataset_name, api_database, qa_pairs, ast_database )
Evopresent/camel/benchmarks/apibench.py:452
↓ 1 callersMethodexecute
(self, in_doc: InputDocument, raises_on_error: bool)
Evopresent/docling/pipeline/base_pipeline.py:35
↓ 1 callersMethodexist
r"""Check if a task with the given id exists.
Evopresent/camel/tasks/task.py:314
↓ 1 callersFunctionexport_documents
( conv_results: Iterable[ConversionResult], output_dir: Path, export_json: bool, export_html:
Evopresent/docling/cli/main.py:80
↓ 1 callersFunctionextract_layout_sync
Synchronous wrapper for extract_layout_async.
Evopresent/evopresent/ppt/layout_extractor.py:249
↓ 1 callersMethodextract_table_cell_text
Extract text from a table cell, including lists with indents.
Evopresent/docling/backend/html_backend.py:406
← previousnext →701–800 of 2,738, ranked by callers