MCPcopy Create free account

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

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

↓ 2 callersMethodto_openai_message
r"""Converts the record to an :obj:`OpenAIMessage` object.
Evopresent/camel/memories/records.py:86
↓ 2 callersMethodto_text
Represent the slide page in text.
Evopresent/utils/src/presentation.py:1125
↓ 2 callersMethodupdate_history
( self, name: str, level: Optional[int], numid: Optional[int], ilevel:
Evopresent/docling/backend/msword_backend.py:126
↓ 2 callersMethodupload_file
r"""Upload a local file to the object storage. Args: local_file_path (Path): The path to the local file to be uploaded.
Evopresent/camel/storages/object_storages/base.py:62
↓ 2 callersFunctionvalidate_mathjax_injection
Validate whether MathJax appears correctly injected in HTML.
Evopresent/evopresent/ppt/stable_mathjax.py:339
↓ 2 callersMethodwait_for_task_completion
r"""Waits for a task to complete by polling its status. Args: task_id (str): The ID of the task to monitor. polling_i
Evopresent/camel/toolkits/meshy_toolkit.py:116
↓ 2 callersMethodwalk_linear
( self, body: BaseOxmlElement, docx_obj: DocxDocument, doc: DoclingDocument,
Evopresent/docling/backend/msword_backend.py:158
↓ 1 callersMethod__init__
( self, model_type: Union[ModelType, str], model_config_dict: Optional[Dict[str, Any]]
Evopresent/camel/models/gemini_model.py:60
↓ 1 callersMethod__init__
( self, model_type: Union[ModelType, str], model_config_dict: Optional[Dict[str, Any]]
Evopresent/camel/models/deepseek_model.py:257
↓ 1 callersMethod__init__
(self, samples: List[APIBankSample])
Evopresent/camel/benchmarks/apibank.py:464
↓ 1 callersMethod__init__
( self, pdfium_doc: pdfium.PdfDocument, document_hash: str, page_no: int )
Evopresent/docling/backend/pypdfium2_backend.py:24
↓ 1 callersMethod__init__
( self, parser: pdf_parser_v1, document_hash: str, page_no: int, page_obj: PdfPage )
Evopresent/docling/backend/docling_parse_backend.py:21
↓ 1 callersMethod__init__
( self, parser: pdf_parser_v2, document_hash: str, page_no: int, page_obj: PdfPage )
Evopresent/docling/backend/docling_parse_v2_backend.py:23
↓ 1 callersMethod__init__
Initialize the table parser with the xml content. Args: input: The xml content.
Evopresent/docling/backend/xml/uspto_backend.py:1417
↓ 1 callersMethod__init__
( self, path_or_stream: Union[BytesIO, Path], format: InputFormat, backend: Ty
Evopresent/docling/datamodel/document.py:110
↓ 1 callersMethod__init__
(self, pipeline_options: PipelineOptions)
Evopresent/docling/pipeline/base_pipeline.py:29
↓ 1 callersMethod__init__
(self, dim, freq_embed_dim=256)
video_generation/MegaTTS3/tts/modules/llm_dit/time_embedding.py:35
↓ 1 callersMethod__init__
(self, hparams, hidden_size, dec_hidden_size, lm_num_layers, dict_size, code_size)
video_generation/MegaTTS3/tts/modules/ar_dur/ar_dur_predictor.py:49
↓ 1 callersMethod__init__
(self, dim)
video_generation/MegaTTS3/tts/modules/ar_dur/commons/nar_tts_modules.py:62
↓ 1 callersMethod__init__
(self, channels: int = 1, dimension: int = 128, n_filters: int = 32, n_residual_layers: int = 1,
video_generation/MegaTTS3/tts/modules/wavvae/encoder/common_modules/seanet.py:73
↓ 1 callersMethod__init__
(self, num_reserved_ids=NUM_RESERVED_TOKENS)
video_generation/MegaTTS3/tts/utils/text_utils/text_encoder.py:55
↓ 1 callersMethod__init__
(self, config)
video_generation/models/wav2vec2_ser.py:24
↓ 1 callersMethod_absolute_position_to_relative_position
x: [b, h, l, l] ret: [b, h, l, 2*l-1]
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:228
↓ 1 callersMethod_add_abstract
( self, doc: DoclingDocument, xml_components: XMLComponents )
Evopresent/docling/backend/xml/pubmed_backend.py:431
↓ 1 callersMethod_add_authors
(self, doc: DoclingDocument, xml_components: XMLComponents)
Evopresent/docling/backend/xml/pubmed_backend.py:417
↓ 1 callersMethod_add_figure_captions
( self, doc: DoclingDocument, xml_components: XMLComponents )
Evopresent/docling/backend/xml/pubmed_backend.py:388
↓ 1 callersMethod_add_main_text
( self, doc: DoclingDocument, xml_components: XMLComponents )
Evopresent/docling/backend/xml/pubmed_backend.py:445
↓ 1 callersMethod_add_references
( self, doc: DoclingDocument, xml_components: XMLComponents )
Evopresent/docling/backend/xml/pubmed_backend.py:477
↓ 1 callersMethod_add_table
(self, doc: DoclingDocument, table_xml_component: Table)
Evopresent/docling/backend/xml/pubmed_backend.py:524
↓ 1 callersMethod_add_tables
(self, doc: DoclingDocument, xml_components: XMLComponents)
Evopresent/docling/backend/xml/pubmed_backend.py:512
↓ 1 callersMethod_add_title
(self, doc: DoclingDocument, xml_components: XMLComponents)
Evopresent/docling/backend/xml/pubmed_backend.py:409
↓ 1 callersMethod_adjust_cluster_bboxes
Adjust cluster bounding boxes to contain their cells.
Evopresent/docling/utils/layout_postprocessor.py:610
↓ 1 callersMethod_annotate_images
(self, images: Iterable[Image.Image])
Evopresent/docling/models/picture_description_base_model.py:38
↓ 1 callersMethod_apply_on_pages
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
Evopresent/docling/pipeline/base_pipeline.py:121
↓ 1 callersMethod_arequest_chat_completion
( self, messages: List[OpenAIMessage], tools: Optional[List[Dict[str, Any]]] = None,
Evopresent/camel/models/openai_compatible_model_v2.py:159
↓ 1 callersMethod_arequest_parse
( self, messages: List[OpenAIMessage], response_format: Type[BaseModel], tools
Evopresent/camel/models/openai_compatible_model_v2.py:197
↓ 1 callersMethod_arun
r"""Runs inference of OpenRouter chat completion asynchronously. Args: messages (List[OpenAIMessage]): Message list with the chat
Evopresent/camel/models/openrouter_model.py:136
↓ 1 callersMethod_assemble_document
(self, conv_res: ConversionResult)
Evopresent/docling/pipeline/base_pipeline.py:63
↓ 1 callersMethod_assign_cells_to_clusters
Assign cells to best overlapping cluster.
Evopresent/docling/utils/layout_postprocessor.py:569
↓ 1 callersMethod_async_clear
(self)
Evopresent/camel/storages/key_value_storages/redis.py:156
↓ 1 callersMethod_async_load
(self)
Evopresent/camel/storages/key_value_storages/redis.py:144
↓ 1 callersMethod_async_save
( self, records: List[Dict[str, Any]], expire: Optional[int] = None )
Evopresent/camel/storages/key_value_storages/redis.py:130
↓ 1 callersMethod_attention_bias_proximal
Bias for self-attention to encourage attention to close positions. Args: length: an integer scalar. Returns: a Ten
video_generation/MegaTTS3/tts/modules/ar_dur/commons/rel_transformer.py:242
↓ 1 callersMethod_build_document
(self, conv_res: ConversionResult)
Evopresent/docling/pipeline/base_pipeline.py:60
↓ 1 callersFunction_build_extracted_indices
Build indices from extracted resources for fast lookup by caption/id.
Evopresent/evopresent/ppt/ppt_gen_pipeline.py:80
↓ 1 callersMethod_build_variables_block
Build a variables block under an equation from slide_data.
Evopresent/evopresent/ppt/stable_mathjax.py:302
↓ 1 callersMethod_calculate_complexity
r"""Calculate the complexity score for a set of QA pairs. Args: qa_pairs (List[Dict[str, Any]]): List of QA pairs to calculate
Evopresent/camel/datagen/source2synth/data_processor.py:318
↓ 1 callersFunction_capture_screenshot
r"""Capture a screenshot from a video file at a specific timestamp. Args: video_file (str): The path to the video file. timestamp
Evopresent/camel/toolkits/video_toolkit.py:44
↓ 1 callersMethod_check_and_create_collection
(self)
Evopresent/camel/storages/vectordb_storages/qdrant.py:151
↓ 1 callersMethod_check_and_create_collection
r"""Checks if the specified collection exists in Milvus and creates it if it doesn't, ensuring it matches the specified vector dimensionality.
Evopresent/camel/storages/vectordb_storages/milvus.py:94
↓ 1 callersMethod_check_qa_quality
r"""Check the quality of question-answer pairs. Args: qa_pairs (List[Dict[str, str]]): List of QA pairs to check. Return
Evopresent/camel/datagen/source2synth/data_processor.py:450
↓ 1 callersMethod_check_text_quality
r"""Check the quality of input text. Args: text (str): Text to check quality for. Returns: bool: True if tex
Evopresent/camel/datagen/source2synth/data_processor.py:232
↓ 1 callersMethod_clean_ipython_output
r"""Remove ANSI escape sequences from the output.
Evopresent/camel/interpreters/ipython_interpreter.py:74
↓ 1 callersMethod_collection_exists
r"""Returns wether the collection exists in the database
Evopresent/camel/storages/vectordb_storages/qdrant.py:220
↓ 1 callersMethod_collection_exists
r"""Checks whether a collection with the specified name exists in the database. Args: collection_name (str): The name of
Evopresent/camel/storages/vectordb_storages/milvus.py:191
↓ 1 callersMethod_collection_name_generator
r"""Generates a valid collection name from a given file path or URL. Args: content (Union[str, Element]): Local file path, remote
Evopresent/camel/retrievers/auto_retriever.py:105
↓ 1 callersMethod_complexity_filter
Filter examples based on complexity threshold. Removes examples with complexity scores below the configured threshold. Args
Evopresent/camel/datagen/source2synth/data_processor.py:476
↓ 1 callersMethod_convert
( self, conv_input: _DocumentConversionInput, raises_on_error: bool )
Evopresent/docling/document_converter.py:243
↓ 1 callersMethod_convert_openai_to_reka_messages
r"""Converts OpenAI API messages to Reka API messages. Args: messages (List[OpenAIMessage]): A list of messages in OpenAI
Evopresent/camel/models/reka_model.py:117
↓ 1 callersMethod_convert_reka_to_openai_response
r"""Converts a Reka `ChatResponse` to an OpenAI-style `ChatCompletion` response. Args: response (ChatResponse): The respo
Evopresent/camel/models/reka_model.py:84
↓ 1 callersMethod_convert_response_from_anthropic_to_openai
(self, response)
Evopresent/camel/models/anthropic_model.py:73
↓ 1 callersMethod_convert_response_from_litellm_to_openai
r"""Converts a response from the LiteLLM format to the OpenAI format. Parameters: response (LiteLLMResponse): The response object
Evopresent/camel/models/litellm_model.py:67
↓ 1 callersMethod_convert_response_from_openai_to_mistral
r"""Convert an OpenAI message to a Mistral ChatCompletionRequest. Args: openai_msg (OpenAIMessage): An individual message with Op
Evopresent/camel/utils/token_counting.py:407
↓ 1 callersMethod_convert_sheet
(self, doc: DoclingDocument, sheet: Worksheet)
Evopresent/docling/backend/msexcel_backend.py:135
↓ 1 callersMethod_convert_workbook
(self, doc: DoclingDocument)
Evopresent/docling/backend/msexcel_backend.py:112
↓ 1 callersMethod_cosine_similarity
r"""Copmute the cosine similarity of two vectors. Args: vec1 (np.ndarray): Vector 1 vec2 (np.ndarray): Vector 2
Evopresent/camel/personas/persona_hub.py:238
↓ 1 callersMethod_count_tokens_from_image
r"""Count image tokens for OpenAI vision model. An :obj:`"auto"` resolution model will be treated as :obj:`"high"`. All images with :o
Evopresent/camel/utils/token_counting.py:191
↓ 1 callersMethod_create_client
( self, url_and_api_key: Optional[Tuple[str, str]], path: Optional[str], **kwa
Evopresent/camel/storages/vectordb_storages/qdrant.py:123
↓ 1 callersMethod_create_client
r"""Initializes the Milvus client with the provided connection details. Args: url_and_api_key (Tuple[str, str]): The URL and API
Evopresent/camel/storages/vectordb_storages/milvus.py:74
↓ 1 callersMethod_create_client
r"""Creates the Redis client with the provided URL and options. Args: **kwargs: Additional keyword arguments for Redis client
Evopresent/camel/storages/key_value_storages/redis.py:81
↓ 1 callersFunction_create_client_for_provider
(provider_key: str)
Evopresent/evopresent/ppt/gen_pptx_code.py:99
↓ 1 callersMethod_create_file_in_container
(self, content: str)
Evopresent/camel/interpreters/docker_interpreter.py:114
↓ 1 callersFunction_create_mol
(name, field)
Evopresent/camel/toolkits/function_tool.py:143
↓ 1 callersMethod_create_new_agent
(self, role: str, sys_msg: str)
Evopresent/camel/societies/workforce/workforce.py:345
↓ 1 callersMethod_create_temp_file
(self, code: str, extension: str)
Evopresent/camel/interpreters/subprocess_interpreter.py:170
↓ 1 callersMethod_create_tg_range
Create a unified range along the table groups. Args: tgs: Table group column specifications. Returns: Unifie
Evopresent/docling/backend/xml/uspto_backend.py:1428
↓ 1 callersMethod_create_user_message
r"""Create a user message from a task.
Evopresent/camel/benchmarks/gaia.py:303
↓ 1 callersMethod_create_worker_node_for_task
r"""Creates a new worker node for a given task and add it to the children list of this node. This is one of the actions that the coord
Evopresent/camel/societies/workforce/workforce.py:302
↓ 1 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/milvus.py:180
↓ 1 callersMethod_delete_rel
r"""Deletes a specific relationship between two nodes in the Neo4j database. Args: subj (str): The identifier for the sub
Evopresent/camel/storages/graph_storages/neo4j_graph.py:366
↓ 1 callersMethod_detect_html_xhtml
Guess the mime type of an XHTML, HTML, or XML file from its content. Args: content: A short piece of a document from its beginnin
Evopresent/docling/datamodel/document.py:362
↓ 1 callersMethod_detect_language
r""" Run tesseract in PSM 0 mode to detect the language
Evopresent/docling/models/tesseract_ocr_cli_model.py:121
↓ 1 callersFunction_detect_provider_from_selector
(selector: str)
Evopresent/evopresent/ppt/gen_pptx_code.py:90
↓ 1 callersMethod_determine_status
(self, conv_res: ConversionResult)
Evopresent/docling/pipeline/base_pipeline.py:92
↓ 1 callersMethod_download_file
( self, local_file_path: Path, remote_file_key: str, )
Evopresent/camel/storages/object_storages/base.py:110
↓ 1 callersMethod_enable_gradient_checkpointing
Enables gradient checkpointing for the model.
train/src/trainer/grpo_trainer.py:435
↓ 1 callersMethod_enrich_document
(self, conv_res: ConversionResult)
Evopresent/docling/pipeline/base_pipeline.py:66
↓ 1 callersMethod_ensure_server_running
r"""Ensures that the server is running. If not, starts the server.
Evopresent/camel/models/sglang_model.py:124
↓ 1 callersMethod_ensure_writer_agent
(self)
Evopresent/evopresent/ppt/scholar_agent.py:36
↓ 1 callersFunction_env_first
(keys)
Evopresent/evopresent/ppt/gen_pptx_code.py:83
↓ 1 callersFunction_escape_in_math_delims
(text: str)
Evopresent/evopresent/ppt/gen_pptx_code.py:880
↓ 1 callersMethod_execute
r"""Execute the code in the Jupyter kernel and return the result.
Evopresent/camel/interpreters/ipython_interpreter.py:80
↓ 1 callersMethod_execute_assign
(self, assign: ast.Assign)
Evopresent/camel/interpreters/internal_python_interpreter.py:315
↓ 1 callersMethod_execute_binop
(self, binop: ast.BinOp)
Evopresent/camel/interpreters/internal_python_interpreter.py:482
↓ 1 callersMethod_execute_call
(self, call: ast.Call)
Evopresent/camel/interpreters/internal_python_interpreter.py:346
↓ 1 callersMethod_execute_for
(self, for_statement: ast.For)
Evopresent/camel/interpreters/internal_python_interpreter.py:439
↓ 1 callersMethod_execute_if
(self, if_statement: ast.If)
Evopresent/camel/interpreters/internal_python_interpreter.py:420
↓ 1 callersMethod_execute_import
(self, import_module: ast.Import)
Evopresent/camel/interpreters/internal_python_interpreter.py:450
↓ 1 callersMethod_execute_import_from
(self, import_from: ast.ImportFrom)
Evopresent/camel/interpreters/internal_python_interpreter.py:456
↓ 1 callersMethod_execute_name
(self, name: ast.Name)
Evopresent/camel/interpreters/internal_python_interpreter.py:379
← previousnext →401–500 of 2,738, ranked by callers