MCPcopy Create free account

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

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

↓ 5 callersMethodis_tools_added
r"""Whether tool calling is enabled for this agent. Returns: bool: Whether tool calling is enabled for this agent, determined
Evopresent/camel/agents/chat_agent.py:427
↓ 5 callersFunctionload_ckpt
(cur_model, ckpt_base_dir, model_name='model', force=True, strict=True, silent=False, load_opt=F
video_generation/MegaTTS3/tts/utils/commons/ckpt_utils.py:73
↓ 5 callersFunctionload_prompt_from_file
Load prompt text from file, with fallback to default if file doesn't exist.
train/src/train_multi_task.py:104
↓ 5 callersFunctionmatch_response
(response)
Evopresent/utils/wei_utils.py:198
↓ 5 callersMethodpost_process_cells
r""" Post-process the ocr and programmatic cells and return the final list of of cells
Evopresent/docling/models/base_ocr_model.py:122
↓ 5 callersMethodprev_numid
(self)
Evopresent/docling/backend/msword_backend.py:145
↓ 5 callersMethodrecord_message
r"""Records the externally provided message into the agent memory as if it were an answer of the :obj:`ChatAgent` from the backend. Currently,
Evopresent/camel/agents/chat_agent.py:539
↓ 5 callersMethodreset
r"""Resets the node to its initial state.
Evopresent/camel/societies/workforce/base.py:35
↓ 5 callersMethodretrieve
r"""Get a record list from the memory for creating model context. Returns: List[ContextRecord]: A record list for creating model
Evopresent/camel/memories/base.py:116
↓ 5 callersFunctionright
(rect)
Evopresent/utils/wei_utils.py:748
↓ 5 callersMethodrun
r"""Specify the given task prompt by providing more details. Args: task_prompt (Union[str, TextPrompt]): The original task
Evopresent/camel/agents/task_agent.py:93
↓ 5 callersFunctionsave_presentation
Save the current Presentation object to disk. :param prs: The Presentation object. :param file_name: The file path/name for the save
Evopresent/utils/pptx_utils.py:1794
↓ 5 callersMethodsequence_embedder
(self, sequence, dropout_prob, train=False)
video_generation/models/float/FMT.py:261
↓ 5 callersMethodstart
r"""Start the node.
Evopresent/camel/societies/workforce/base.py:53
↓ 5 callersMethodstep
r"""Executes a single step in the chat session, generating a response to the input message. Args: input_message (Union[Ba
Evopresent/camel/agents/chat_agent.py:550
↓ 5 callersMethodstr_to_int
(self, s: Optional[str], default: Optional[int] = 0)
Evopresent/docling/backend/msword_backend.py:200
↓ 5 callersMethodto_dict
r"""Converts the message to a dictionary. Returns: dict: The converted dictionary.
Evopresent/camel/messages/base.py:530
↓ 5 callersMethodunion
(self, x, y)
Evopresent/docling/utils/layout_postprocessor.py:27
↓ 4 callersMethod__init__
(self)
video_generation/MegaTTS3/tts/modules/aligner/whisper_small.py:247
↓ 4 callersMethod__init__
( self, block: Type[Union[SEBasicBlock, SEBottleneck]], layers: List[int], num
video_generation/models/__init__.py:282
↓ 4 callersMethod_download_records
( self, dataset_name: str, filepath: str, **kwargs: Any )
Evopresent/camel/datahubs/huggingface.py:333
↓ 4 callersMethod_get_input_buffer
(self, incremental_state)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:472
↓ 4 callersMethod_in_proj
(self, input, start=0, end=None)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:464
↓ 4 callersMethod_load_prompt_from_file
Load prompt text from file, with fallback to default if file doesn't exist.
train/eval.py:239
↓ 4 callersMethod_make_layer
( self, block: Type[Union[SEBasicBlock, SEBottleneck]], planes: int, blocks: i
video_generation/models/__init__.py:347
↓ 4 callersFunction_parse_font_size
Internal helper to convert a numeric font size (e.g., 12) to a python-pptx Pt object. If it's already a Pt, return as-is.
Evopresent/utils/pptx_utils.py:1235
↓ 4 callersMethod_prepare_inputs
(self, inputs)
train/src/trainer/grpo_trainer.py:480
↓ 4 callersFunction_px_to_pt
Approximate conversion from pixels to points. A common assumption is 1px ~ 0.75pt. Adjust as needed for your environment.
Evopresent/utils/pptx_utils.py:1227
↓ 4 callersMethod_run_async
(self, coro)
Evopresent/camel/storages/key_value_storages/redis.py:164
↓ 4 callersMethod_set_input_buffer
(self, incremental_state, buffer)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:479
↓ 4 callersMethod_sort_cells
Sort cells in native reading order.
Evopresent/docling/utils/layout_postprocessor.py:636
↓ 4 callersMethod_step_get_info
r"""Process the output of a chat step and gather information about the step. This method checks for termination conditions, updates t
Evopresent/camel/agents/chat_agent.py:1138
↓ 4 callersMethod_upload_records
( self, records: List[Record], dataset_name: str, filepath: str, **kwa
Evopresent/camel/datahubs/huggingface.py:359
↓ 4 callersMethod_validate_time_label
r"""Validates the format of a time label string. Args: time_label (str): The time label string to validate. Shoul
Evopresent/camel/storages/graph_storages/nebula_graph.py:617
↓ 4 callersFunctionaccount_token
(response)
Evopresent/utils/wei_utils.py:977
↓ 4 callersMethoddelete
r"""Deletes points from the collection based on either IDs or payload filters. Args: ids (Optional[List[str]], optional):
Evopresent/camel/storages/vectordb_storages/qdrant.py:325
↓ 4 callersFunctiondeps_list
(*pkgs)
train/setup.py:80
↓ 4 callersMethodembed
r"""Generates an embedding for the given text. Args: obj (T): The object for which to generate the embedding. **kwarg
Evopresent/camel/embeddings/base.py:43
↓ 4 callersMethodfind_containing
Find all intervals containing the point.
Evopresent/docling/utils/layout_postprocessor.py:135
↓ 4 callersMethodforward
(self, resource_context, input_text, time_step, p_w, t_w, dur_disturb=0.1, dur_alpha=1.0, **kwargs)
video_generation/MegaTTS3/tts/infer_cli.py:199
↓ 4 callersMethodgenerate_prov
( self, shape, slide_ind, text="", slide_size=Size(width=1, height=1) )
Evopresent/docling/backend/mspowerpoint_backend.py:101
↓ 4 callersMethodget_agent_history
r"""Get the message history of an agent. Args: name (str): The name of the agent. Returns: List[CollectorDat
Evopresent/camel/data_collector/base.py:195
↓ 4 callersMethodget_output_dim
r"""Returns the output dimension of the embeddings. Returns: int: The dimensionality of the embedding for the current model.
Evopresent/camel/embeddings/base.py:61
↓ 4 callersMethodget_size
(self)
Evopresent/docling/backend/pypdfium2_backend.py:229
↓ 4 callersMethodget_size
(self)
Evopresent/docling/backend/docling_parse_backend.py:182
↓ 4 callersMethodget_size
(self)
Evopresent/docling/backend/docling_parse_v2_backend.py:197
↓ 4 callersMethodget_system_prompt
r"""Generates a text prompt for the system role, using the specified :obj:`task_type` and :obj:`role_type`. Args: task_ty
Evopresent/camel/prompts/prompt_templates.py:63
↓ 4 callersMethodmodel_json_schema
(cls)
Evopresent/camel/personas/persona.py:81
↓ 4 callersMethodnormalize_str
r"""Normalize a string. Args: input_str: The input string to normalize. remove_punct: Whether to remove punctuation.
Evopresent/camel/benchmarks/gaia.py:447
↓ 4 callersFunctionpad_t_like_x
Function to reshape the time vector t by the number of dimensions of x. Parameters ---------- x : Tensor, shape (bs, *dim) repres
video_generation/MegaTTS3/tts/modules/llm_dit/cfm.py:47
↓ 4 callersMethodquery
r"""Executes a query and compiles the results. Args: query (str): Query string for information retriever. top_k (int,
Evopresent/camel/retrievers/bm25_retriever.py:88
↓ 4 callersMethodread_csv
r"""Reads a CSV file and returns a DataFrame. Args: file_path (str): The path to the CSV file. *args (Any): Additiona
Evopresent/camel/loaders/panda_reader.py:123
↓ 4 callersMethodreset
r"""Reset the workforce and all the child nodes under it. Can only be called when the workforce is not running.
Evopresent/camel/societies/workforce/workforce.py:227
↓ 4 callersMethodround
r"""Rounds a number to a specified number of decimal places. Args: a (float): The number to be rounded. decimal_place
Evopresent/camel/toolkits/math_toolkit.py:80
↓ 4 callersMethodsample
( self, data: dict, a_cfg_scale: float = 1.0, r_cfg_scale: float = 1.0, e_cfg_scale: float = 1.0,
video_generation/models/float/FLOAT.py:70
↓ 4 callersFunctionset_incremental_state
Helper for setting incremental state for an nn.Module.
video_generation/MegaTTS3/tts/modules/ar_dur/commons/seq_utils.py:77
↓ 4 callersMethodstep
r"""BabyAGI agent would pull the first task from the task list, complete the task based on the context, then creates new tasks and re-
Evopresent/camel/societies/babyagi_playing.py:224
↓ 4 callersFunctionstrip_consecutive_newlines
r"""Strips consecutive newlines from a string. Args: text (str): The string to strip. Returns: str: The string with consecut
Evopresent/camel/loaders/base_io.py:147
↓ 4 callersFunctionstrip_decorative_wrappers
(target, include_self=False, max_levels=3)
Evopresent/evopresent/ppt/mathjax_utils.py:261
↓ 4 callersMethodwalk
(self, element: Tag, doc: DoclingDocument)
Evopresent/docling/backend/html_backend.py:92
↓ 3 callersMethod__init__
( self, model: Optional[BaseModelBackend] = None, task_type: TaskType = TaskType.AI_SO
Evopresent/camel/agents/task_agent.py:60
↓ 3 callersMethod__new__
(cls, value: str, _)
Evopresent/docling/backend/xml/uspto_backend.py:50
↓ 3 callersMethod_add_property
(self, name: str, text: str)
Evopresent/docling/backend/xml/uspto_backend.py:385
↓ 3 callersMethod_create_rotary_embed
(self, *, width: int, length: int)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:134
↓ 3 callersMethod_deduplicate_cells
Ensure each cell appears only once, maintaining order of first appearance.
Evopresent/docling/utils/layout_postprocessor.py:559
↓ 3 callersMethod_delete_collection
r"""Deletes an existing collection from the database. Args: collection (str): Name of the collection to be deleted. *
Evopresent/camel/storages/vectordb_storages/qdrant.py:205
↓ 3 callersMethod_end_registered_element
(self, tag: str)
Evopresent/docling/backend/xml/uspto_backend.py:380
↓ 3 callersFunction_ensure_dir
Ensure directory exists
video_generation/tts_face_generator.py:355
↓ 3 callersFunction_format_offset_to_natural_language
r"""Converts a time offset in seconds to a more natural language description using hours as the unit, with decimal places to represent minutes
Evopresent/camel/toolkits/google_maps_toolkit.py:78
↓ 3 callersMethod_get_child_nodes_info
r"""Get the information of all the child nodes under this node.
Evopresent/camel/societies/workforce/workforce.py:246
↓ 3 callersFunction_handle_http_error
r"""Handles the HTTP response by checking the status code and returning an appropriate message if there is an error. Args: response (
Evopresent/camel/toolkits/twitter_toolkit.py:394
↓ 3 callersMethod_initialize_tools
r"""Helper method to initialize tools as FunctionTool instances.
Evopresent/camel/agents/chat_agent.py:253
↓ 3 callersMethod_load_samples_from_yaml
(self, data_path: str)
train/src/train_multi_task.py:252
↓ 3 callersMethod_load_task_samples
Load samples for a specific task type from the unified config.
train/src/train_multi_task.py:203
↓ 3 callersFunction_norm_caption
(text: str)
Evopresent/evopresent/ppt/ppt_gen_pipeline.py:67
↓ 3 callersFunction_parse_response
Parse the GPT response and ensure it's in the correct format.
Evopresent/evopresent/ppt/layout_checker.py:90
↓ 3 callersMethod_post_ready_tasks
r"""Send all the pending tasks that have all the dependencies met to the channel, or directly return if there is none. For now, we will
Evopresent/camel/societies/workforce/workforce.py:380
↓ 3 callersMethod_remove_overlapping_clusters
( self, clusters: List[Cluster], cluster_type: str, overlap_threshold: float =
Evopresent/docling/utils/layout_postprocessor.py:474
↓ 3 callersFunction_render_html_to_image
Render HTML to a PNG screenshot and return the file path, or None on failure. Uses Playwright for better performance and reliability.
Evopresent/evopresent/ppt/layout_checker.py:166
↓ 3 callersMethod_start_registered_elements
( self, tag: str, attributes: xml.sax.xmlreader.AttributesImpl )
Evopresent/docling/backend/xml/uspto_backend.py:356
↓ 3 callersMethod_step_model_response
r"""Internal function for agent step model response.
Evopresent/camel/agents/chat_agent.py:1083
↓ 3 callersMethod_validate_node
r"""Validate if the object is a valid Node. Args: node (Node): Object to be validated. Returns: bool: True i
Evopresent/camel/agents/knowledge_graph_agent.py:181
↓ 3 callersMethodadd_node
r"""Add a node with the specified tag and properties. Args: node_id (str): The ID of the node. tag_name (str): The ta
Evopresent/camel/storages/graph_storages/nebula_graph.py:277
↓ 3 callersMethodbuild
Rebuild this table on a pptx slide.
Evopresent/utils/src/presentation.py:905
↓ 3 callersFunctionchunkify
Yield successive chunks of chunk_size from the iterable.
Evopresent/docling/utils/utils.py:11
↓ 3 callersFunctionclassify_deficiencies
Uses an external LLM (OpenAI API) to classify the model's free-text output into a predefined set of main deficiency categories.
train/src/train_multi_task.py:433
↓ 3 callersFunctionconfigure_clients
(html_selector: str, checker_selector: str)
Evopresent/evopresent/ppt/gen_pptx_code.py:127
↓ 3 callersFunctioncreate_file_from_raw_bytes
r"""Reads raw bytes and returns a File object. Args: raw_bytes (bytes): The raw bytes content of the file. filename (str): The na
Evopresent/camel/loaders/base_io.py:52
↓ 3 callersMethoddict
(self, *args, **kwargs)
Evopresent/camel/personas/persona.py:86
↓ 3 callersMethodensure_tag_exists
r"""Ensures a tag is created in the NebulaGraph database. If the tag already exists, it does nothing. Args: tag_name (str
Evopresent/camel/storages/graph_storages/nebula_graph.py:241
↓ 3 callersMethodexec_run
r"""Run a command inside this container. Similar to `docker exec`. Args: task (TaskConfig): The configuration for the task.
Evopresent/camel/runtime/docker_runtime.py:138
↓ 3 callersFunctionexpand_states
(h, mel2token)
video_generation/MegaTTS3/tts/modules/ar_dur/ar_dur_predictor.py:41
↓ 3 callersFunctionextract_answer_content
Extract content from <answer></answer> tags
train/eval.py:78
↓ 3 callersFunctionextract_fill
(shape: BaseShape)
Evopresent/utils/src/utils.py:209
↓ 3 callersFunctionfill_content
(agent, prompt, num_retries, existing_code='')
Evopresent/utils/wei_utils.py:464
↓ 3 callersMethodforward_ling_encoder
( self, txt_tokens, ling_feas, char_tokens, ph2char, bert_embed, spk_id, spk_embed, mels_timbre)
video_generation/MegaTTS3/tts/modules/ar_dur/ar_dur_predictor.py:87
↓ 3 callersMethodfrom_dict
r"""Reconstruct a :obj:`MemoryRecord` from the input dict. Args: record_dict(Dict[str, Any]): A dict generated by :meth:`to_dict`
Evopresent/camel/memories/records.py:55
↓ 3 callersMethodfrom_role_files
r"""Generate role names from the file. Returns: Generator[Tuple, None, None]: A generator that yields tuples of a
Evopresent/camel/generators.py:198
↓ 3 callersMethodget_answer
r"""Get an answer from the chat agent for a given question. Args: question (str): The question to ask. context (str):
Evopresent/camel/datagen/cotdatagen.py:143
↓ 3 callersMethodget_dataset_client
r"""Get a dataset client from the Apify platform. Args: dataset_id (str): The ID of the dataset to get the client for. R
Evopresent/camel/loaders/apify_reader.py:105
← previousnext →101–200 of 2,738, ranked by callers