MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersMethodload
r"""Load the APIBank Benchmark dataset. Args: level (str): Level to run benchmark on. force_download (bool, optional)
demo/Paper2Poster/camel/benchmarks/apibank.py:122
↓ 1 callersMethodload
r"""Load the Nexus Benchmark dataset. Args: dataset_name (str): Name of the specific dataset to be loaded. force_down
demo/Paper2Poster/camel/benchmarks/nexus.py:123
↓ 1 callersMethodload
r"""Load the APIBench Benchmark dataset. Args: dataset_name (str): Name of the specific dataset to be loaded. force_d
demo/Paper2Poster/camel/benchmarks/apibench.py:185
↓ 1 callersFunctionload_arrangement_and_captions
()
demo/posterbuilder/build_poster.py:240
↓ 1 callersFunctionload_arrangement_and_captions
()
demo/posterbuilder/convert_baposter.py:375
↓ 1 callersFunctionload_arrangement_and_captions
()
demo/posterbuilder/convert.py:467
↓ 1 callersMethodload_page
(self, page_no: int)
docling/backend/pdf_backend.py:63
↓ 1 callersFunctionload_poster_yaml_config
Load poster configuration from YAML files. Searches for poster.yaml in multiple locations: 1. Next to the poster PDF (per-poster config)
utils/config_utils.py:13
↓ 1 callersMethodload_seed
r"""Load seed tasks from a file. Defaults to a predefined seed file if no path is provided. Args: path (str): Path to the
camel/datagen/self_instruct/self_instruct.py:85
↓ 1 callersMethodload_seed
r"""Load seed tasks from a file. Defaults to a predefined seed file if no path is provided. Args: path (str): Path to the
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:85
↓ 1 callersFunctionmain
()
Paper2Poster-eval/eval_qa_fix.py:88
↓ 1 callersFunctionmain
Example usage of LogoManager.
utils/logo_utils.py:570
↓ 1 callersFunctionmain
()
demo/posterbuilder/convert_baposter.py:576
↓ 1 callersFunctionmain
()
demo/Paper2Poster/Paper2Poster-eval/eval_qa_fix.py:88
↓ 1 callersFunctionmain
Example usage of LogoManager.
demo/Paper2Poster/utils/logo_utils.py:519
↓ 1 callersFunctionmain_inference
( paper_panels, panel_model_params, figure_model_params, poster_width=1200, poster_height=
PosterAgent/tree_split_layout.py:619
↓ 1 callersFunctionmain_train
()
PosterAgent/tree_split_layout.py:300
↓ 1 callersFunctionmake_block
(title: str, content: str, figures_tex: str = "")
demo/posterbuilder/build_poster.py:109
↓ 1 callersFunctionmake_block
(title: str, content: str, figures_tex: str = "")
demo/posterbuilder/convert.py:334
↓ 1 callersFunctionmd_to_blocks
( md: str, base_dir='' )
utils/poster_eval_utils.py:67
↓ 1 callersFunctionmd_to_blocks
( md: str, base_dir='' )
demo/Paper2Poster/utils/poster_eval_utils.py:67
↓ 1 callersFunctionmodify_new_pipeline_for_beamer
Modified version of new_pipeline.py to support Beamer output. This function replaces the PowerPoint generation part with Beamer generation.
demo/Paper2Poster/PosterAgent/beamer_pipeline.py:77
↓ 1 callersFunctionmonkeypatch_render
()
utils/src/experiment/ablation.py:155
↓ 1 callersFunctionmonkeypatch_render
()
demo/Paper2Poster/utils/src/experiment/ablation.py:155
↓ 1 callersFunctionno_tree_get_layout
(poster_width, poster_height, panels, figures, agent_config)
utils/ablation_utils.py:10
↓ 1 callersFunctionnormalize_config_values
Normalize configuration values to proper types. Args: Font sizes and colors (raw from YAML) Returns: Tuple of normalize
utils/config_utils.py:211
↓ 1 callersFunctionnormalize_textit_math
目的: - \textit{\tau} -> $\tau$ - \textit{c}(\tau) -> $c(\tau)$ - \textit{c} -> $c$ 规则: - 先屏蔽已有数学块,避免误处理
demo/posterbuilder/convert.py:167
↓ 1 callersMethodopenapi_spec_to_openai_schemas
r"""Convert OpenAPI specification to OpenAI schema format. This function iterates over the paths and operations defined in an OpenAPI
camel/toolkits/open_api_toolkit.py:73
↓ 1 callersMethodopenapi_spec_to_openai_schemas
r"""Convert OpenAPI specification to OpenAI schema format. This function iterates over the paths and operations defined in an OpenAPI
demo/Paper2Poster/camel/toolkits/open_api_toolkit.py:73
↓ 1 callersMethodpage_count
(self)
docling/backend/pypdfium2_backend.py:248
↓ 1 callersMethodpage_count
(self)
docling/backend/pdf_backend.py:67
↓ 1 callersMethodpage_count
(self)
docling/backend/docling_parse_backend.py:212
↓ 1 callersMethodpage_count
(self)
docling/backend/docling_parse_v2_backend.py:227
↓ 1 callersMethodpage_count
(self)
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:248
↓ 1 callersMethodpage_count
(self)
demo/Paper2Poster/docling/backend/pdf_backend.py:67
↓ 1 callersMethodpage_count
(self)
demo/Paper2Poster/docling/backend/docling_parse_backend.py:212
↓ 1 callersMethodpage_count
(self)
demo/Paper2Poster/docling/backend/docling_parse_v2_backend.py:227
↓ 1 callersFunctionpanel_layout_generation
(panels, x, y, w, h)
PosterAgent/tree_split_layout.py:507
↓ 1 callersFunctionpanel_layout_generation
(panels, x, y, w, h)
demo/Paper2Poster/PosterAgent/tree_split_layout.py:507
↓ 1 callersFunctionparallel_by_sections
Main entry point to parallelize processing across sections. Returns the merged logs and token counters after processing all sections in para
PosterAgent/deoverflow_parallel.py:251
↓ 1 callersFunctionparallel_by_sections
Main entry point to parallelize processing across sections. Returns the merged logs and token counters after processing all sections in para
demo/Paper2Poster/PosterAgent/deoverflow_parallel.py:251
↓ 1 callersFunctionparse_brace_group
(tex: str, start: int)
demo/posterbuilder/convert_baposter.py:238
↓ 1 callersMethodparse_bytes
r"""Parses a bytes stream and converts its contents into elements. Args: file (IO[bytes]): The file in bytes format to be parsed.
camel/loaders/unstructured_io.py:158
↓ 1 callersMethodparse_bytes
r"""Parses a bytes stream and converts its contents into elements. Args: file (IO[bytes]): The file in bytes format to be parsed.
demo/Paper2Poster/camel/loaders/unstructured_io.py:158
↓ 1 callersMethodparse_classification_output
r"""Parse the generated text for classification tasks into input-output pairs. Args: generated_text (str): The raw text g
camel/datagen/self_instruct/self_instruct.py:254
↓ 1 callersMethodparse_classification_output
r"""Parse the generated text for classification tasks into input-output pairs. Args: generated_text (str): The raw text g
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:254
↓ 1 callersMethodparse_critic
r"""Parses the critic's message and extracts the choice. Args: critic_msg (BaseMessage): A `BaseMessage` object representing the
camel/agents/critic_agent.py:151
↓ 1 callersMethodparse_critic
r"""Parses the critic's message and extracts the choice. Args: critic_msg (BaseMessage): A `BaseMessage` object representing the
demo/Paper2Poster/camel/agents/critic_agent.py:151
↓ 1 callersFunctionparse_groupshape
(groupshape: GroupShape)
utils/src/utils.py:223
↓ 1 callersFunctionparse_groupshape
(groupshape: GroupShape)
demo/Paper2Poster/utils/src/utils.py:223
↓ 1 callersMethodparse_input
r"""Parses the user's input and returns a `BaseMessage` object. Args: human_input (str): The user's input. Returns:
camel/human.py:97
↓ 1 callersMethodparse_input
r"""Parses the user's input and returns a `BaseMessage` object. Args: human_input (str): The user's input. Returns:
demo/Paper2Poster/camel/human.py:97
↓ 1 callersMethodparse_non_classification_output
r"""Parse the generated text for non-classification tasks into input-output pairs. Args: generated_text (str): The raw te
camel/datagen/self_instruct/self_instruct.py:304
↓ 1 callersMethodparse_non_classification_output
r"""Parse the generated text for non-classification tasks into input-output pairs. Args: generated_text (str): The raw te
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:304
↓ 1 callersMethodparse_openapi_file
r"""Load and parse an OpenAPI specification file. This function utilizes the `prance.ResolvingParser` to parse and resolve the given
camel/toolkits/open_api_toolkit.py:33
↓ 1 callersMethodparse_openapi_file
r"""Load and parse an OpenAPI specification file. This function utilizes the `prance.ResolvingParser` to parse and resolve the given
demo/Paper2Poster/camel/toolkits/open_api_toolkit.py:33
↓ 1 callersFunctionparse_poster_xml
Parse an XML describing a single poster layout, e.g.: <Poster Width="685" Height="968"> <Panel left="5" right="160" width="674" height
PosterAgent/tree_split_layout.py:15
↓ 1 callersFunctionparse_poster_xml
Parse an XML describing a single poster layout, e.g.: <Poster Width="685" Height="968"> <Panel left="5" right="160" width="674" height
demo/Paper2Poster/PosterAgent/tree_split_layout.py:15
↓ 1 callersFunctionparse_poster_xml_for_figures
(xml_path)
PosterAgent/tree_split_layout.py:238
↓ 1 callersFunctionparse_poster_xml_for_figures
(xml_path)
demo/Paper2Poster/PosterAgent/tree_split_layout.py:238
↓ 1 callersFunctionpdf_validate
(filename: str)
utils/src/experiment/crawler.py:112
↓ 1 callersFunctionpdf_validate
(filename: str)
demo/Paper2Poster/utils/src/experiment/crawler.py:112
↓ 1 callersMethodperform_sentiment_analysis
r"""Performs sentiment analysis on the comments collected from Reddit posts. Args: data (List[Dict[str, Any]]): A list of
camel/toolkits/reddit_toolkit.py:135
↓ 1 callersMethodperform_sentiment_analysis
r"""Performs sentiment analysis on the comments collected from Reddit posts. Args: data (List[Dict[str, Any]]): A list of
demo/Paper2Poster/camel/toolkits/reddit_toolkit.py:135
↓ 1 callersFunctionplace_text_and_figures_exact
Lay out text and figure boxes inside a panel. The figure’s aspect ratio (width / height) is now enforced strictly: • width ≤ panel
PosterAgent/tree_split_layout.py:328
↓ 1 callersFunctionplace_text_and_figures_exact
Lay out text and figure boxes inside a panel. The figure’s aspect ratio (width / height) is now enforced strictly: • width ≤ panel
demo/Paper2Poster/PosterAgent/tree_split_layout.py:328
↓ 1 callersFunctionpng_to_pdf
Convert a PNG image to a PDF file. Args: input_path: Path to the source .png file. output_path: Path where the resulting .pd
utils/poster_eval_utils.py:999
↓ 1 callersFunctionpng_to_pdf
Convert a PNG image to a PDF file. Args: input_path: Path to the source .png file. output_path: Path where the resulting .pd
demo/Paper2Poster/utils/poster_eval_utils.py:999
↓ 1 callersMethodpost_dependency
r"""Post a dependency to the channel. A dependency is a task that is archived, and will be referenced by other tasks.
camel/societies/workforce/task_channel.py:127
↓ 1 callersMethodpost_dependency
r"""Post a dependency to the channel. A dependency is a task that is archived, and will be referenced by other tasks.
demo/Paper2Poster/camel/societies/workforce/task_channel.py:127
↓ 1 callersMethodpost_task
r"""Send a task to the channel with specified publisher and assignee, along with the dependency of the task.
camel/societies/workforce/task_channel.py:116
↓ 1 callersMethodpost_task
r"""Send a task to the channel with specified publisher and assignee, along with the dependency of the task.
demo/Paper2Poster/camel/societies/workforce/task_channel.py:116
↓ 1 callersMethodpostprocess
Main processing pipeline.
docling/utils/layout_postprocessor.py:220
↓ 1 callersMethodpostprocess
Main processing pipeline.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:220
↓ 1 callersFunctionppt_validate
(filename: str)
utils/src/experiment/crawler.py:89
↓ 1 callersFunctionppt_validate
(filename: str)
demo/Paper2Poster/utils/src/experiment/crawler.py:89
↓ 1 callersMethodprepare_element
( self, conv_res: ConversionResult, element: NodeItem )
docling/models/base_model.py:46
↓ 1 callersMethodprepare_element
( self, conv_res: ConversionResult, element: NodeItem )
demo/Paper2Poster/docling/models/base_model.py:46
↓ 1 callersFunctionprepare_induction
(induct_id: int, wait: bool = False)
utils/src/experiment/preprocess.py:205
↓ 1 callersFunctionprepare_induction
(induct_id: int, wait: bool = False)
demo/Paper2Poster/utils/src/experiment/preprocess.py:205
↓ 1 callersFunctionprepare_ppt_folder
(ppt_folder: str, text_model: BGEM3FlagModel, image_model)
utils/src/experiment/preprocess.py:162
↓ 1 callersFunctionprepare_ppt_folder
(ppt_folder: str, text_model: BGEM3FlagModel, image_model)
demo/Paper2Poster/utils/src/experiment/preprocess.py:162
↓ 1 callersFunctionpreprocess_input
r"""Remove formatting like code blocks and whitespace.
camel/benchmarks/nexus.py:429
↓ 1 callersFunctionpreprocess_input
r"""Remove formatting like code blocks and whitespace.
demo/Paper2Poster/camel/benchmarks/nexus.py:429
↓ 1 callersMethodprev_indent
(self)
docling/backend/msword_backend.py:148
↓ 1 callersMethodprev_indent
(self)
demo/Paper2Poster/docling/backend/msword_backend.py:148
↓ 1 callersMethodprocess
r"""Processes content from a file or URL, divides it into chunks by using `Unstructured IO`,then stored internally. This method must be
camel/retrievers/bm25_retriever.py:53
↓ 1 callersMethodprocess
r"""Processes content from local file path, remote URL, string content, Element object, or a binary file object, divides it into chunk
camel/retrievers/vector_retriever.py:72
↓ 1 callersMethodprocess
r"""Processes content from a file or URL, divides it into chunks by using `Unstructured IO`,then stored internally. This method must be
demo/Paper2Poster/camel/retrievers/bm25_retriever.py:53
↓ 1 callersMethodprocess
r"""Processes content from local file path, remote URL, string content, Element object, or a binary file object, divides it into chunk
demo/Paper2Poster/camel/retrievers/vector_retriever.py:72
↓ 1 callersFunctionprocess_folder
(pdf_folder, model, processor)
utils/src/experiment/baseline_docpres.py:177
↓ 1 callersFunctionprocess_folder
(pdf_folder, model, processor)
demo/Paper2Poster/utils/src/experiment/baseline_docpres.py:177
↓ 1 callersFunctionprocess_leaf_section
Handles the logic for a single leaf_section within a section_name. Returns a dictionary of updated logs and tokens.
PosterAgent/deoverflow_parallel.py:26
↓ 1 callersFunctionprocess_leaf_section
Handles the logic for a single leaf_section within a section_name. Returns a dictionary of updated logs and tokens.
demo/Paper2Poster/PosterAgent/deoverflow_parallel.py:26
↓ 1 callersFunctionprocess_pdf_folder
(pdf_folder)
utils/src/experiment/baseline_kctv.py:132
↓ 1 callersFunctionprocess_pdf_folder
(pdf_folder)
demo/Paper2Poster/utils/src/experiment/baseline_kctv.py:132
↓ 1 callersFunctionpt_to_emu
(points: float)
utils/wei_utils.py:370
↓ 1 callersMethodquery
r"""Executes a query in vector storage and compiles the retrieved results into a dictionary. Args: query (str): Query str
camel/retrievers/vector_retriever.py:193
↓ 1 callersMethodquery
r"""Searches for similar vectors in the storage based on the provided query. Args: query (VectorDBQuery): The query objec
camel/storages/vectordb_storages/base.py:156
↓ 1 callersMethodquery
r"""Executes a query in vector storage and compiles the retrieved results into a dictionary. Args: query (str): Query str
demo/Paper2Poster/camel/retrievers/vector_retriever.py:193
← previousnext →1,801–1,900 of 4,860, ranked by callers