MCPcopy Create free account

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

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

↓ 1 callersMethod_execute_pipeline
( self, in_doc: InputDocument, raises_on_error: bool )
Evopresent/docling/document_converter.py:319
↓ 1 callersMethod_execute_subscript
(self, subscript: ast.Subscript)
Evopresent/camel/interpreters/internal_python_interpreter.py:357
↓ 1 callersMethod_execute_unaryop
(self, unaryop: ast.UnaryOp)
Evopresent/camel/interpreters/internal_python_interpreter.py:510
↓ 1 callersMethod_extract_author_id
r"""Extracts the author ID from a Google Scholar URL if provided. Returns: Optional[str]: The extracted author ID, or None if not
Evopresent/camel/toolkits/google_scholar_toolkit.py:104
↓ 1 callersMethod_extract_code_language
Extracts a programming language from the beginning of a string. This function checks if the input string starts with a pattern of the form
Evopresent/docling/models/code_formula_model.py:157
↓ 1 callersMethod_extract_info_pairs
r"""Extract information pairs and relationships from text. Args: text (str): Input text to extract information from. Ret
Evopresent/camel/datagen/source2synth/data_processor.py:254
↓ 1 callersMethod_extract_nodes
r"""Extracts unique nodes from graph elements. Args: graph_elements (List[Any]): A list of graph elements containing
Evopresent/camel/storages/graph_storages/nebula_graph.py:324
↓ 1 callersMethod_extract_relationships
r"""Extracts relationships from graph elements. Args: graph_elements (List[Any]): A list of graph elements containing
Evopresent/camel/storages/graph_storages/nebula_graph.py:350
↓ 1 callersMethod_extract_score_with_validation
Extract score from model output text with validation. Returns (score, is_valid) tuple.
train/eval.py:451
↓ 1 callersMethod_extract_tool_call
r"""Extract the tool call from the model response, if present. Args: response (Any): The model's response object. Return
Evopresent/camel/agents/chat_agent.py:779
↓ 1 callersMethod_filter_ocr_cells
(self, ocr_cells, programmatic_cells)
Evopresent/docling/models/base_ocr_model.py:101
↓ 1 callersMethod_find_assignee
r"""Assigns a task to a worker node with the best capability. Parameters: task (Task): The task to be assigned. Returns:
Evopresent/camel/societies/workforce/workforce.py:266
↓ 1 callersMethod_find_data_tables
Find all compact rectangular data tables in a sheet.
Evopresent/docling/backend/msexcel_backend.py:176
↓ 1 callersMethod_find_images_in_sheet
( self, doc: DoclingDocument, sheet: Worksheet )
Evopresent/docling/backend/msexcel_backend.py:325
↓ 1 callersMethod_find_table_bottom
Function to find the bottom boundary of the table
Evopresent/docling/backend/msexcel_backend.py:273
↓ 1 callersMethod_find_table_bounds
Determine the bounds of a compact rectangular table. Returns: - A dictionary with the bounds and data. - A set of vis
Evopresent/docling/backend/msexcel_backend.py:203
↓ 1 callersMethod_find_table_right
Function to find the right boundary of the table
Evopresent/docling/backend/msexcel_backend.py:299
↓ 1 callersMethod_find_tables_in_sheet
(self, doc: DoclingDocument, sheet: Worksheet)
Evopresent/docling/backend/msexcel_backend.py:143
↓ 1 callersMethod_find_unassigned_cells
Find cells not assigned to any cluster.
Evopresent/docling/utils/layout_postprocessor.py:603
↓ 1 callersFunction_flatten_table_grid
(grid: List[List[dict]])
Evopresent/docling/utils/glm_utils.py:55
↓ 1 callersMethod_forward
When we use torchdiffeq, we need to include the CFG process inside _forward()
video_generation/MegaTTS3/tts/modules/llm_dit/dit.py:114
↓ 1 callersMethod_forward_impl
(self, x: Tensor)
video_generation/models/__init__.py:388
↓ 1 callersMethod_generate_and_score_comparison_completions
(self, inputs: list[dict[str, Any]], model)
train/src/trainer/grpo_trainer.py:711
↓ 1 callersMethod_generate_and_score_completions
(self, inputs: dict[str, Union[torch.Tensor, Any]], model)
train/src/trainer/grpo_trainer.py:484
↓ 1 callersMethod_generate_and_score_single_image_completions
(self, inputs: dict[str, Union[torch.Tensor, Any]], model)
train/src/trainer/grpo_trainer.py:495
↓ 1 callersMethod_generate_collection_name
r"""Generates a collection name if user doesn't provide
Evopresent/camel/storages/vectordb_storages/qdrant.py:227
↓ 1 callersMethod_generate_collection_name
r"""Generates a unique name for a new collection based on the current timestamp. Milvus collection names can only contain alphanumeric
Evopresent/camel/storages/vectordb_storages/milvus.py:203
↓ 1 callersMethod_generate_qa_pairs
r"""Generate multi-hop question-answer pairs from information pairs. Args: info_pairs (List[Dict[str, Sequence[str]]]): List of i
Evopresent/camel/datagen/source2synth/data_processor.py:289
↓ 1 callersMethod_generate_summary
r"""Generate and return a summary of the benchmark results.
Evopresent/camel/benchmarks/gaia.py:357
↓ 1 callersMethod_generate_tool_prompt
r"""Generates a tool prompt based on the provided tool schema list. Args: tool_schema_list (List[Dict]): A list of dictionaries,
Evopresent/camel/agents/chat_agent.py:332
↓ 1 callersMethod_get_access_token
r"""Fetches the access token required for making LinkedIn API requests. Returns: str: The OAuth 2.0 access token or warming messa
Evopresent/camel/toolkits/linkedin_toolkit.py:211
↓ 1 callersMethod_get_assigned_task
r"""Get the task assigned to this node from the channel.
Evopresent/camel/societies/workforce/worker.py:60
↓ 1 callersMethod_get_code_language_enum
Converts a string to a corresponding `CodeLanguageLabel` enum member. If the provided string does not match any value in `CodeLangua
Evopresent/docling/models/code_formula_model.py:187
↓ 1 callersMethod_get_default_config
Return default configuration with required fields present.
Evopresent/evopresent/ppt/stable_mathjax.py:15
↓ 1 callersFunction_get_default_option
(format: InputFormat)
Evopresent/docling/document_converter.py:114
↓ 1 callersMethod_get_doc_or_err
(self)
Evopresent/docling/backend/json/docling_json_backend.py:39
↓ 1 callersMethod_get_file
(self, file_key: str, filename: str)
Evopresent/camel/storages/object_storages/base.py:96
↓ 1 callersFunction_get_layout_info
Get basic layout information for the model's reference.
Evopresent/evopresent/ppt/layout_checker.py:70
↓ 1 callersMethod_get_max_ncols
Get the maximum number of columns across table groups. Args: tgs_info: Unified group column specifications. Return:
Evopresent/docling/backend/xml/uspto_backend.py:1511
↓ 1 callersMethod_get_name_and_version
(self)
Evopresent/docling/models/tesseract_ocr_cli_model.py:48
↓ 1 callersMethod_get_node_import_query
r"""Constructs a Cypher query string for importing nodes into a Neo4j database. Args: base_entity_label (bool): Flag indi
Evopresent/camel/storages/graph_storages/neo4j_graph.py:437
↓ 1 callersFunction_get_project_root
Get the project root directory
Evopresent/evopresent/ppt/layout_checker.py:143
↓ 1 callersMethod_get_rel_import_query
r"""Constructs a Cypher query string for importing relationship into a Neo4j database. Args: base_entity_label (bool): Fl
Evopresent/camel/storages/graph_storages/neo4j_graph.py:474
↓ 1 callersMethod_get_returned_task
r"""Get the task that's published by this node and just get returned from the assignee.
Evopresent/camel/societies/workforce/workforce.py:374
↓ 1 callersMethod_get_session
r"""Get a session from the connection pool. Returns: Session: A session object connected to NebulaGraph. Raises:
Evopresent/camel/storages/graph_storages/nebula_graph.py:97
↓ 1 callersMethod_get_sys_message_info
r"""Get initial assistant and user system message with a list of system message meta dicts. Args: assistant_role_name (st
Evopresent/camel/societies/role_playing.py:254
↓ 1 callersMethod_get_tool_agents_prompt
r"""Returns the action space prompt. Returns: str: The action space prompt.
Evopresent/camel/agents/embodied_agent.py:108
↓ 1 callersMethod_get_value_from_state
(self, key: str)
Evopresent/camel/interpreters/internal_python_interpreter.py:523
↓ 1 callersMethod_get_wolframalpha_step_by_step_solution
r"""Retrieve a step-by-step solution from the Wolfram Alpha API for a given query. Args: app_id (str): Your Wolfram Alpha
Evopresent/camel/toolkits/search_toolkit.py:604
↓ 1 callersMethod_guess_format
(self, obj: Union[Path, DocumentStream])
Evopresent/docling/datamodel/document.py:273
↓ 1 callersMethod_guess_from_content
Guess the input format of a document by checking part of its content.
Evopresent/docling/datamodel/document.py:312
↓ 1 callersMethod_handle_completed_task
(self, task: Task)
Evopresent/camel/societies/workforce/workforce.py:428
↓ 1 callersMethod_handle_cross_type_overlaps
Handle overlaps between regular and wrapper clusters before child assignment. In particular, KEY_VALUE_REGION proposals that are almost ident
Evopresent/docling/utils/layout_postprocessor.py:367
↓ 1 callersMethod_handle_error
r"""Handle errors encountered during task processing.
Evopresent/camel/benchmarks/gaia.py:338
↓ 1 callersMethod_handle_failed_task
(self, task: Task)
Evopresent/camel/societies/workforce/workforce.py:411
↓ 1 callersMethod_handle_step
r"""Handles a single or multi-step interaction.
Evopresent/camel/agents/chat_agent.py:630
↓ 1 callersMethod_init_agents
r"""Initialize assistant and user agents with their system messages. Args: init_assistant_sys_msg (BaseMessage): Assistant agent'
Evopresent/camel/societies/role_playing.py:312
↓ 1 callersMethod_init_connection_pool
r"""Initialize the connection pool. Returns: ConnectionPool: A connection pool instance. Raises: Exception:
Evopresent/camel/storages/graph_storages/nebula_graph.py:72
↓ 1 callersMethod_init_critic
r"""Initialize critic agent. If critic role name is :obj:`"human"`, create a :obj:`Human` critic agent. Else, create a :obj:`CriticAgent`
Evopresent/camel/societies/role_playing.py:358
↓ 1 callersMethod_init_planned_task_prompt
r"""Use a task plan agent to append a planned task prompt to task prompt. The planned task prompt is generated based on the task promp
Evopresent/camel/societies/role_playing.py:220
↓ 1 callersMethod_init_specified_task_prompt
r"""Use a task specify agent to generate a specified task prompt. Generated specified task prompt will be used to replace original tas
Evopresent/camel/societies/role_playing.py:170
↓ 1 callersMethod_init_vocab_from_file
Load vocab from a file. Args: filename: The file to load vocabulary from.
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:197
↓ 1 callersMethod_init_vocab_from_list
Initialize tokens from a list of tokens. It is ok if reserved tokens appear in the vocab list. They will be removed. The set of token
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:212
↓ 1 callersMethod_initialize_if_needed
r"""Initialize the kernel manager and client if they are not already initialized.
Evopresent/camel/interpreters/ipython_interpreter.py:61
↓ 1 callersMethod_initialize_if_needed
(self)
Evopresent/camel/interpreters/docker_interpreter.py:94
↓ 1 callersMethod_initialize_vector_storage
r"""Sets up and returns a vector storage instance with specified parameters. Args: collection_name (Optional[str]): Name
Evopresent/camel/retrievers/auto_retriever.py:67
↓ 1 callersMethod_inject_equation_styles
Inject CSS styles for equations/variables blocks.
Evopresent/evopresent/ppt/stable_mathjax.py:206
↓ 1 callersMethod_inject_mathjax_config
Inject MathJax configuration and scripts.
Evopresent/evopresent/ppt/stable_mathjax.py:135
↓ 1 callersMethod_inject_tool_prompt
r"""Generate and add the tool prompt to memory.
Evopresent/camel/agents/chat_agent.py:619
↓ 1 callersMethod_is_caption
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:417
↓ 1 callersMethod_is_picture
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:391
↓ 1 callersMethod_is_section_header
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:296
↓ 1 callersMethod_is_similar
r"""Check if two personas are similar by consine similarity of the embeddings of their descriptions. Args: persona1 (Pers
Evopresent/camel/personas/persona_hub.py:249
↓ 1 callersMethod_is_standard_response
r"""Determine if the provided response is a standard reply without tool calls. Args: response (Any): The response object
Evopresent/camel/agents/chat_agent.py:821
↓ 1 callersMethod_is_title
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:289
↓ 1 callersFunction_is_url
(s: str)
Evopresent/evopresent/ppt/layout_extractor.py:145
↓ 1 callersMethod_iterate_elements
( self, element: marko.element.Element, depth: int, doc: DoclingDocument,
Evopresent/docling/backend/md_backend.py:171
↓ 1 callersMethod_listen_to_channel
r"""Continuously listen to the channel, post task to the channel and track the status of posted tasks.
Evopresent/camel/societies/workforce/workforce.py:435
↓ 1 callersMethod_listen_to_channel
Continuously listen to the channel, process the task that are assigned to this node, and update the result and status of the task. Th
Evopresent/camel/societies/workforce/worker.py:79
↓ 1 callersFunction_load_advice_prompt
Load system and advice task prompts (use the checker prompts).
Evopresent/evopresent/ppt/layout_checker.py:50
↓ 1 callersMethod_load_from_unified_yaml
Load samples from unified YAML config that contains all task types.
train/src/train_multi_task.py:177
↓ 1 callersFunction_load_guidance_map
(path: str)
Evopresent/evopresent/ppt/gen_pptx_code.py:469
↓ 1 callersFunction_load_prompts
Load both system and task prompts.
Evopresent/evopresent/ppt/layout_checker.py:18
↓ 1 callersFunction_load_scoring_prompt
Load scoring-only system and task prompts.
Evopresent/evopresent/ppt/layout_checker.py:38
↓ 1 callersMethod_matmul_with_relative_keys
x: [b, h, l, d] y: [h or 1, m, d] ret: [b, h, l, m]
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:187
↓ 1 callersMethod_matmul_with_relative_values
x: [b, h, l, m] y: [h or 1, m, d] ret: [b, h, l, d]
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:178
↓ 1 callersMethod_next_figure_id
(self)
Evopresent/evopresent/ppt/visualization_helper.py:174
↓ 1 callersFunction_normalize_caption
(text: str)
Evopresent/evopresent/ppt/parse_raw.py:458
↓ 1 callersMethod_object_exists
(self, file_key: str)
Evopresent/camel/storages/object_storages/base.py:100
↓ 1 callersFunction_pad_image_canvas
Expand canvas around image with proportional padding for face overlay space. Args: image: Input PIL Image object pad_rat
video_generation/html_to_video_complete.py:62
↓ 1 callersMethod_parse
Main function that orchestrates the parsing by yielding components: title, section headers, text, lists, and tables.
Evopresent/docling/backend/asciidoc_backend.py:78
↓ 1 callersMethod_parse
Parsing PubMed document.
Evopresent/docling/backend/xml/pubmed_backend.py:358
↓ 1 callersMethod_parse_abstract
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:181
↓ 1 callersMethod_parse_authors
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:141
↓ 1 callersMethod_parse_caption
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:420
↓ 1 callersMethod_parse_figure_captions
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:254
↓ 1 callersMethod_parse_graph_elements
r"""Parses graph elements from given content. Args: input_string (str): The input content. Returns: GraphEle
Evopresent/camel/agents/knowledge_graph_agent.py:212
↓ 1 callersMethod_parse_list_item
Extract the item marker (number or bullet symbol) and the text of the item.
Evopresent/docling/backend/asciidoc_backend.py:316
↓ 1 callersMethod_parse_main_text
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:189
↓ 1 callersMethod_parse_page_cells
(self, conv_res: ConversionResult, page: Page)
Evopresent/docling/models/page_preprocessing_model.py:53
← previousnext →501–600 of 2,738, ranked by callers