MCPcopy Create free account

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

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

↓ 1 callersMethod_parse_picture
Parse an image macro, extracting its path and attributes. Syntax: image::path/to/image.png[Alt Text, width=200, height=150, align=cen
Evopresent/docling/backend/asciidoc_backend.py:394
↓ 1 callersMethod_parse_references
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:289
↓ 1 callersMethod_parse_scores
r"""Parse the scores from the response. Args: response (ChatCompletion): A ChatCompletion object with the scores. Return
Evopresent/camel/models/reward/nemotron_model.py:93
↓ 1 callersMethod_parse_section_header
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:299
↓ 1 callersMethod_parse_table
Parse the content of a table tag. Args: The table element. Returns: A docling table object.
Evopresent/docling/backend/xml/uspto_backend.py:1526
↓ 1 callersMethod_parse_table_line
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:355
↓ 1 callersMethod_parse_tables
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:220
↓ 1 callersMethod_parse_title
(self, line)
Evopresent/docling/backend/asciidoc_backend.py:292
↓ 1 callersMethod_parse_title
(self)
Evopresent/docling/backend/xml/pubmed_backend.py:132
↓ 1 callersMethod_parse_tool_response
r"""Parses the tool response to extract the function name and arguments. Args: response (str): The response from the mode
Evopresent/camel/agents/chat_agent.py:375
↓ 1 callersMethod_parse_wolfram_result
r"""Parses a Wolfram Alpha API result into a structured dictionary format. Args: result: The API result returned from a W
Evopresent/camel/toolkits/search_toolkit.py:538
↓ 1 callersMethod_populate_document
( self, doc: DoclingDocument, xml_components: XMLComponents )
Evopresent/docling/backend/xml/pubmed_backend.py:371
↓ 1 callersMethod_populate_page_images
(self, page: Page)
Evopresent/docling/models/page_preprocessing_model.py:36
↓ 1 callersMethod_post_dependency
(self, dependency: Task)
Evopresent/camel/societies/workforce/workforce.py:299
↓ 1 callersMethod_prepare_and_check
r"""Check privileges and existence of the container.
Evopresent/camel/storages/object_storages/azure_blob.py:63
↓ 1 callersMethod_prepare_and_check
r"""Check privileges and existence of the bucket.
Evopresent/camel/storages/object_storages/google_cloud.py:73
↓ 1 callersMethod_prepare_and_check
r"""Check privileges and existence of the bucket.
Evopresent/camel/storages/object_storages/amazon_s3.py:92
↓ 1 callersMethod_prepare_task
r"""Prepare the task by validating and enriching its data.
Evopresent/camel/benchmarks/gaia.py:274
↓ 1 callersMethod_preprocess_text
r"""Preprocess input text for example construction. Args: text (str): Input text to preprocess. Returns: str
Evopresent/camel/datagen/source2synth/data_processor.py:203
↓ 1 callersMethod_pretty_print_response
r"""Pretty prints the JSON response. Args: response_json (dict): The response JSON to pretty print. Returns:
Evopresent/camel/loaders/chunkr_reader.py:158
↓ 1 callersMethod_process_equations
Group equations and optionally attach variables list from slide_data.
Evopresent/evopresent/ppt/stable_mathjax.py:273
↓ 1 callersMethod_process_html_safe
Safely mutate HTML: ensure head, inject MathJax config/styles, group equations.
Evopresent/evopresent/ppt/stable_mathjax.py:109
↓ 1 callersFunction_process_page_cells
(page: Page)
Evopresent/docling/utils/export.py:84
↓ 1 callersFunction_process_page_segments
(doc_items: list[Tuple[int, BaseCell]], page: Page)
Evopresent/docling/utils/export.py:46
↓ 1 callersMethod_process_regular_clusters
Process regular clusters with iterative refinement.
Evopresent/docling/utils/layout_postprocessor.py:248
↓ 1 callersMethod_process_result
r"""Process and store the result of a task.
Evopresent/camel/benchmarks/gaia.py:310
↓ 1 callersMethod_process_special_clusters
(self)
Evopresent/docling/utils/layout_postprocessor.py:299
↓ 1 callersMethod_process_task
r"""Processes a task based on its dependencies. Returns: 'DONE' if the task is successfully processed, 'FAILED' if th
Evopresent/camel/societies/workforce/worker.py:49
↓ 1 callersMethod_put_file
(self, file_key: str, file: File)
Evopresent/camel/storages/object_storages/base.py:92
↓ 1 callersMethod_quality_filter
r"""Filter examples based on quality criteria. Args: examples (List[Dict[str, Any]]): List of examples to filter. Return
Evopresent/camel/datagen/source2synth/data_processor.py:423
↓ 1 callersFunction_rect_distance
(a, b)
Evopresent/evopresent/ppt/parse_raw.py:581
↓ 1 callersMethod_relative_position_to_absolute_position
x: [b, h, l, 2*l-1] ret: [b, h, l, l]
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:211
↓ 1 callersMethod_remove_duplicates
r"""Remove duplicate examples from the dataset. Args: examples (List[Dict[str, Any]]): List of examples to deduplicate.
Evopresent/camel/datagen/source2synth/data_processor.py:497
↓ 1 callersFunction_remove_title_recursively
r"""Recursively removes the 'title' key from all levels of a nested dictionary, except when 'title' is an argument name in the schema.
Evopresent/camel/toolkits/function_tool.py:45
↓ 1 callersFunction_render_html_file_to_image_async
Convert HTML file directly to PIL Image object (in-memory processing, no disk save)
video_generation/html_to_video_complete.py:122
↓ 1 callersFunction_render_html_to_image_sync
Synchronous wrapper for the async render function.
Evopresent/evopresent/ppt/layout_checker.py:277
↓ 1 callersMethod_request_chat_completion
( self, messages: List[OpenAIMessage], tools: Optional[List[Dict[str, Any]]] = None,
Evopresent/camel/models/openai_compatible_model_v2.py:143
↓ 1 callersMethod_request_parse
( self, messages: List[OpenAIMessage], response_format: Type[BaseModel], tools
Evopresent/camel/models/openai_compatible_model_v2.py:175
↓ 1 callersMethod_rewrite_script_direct
(self, *, title: str, core_points: List[str], current_script: str, reason: str)
Evopresent/evopresent/ppt/scholar_agent.py:50
↓ 1 callersMethod_rotate
Rotate the input tensor by half of its innermost width. input (Tensor): array to rotate. RETURNS (Tensor): rotated array. Sh
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rot_transformer.py:149
↓ 1 callersMethod_run
r"""Runs inference of OpenAI chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
Evopresent/camel/models/openrouter_model.py:102
↓ 1 callersMethod_run_file_in_container
( self, file: Path, code_type: str, )
Evopresent/camel/interpreters/docker_interpreter.py:133
↓ 1 callersMethod_run_non_streaming
r"""Handles non-streaming inference with SambaNova's API. Args: messages (List[OpenAIMessage]): A list of messages representing t
Evopresent/camel/models/samba_model.py:221
↓ 1 callersMethod_run_streaming
r"""Handles streaming inference with SambaNova's API. Args: messages (List[OpenAIMessage]): A list of messages representing the
Evopresent/camel/models/samba_model.py:172
↓ 1 callersMethod_run_tesseract
r""" Run tesseract CLI
Evopresent/docling/models/tesseract_ocr_cli_model.py:79
↓ 1 callersMethod_safe_id_to_token
(self, idx)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:194
↓ 1 callersMethod_safe_json_loads
(self, arguments_str)
Evopresent/camel/agents/chat_agent.py:1429
↓ 1 callersMethod_safe_model_dump
r"""Safely dump a Pydantic model to a dictionary. This method attempts to use the `model_dump` method if available, otherwise it fall
Evopresent/camel/agents/chat_agent.py:1269
↓ 1 callersMethod_sambaverse_to_openai_response
r"""Converts SambaVerse API response into an OpenAI-compatible response. Args: samba_response (Dict[str, Any]): A diction
Evopresent/camel/models/samba_model.py:343
↓ 1 callersMethod_sample_dataset
r"""Sample examples to match target dataset size. Args: examples (List[Dict[str, Any]]): List of examples to sample from.
Evopresent/camel/datagen/source2synth/data_processor.py:524
↓ 1 callersFunction_save_image_temp
Save PIL Image object to temporary file for FFmpeg use Args: image: PIL Image object prefix: Filename prefix Returns
video_generation/html_to_video_complete.py:36
↓ 1 callersMethod_select_best_cluster_from_group
Select best cluster from a group of overlapping clusters based on all rules.
Evopresent/docling/utils/layout_postprocessor.py:441
↓ 1 callersMethod_set_languages_and_prefix
r""" Read and set the languages installed in tesseract and decide the script prefix
Evopresent/docling/models/tesseract_ocr_cli_model.py:156
↓ 1 callersMethod_set_tool_agents
(self, system_message: BaseMessage)
Evopresent/camel/agents/embodied_agent.py:95
↓ 1 callersMethod_should_prefer_cluster
Determine if candidate cluster should be preferred over other cluster based on rules. Returns True if candidate should be preferred, False if
Evopresent/docling/utils/layout_postprocessor.py:404
↓ 1 callersMethod_split_audio
r"""Split the audio file into smaller chunks. Since the Whisper API only supports files that are less than 25 MB. Args: a
Evopresent/camel/models/openai_audio_models.py:137
↓ 1 callersFunction_split_list
(raw: Optional[str])
Evopresent/docling/cli/main.py:148
↓ 1 callersMethod_start_server
r"""Starts the Ollama server in a subprocess.
Evopresent/camel/models/ollama_model.py:79
↓ 1 callersMethod_start_server
(self)
Evopresent/camel/models/sglang_model.py:89
↓ 1 callersMethod_start_server
r"""Starts the vllm server in a subprocess.
Evopresent/camel/models/vllm_model.py:81
↓ 1 callersMethod_step_tool_call
r"""Execute the function with arguments following the model's response. Args: response (Dict[str, Any]): The response obtained by
Evopresent/camel/agents/chat_agent.py:1371
↓ 1 callersMethod_step_tool_call_and_update_async
( self, response: ChatCompletion )
Evopresent/camel/agents/chat_agent.py:997
↓ 1 callersMethod_to_cohere_chatmessage
( self, messages: List[OpenAIMessage] )
Evopresent/camel/models/cohere_model.py:139
↓ 1 callersMethod_to_legacy_document
(self, conv_res)
Evopresent/docling/models/ds_glm_model.py:58
↓ 1 callersMethod_to_mistral_chatmessage
( self, messages: List[OpenAIMessage], )
Evopresent/camel/models/mistral_model.py:132
↓ 1 callersMethod_to_openai_response
(self, response: 'ChatResponse')
Evopresent/camel/models/cohere_model.py:71
↓ 1 callersMethod_to_openai_response
( self, response: 'ChatCompletionResponse' )
Evopresent/camel/models/mistral_model.py:88
↓ 1 callersMethod_unload
(self, conv_res: ConversionResult)
Evopresent/docling/pipeline/base_pipeline.py:95
↓ 1 callersMethod_upload_file
( self, local_file_path: Path, remote_file_key: str )
Evopresent/camel/storages/object_storages/base.py:104
↓ 1 callersMethod_upload_file
( self, file_content: str, dataset_name: str, filepath: str, file_type
Evopresent/camel/datahubs/huggingface.py:393
↓ 1 callersMethod_validate
(self)
Evopresent/camel/terminators/response_terminator.py:50
↓ 1 callersMethod_validate_and_convert_vectors
r"""Validates and converts VectorRecord instances to the format expected by Milvus. Args: records (List[VectorRecord]): L
Evopresent/camel/storages/vectordb_storages/milvus.py:248
↓ 1 callersMethod_validate_relationship
r"""Validate if the object is a valid Relationship. Args: relationship (Relationship): Object to be validated. Returns:
Evopresent/camel/agents/knowledge_graph_agent.py:196
↓ 1 callersMethod_value_truncate
r"""Truncates the input raw value by removing entries that is dictionary or list with values resembling embeddings and containing more
Evopresent/camel/storages/graph_storages/neo4j_graph.py:167
↓ 1 callersMethodadd
r"""Adds two numbers. Args: a (float): The first number to be added. b (float): The second number to be added.
Evopresent/camel/toolkits/math_toolkit.py:28
↓ 1 callersMethodadd
r"""Adds a list of vectors to the specified collection. Args: vectors (List[VectorRecord]): List of vectors to be added.
Evopresent/camel/storages/vectordb_storages/qdrant.py:262
↓ 1 callersMethodadd
r"""Add a function or list of functions to the runtime. Args: funcs (Union[FunctionTool, List[FunctionTool]]): The function or
Evopresent/camel/runtime/docker_runtime.py:248
↓ 1 callersMethodadd_cluster
(self, cluster: Cluster)
Evopresent/docling/utils/layout_postprocessor.py:62
↓ 1 callersMethodadd_header
( self, doc: DoclingDocument, curr_level: Optional[int], text: str )
Evopresent/docling/backend/msword_backend.py:352
↓ 1 callersMethodadd_listitem
( self, doc: DoclingDocument, numid: int, ilevel: int, text: str,
Evopresent/docling/backend/msword_backend.py:384
↓ 1 callersMethodadd_script
Append a generated speech script (with metadata) to history.
Evopresent/evopresent/ppt/gen_speech.py:25
↓ 1 callersMethodadd_strategy
r"""Add a scheduling strategy method provided by user in case when none of existent strategies fits. When custom strategy is p
Evopresent/camel/models/model_manager.py:139
↓ 1 callersMethodadd_triplet
r"""Adds a relationship (triplet) between two entities in the Nebula Graph database. Args: subj (str): The identifier for
Evopresent/camel/storages/graph_storages/nebula_graph.py:445
↓ 1 callersFunctionadvise_layout
Advice-only API: returns {Problem, Fixes}.
Evopresent/evopresent/ppt/layout_checker.py:425
↓ 1 callersFunctionagentops_decorator
r"""Decorator that records the execution of a function if ToolEvent is available. Parameters: func (callable): The function to be dec
Evopresent/camel/utils/commons.py:551
↓ 1 callersFunctionalign
(self, wav)
video_generation/MegaTTS3/tts/frontend_function.py:40
↓ 1 callersMethodanalyse_element
if element.name!=None: _log.debug("\t"*self.level, idx, "\t", f"{element.name} ({self.level})")
Evopresent/docling/backend/html_backend.py:109
↓ 1 callersFunctionanalyze_spacing
Compute nearest neighbors and gaps for each item in four directions. Mirrors the user's helper to enrich the extractor payload.
Evopresent/evopresent/ppt/layout_extractor.py:153
↓ 1 callersFunctionannotate_dataset
r"""Annotate the dataset by adding context and answers using the provided functions. Args: dataset (Dataset): The input dataset to an
Evopresent/camel/benchmarks/ragbench.py:36
↓ 1 callersMethodapinames_filepaths_to_funs_schemas
r"""Combines functions and schemas from multiple OpenAPI specifications, using API names as keys. This function iterates over tuples
Evopresent/camel/toolkits/open_api_toolkit.py:450
↓ 1 callersMethodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
Evopresent/camel/datagen/self_instruct/filter/filter_function.py:58
↓ 1 callersFunctionapply_parametrization_norm
(module: nn.Module, norm: str = 'none')
video_generation/MegaTTS3/tts/modules/wavvae/encoder/common_modules/conv.py:47
↓ 1 callersFunctionapply_rotary_emb
( xq: torch.Tensor, xk: torch.Tensor, freqs_cis: torch.Tensor, )
video_generation/MegaTTS3/tts/modules/llm_dit/transformer.py:39
↓ 1 callersMethodarchive_task
r"""Archive a task in channel, making it to become a dependency.
Evopresent/camel/societies/workforce/task_channel.py:148
↓ 1 callersFunctionast_check
(candidate_subtree_list, base_tree_list, dataset_name)
Evopresent/camel/benchmarks/apibench.py:426
↓ 1 callersFunctionauroc
r"""Calculate Area Under Receiver Operating Characteristic Curve (AUROC). Args: trues (Sequence[bool]): Ground truth binary values.
Evopresent/camel/benchmarks/ragbench.py:97
↓ 1 callersFunctionaverage_distance
Calculate the average distance between a point (idx) and a cluster (cluster_idx). Args: similarity (np.ndarray): The similarity matr
Evopresent/utils/src/model_utils.py:229
↓ 1 callersMethodbase64_to_image
r"""Converts a base64 encoded string into a PIL Image object. Args: base64_string (str): The base64 encoded string of the image.
Evopresent/camel/toolkits/dalle_toolkit.py:32
↓ 1 callersMethodbinary_search_error
r"""Use binary search to locate the first error in the solution. This method splits the solution into sentences using both English and
Evopresent/camel/datagen/cotdatagen.py:252
↓ 1 callersFunctionboxes_overlap
(box_a, box_b)
Evopresent/utils/wei_utils.py:631
← previousnext →601–700 of 2,738, ranked by callers