MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

Methodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate the embeddings.
camel/embeddings/openai_compatible_embedding.py:61
Methodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate the embeddings.
camel/embeddings/mistral_embedding.py:64
Methodembed_list
r"""Generates embeddings for the given texts or images. Args: objs (list[Union[str, Image.Image]]): The texts or images for which
camel/embeddings/jina_embedding.py:81
Methodembed_list
r"""Generates embeddings for the given texts using the model. Args: objs (list[str]): The texts for which to generate the
demo/Paper2Poster/camel/embeddings/sentence_transformers_embeddings.py:49
Methodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate the embeddings.
demo/Paper2Poster/camel/embeddings/openai_embedding.py:66
Methodembed_list
Generates embeddings for the given images or texts. Args: objs (List[Image.Image|str]): The list of images or texts for
demo/Paper2Poster/camel/embeddings/vlm_embedding.py:70
Methodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate the embeddings.
demo/Paper2Poster/camel/embeddings/openai_compatible_embedding.py:61
Methodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[str]): The texts for which to generate the embeddings.
demo/Paper2Poster/camel/embeddings/mistral_embedding.py:64
Methodembed_list
r"""Generates embeddings for the given texts or images. Args: objs (list[Union[str, Image.Image]]): The texts or images for which
demo/Paper2Poster/camel/embeddings/jina_embedding.py:81
Functionenable_logging
r"""Enable logging for the CAMEL library. This function re-enables logging if it was previously disabled, and configures the library logging
camel/logger.py:63
Functionenable_logging
r"""Enable logging for the CAMEL library. This function re-enables logging if it was previously disabled, and configures the library logging
demo/Paper2Poster/camel/logger.py:63
MethodendElement
Signal the end of an element. Args: tag: The element tag.
docling/backend/xml/uspto_backend.py:318
MethodendElement
Signal the end of an element. Args: tag: The element tag.
docling/backend/xml/uspto_backend.py:653
MethodendElement
Signal the end of an element. Args: tag: The element tag.
docling/backend/xml/uspto_backend.py:1214
MethodendElement
Signal the end of an element. Args: tag: The element tag.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:318
MethodendElement
Signal the end of an element. Args: tag: The element tag.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:653
MethodendElement
Signal the end of an element. Args: tag: The element tag.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:1214
Functioneval_baseline
( setting: str, model: Literal["Qwen2.5", "gpt-4o"], general_eval: bool = False, feature_eval:
utils/src/experiment/evals.py:235
Functioneval_baseline
( setting: str, model: Literal["Qwen2.5", "gpt-4o"], general_eval: bool = False, feature_eval:
demo/Paper2Poster/utils/src/experiment/evals.py:235
Functioneval_experiment
( setting: str, general_eval: bool = False, feature_eval: bool = False, ppt_eval: bool = False
utils/src/experiment/evals.py:198
Functioneval_experiment
( setting: str, general_eval: bool = False, feature_eval: bool = False, ppt_eval: bool = False
demo/Paper2Poster/utils/src/experiment/evals.py:198
Methodevaluate
r"""Evaluate the messages using the Skywork model. Args: messages (List[Dict[str, str]]): A list of messages. Returns:
camel/models/reward/skywork_model.py:64
Methodevaluate
r"""Evaluate the messages and return scores based on different criteria. Args: messages (List[Dict[str, str]]): A list of
camel/models/reward/base_reward_model.py:38
Methodevaluate
r"""Evaluate the messages using the Nemotron model. Args: messages (List[Dict[str, str]]): A list of messages where each
camel/models/reward/nemotron_model.py:61
Methodevaluate
r"""Evaluate the messages using the Skywork model. Args: messages (List[Dict[str, str]]): A list of messages. Returns:
demo/Paper2Poster/camel/models/reward/skywork_model.py:64
Methodevaluate
r"""Evaluate the messages and return scores based on different criteria. Args: messages (List[Dict[str, str]]): A list of
demo/Paper2Poster/camel/models/reward/base_reward_model.py:38
Methodevaluate
r"""Evaluate the messages using the Nemotron model. Args: messages (List[Dict[str, str]]): A list of messages where each
demo/Paper2Poster/camel/models/reward/nemotron_model.py:61
Methodevolve
r"""Evolve a task to a new task. Evolve is only used for data generation. Args: task (Task): A given task.
camel/tasks/task.py:395
Methodevolve
r"""Evolve a task to a new task. Evolve is only used for data generation. Args: task (Task): A given task.
demo/Paper2Poster/camel/tasks/task.py:395
Methodexchange_code_for_token_response
r"""Exchange the authorization code for an access token. Args: code (str): The authorization code received from Discord after
camel/bots/discord/discord_app.py:140
Methodexchange_code_for_token_response
r"""Exchange the authorization code for an access token. Args: code (str): The authorization code received from Discord after
demo/Paper2Poster/camel/bots/discord/discord_app.py:140
Methodexecute_code
r"""Execute a given code snippet. Args: code (str): The input code to the Code Interpreter tool call. Returns:
camel/toolkits/code_execution.py:95
Methodexecute_code
r"""Execute a given code snippet. Args: code (str): The input code to the Code Interpreter tool call. Returns:
demo/Paper2Poster/camel/toolkits/code_execution.py:95
Methodexport_solutions
r"""Export the solution process and results to a JSON file. Exports the solution tree, golden answers, and export timestamp to a JSON
camel/datagen/cotdatagen.py:420
Methodexport_solutions
r"""Export the solution process and results to a JSON file. Exports the solution tree, golden answers, and export timestamp to a JSON
demo/Paper2Poster/camel/datagen/cotdatagen.py:420
Functionextract_colors
Extract color configurations from YAML config. Supports both flat and nested structures: - Flat: title_text_color, main_text_color, etc.
demo/Paper2Poster/utils/config_utils.py:102
Methodextract_data_from_text
r"""Extracts various types of data from text using functions from unstructured.cleaners.extract. Args: text (str): Text t
camel/loaders/unstructured_io.py:294
Methodextract_data_from_text
r"""Extracts various types of data from text using functions from unstructured.cleaners.extract. Args: text (str): Text t
demo/Paper2Poster/camel/loaders/unstructured_io.py:294
Methodextract_first_author_institution
Extract the first author's institution from paper content. Args: paper_content: Text content of the paper (markdown form
demo/Paper2Poster/utils/logo_utils.py:340
Functionextract_font_sizes
Extract font size configurations from YAML config. Supports both flat and nested structures: - Flat: main_text_font_size, section_title_
demo/Paper2Poster/utils/config_utils.py:54
Methodextract_institution_from_paper
Extract institution names from paper content. DEPRECATED: Use extract_first_author_institution() instead for better accuracy.
utils/logo_utils.py:505
Methodextract_institution_from_paper
Extract institution names from paper content. DEPRECATED: Use extract_first_author_institution() instead for better accuracy.
demo/Paper2Poster/utils/logo_utils.py:454
Functionextract_section_title_symbol
Extract section title symbol configuration from YAML config. Args: yaml_cfg: YAML configuration dictionary Returns: Sec
demo/Paper2Poster/utils/config_utils.py:160
Methodextract_tool_calls
r"""Extract function call info from a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:30
Methodextract_tool_calls
r"""Extract function call info from a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:30
Methodextract_tool_response
r"""Extract function response info from a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:35
Methodextract_tool_response
r"""Extract function response info from a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:35
Functionextract_vertical_alignment
Extract vertical alignment configuration from YAML config. Args: yaml_cfg: YAML configuration dictionary Returns: Verti
demo/Paper2Poster/utils/config_utils.py:145
Methodfields_type_checking
r"""Validate the type of tools in the configuration. This method ensures that the tools provided in the configuration are instances o
camel/configs/base_config.py:46
Methodfields_type_checking
(cls, response_format)
camel/configs/mistral_config.py:67
Methodfields_type_checking
r"""Validate the type of tools in the configuration. This method ensures that the tools provided in the configuration are instances o
demo/Paper2Poster/camel/configs/base_config.py:46
Methodfields_type_checking
(cls, response_format)
demo/Paper2Poster/camel/configs/mistral_config.py:67
Functionfill_location
(outline, section_name, location_dict)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:95
Functionfill_textframe
Given an existing shape (with a text frame) and a paragraphs_spec describing paragraphs and runs, populate the shape's text frame. 'para
utils/pptx_utils.py:1375
Functionfill_textframe
Given an existing shape (with a text frame) and a paragraphs_spec describing paragraphs and runs, populate the shape's text frame. 'para
demo/Paper2Poster/utils/pptx_utils.py:1375
Methodfilter_data
r"""Filter messages based on the scores. Args: messages (List[Dict[str, str]]): A list of messages where each mes
camel/models/reward/evaluator.py:43
Methodfilter_data
r"""Filter messages based on the scores. Args: messages (List[Dict[str, str]]): A list of messages where each mes
demo/Paper2Poster/camel/models/reward/evaluator.py:43
Functionfilter_slide
(slide: SlidePage)
utils/src/experiment/preprocess.py:129
Functionfilter_slide
(slide: SlidePage)
demo/Paper2Poster/utils/src/experiment/preprocess.py:129
Methodfind_by_guild
r"""Finds an installation record by guild ID. Args: guild_id (str): The guild ID to search for. Returns: Opt
camel/bots/discord/discord_store.py:115
Methodfind_by_guild
r"""Finds an installation record by guild ID. Args: guild_id (str): The guild ID to search for. Returns: Opt
demo/Paper2Poster/camel/bots/discord/discord_store.py:115
Methodfind_ocr_rects
(size, bitmap_rects)
docling/models/base_ocr_model.py:32
Methodfind_ocr_rects
(size, bitmap_rects)
demo/Paper2Poster/docling/models/base_ocr_model.py:32
Methodformat_tool_call
r"""Format a function call into a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:40
Methodformat_tool_call
r"""Format a function call into a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:40
Methodformat_tool_response
r"""Format a function response into a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:47
Methodformat_tool_response
r"""Format a function response into a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:47
Methodfrom_bytes
r"""Creates a DocxFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:162
Methodfrom_bytes
r"""Creates a PdfFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:193
Methodfrom_bytes
r"""Creates a TxtFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:235
Methodfrom_bytes
r"""Creates a JsonFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:265
Methodfrom_bytes
r"""Creates a HtmlFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:294
Methodfrom_bytes
r"""Creates a DocxFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:162
Methodfrom_bytes
r"""Creates a PdfFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:193
Methodfrom_bytes
r"""Creates a TxtFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:235
Methodfrom_bytes
r"""Creates a JsonFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:265
Methodfrom_bytes
r"""Creates a HtmlFile object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:294
Functionfrom_inches
Convert from inches back to the original 'units'.
PosterAgent/tree_split_layout.py:481
Functionfrom_inches
Convert from inches back to the original 'units'.
demo/Paper2Poster/PosterAgent/tree_split_layout.py:481
Methodfrom_message
r"""Create a task from a message. Args: message (BaseMessage): The message to the task. Returns: Task
camel/tasks/task.py:101
Methodfrom_message
r"""Create a task from a message. Args: message (BaseMessage): The message to the task. Returns: Task
demo/Paper2Poster/camel/tasks/task.py:101
Methodfrom_raw_bytes
r"""Creates a File object from raw bytes. Args: raw_bytes (bytes): The raw bytes content of the file. filename (str):
camel/loaders/base_io.py:110
Methodfrom_raw_bytes
r"""Creates a File object from raw bytes. Args: raw_bytes (bytes): The raw bytes content of the file. filename (str):
demo/Paper2Poster/camel/loaders/base_io.py:110
Methodfrom_role_files
r"""Generate tasks from role files. Args: assistant_role_names_path (str, optional): The path to the file contain
camel/generators.py:231
Methodfrom_role_files
r"""Generate text from the file. Returns: Generator[str, None, None]: A generator that yields the text data.
camel/generators.py:302
Methodfrom_role_files
r"""Generate tasks from role files. Args: languages_path (str, optional): The path to the file containing the lan
camel/generators.py:330
Methodfrom_role_files
r"""Generate tasks from role files. Args: assistant_role_names_path (str, optional): The path to the file contain
demo/Paper2Poster/camel/generators.py:231
Methodfrom_role_files
r"""Generate text from the file. Returns: Generator[str, None, None]: A generator that yields the text data.
demo/Paper2Poster/camel/generators.py:302
Methodfrom_role_files
r"""Generate tasks from role files. Args: languages_path (str, optional): The path to the file containing the lan
demo/Paper2Poster/camel/generators.py:330
Methodfrom_role_generator
r"""Generate tasks from a role generator. Args: role_generator (Generator[Tuple, None, None]): A generator that y
camel/generators.py:262
Methodfrom_role_generator
r"""Generate tasks from a role generator. Args: role_generator (Generator[Tuple, None, None]): A generator that y
camel/generators.py:362
Methodfrom_role_generator
r"""Generate tasks from a role generator. Args: role_generator (Generator[Tuple, None, None]): A generator that y
demo/Paper2Poster/camel/generators.py:262
Methodfrom_role_generator
r"""Generate tasks from a role generator. Args: role_generator (Generator[Tuple, None, None]): A generator that y
demo/Paper2Poster/camel/generators.py:362
Methodfrom_shape
Create a ShapeElement from a BaseShape. Args: slide_idx (int): The index of the slide. shape_idx (int): The
utils/src/presentation.py:208
Methodfrom_shape
( cls, slide_idx: int, shape_idx: int, shape: BaseShape, *args,
utils/src/presentation.py:443
Methodfrom_shape
( cls, slide_idx: int, shape_idx: int, shape: TextFrame, style: dict,
utils/src/presentation.py:456
Methodfrom_shape
( cls, slide_idx: int, shape_idx: int, shape: PPTXPicture, style: dict
utils/src/presentation.py:480
Methodfrom_shape
Captures relevant geometry information (e.g., point sets) from the existing freeform shape. In python-pptx, retrieving detailed vert
utils/src/presentation.py:575
Methodfrom_shape
( cls, slide_idx: int, shape_idx: int, shape: SlidePlaceholder, style:
utils/src/presentation.py:688
Methodfrom_shape
( cls, slide_idx: int, shape_idx: int, shape: PPTXGroupShape, style: d
utils/src/presentation.py:739
← previousnext →3,301–3,400 of 4,860, ranked by callers