MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersMethodconvert_regex
r"""Convert the content to the specified regex pattern. Args: content (str): The content to be converted. regex_patte
demo/Paper2Poster/camel/schemas/outlines_converter.py:67
↓ 1 callersMethodconvert_type
r"""Convert the content to the specified type. The following types are currently available: 1. int 2. float
camel/schemas/outlines_converter.py:129
↓ 1 callersMethodconvert_type
r"""Convert the content to the specified type. The following types are currently available: 1. int 2. float
demo/Paper2Poster/camel/schemas/outlines_converter.py:129
↓ 1 callersFunctioncopy_and_get_relpath
规则: - 绝对路径:直接用; - 相对路径: * 若以 IMAGES_DIR_NAME 开头:src = images_parent / figure_path * 否则:src = images_parent / IMAGES
demo/posterbuilder/build_poster.py:267
↓ 1 callersFunctioncopy_and_get_relpath
(figure_path: str, out_tex_path: pathlib.Path, images_parent: pathlib.Path)
demo/posterbuilder/convert.py:493
↓ 1 callersFunctioncopytree_overwrite
(src: Path, dst: Path)
demo/pipeline.py:34
↓ 1 callersFunctioncount_tokens
Count the number of tokens in `text` according to OpenAI's tokenizer. :param text: The input string you want to measure. :param mode
utils/poster_eval_utils.py:631
↓ 1 callersFunctioncount_tokens
Count the number of tokens in `text` according to OpenAI's tokenizer. :param text: The input string you want to measure. :param mode
demo/Paper2Poster/utils/poster_eval_utils.py:631
↓ 1 callersMethodcount_tokens_from_messages
r"""Count the number of tokens in the messages using the specific tokenizer. Args: messages (List[Dict]): message list wi
camel/models/base_model.py:105
↓ 1 callersMethodcount_tokens_from_messages
r"""Count the number of tokens in the messages using the specific tokenizer. Args: messages (List[Dict]): message list wi
demo/Paper2Poster/camel/models/base_model.py:105
↓ 1 callersFunctioncount_words
Count the number of words in a given text string. :param text: Input text :return: Number of words found
utils/poster_eval_utils.py:649
↓ 1 callersFunctioncount_words
Count the number of words in a given text string. :param text: Input text :return: Number of words found
demo/Paper2Poster/utils/poster_eval_utils.py:649
↓ 1 callersFunctioncreate_actor_agent
()
PosterAgent/gen_poster_content.py:479
↓ 1 callersFunctioncreate_actor_agent
()
demo/Paper2Poster/PosterAgent/gen_poster_content.py:479
↓ 1 callersFunctioncreate_agent_fn
(sys_msg, agent_model, window_size=10)
PosterAgent/gen_outline_layout_parallel.py:109
↓ 1 callersFunctioncreate_agent_fn
(sys_msg, agent_model, window_size=10)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:109
↓ 1 callersFunctioncreate_chunks
r"""Returns successive n-sized chunks from provided text. Split a text into smaller chunks of size n". Args: text (str): The text to
camel/utils/commons.py:489
↓ 1 callersFunctioncreate_chunks
r"""Returns successive n-sized chunks from provided text. Split a text into smaller chunks of size n". Args: text (str): The text to
demo/Paper2Poster/camel/utils/commons.py:489
↓ 1 callersMethodcreate_context
r"""An abstract method to create conversational context from the chat history. Constructs the context from provided records. The spec
camel/memories/base.py:85
↓ 1 callersMethodcreate_context
r"""An abstract method to create conversational context from the chat history. Constructs the context from provided records. The spec
demo/Paper2Poster/camel/memories/base.py:85
↓ 1 callersMethodcreate_element_from_text
r"""Creates a Text element from a given text input, with optional metadata and embeddings. Args: text (str): The text con
camel/loaders/unstructured_io.py:43
↓ 1 callersMethodcreate_element_from_text
r"""Creates a Text element from a given text input, with optional metadata and embeddings. Args: text (str): The text con
demo/Paper2Poster/camel/loaders/unstructured_io.py:43
↓ 1 callersFunctioncreate_file
r"""Reads an uploaded file and returns a File object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:25
↓ 1 callersFunctioncreate_file
r"""Reads an uploaded file and returns a File object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:25
↓ 1 callersFunctioncreate_h2_actor_agent
()
PosterAgent/gen_outline_layout_parallel.py:604
↓ 1 callersFunctioncreate_h2_actor_agent
()
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:604
↓ 1 callersFunctioncreate_hash
(string: str)
docling/utils/utils.py:40
↓ 1 callersFunctioncreate_hash
(string: str)
demo/Paper2Poster/docling/utils/utils.py:40
↓ 1 callersFunctioncreate_theme_with_alignment
Create a new theme with vertical alignment configuration. Args: base_theme: Base theme dictionary section_title_vertical_ali
utils/theme_utils.py:40
↓ 1 callersFunctioncrop_image
Crop the image based on the normalized coordinates. Return the cropped image. This has the effect of zooming in on the image crop. Args:
utils/critic_utils.py:5
↓ 1 callersFunctioncrop_image
Crop the image based on the normalized coordinates. Return the cropped image. This has the effect of zooming in on the image crop. Args:
demo/Paper2Poster/utils/critic_utils.py:5
↓ 1 callersMethoddecompose
r"""Decompose a task to a list of sub-tasks. It can be used for data generation and planner of agent. Args: agent (ChatAg
camel/tasks/task.py:212
↓ 1 callersMethoddecompose
r"""Decompose a task to a list of sub-tasks. It can be used for data generation and planner of agent. Args: agent (ChatAg
demo/Paper2Poster/camel/tasks/task.py:212
↓ 1 callersMethoddelete
r"""Deletes an installation record by guild ID.
camel/bots/discord/discord_store.py:42
↓ 1 callersMethoddelete
r"""Deletes an installation record by guild ID.
demo/Paper2Poster/camel/bots/discord/discord_store.py:42
↓ 1 callersMethoddelete_collection
r"""Deletes the entire collection in the Qdrant storage.
camel/storages/vectordb_storages/qdrant.py:321
↓ 1 callersMethoddelete_collection
r"""Deletes the entire collection in the Qdrant storage.
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:321
↓ 1 callersFunctiondeoverflow
(args, actor_config, critic_config)
PosterAgent/deoverflow_parallel.py:345
↓ 1 callersFunctiondeoverflow
(args, actor_config, critic_config)
demo/Paper2Poster/PosterAgent/deoverflow_parallel.py:345
↓ 1 callersFunctiondetect_template
(tex: str)
demo/posterbuilder/convert_baposter.py:108
↓ 1 callersMethoddisplay_options
r"""Displays the options to the user. Args: messages (Sequence[BaseMessage]): A list of `BaseMessage` objects. Returns:
camel/human.py:53
↓ 1 callersMethoddisplay_options
r"""Displays the options to the user. Args: messages (Sequence[BaseMessage]): A list of `BaseMessage` objects. Returns:
demo/Paper2Poster/camel/human.py:53
↓ 1 callersFunctiondo_induct
(llm: list[llms.LLM], ppt_folder: str, rank: int)
utils/src/experiment/preprocess.py:212
↓ 1 callersFunctiondo_induct
(llm: list[llms.LLM], ppt_folder: str, rank: int)
demo/Paper2Poster/utils/src/experiment/preprocess.py:212
↓ 1 callersMethoddocs
( self, format_options: Dict[InputFormat, "FormatOption"] )
docling/datamodel/document.py:235
↓ 1 callersMethoddocs
( self, format_options: Dict[InputFormat, "FormatOption"] )
demo/Paper2Poster/docling/datamodel/document.py:235
↓ 1 callersMethoddownload
r"""Download APIBank dataset and code from Github.
camel/benchmarks/apibank.py:110
↓ 1 callersMethoddownload
r"""Download the benchmark data. Returns: BaseBenchmark: The benchmark instance.
camel/benchmarks/base.py:66
↓ 1 callersMethoddownload
r"""Download the Nexus Functional Calling Benchmark dataset.
camel/benchmarks/nexus.py:110
↓ 1 callersMethoddownload
r"""Download the RAGBench dataset.
camel/benchmarks/ragbench.py:263
↓ 1 callersMethoddownload
r"""Download the APIBench dataset.
camel/benchmarks/apibench.py:168
↓ 1 callersMethoddownload
r"""Download APIBank dataset and code from Github.
demo/Paper2Poster/camel/benchmarks/apibank.py:110
↓ 1 callersMethoddownload
r"""Download the benchmark data. Returns: BaseBenchmark: The benchmark instance.
demo/Paper2Poster/camel/benchmarks/base.py:66
↓ 1 callersMethoddownload
r"""Download the Nexus Functional Calling Benchmark dataset.
demo/Paper2Poster/camel/benchmarks/nexus.py:110
↓ 1 callersMethoddownload
r"""Download the RAGBench dataset.
demo/Paper2Poster/camel/benchmarks/ragbench.py:263
↓ 1 callersMethoddownload
r"""Download the APIBench dataset.
demo/Paper2Poster/camel/benchmarks/apibench.py:168
↓ 1 callersFunctiondownload_links
(jsonl_file: str)
utils/src/experiment/crawler.py:181
↓ 1 callersFunctiondownload_links
(jsonl_file: str)
demo/Paper2Poster/utils/src/experiment/crawler.py:181
↓ 1 callersMethoddownload_logo
Download a logo from a URL. Args: url: URL of the logo save_path: Path where to save the logo Retur
utils/logo_utils.py:271
↓ 1 callersMethoddownload_logo
Download a logo from a URL. Args: url: URL of the logo save_path: Path where to save the logo Retur
demo/Paper2Poster/utils/logo_utils.py:271
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False )
docling/models/table_structure_model.py:86
↓ 1 callersMethoddownload_models
( repo_id: str, local_dir: Optional[Path] = None, force: bool = False, progres
docling/models/picture_description_vlm_model.py:56
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False, )
docling/models/code_formula_model.py:113
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False )
docling/models/document_picture_classifier.py:104
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False )
demo/Paper2Poster/docling/models/table_structure_model.py:86
↓ 1 callersMethoddownload_models
( repo_id: str, local_dir: Optional[Path] = None, force: bool = False, progres
demo/Paper2Poster/docling/models/picture_description_vlm_model.py:56
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False, )
demo/Paper2Poster/docling/models/code_formula_model.py:113
↓ 1 callersMethoddownload_models
( local_dir: Optional[Path] = None, force: bool = False, progress: bool = False )
demo/Paper2Poster/docling/models/document_picture_classifier.py:104
↓ 1 callersFunctiondownload_url_with_progress
(url: str, progress: bool = False)
docling/utils/utils.py:47
↓ 1 callersFunctiondownload_url_with_progress
(url: str, progress: bool = False)
demo/Paper2Poster/docling/utils/utils.py:47
↓ 1 callersMethoddraw_table_and_cells
( self, conv_res: ConversionResult, page: Page, tbl_list: Iterable[Table],
docling/models/table_structure_model.py:103
↓ 1 callersMethoddraw_table_and_cells
( self, conv_res: ConversionResult, page: Page, tbl_list: Iterable[Table],
demo/Paper2Poster/docling/models/table_structure_model.py:103
↓ 1 callersFunctionencode_question
r"""Encode multiple prompt instructions into a single string.
camel/benchmarks/apibench.py:60
↓ 1 callersFunctionencode_question
r"""Encode multiple prompt instructions into a single string.
demo/Paper2Poster/camel/benchmarks/apibench.py:60
↓ 1 callersFunctionenforce_baposter_three_columns
强制3列,并调小列间距以铺满页面宽度。
demo/posterbuilder/convert_baposter.py:265
↓ 1 callersMethodensure_edge_type_exists
r"""Ensures that a specified edge type exists in the NebulaGraph database. If the edge type already exists, this method does nothing.
camel/storages/graph_storages/nebula_graph.py:203
↓ 1 callersMethodensure_edge_type_exists
r"""Ensures that a specified edge type exists in the NebulaGraph database. If the edge type already exists, this method does nothing.
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:203
↓ 1 callersFunctionequivalent_length_with_forced_breaks
Returns the "width-equivalent length" of the text when forced newlines are respected. Each physical line (including partial) is counted as if
utils/wei_utils.py:1095
↓ 1 callersFunctionestimate_visual_tokens
Return per‑image *visual‑token* counts for **Qwen‑2.5‑VL**. Token count = ⌈H/28⌉ × ⌈W/28⌉ after the model’s resizing rules. The helper mirror
utils/poster_eval_utils.py:162
↓ 1 callersFunctionestimate_visual_tokens
Return per‑image *visual‑token* counts for **Qwen‑2.5‑VL**. Token count = ⌈H/28⌉ × ⌈W/28⌉ after the model’s resizing rules. The helper mirror
demo/Paper2Poster/utils/poster_eval_utils.py:162
↓ 1 callersFunctioneval_vlm_as_judge_aspect
(poster_image_list, agent_config, eval_aspect)
utils/poster_eval_utils.py:1216
↓ 1 callersFunctioneval_vlm_as_judge_aspect
(poster_image_list, agent_config, eval_aspect)
demo/Paper2Poster/utils/poster_eval_utils.py:1216
↓ 1 callersMethodevaluate
r"""Evaluate the messages using the reward model. Args: messages (List[Dict[str, str]]): A list of messages where each
camel/models/reward/evaluator.py:30
↓ 1 callersMethodevaluate
r"""Evaluate the messages using the reward model. Args: messages (List[Dict[str, str]]): A list of messages where each
demo/Paper2Poster/camel/models/reward/evaluator.py:30
↓ 1 callersFunctionevaluate_response
( response, question_id, dataset_name, api_database, qa_pairs, ast_database )
camel/benchmarks/apibench.py:452
↓ 1 callersFunctionevaluate_response
( response, question_id, dataset_name, api_database, qa_pairs, ast_database )
demo/Paper2Poster/camel/benchmarks/apibench.py:452
↓ 1 callersMethodexecute
(self, in_doc: InputDocument, raises_on_error: bool)
docling/pipeline/base_pipeline.py:35
↓ 1 callersMethodexecute
(self, in_doc: InputDocument, raises_on_error: bool)
demo/Paper2Poster/docling/pipeline/base_pipeline.py:35
↓ 1 callersMethodexist
r"""Check if a task with the given id exists.
camel/tasks/task.py:314
↓ 1 callersMethodexist
r"""Check if a task with the given id exists.
demo/Paper2Poster/camel/tasks/task.py:314
↓ 1 callersFunctionexport_documents
( conv_results: Iterable[ConversionResult], output_dir: Path, export_json: bool, export_html:
docling/cli/main.py:80
↓ 1 callersFunctionexport_documents
( conv_results: Iterable[ConversionResult], output_dir: Path, export_json: bool, export_html:
demo/Paper2Poster/docling/cli/main.py:80
↓ 1 callersFunctionextract_begin_token_with_options
(region: str, env: str)
demo/posterbuilder/build_poster.py:137
↓ 1 callersFunctionextract_begin_token_with_options
(region: str, env: str)
demo/posterbuilder/convert_baposter.py:144
↓ 1 callersFunctionextract_begin_token_with_options
(region: str, env: str)
demo/posterbuilder/convert.py:373
↓ 1 callersFunctionextract_colors
Extract color configurations from YAML config. Supports both flat and nested structures: - Flat: title_text_color, main_text_color, etc.
utils/config_utils.py:102
↓ 1 callersMethodextract_first_author_institution
Extract the first author's institution from paper content. Args: paper_content: Text content of the paper (markdown form
utils/logo_utils.py:340
↓ 1 callersFunctionextract_font_sizes
Extract font size configurations from YAML config. Supports both flat and nested structures: - Flat: main_text_font_size, section_title_
utils/config_utils.py:54
↓ 1 callersFunctionextract_images_and_sections
(md)
utils/poster_eval_utils.py:1020
↓ 1 callersFunctionextract_images_and_sections
(md)
demo/Paper2Poster/utils/poster_eval_utils.py:1020
← previousnext →1,401–1,500 of 4,860, ranked by callers