Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Paper2Poster/Paper2Poster
/ functions
Functions
4,860 in github.com/Paper2Poster/Paper2Poster
⨍
Functions
4,860
◇
Types & classes
1,020
↳
Endpoints
4
Method
embed_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
Method
embed_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
Method
embed_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
Method
embed_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
Method
embed_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
Method
embed_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
Method
embed_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
Method
embed_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
Method
embed_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
Function
enable_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
Function
enable_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
Method
endElement
Signal the end of an element. Args: tag: The element tag.
docling/backend/xml/uspto_backend.py:318
Method
endElement
Signal the end of an element. Args: tag: The element tag.
docling/backend/xml/uspto_backend.py:653
Method
endElement
Signal the end of an element. Args: tag: The element tag.
docling/backend/xml/uspto_backend.py:1214
Method
endElement
Signal the end of an element. Args: tag: The element tag.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:318
Method
endElement
Signal the end of an element. Args: tag: The element tag.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:653
Method
endElement
Signal the end of an element. Args: tag: The element tag.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:1214
Function
eval_baseline
( setting: str, model: Literal["Qwen2.5", "gpt-4o"], general_eval: bool = False, feature_eval:
utils/src/experiment/evals.py:235
Function
eval_baseline
( setting: str, model: Literal["Qwen2.5", "gpt-4o"], general_eval: bool = False, feature_eval:
demo/Paper2Poster/utils/src/experiment/evals.py:235
Function
eval_experiment
( setting: str, general_eval: bool = False, feature_eval: bool = False, ppt_eval: bool = False
utils/src/experiment/evals.py:198
Function
eval_experiment
( setting: str, general_eval: bool = False, feature_eval: bool = False, ppt_eval: bool = False
demo/Paper2Poster/utils/src/experiment/evals.py:198
Method
evaluate
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
Method
evaluate
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
Method
evaluate
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
Method
evaluate
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
Method
evaluate
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
Method
evaluate
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
Method
evolve
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
Method
evolve
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
Method
exchange_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
Method
exchange_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
Method
execute_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
Method
execute_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
Method
export_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
Method
export_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
Function
extract_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
Method
extract_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
Method
extract_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
Method
extract_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
Function
extract_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
Method
extract_institution_from_paper
Extract institution names from paper content. DEPRECATED: Use extract_first_author_institution() instead for better accuracy.
utils/logo_utils.py:505
Method
extract_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
Function
extract_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
Method
extract_tool_calls
r"""Extract function call info from a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:30
Method
extract_tool_calls
r"""Extract function call info from a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:30
Method
extract_tool_response
r"""Extract function response info from a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:35
Method
extract_tool_response
r"""Extract function response info from a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:35
Function
extract_vertical_alignment
Extract vertical alignment configuration from YAML config. Args: yaml_cfg: YAML configuration dictionary Returns: Verti
demo/Paper2Poster/utils/config_utils.py:145
Method
fields_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
Method
fields_type_checking
(cls, response_format)
camel/configs/mistral_config.py:67
Method
fields_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
Method
fields_type_checking
(cls, response_format)
demo/Paper2Poster/camel/configs/mistral_config.py:67
Function
fill_location
(outline, section_name, location_dict)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:95
Function
fill_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
Function
fill_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
Method
filter_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
Method
filter_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
Function
filter_slide
(slide: SlidePage)
utils/src/experiment/preprocess.py:129
Function
filter_slide
(slide: SlidePage)
demo/Paper2Poster/utils/src/experiment/preprocess.py:129
Method
find_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
Method
find_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
Method
find_ocr_rects
(size, bitmap_rects)
docling/models/base_ocr_model.py:32
Method
find_ocr_rects
(size, bitmap_rects)
demo/Paper2Poster/docling/models/base_ocr_model.py:32
Method
format_tool_call
r"""Format a function call into a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:40
Method
format_tool_call
r"""Format a function call into a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:40
Method
format_tool_response
r"""Format a function response into a message string
camel/messages/conversion/sharegpt/function_call_formatter.py:47
Method
format_tool_response
r"""Format a function response into a message string
demo/Paper2Poster/camel/messages/conversion/sharegpt/function_call_formatter.py:47
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Function
from_inches
Convert from inches back to the original 'units'.
PosterAgent/tree_split_layout.py:481
Function
from_inches
Convert from inches back to the original 'units'.
demo/Paper2Poster/PosterAgent/tree_split_layout.py:481
Method
from_message
r"""Create a task from a message. Args: message (BaseMessage): The message to the task. Returns: Task
camel/tasks/task.py:101
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_role_files
r"""Generate text from the file. Returns: Generator[str, None, None]: A generator that yields the text data.
camel/generators.py:302
Method
from_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
Method
from_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
Method
from_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
Method
from_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
Method
from_role_generator
r"""Generate tasks from a role generator. Args: role_generator (Generator[Tuple, None, None]): A generator that y
camel/generators.py:262
Method
from_role_generator
r"""Generate tasks from a role generator. Args: role_generator (Generator[Tuple, None, None]): A generator that y
camel/generators.py:362
Method
from_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
Method
from_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
Method
from_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
Method
from_shape
( cls, slide_idx: int, shape_idx: int, shape: BaseShape, *args,
utils/src/presentation.py:443
Method
from_shape
( cls, slide_idx: int, shape_idx: int, shape: TextFrame, style: dict,
utils/src/presentation.py:456
Method
from_shape
( cls, slide_idx: int, shape_idx: int, shape: PPTXPicture, style: dict
utils/src/presentation.py:480
Method
from_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
Method
from_shape
( cls, slide_idx: int, shape_idx: int, shape: SlidePlaceholder, style:
utils/src/presentation.py:688
Method
from_shape
( cls, slide_idx: int, shape_idx: int, shape: PPTXGroupShape, style: d
utils/src/presentation.py:739
← previous
next →
3,301–3,400 of 4,860, ranked by callers