MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersMethodbuild
r"""Build the API server. Returns: RemoteHttpRuntime: The current runtime.
camel/runtime/remote_http_runtime.py:55
↓ 1 callersMethodbuild
r"""Build the API server. Returns: RemoteHttpRuntime: The current runtime.
demo/Paper2Poster/camel/runtime/remote_http_runtime.py:55
↓ 1 callersFunctionbuild_figures_for_sections
(sections, panels_by_id, figures, cap_full, cap_base)
demo/posterbuilder/build_poster.py:301
↓ 1 callersFunctionbuild_figures_for_sections
(sections, panels_by_id, figures, cap_full, cap_base)
demo/posterbuilder/convert.py:526
↓ 1 callersFunctionbuild_header_from_meta
(meta: dict)
demo/posterbuilder/build_poster.py:114
↓ 1 callersFunctionbuild_header_from_meta
(meta: dict)
demo/posterbuilder/convert_baposter.py:367
↓ 1 callersFunctionbuild_header_from_meta
(meta: dict)
demo/posterbuilder/convert.py:349
↓ 1 callersFunctionbump_baposter_fontscale
(tex: str, target: float)
demo/posterbuilder/convert_baposter.py:229
↓ 1 callersFunctionbump_baposter_margin
在 \documentclass[...,margin=<len>]{baposter} 里设置(或替换) margin=<len>。
demo/posterbuilder/convert_baposter.py:271
↓ 1 callersFunctionbump_beamerposter_scale
(tex: str, target: float)
demo/posterbuilder/build_poster.py:169
↓ 1 callersFunctionbump_beamerposter_scale
(tex: str, target: float)
demo/posterbuilder/convert_baposter.py:156
↓ 1 callersFunctionbump_beamerposter_scale
(tex: str, target: float)
demo/posterbuilder/convert.py:405
↓ 1 callersMethodcalc_cost
Calculate the cost of a list of turns.
utils/src/llms.py:313
↓ 1 callersMethodcalc_cost
Calculate the cost of a list of turns.
demo/Paper2Poster/utils/src/llms.py:313
↓ 1 callersFunctioncalc_image_tokens
Calculate the number of tokens for a list of images.
utils/src/llms.py:44
↓ 1 callersFunctioncalc_image_tokens
Calculate the number of tokens for a list of images.
demo/Paper2Poster/utils/src/llms.py:44
↓ 1 callersMethodcalc_token
Calculate the number of tokens for the turn.
utils/src/llms.py:247
↓ 1 callersMethodcalc_token
Calculate the number of tokens for the turn.
demo/Paper2Poster/utils/src/llms.py:247
↓ 1 callersFunctioncalculate_rouge_l_score
r"""Calculate rouge l score between hypothesis and reference.
camel/benchmarks/apibank.py:410
↓ 1 callersFunctioncalculate_rouge_l_score
r"""Calculate rouge l score between hypothesis and reference.
demo/Paper2Poster/camel/benchmarks/apibank.py:410
↓ 1 callersMethodcategory_split
Split slides into categories based on their functional purpose.
utils/src/induct.py:100
↓ 1 callersMethodcategory_split
Split slides into categories based on their functional purpose.
demo/Paper2Poster/utils/src/induct.py:100
↓ 1 callersFunctionchar_capacity
Estimate the number of characters that will fit into a rectangular text box. Parameters ---------- bbox : (x, y, height, width) # a
utils/wei_utils.py:1019
↓ 1 callersMethodchat
r"""Runs the agent in a chat conversation mode. Args: *args (Any): Positional arguments to pass to the agent. remote
camel/agents/tool_agents/hugging_face_tool_agent.py:184
↓ 1 callersMethodchat
r"""Runs the agent in a chat conversation mode. Args: *args (Any): Positional arguments to pass to the agent. remote
demo/Paper2Poster/camel/agents/tool_agents/hugging_face_tool_agent.py:184
↓ 1 callersFunctioncheck_consistency
(slides: list[SlidePage], ppt_folder: str, image_model)
utils/src/experiment/preprocess.py:142
↓ 1 callersFunctioncheck_consistency
(slides: list[SlidePage], ppt_folder: str, image_model)
demo/Paper2Poster/utils/src/experiment/preprocess.py:142
↓ 1 callersFunctioncheck_files_md5_parallel
(directory: str, num_workers: int = 8)
utils/src/experiment/crawler.py:298
↓ 1 callersFunctioncheck_files_md5_parallel
(directory: str, num_workers: int = 8)
demo/Paper2Poster/utils/src/experiment/crawler.py:298
↓ 1 callersMethodcheck_model_config
r"""Check whether the input model configuration contains unexpected arguments Raises: ValueError: If the model configurat
camel/models/base_model.py:95
↓ 1 callersMethodcheck_model_config
r"""Check whether the input model configuration contains unexpected arguments Raises: ValueError: If the model configurat
demo/Paper2Poster/camel/models/base_model.py:95
↓ 1 callersMethodcheck_overlap
Check if two bboxes overlap sufficiently.
docling/utils/layout_postprocessor.py:84
↓ 1 callersMethodcheck_overlap
Check if two bboxes overlap sufficiently.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:84
↓ 1 callersFunctionchoose_title_size_cmd
(wrapped_title: str)
demo/posterbuilder/convert_baposter.py:127
↓ 1 callersFunctionchoose_title_size_cmd
(wrapped_title: str)
demo/posterbuilder/convert.py:340
↓ 1 callersFunctionclean_caption_prefix
(cap: str)
demo/posterbuilder/convert_baposter.py:122
↓ 1 callersFunctionclean_caption_prefix
(cap: str)
demo/posterbuilder/convert.py:522
↓ 1 callersMethodclear_images
(self, shapes: list[ShapeElement])
utils/src/presentation.py:1269
↓ 1 callersMethodclear_images
(self, shapes: list[ShapeElement])
demo/Paper2Poster/utils/src/presentation.py:1269
↓ 1 callersMethodclear_slides
Delete all slides from the presentation.
utils/src/presentation.py:1260
↓ 1 callersMethodclear_slides
Delete all slides from the presentation.
demo/Paper2Poster/utils/src/presentation.py:1260
↓ 1 callersMethodclear_text
(self, shapes: list[BaseShape])
utils/src/presentation.py:1276
↓ 1 callersMethodclear_text
(self, shapes: list[BaseShape])
demo/Paper2Poster/utils/src/presentation.py:1276
↓ 1 callersMethodclient
(self)
camel/bots/discord/discord_app.py:383
↓ 1 callersMethodclient
(self)
demo/Paper2Poster/camel/bots/discord/discord_app.py:383
↓ 1 callersMethodcollect_images
Collect images from the presentation and gather other information.
utils/src/multimodal.py:65
↓ 1 callersMethodcollect_images
Collect images from the presentation and gather other information.
demo/Paper2Poster/utils/src/multimodal.py:65
↓ 1 callersFunctioncollect_links
(jsonl_file: str)
utils/src/experiment/crawler.py:139
↓ 1 callersFunctioncollect_links
(jsonl_file: str)
demo/Paper2Poster/utils/src/experiment/crawler.py:139
↓ 1 callersFunctioncompare_function_calls
r"""Compare the function name and arguments of agent_call and ground_truth_call. Args: agent_call (str): Function call by agent.
camel/benchmarks/nexus.py:500
↓ 1 callersFunctioncompare_function_calls
r"""Compare the function name and arguments of agent_call and ground_truth_call. Args: agent_call (str): Function call by agent.
demo/Paper2Poster/camel/benchmarks/nexus.py:500
↓ 1 callersFunctioncompile_beamer_to_pdf
Compile Beamer .tex file to PDF using pdflatex. Args: tex_path: Path to .tex file output_dir: Output directory for
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:215
↓ 1 callersFunctioncompile_beamer_to_pdf
Compile Beamer .tex file to PDF using pdflatex. Args: tex_path: Path to .tex file output_dir: Output directory for
demo/Paper2Poster/PosterAgent/LLM_direct_generate_beamer.py:116
↓ 1 callersMethodcompletion_cost
(self)
camel/utils/token_counting.py:334
↓ 1 callersMethodcompletion_cost
(self)
demo/Paper2Poster/camel/utils/token_counting.py:334
↓ 1 callersMethodcompose
r"""compose task result by the sub-tasks. Args: agent (ChatAgent): An agent that used to compose the task result. tem
camel/tasks/task.py:247
↓ 1 callersMethodcompose
r"""compose task result by the sub-tasks. Args: agent (ChatAgent): An agent that used to compose the task result. tem
demo/Paper2Poster/camel/tasks/task.py:247
↓ 1 callersFunctioncompute_accuracy
Parameters ---------- predicted : dict {question: {'answer': <letter>, 'reference': ...}, ...} ground_truth : dict {q
utils/poster_eval_utils.py:870
↓ 1 callersFunctioncompute_accuracy
Parameters ---------- predicted : dict {question: {'answer': <letter>, 'reference': ...}, ...} ground_truth : dict {q
demo/Paper2Poster/utils/poster_eval_utils.py:870
↓ 1 callersFunctioncompute_average_cosine_similarity
Computes the average cosine similarity across all pairs in emb1 x emb2. - emb1 shape: (N1, D) - emb2 shape: (N2, D) Returns a single
utils/poster_eval_utils.py:366
↓ 1 callersFunctioncompute_average_cosine_similarity
Computes the average cosine similarity across all pairs in emb1 x emb2. - emb1 shape: (N1, D) - emb2 shape: (N2, D) Returns a single
demo/Paper2Poster/utils/poster_eval_utils.py:366
↓ 1 callersFunctioncompute_average_l2_distance
Computes the average L2 distance across all pairs in emb1 x emb2. - emb1 shape: (N1, D) - emb2 shape: (N2, D) Returns a single float:
utils/poster_eval_utils.py:340
↓ 1 callersFunctioncompute_average_l2_distance
Computes the average L2 distance across all pairs in emb1 x emb2. - emb1 shape: (N1, D) - emb2 shape: (N2, D) Returns a single float:
demo/Paper2Poster/utils/poster_eval_utils.py:340
↓ 1 callersFunctioncompute_cosine_similarity
Computes the cosine similarity between two vectors. - e1 shape: (D,) - e2 shape: (D,) Returns a single float: cosine similarity.
utils/poster_eval_utils.py:354
↓ 1 callersFunctioncompute_cosine_similarity
Computes the cosine similarity between two vectors. - e1 shape: (D,) - e2 shape: (D,) Returns a single float: cosine similarity.
demo/Paper2Poster/utils/poster_eval_utils.py:354
↓ 1 callersFunctioncompute_gp
(table_info, image_info)
PosterAgent/gen_outline_layout.py:36
↓ 1 callersFunctioncompute_gp
(table_info, image_info)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:54
↓ 1 callersFunctioncompute_interleaved_ppl
(paper_name, poster_method)
utils/poster_eval_utils.py:139
↓ 1 callersFunctioncompute_interleaved_ppl
(paper_name, poster_method)
demo/Paper2Poster/utils/poster_eval_utils.py:139
↓ 1 callersFunctioncompute_panel_attributes
Given poster_data, compute: - tp: ratio of text length for each panel - gp: ratio of figure area for each panel - sp: ratio of
PosterAgent/tree_split_layout.py:92
↓ 1 callersFunctioncompute_panel_attributes
Given poster_data, compute: - tp: ratio of text length for each panel - gp: ratio of figure area for each panel - sp: ratio of
demo/Paper2Poster/PosterAgent/tree_split_layout.py:92
↓ 1 callersFunctioncompute_poster_image_ppl
(images)
utils/poster_eval_utils.py:229
↓ 1 callersFunctioncompute_poster_image_ppl
(images)
demo/Paper2Poster/utils/poster_eval_utils.py:229
↓ 1 callersFunctioncompute_tp
(raw_content_json)
PosterAgent/gen_outline_layout.py:27
↓ 1 callersFunctioncompute_tp
(raw_content_json)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:45
↓ 1 callersMethodconstruct_data
r"""Save the machine-generated tasks to the specified output path in JSON format.
camel/datagen/self_instruct/self_instruct.py:359
↓ 1 callersMethodconstruct_data
r"""Save the machine-generated tasks to the specified output path in JSON format.
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:359
↓ 1 callersFunctionconstruct_prompt
r"Construct prompt from tools and input.
camel/benchmarks/nexus.py:408
↓ 1 callersFunctionconstruct_prompt
r"Construct prompt from tools and input.
demo/Paper2Poster/camel/benchmarks/nexus.py:408
↓ 1 callersFunctionconstruct_tool_descriptions
r"""Construct tool descriptions from function definitions and descriptions.
camel/benchmarks/nexus.py:364
↓ 1 callersFunctionconstruct_tool_descriptions
r"""Construct tool descriptions from function definitions and descriptions.
demo/Paper2Poster/camel/benchmarks/nexus.py:364
↓ 1 callersMethodcontent_induct
Perform content schema extraction for the presentation.
utils/src/induct.py:165
↓ 1 callersMethodcontent_induct
Perform content schema extraction for the presentation.
demo/Paper2Poster/utils/src/induct.py:165
↓ 1 callersMethodconvert
r"""Convert the collected data into a dictionary.
camel/data_collector/sharegpt_collector.py:97
↓ 1 callersMethodconvert
r"""Convert the collected data into a dictionary.
camel/data_collector/alpaca_collector.py:64
↓ 1 callersMethodconvert
(self)
docling/backend/html_backend.py:68
↓ 1 callersMethodconvert
r"""Convert the collected data into a dictionary.
demo/Paper2Poster/camel/data_collector/sharegpt_collector.py:97
↓ 1 callersMethodconvert
r"""Convert the collected data into a dictionary.
demo/Paper2Poster/camel/data_collector/alpaca_collector.py:64
↓ 1 callersMethodconvert
(self)
demo/Paper2Poster/docling/backend/html_backend.py:68
↓ 1 callersMethodconvert_choice
r"""Convert the content to the specified choice. Args: content (str): The content to be converted. choices (List[str]
camel/schemas/outlines_converter.py:155
↓ 1 callersMethodconvert_choice
r"""Convert the content to the specified choice. Args: content (str): The content to be converted. choices (List[str]
demo/Paper2Poster/camel/schemas/outlines_converter.py:155
↓ 1 callersMethodconvert_grammar
r"""Convert the content to the specified grammar. Args: content (str): The content to be converted. grammar (str): Th
camel/schemas/outlines_converter.py:172
↓ 1 callersMethodconvert_grammar
r"""Convert the content to the specified grammar. Args: content (str): The content to be converted. grammar (str): Th
demo/Paper2Poster/camel/schemas/outlines_converter.py:172
↓ 1 callersMethodconvert_json
r"""Convert the content to the specified JSON schema given by output_schema. Args: content (str): The content to be conve
camel/schemas/outlines_converter.py:84
↓ 1 callersMethodconvert_json
r"""Convert the content to the specified JSON schema given by output_schema. Args: content (str): The content to be conve
demo/Paper2Poster/camel/schemas/outlines_converter.py:84
↓ 1 callersFunctionconvert_pptx_bboxes_json_to_image_json
Convert bounding boxes (in inches) from a JSON string to normalized image coords [0..1]. Args: bbox_json_str (str): JSON text of the
utils/critic_utils.py:106
↓ 1 callersFunctionconvert_pptx_layout_to_beamer
Convert PowerPoint layout data to Beamer-compatible format. Args: pptx_layout_data: Layout data from PowerPoint generation
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:258
↓ 1 callersMethodconvert_pydantic
r"""Convert the content to the specified Pydantic schema. Args: content (str): The content to be converted. output_sc
camel/schemas/outlines_converter.py:107
↓ 1 callersMethodconvert_pydantic
r"""Convert the content to the specified Pydantic schema. Args: content (str): The content to be converted. output_sc
demo/Paper2Poster/camel/schemas/outlines_converter.py:107
↓ 1 callersMethodconvert_regex
r"""Convert the content to the specified regex pattern. Args: content (str): The content to be converted. regex_patte
camel/schemas/outlines_converter.py:67
← previousnext →1,301–1,400 of 4,860, ranked by callers