MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersFunctionextract_section_title_symbol
Extract section title symbol configuration from YAML config. Args: yaml_cfg: YAML configuration dictionary Returns: Sec
utils/config_utils.py:160
↓ 1 callersMethodextract_table_cell_text
Extract text from a table cell, including lists with indents.
docling/backend/html_backend.py:406
↓ 1 callersMethodextract_table_cell_text
Extract text from a table cell, including lists with indents.
demo/Paper2Poster/docling/backend/html_backend.py:406
↓ 1 callersMethodextract_text_and_code_prompts
r"""Extract text and code prompts from the message content. Returns: Tuple[List[TextPrompt], List[CodePrompt]]: A tuple containin
camel/messages/base.py:242
↓ 1 callersMethodextract_text_and_code_prompts
r"""Extract text and code prompts from the message content. Returns: Tuple[List[TextPrompt], List[CodePrompt]]: A tuple containin
demo/Paper2Poster/camel/messages/base.py:242
↓ 1 callersMethodextract_text_recursively
(self, item: Tag)
docling/backend/html_backend.py:148
↓ 1 callersMethodextract_text_recursively
(self, item: Tag)
demo/Paper2Poster/docling/backend/html_backend.py:148
↓ 1 callersMethodextract_tool_calls
r"""Extracts all tool calls from the provided message string. Args: message (str): The input message string containing potential
camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:44
↓ 1 callersMethodextract_tool_calls
r"""Extracts all tool calls from the provided message string. Args: message (str): The input message string containing potential
demo/Paper2Poster/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:44
↓ 1 callersMethodextract_tool_response
r"""Extracts a single tool response from the provided message string. Args: message (str): The input message string containing a
camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:68
↓ 1 callersMethodextract_tool_response
r"""Extracts a single tool response from the provided message string. Args: message (str): The input message string containing a
demo/Paper2Poster/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:68
↓ 1 callersFunctionextract_vertical_alignment
Extract vertical alignment configuration from YAML config. Args: yaml_cfg: YAML configuration dictionary Returns: Verti
utils/config_utils.py:145
↓ 1 callersFunctionfigures_to_latex
(fig_list, out_tex_path: pathlib.Path, images_parent: pathlib.Path)
demo/posterbuilder/build_poster.py:332
↓ 1 callersFunctionfigures_to_latex
(fig_list, out_tex_path: pathlib.Path, images_parent: pathlib.Path)
demo/posterbuilder/convert.py:596
↓ 1 callersFunctionfigures_to_latex_baposter
(fig_list, out_tex_path: pathlib.Path, images_parent: pathlib.Path)
demo/posterbuilder/convert_baposter.py:500
↓ 1 callersFunctionfigures_to_latex_beamer
(fig_list, out_tex_path: pathlib.Path, images_parent: pathlib.Path)
demo/posterbuilder/convert_baposter.py:490
↓ 1 callersFunctionfill_location
(outline, section_name, location_dict)
PosterAgent/gen_outline_layout_parallel.py:262
↓ 1 callersFunctionfill_location
(outline, section_name, location_dict)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:262
↓ 1 callersFunctionfilter_aspect_ratio
(image: list[str])
utils/src/experiment/baseline_docpres.py:53
↓ 1 callersFunctionfilter_aspect_ratio
(image: list[str])
demo/Paper2Poster/utils/src/experiment/baseline_docpres.py:53
↓ 1 callersFunctionfilter_image_table
(args, filter_config)
PosterAgent/gen_outline_layout_parallel.py:430
↓ 1 callersFunctionfilter_image_table
(args, filter_config)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:430
↓ 1 callersMethodfind_by_guild
r"""Finds an installation record by guild ID.
camel/bots/discord/discord_store.py:36
↓ 1 callersMethodfind_by_guild
r"""Finds an installation record by guild ID.
demo/Paper2Poster/camel/bots/discord/discord_store.py:36
↓ 1 callersMethodfind_candidates
Find potential overlapping cluster IDs using all indexes.
docling/utils/layout_postprocessor.py:73
↓ 1 callersMethodfind_candidates
Find potential overlapping cluster IDs using all indexes.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:73
↓ 1 callersFunctionfind_project_root
(start: pathlib.Path)
demo/posterbuilder/build_poster.py:8
↓ 1 callersFunctionfind_project_root
(start: pathlib.Path)
demo/posterbuilder/convert_baposter.py:7
↓ 1 callersFunctionfind_project_root
(start: pathlib.Path)
demo/posterbuilder/convert.py:8
↓ 1 callersFunctionfix_latex_escaped_commands
修复由于 \t 被错误解析而导致的 LaTeX 命令丢失反斜杠问题, 例如将 "extbf{" -> "\textbf{",并修正 "\}" -> "}"。
demo/posterbuilder/convert.py:222
↓ 1 callersMethodflatten_options
r"""Flattens the options to the critic. Args: messages (Sequence[BaseMessage]): A list of `BaseMessage` objects. Returns
camel/agents/critic_agent.py:80
↓ 1 callersMethodflatten_options
r"""Flattens the options to the critic. Args: messages (Sequence[BaseMessage]): A list of `BaseMessage` objects. Returns
demo/Paper2Poster/camel/agents/critic_agent.py:80
↓ 1 callersFunctionformat_content_to_latex
(content: str)
demo/posterbuilder/build_poster.py:101
↓ 1 callersFunctionformat_content_to_latex
格式化正文内容,自动修复 LaTeX 命令
demo/posterbuilder/convert.py:311
↓ 1 callersMethodformat_message
Message formatter for OpenAI server call.
utils/src/llms.py:182
↓ 1 callersMethodformat_message
Message formatter for OpenAI server call.
demo/Paper2Poster/utils/src/llms.py:182
↓ 1 callersMethodformat_tool_call
r"""Formats a tool call message with the given content, function name, and arguments. Args: content (str): The content or
camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:94
↓ 1 callersMethodformat_tool_call
r"""Formats a tool call message with the given content, function name, and arguments. Args: content (str): The content or
demo/Paper2Poster/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:94
↓ 1 callersMethodformat_tool_response
r"""Formats a tool response message with the given function name and result. Args: func_name (str): The name of the funct
camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:117
↓ 1 callersMethodformat_tool_response
r"""Formats a tool response message with the given function name and result. Args: func_name (str): The name of the funct
demo/Paper2Poster/camel/messages/conversion/sharegpt/hermes/hermes_function_formatter.py:117
↓ 1 callersMethodfrom_chat_history
(cls, chat_history)
camel/benchmarks/apibank.py:443
↓ 1 callersMethodfrom_chat_history
(cls, chat_history)
demo/Paper2Poster/camel/benchmarks/apibank.py:443
↓ 1 callersMethodfrom_context
r"""Create a data collector from a context. Args: name (str): The name of the agent. context (Dict[str, Any]): The co
camel/data_collector/base.py:70
↓ 1 callersMethodfrom_context
r"""Create a data collector from a context. Args: name (str): The name of the agent. context (Dict[str, Any]): The co
demo/Paper2Poster/camel/data_collector/base.py:70
↓ 1 callersMethodfrom_dict
r"""Generates a system message from a dictionary. Args: meta_dict (Dict[str, str]): The dictionary containing the
camel/generators.py:98
↓ 1 callersMethodfrom_dict
r"""Generates a system message from a dictionary. Args: meta_dict (Dict[str, str]): The dictionary containing the
demo/Paper2Poster/camel/generators.py:98
↓ 1 callersMethodfrom_slide
Create a SlidePage from a PPTXSlide. Args: slide (PPTXSlide): The slide object. slide_idx (int): The index o
utils/src/presentation.py:996
↓ 1 callersMethodfrom_slide
Create a SlidePage from a PPTXSlide. Args: slide (PPTXSlide): The slide object. slide_idx (int): The index o
demo/Paper2Poster/utils/src/presentation.py:996
↓ 1 callersFunctionfunc_string_to_callable
r"""Convert a function code string to a callable function object. Args: code (str): The function code as a string. Returns:
camel/utils/commons.py:385
↓ 1 callersFunctionfunc_string_to_callable
r"""Convert a function code string to a callable function object. Args: code (str): The function code as a string. Returns:
demo/Paper2Poster/camel/utils/commons.py:385
↓ 1 callersFunctiongather_files
(topics: list[str], num_results: int)
utils/src/experiment/crawler.py:219
↓ 1 callersFunctiongather_files
(topics: list[str], num_results: int)
demo/Paper2Poster/utils/src/experiment/crawler.py:219
↓ 1 callersFunctiongen_beamer_poster_direct
Generate Beamer poster directly from paper text using LLM. Args: paper_text: Extracted text from the paper poster_w
demo/Paper2Poster/PosterAgent/LLM_direct_generate_beamer.py:17
↓ 1 callersFunctiongen_bullet_point_content
(args, actor_config, critic_config, agent_modify=True, tmp_dir='tmp')
PosterAgent/gen_poster_content.py:211
↓ 1 callersFunctiongen_content_parallel_process_sections
Parallelize the section processing using ThreadPoolExecutor.
PosterAgent/gen_poster_content.py:90
↓ 1 callersFunctiongen_content_parallel_process_sections
Parallelize the section processing using ThreadPoolExecutor.
demo/Paper2Poster/PosterAgent/gen_poster_content.py:90
↓ 1 callersFunctiongen_outline_layout
(args, actor_config, critic_config)
PosterAgent/gen_outline_layout_parallel.py:484
↓ 1 callersFunctiongen_outline_layout_v2
(args, actor_config)
PosterAgent/gen_outline_layout.py:309
↓ 1 callersFunctiongen_outline_layout_v2
(args, actor_config)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:327
↓ 1 callersFunctiongen_poster_title_content
(args, actor_config)
PosterAgent/gen_poster_content.py:162
↓ 1 callersFunctiongen_poster_title_content
(args, actor_config)
demo/Paper2Poster/PosterAgent/gen_poster_content.py:162
↓ 1 callersMethodgenerate
r"""Execute the entire pipeline to generate machine instructions and instances.
camel/datagen/self_instruct/self_instruct.py:366
↓ 1 callersMethodgenerate_3d_preview
r"""Generates a 3D preview using the Meshy API. Args: prompt (str): Description of the object. art_style (str): Art s
camel/toolkits/meshy_toolkit.py:47
↓ 1 callersMethodgenerate_3d_preview
r"""Generates a 3D preview using the Meshy API. Args: prompt (str): Description of the object. art_style (str): Art s
demo/Paper2Poster/camel/toolkits/meshy_toolkit.py:47
↓ 1 callersMethodgenerate_apinames_filepaths
Generates a list of tuples containing API names and their corresponding file paths. This function iterates over the OpenAPIName enum,
camel/toolkits/open_api_toolkit.py:500
↓ 1 callersMethodgenerate_apinames_filepaths
Generates a list of tuples containing API names and their corresponding file paths. This function iterates over the OpenAPIName enum,
demo/Paper2Poster/camel/toolkits/open_api_toolkit.py:500
↓ 1 callersFunctiongenerate_beamer_figure_code
Generate Beamer code for including figures. Args: figure_data: Dictionary containing figure information figure_inde
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:136
↓ 1 callersFunctiongenerate_beamer_poster
Generate Beamer poster instead of PowerPoint. Args: panel_arrangement_inches: Panel layout data text_arrangement_in
demo/Paper2Poster/PosterAgent/beamer_pipeline.py:17
↓ 1 callersFunctiongenerate_beamer_poster_code
Generate complete Beamer poster code. Args: sections: List of section dictionaries figures: List of figure dictiona
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:167
↓ 1 callersFunctiongenerate_beamer_section_code
兼容 Paper2Poster bullet JSON: - section_data 包含 title_blocks / textbox1_blocks / textbox2_blocks - 每个 *_blocks 是 list[ {bullet: bool, r
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:82
↓ 1 callersFunctiongenerate_constrained_layout
(paper_panels, poster_w, poster_h, title_height_ratio=0.1)
PosterAgent/tree_split_layout.py:590
↓ 1 callersFunctiongenerate_constrained_layout
(paper_panels, poster_w, poster_h, title_height_ratio=0.1)
demo/Paper2Poster/PosterAgent/tree_split_layout.py:590
↓ 1 callersFunctiongenerate_content
(source_text: str, bird_eye: dict, max_bullet: int)
utils/src/experiment/baseline_docpres.py:72
↓ 1 callersFunctiongenerate_content
(source_text: str, bird_eye: dict, max_bullet: int)
demo/Paper2Poster/utils/src/experiment/baseline_docpres.py:72
↓ 1 callersFunctiongenerate_docstring
r"""Generates a docstring for a given function code using LLM. This function leverages a language model to generate a PEP 8/PEP 257-compliant
camel/toolkits/function_tool.py:222
↓ 1 callersFunctiongenerate_docstring
r"""Generates a docstring for a given function code using LLM. This function leverages a language model to generate a PEP 8/PEP 257-compliant
demo/Paper2Poster/camel/toolkits/function_tool.py:222
↓ 1 callersMethodgenerate_machine_instance
r"""Generate instances for a given instruction. Args: instruction (str): The instruction to create instances for. cla
camel/datagen/self_instruct/self_instruct.py:221
↓ 1 callersMethodgenerate_machine_instance
r"""Generate instances for a given instruction. Args: instruction (str): The instruction to create instances for. cla
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:221
↓ 1 callersMethodgenerate_machine_instances
r"""Generate instances for each machine task based on its classification status.
camel/datagen/self_instruct/self_instruct.py:211
↓ 1 callersMethodgenerate_machine_instances
r"""Generate instances for each machine task based on its classification status.
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:211
↓ 1 callersMethodgenerate_machine_instruction
r"""Generate a machine instruction using the agent. Combines human and machine tasks based on the configured ratio to create a pr
camel/datagen/self_instruct/self_instruct.py:139
↓ 1 callersMethodgenerate_machine_instruction
r"""Generate a machine instruction using the agent. Combines human and machine tasks based on the configured ratio to create a pr
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:139
↓ 1 callersFunctiongenerate_meta_json
(base_dir='Paper2Poster-data')
PosterAgent/create_dataset.py:8
↓ 1 callersFunctiongenerate_meta_json
(base_dir='Paper2Poster-data')
demo/Paper2Poster/PosterAgent/create_dataset.py:8
↓ 1 callersMethodgenerate_multi_hop_qa
r"""Generate a multi-hop question-answer pair from given context. Args: context (str): The input text context to generate QA from
camel/agents/multi_hop_generator_agent.py:83
↓ 1 callersMethodgenerate_multi_hop_qa
r"""Generate a multi-hop question-answer pair from given context. Args: context (str): The input text context to generate QA from
demo/Paper2Poster/camel/agents/multi_hop_generator_agent.py:83
↓ 1 callersMethodgenerate_openapi_funcs
r"""Generates a list of Python functions based on OpenAPI specification. This function dynamically creates a list of callable functio
camel/toolkits/open_api_toolkit.py:374
↓ 1 callersMethodgenerate_openapi_funcs
r"""Generates a list of Python functions based on OpenAPI specification. This function dynamically creates a list of callable functio
demo/Paper2Poster/camel/toolkits/open_api_toolkit.py:374
↓ 1 callersFunctiongenerate_panel_code
(panel_dict, utils_functions, slide_object_name, visible=False, theme=None)
PosterAgent/gen_pptx_code.py:28
↓ 1 callersFunctiongenerate_panel_code
(panel_dict, utils_functions, slide_object_name, visible=False, theme=None)
demo/Paper2Poster/PosterAgent/gen_pptx_code.py:28
↓ 1 callersFunctiongenerate_poster_code
( panel_arrangement_list, text_arrangement_list, figure_arrangement_list, presentation_object_
demo/Paper2Poster/PosterAgent/gen_pptx_code.py:169
↓ 1 callersMethodgenerate_pres
Generate a PowerPoint presentation. Args: config (Config): The configuration object. images (dict[str, str])
utils/src/pptgen.py:84
↓ 1 callersMethodgenerate_pres
Generate a PowerPoint presentation. Args: config (Config): The configuration object. images (dict[str, str])
demo/Paper2Poster/utils/src/pptgen.py:84
↓ 1 callersFunctiongenerate_prompt_for_structured_output
This function generates a prompt based on the provided Pydantic model and user message. Args: response_format (Type[BaseModel]):
camel/utils/commons.py:697
↓ 1 callersFunctiongenerate_prompt_for_structured_output
This function generates a prompt based on the provided Pydantic model and user message. Args: response_format (Type[BaseModel]):
demo/Paper2Poster/camel/utils/commons.py:697
↓ 1 callersFunctiongenerate_slides
( output_dir: str, source_text: str, bird_eye: dict, images: list[str], model: CLIPModel,
utils/src/experiment/baseline_docpres.py:111
↓ 1 callersFunctiongenerate_slides
( output_dir: str, source_text: str, bird_eye: dict, images: list[str], model: CLIPModel,
demo/Paper2Poster/utils/src/experiment/baseline_docpres.py:111
↓ 1 callersMethodget_all_sample_ids
(self)
camel/benchmarks/apibank.py:479
↓ 1 callersMethodget_all_sample_ids
(self)
demo/Paper2Poster/camel/benchmarks/apibank.py:479
↓ 1 callersFunctionget_all_sub_trees
(root_node)
camel/benchmarks/apibench.py:350
← previousnext →1,501–1,600 of 4,860, ranked by callers