Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UCSB-AI/EvoPresent
/ functions
Functions
2,738 in github.com/UCSB-AI/EvoPresent
⨍
Functions
2,738
◇
Types & classes
627
↳
Endpoints
2
↓ 3 callers
Method
get_greek_from_iso8879
Get an HTML entity of a greek letter in ISO 8879. Args: The text to transform, as an ISO 8879 entitiy. Returns:
Evopresent/docling/backend/xml/uspto_backend.py:1878
↓ 3 callers
Function
get_incremental_state
Helper for getting incremental state for an nn.Module.
video_generation/MegaTTS3/tts/modules/ar_dur/commons/seq_utils.py:69
↓ 3 callers
Method
get_model_input
(self, sample_id: int)
Evopresent/camel/benchmarks/apibank.py:485
↓ 3 callers
Function
get_openai_tool_schema
r"""Generates an OpenAI JSON schema from a given Python function. This function creates a schema compatible with OpenAI's API specifications,
Evopresent/camel/toolkits/function_tool.py:90
↓ 3 callers
Method
get_prompt_from_key
r"""Generates a text prompt using the specified :obj:`task_type` and :obj:`key`. Args: task_type (TaskType): The type of
Evopresent/camel/prompts/prompt_templates.py:39
↓ 3 callers
Method
get_subscript
Get a text in subscript as HTML entities. Args: The text to transform. Returns: The text in subscript as HTM
Evopresent/docling/backend/xml/uspto_backend.py:1856
↓ 3 callers
Method
get_superscript
Get a text in superscript as HTML entities. Args: text: The text to transform. Returns: The text in superscr
Evopresent/docling/backend/xml/uspto_backend.py:1845
↓ 3 callers
Method
get_wav2vec2_feature
(self, a: torch.Tensor, seq_len:int)
video_generation/models/float/FLOAT.py:202
↓ 3 callers
Method
in_proj_qkv
(self, query)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:432
↓ 3 callers
Method
init_messages
r"""Initializes the stored messages list with the current system message.
Evopresent/camel/agents/chat_agent.py:525
↓ 3 callers
Method
is_mathjax_already_injected
Check whether MathJax has been injected into HTML.
Evopresent/evopresent/ppt/stable_mathjax.py:42
↓ 3 callers
Function
make_kernel
(k)
video_generation/models/float/styledecoder.py:36
↓ 3 callers
Function
normalize
(s)
Evopresent/evopresent/ppt/mathjax_utils.py:396
↓ 3 callers
Function
object_to_dict
(obj, result=None, exclude=None)
Evopresent/utils/src/utils.py:269
↓ 3 callers
Method
parse
(self)
video_generation/options/base_options.py:4
↓ 3 callers
Function
parse_function_call
r"""Parse a function call string to extract the function name, positional arguments, and keyword arguments, including nested function calls.
Evopresent/camel/benchmarks/nexus.py:414
↓ 3 callers
Method
preprocess
(self, audio_bytes, latent_file=None, topk_dur=1, **kwargs)
video_generation/MegaTTS3/tts/infer_cli.py:160
↓ 3 callers
Method
refresh_schema
r"""Refreshes the Neo4j graph schema information by querying the database for node properties, relationship properties, and relationsh
Evopresent/camel/storages/graph_storages/neo4j_graph.py:249
↓ 3 callers
Method
reset
r"""Resets the :obj:`ChatAgent` to its initial state.
Evopresent/camel/agents/chat_agent.py:400
↓ 3 callers
Function
resolve_item
Find item in document from a reference path
Evopresent/docling/utils/glm_utils.py:21
↓ 3 callers
Method
retrieve
(self)
Evopresent/camel/memories/agent_memories.py:90
↓ 3 callers
Function
retry_request
r"""Retries a function in case of any errors. Args: func (Callable): The function to be retried. retries (int): Number of retry a
Evopresent/camel/utils/commons.py:623
↓ 3 callers
Method
run_vector_retriever
r"""Executes the automatic vector retriever process using vector storage. Args: query (str): Query string for information
Evopresent/camel/retrievers/auto_retriever.py:134
↓ 3 callers
Function
set_hparams
(config='', exp_name='', hparams_str='', print_hparams=True, global_hparams=True)
video_generation/MegaTTS3/tts/utils/commons/hparams.py:103
↓ 3 callers
Method
shape_filter
Filter shapes in the slide by type. Args: shape_type (type): The type of shapes to filter. shapes (list[Shap
Evopresent/utils/src/presentation.py:1069
↓ 3 callers
Method
to_pptc
Convert the text frame to PPTC format. Args: father_idx (int): The index of the parent shape. Returns:
Evopresent/utils/src/presentation.py:161
↓ 3 callers
Function
torch_load_dist
(path, map_location='cpu')
video_generation/MegaTTS3/tts/utils/commons/ckpt_utils.py:48
↓ 3 callers
Method
unload
(self)
Evopresent/docling/datamodel/document.py:225
↓ 3 callers
Function
upfirdn2d
(input, kernel, up=1, down=1, pad=(0, 0))
video_generation/models/float/styledecoder.py:32
↓ 3 callers
Method
verify_answer
r"""Verify if a generated answer is semantically equivalent to the golden answer for a given question. Args: question (st
Evopresent/camel/datagen/cotdatagen.py:170
↓ 3 callers
Method
wait
r"""Wait for the API Server to be ready. Args: timeout (int): The number of seconds to wait. (default: :obj: `10`) Retur
Evopresent/camel/runtime/docker_runtime.py:365
↓ 3 callers
Method
write_record
r"""Writes a record to the memory, appending it to existing ones. Args: record (MemoryRecord): Record to be added to the memory.
Evopresent/camel/memories/base.py:40
↓ 3 callers
Method
write_records
(self, records: List[MemoryRecord])
Evopresent/camel/memories/agent_memories.py:96
↓ 2 callers
Method
__init__
( self, model_type: Union[ModelType, str], model_config_dict: Optional[Dict[str, Any]]
Evopresent/camel/models/qwen_model.py:67
↓ 2 callers
Method
__init__
(self, *args)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/layers.py:42
↓ 2 callers
Method
__init__
(self, in_channels: int, out_channels: int, kernel_size: int, stride: int = 1, dilation: int
video_generation/MegaTTS3/tts/modules/wavvae/encoder/common_modules/conv.py:122
↓ 2 callers
Method
__init__
(self, opt)
video_generation/models/float/FLOAT.py:18
↓ 2 callers
Function
_add_child_elements
(container_el, doc, obj, pelem)
Evopresent/docling/utils/glm_utils.py:332
↓ 2 callers
Method
_assign
(self, target: ast.expr, value: Any)
Evopresent/camel/interpreters/internal_python_interpreter.py:323
↓ 2 callers
Method
_check_code_type
(self, code_type: str)
Evopresent/camel/interpreters/subprocess_interpreter.py:178
↓ 2 callers
Method
_check_code_type
(self, code_type: str)
Evopresent/camel/interpreters/docker_interpreter.py:228
↓ 2 callers
Method
_check_edges
r"""Checks if an entity has any remaining edges in the graph. Args: entity_id (str): The identifier of the entity. Retur
Evopresent/camel/storages/graph_storages/nebula_graph.py:526
↓ 2 callers
Method
_check_edges
r"""Checks if the given entity has any relationships in the graph database. Args: entity (str): The unique identifier of
Evopresent/camel/storages/graph_storages/neo4j_graph.py:403
↓ 2 callers
Method
_cleanup
r"""Clean up the API server when exiting.
Evopresent/camel/runtime/remote_http_runtime.py:71
↓ 2 callers
Function
_configure_library_logging
()
Evopresent/camel/logger.py:23
↓ 2 callers
Method
_create_collection
r"""Creates a new collection in the database. Args: collection_name (str): Name of the collection to be created. size
Evopresent/camel/storages/vectordb_storages/qdrant.py:170
↓ 2 callers
Method
_create_collection
r"""Creates a new collection in the database. Args: collection_name (str): Name of the collection to be created. **kw
Evopresent/camel/storages/vectordb_storages/milvus.py:114
↓ 2 callers
Method
_create_output
r"""Helper method to generate output from context units. This method converts the provided context units into a format suitable for o
Evopresent/camel/memories/context_creators/score_based.py:129
↓ 2 callers
Method
_decompose_task
r"""Decompose the task into subtasks. This method will also set the relationship between the task and its subtasks. Returns:
Evopresent/camel/societies/workforce/workforce.py:111
↓ 2 callers
Method
_delete_entity
r"""Deletes an entity from the Neo4j database based on its unique identifier. Args: entity (str): The unique identifier o
Evopresent/camel/storages/graph_storages/neo4j_graph.py:389
↓ 2 callers
Method
_download_video
r"""Download the video and optionally split it into chunks. yt-dlp will detect if the video is downloaded automatically so there is n
Evopresent/camel/toolkits/video_toolkit.py:120
↓ 2 callers
Method
_execute_condition
(self, condition: ast.Compare)
Evopresent/camel/interpreters/internal_python_interpreter.py:387
↓ 2 callers
Function
_expand_and_clamp_bbox
Expand bbox by ratios and clamp to page bounds.
Evopresent/evopresent/ppt/parse_raw.py:48
↓ 2 callers
Method
_get_collection_info
r"""Retrieves details of an existing collection. Args: collection_name (str): Name of the collection to be checked. Retu
Evopresent/camel/storages/vectordb_storages/qdrant.py:231
↓ 2 callers
Method
_get_collection_info
r"""Retrieves details of an existing collection. Args: collection_name (str): Name of the collection to be checked. Retu
Evopresent/camel/storages/vectordb_storages/milvus.py:216
↓ 2 callers
Method
_get_current_level
(self, parents)
Evopresent/docling/backend/asciidoc_backend.py:274
↓ 2 callers
Method
_get_dep_tasks_info
(dependencies: List[Task])
Evopresent/camel/societies/workforce/worker.py:65
↓ 2 callers
Method
_get_embedding
r"""Cache embeddings to reduce recomputation.
Evopresent/camel/personas/persona_hub.py:231
↓ 2 callers
Function
_get_full_incremental_state_key
(module_instance, key)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/seq_utils.py:57
↓ 2 callers
Method
_get_input_buffer
(self, incremental_state)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:129
↓ 2 callers
Method
_get_pipeline
(self, doc_format: InputFormat)
Evopresent/docling/document_converter.py:272
↓ 2 callers
Method
_get_relative_embeddings
(self, relative_embeddings, length)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:196
↓ 2 callers
Method
_get_search_results
r"""Retrieves search results from the arXiv API based on the provided query and optional paper IDs. Args: query (str): Th
Evopresent/camel/toolkits/arxiv_toolkit.py:37
↓ 2 callers
Function
_get_user_info
r"""Generates a formatted report of the user information from the JSON response. Args: username (Optional[str], optional): The userna
Evopresent/camel/toolkits/twitter_toolkit.py:254
↓ 2 callers
Function
_hash_buf
(binary_stream)
Evopresent/docling/utils/utils.py:25
↓ 2 callers
Method
_init_doc
( self, backend: Type[AbstractDocumentBackend], path_or_stream: Union[BytesIO, Path],
Evopresent/docling/datamodel/document.py:177
↓ 2 callers
Method
_init_vocab
Initialize vocabulary with tokens from token_generator.
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:229
↓ 2 callers
Method
_is_list_item
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:313
↓ 2 callers
Method
_is_table_line
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:352
↓ 2 callers
Method
_log_final_output
r"""Log final messages or warnings about multiple responses.
Evopresent/camel/agents/chat_agent.py:845
↓ 2 callers
Method
_log_task_specific_metrics
Log detailed metrics (F1, accuracy, etc.) for each task type.
train/src/trainer/grpo_trainer.py:1052
↓ 2 callers
Method
_log_task_specific_rewards
Log rewards separately for each task type (score, deficiency, comparison).
train/src/trainer/grpo_trainer.py:1020
↓ 2 callers
Method
_mime_from_extension
(ext)
Evopresent/docling/datamodel/document.py:347
↓ 2 callers
Method
_parse_text
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:429
↓ 2 callers
Method
_populate_table_as_grid
(self, table_data)
Evopresent/docling/backend/asciidoc_backend.py:359
↓ 2 callers
Method
_post_task
(self, task: Task, assignee_id: str)
Evopresent/camel/societies/workforce/workforce.py:296
↓ 2 callers
Method
_prepare_request
( self, messages: List[OpenAIMessage], response_format: Optional[Type[BaseModel]] = No
Evopresent/camel/models/openrouter_model.py:87
↓ 2 callers
Function
_process_page
()
Evopresent/docling/utils/export.py:104
↓ 2 callers
Function
_process_slide
Process single slide
video_generation/tts_face_generator.py:490
↓ 2 callers
Method
_reduce_message_options
r"""Processes a sequence of chat messages, returning the processed message. If multiple messages are provided and `with_critic_in_the_
Evopresent/camel/societies/role_playing.py:408
↓ 2 callers
Function
_render_html_to_image_async
Async version using Playwright for HTML to image rendering.
Evopresent/evopresent/ppt/layout_checker.py:176
↓ 2 callers
Function
_sanitize_latex_equation
Sanitize LaTeX for safe MathJax rendering inside HTML. - Normalize whitespace - Undo any prior HTML entities, then escape <, >, & - Conve
Evopresent/evopresent/ppt/parse_raw.py:74
↓ 2 callers
Method
_set_input_buffer
(self, incremental_state, buffer)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:136
↓ 2 callers
Method
_set_parser
(self, doctype: str)
Evopresent/docling/backend/xml/uspto_backend.py:87
↓ 2 callers
Function
_set_run_font_color
Manually create or replace the solidFill element in this run's XML to force the color if run.font.color is None or doesn't exist yet.
Evopresent/utils/pptx_utils.py:1719
↓ 2 callers
Method
_shorten_underscore_sequences
(self, markdown_text: str, max_length: int = 10)
Evopresent/docling/backend/md_backend.py:39
↓ 2 callers
Function
_simplify_html_for_checker
Remove embedded data URLs and other huge payloads to keep token size small.
Evopresent/evopresent/ppt/layout_checker.py:133
↓ 2 callers
Method
_sort_clusters
Sort clusters in reading order (top-to-bottom, left-to-right).
Evopresent/docling/utils/layout_postprocessor.py:640
↓ 2 callers
Function
_standardize_url
r"""Standardize the given URL.
Evopresent/camel/toolkits/video_toolkit.py:31
↓ 2 callers
Method
_step_token_exceed
r"""Return trivial response containing number of tokens and information of called functions when the number of tokens exceeds. Args:
Evopresent/camel/agents/chat_agent.py:1335
↓ 2 callers
Method
_step_tool_call_and_update
r"""Processes a function call within the chat completion response, records the function call in the provided list of tool calls and up
Evopresent/camel/agents/chat_agent.py:971
↓ 2 callers
Function
_strip_leading_figure_table_prefix
(text: str)
Evopresent/evopresent/ppt/ppt_gen_pipeline.py:54
↓ 2 callers
Method
_structure_output_with_function
r"""Internal function of structuring the output of the agent based on the given output schema. Args: response_format (Typ
Evopresent/camel/agents/chat_agent.py:1011
↓ 2 callers
Method
_to_chat_completion
( self, response: ParsedChatCompletion )
Evopresent/camel/models/base_model.py:118
↓ 2 callers
Method
_validate_import
(self, full_name: str)
Evopresent/camel/interpreters/internal_python_interpreter.py:466
↓ 2 callers
Method
add_subtask
r"""Add a subtask to the current task. Args: task (Task): The subtask to be added.
Evopresent/camel/tasks/task.py:154
↓ 2 callers
Function
agent_call
r"""Add messages to agent memory and get response.
Evopresent/camel/benchmarks/apibank.py:382
↓ 2 callers
Method
apply_sparse_mask
(self, attn_weights, tgt_len, src_len, bsz)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/transformer.py:487
↓ 2 callers
Function
ast_parse
(candidate)
Evopresent/camel/benchmarks/apibench.py:379
↓ 2 callers
Method
attention
(self, query, key, value, mask=None)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:145
← previous
next →
201–300 of 2,738, ranked by callers