MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersMethodget_text_in_rect
(self, bbox: BoundingBox)
demo/Paper2Poster/docling/backend/pdf_backend.py:16
↓ 1 callersMethodget_usage_dict
r"""Get usage dictionary when using the stream mode. Args: output_messages (list): List of output messages. prompt_to
camel/agents/chat_agent.py:1499
↓ 1 callersMethodget_usage_dict
r"""Get usage dictionary when using the stream mode. Args: output_messages (list): List of output messages. prompt_to
demo/Paper2Poster/camel/agents/chat_agent.py:1499
↓ 1 callersFunctionget_version
(pkg)
demo/app.py:13
↓ 1 callersFunctionget_visual_ppl
(image, text)
utils/poster_eval_utils.py:152
↓ 1 callersFunctionget_visual_ppl
(image, text)
demo/Paper2Poster/utils/poster_eval_utils.py:152
↓ 1 callersMethodhandle_batch_response
r"""Process a batch response from the model and extract the necessary information. Args: response (dict): Model response.
camel/agents/chat_agent.py:1208
↓ 1 callersMethodhandle_batch_response
r"""Process a batch response from the model and extract the necessary information. Args: response (dict): Model response.
demo/Paper2Poster/camel/agents/chat_agent.py:1208
↓ 1 callersMethodhandle_code
Handles monospace code snippets (pre).
docling/backend/html_backend.py:211
↓ 1 callersMethodhandle_code
Handles monospace code snippets (pre).
demo/Paper2Poster/docling/backend/html_backend.py:211
↓ 1 callersMethodhandle_figure
Handles image tags (img).
docling/backend/html_backend.py:417
↓ 1 callersMethodhandle_figure
Handles image tags (img).
demo/Paper2Poster/docling/backend/html_backend.py:417
↓ 1 callersMethodhandle_header
Handles header tags (h1, h2, etc.).
docling/backend/html_backend.py:169
↓ 1 callersMethodhandle_header
Handles header tags (h1, h2, etc.).
demo/Paper2Poster/docling/backend/html_backend.py:169
↓ 1 callersFunctionhandle_http_error
r"""Handles the HTTP errors based on the status code of the response. Args: response (requests.Response): The HTTP response from the API
camel/utils/commons.py:602
↓ 1 callersFunctionhandle_http_error
r"""Handles the HTTP errors based on the status code of the response. Args: response (requests.Response): The HTTP response from the API
demo/Paper2Poster/camel/utils/commons.py:602
↓ 1 callersMethodhandle_image
Handles image tags (img).
docling/backend/html_backend.py:440
↓ 1 callersMethodhandle_image
Handles image tags (img).
demo/Paper2Poster/docling/backend/html_backend.py:440
↓ 1 callersMethodhandle_list
Handles list tags (ul, ol) and their list items.
docling/backend/html_backend.py:231
↓ 1 callersMethodhandle_list
Handles list tags (ul, ol) and their list items.
demo/Paper2Poster/docling/backend/html_backend.py:231
↓ 1 callersMethodhandle_listitem
Handles listitem tags (li).
docling/backend/html_backend.py:253
↓ 1 callersMethodhandle_listitem
Handles listitem tags (li).
demo/Paper2Poster/docling/backend/html_backend.py:253
↓ 1 callersMethodhandle_paragraph
Handles paragraph tags (p).
docling/backend/html_backend.py:221
↓ 1 callersMethodhandle_paragraph
Handles paragraph tags (p).
demo/Paper2Poster/docling/backend/html_backend.py:221
↓ 1 callersMethodhandle_pictures
( self, docx_obj: DocxDocument, drawing_blip: Any, doc: DoclingDocument )
docling/backend/msword_backend.py:552
↓ 1 callersMethodhandle_pictures
(self, shape, parent_slide, slide_ind, doc, slide_size)
docling/backend/mspowerpoint_backend.py:280
↓ 1 callersMethodhandle_pictures
( self, docx_obj: DocxDocument, drawing_blip: Any, doc: DoclingDocument )
demo/Paper2Poster/docling/backend/msword_backend.py:552
↓ 1 callersMethodhandle_pictures
(self, shape, parent_slide, slide_ind, doc, slide_size)
demo/Paper2Poster/docling/backend/mspowerpoint_backend.py:280
↓ 1 callersMethodhandle_stream_response
r"""Process a stream response from the model and extract the necessary information. Args: response (dict): Model response
camel/agents/chat_agent.py:1290
↓ 1 callersMethodhandle_stream_response
r"""Process a stream response from the model and extract the necessary information. Args: response (dict): Model response
demo/Paper2Poster/camel/agents/chat_agent.py:1290
↓ 1 callersMethodhandle_table
Handles table tags.
docling/backend/html_backend.py:307
↓ 1 callersMethodhandle_table
Handles table tags.
demo/Paper2Poster/docling/backend/html_backend.py:307
↓ 1 callersMethodhandle_tables
( self, element: BaseOxmlElement, docx_obj: DocxDocument, doc: DoclingDocument
docling/backend/msword_backend.py:488
↓ 1 callersMethodhandle_tables
(self, shape, parent_slide, slide_ind, doc, slide_size)
docling/backend/mspowerpoint_backend.py:301
↓ 1 callersMethodhandle_tables
( self, element: BaseOxmlElement, docx_obj: DocxDocument, doc: DoclingDocument
demo/Paper2Poster/docling/backend/msword_backend.py:488
↓ 1 callersMethodhandle_tables
(self, shape, parent_slide, slide_ind, doc, slide_size)
demo/Paper2Poster/docling/backend/mspowerpoint_backend.py:301
↓ 1 callersMethodhandle_text_elements
(self, shape, parent_slide, slide_ind, doc, slide_size)
docling/backend/mspowerpoint_backend.py:122
↓ 1 callersMethodhandle_text_elements
(self, shape, parent_slide, slide_ind, doc, slide_size)
demo/Paper2Poster/docling/backend/mspowerpoint_backend.py:122
↓ 1 callersFunctionheaderbox_text
(title: str, name: str, opts: str, body: str)
demo/posterbuilder/convert_baposter.py:351
↓ 1 callersMethodidentify_instruction
r"""Determine if the given instruction is a classification task. Args: instruction (str): The instruction to classify. R
camel/datagen/self_instruct/self_instruct.py:182
↓ 1 callersMethodidentify_instruction
r"""Determine if the given instruction is a classification task. Args: instruction (str): The instruction to classify. R
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:182
↓ 1 callersFunctionimage_memory_size
(img: Image.Image, fmt="JPEG")
utils/poster_eval_utils.py:196
↓ 1 callersFunctionimage_memory_size
(img: Image.Image, fmt="JPEG")
demo/Paper2Poster/utils/poster_eval_utils.py:196
↓ 1 callersFunctioninfer_panel_attrs
(panel_model, tp, gp)
PosterAgent/tree_split_layout.py:493
↓ 1 callersFunctioninfer_panel_attrs
(panel_model, tp, gp)
demo/Paper2Poster/PosterAgent/tree_split_layout.py:493
↓ 1 callersMethodinit
r"""Initializes the database connection or structure.
camel/bots/discord/discord_store.py:28
↓ 1 callersMethodinit
r"""Initializes the database connection or structure.
demo/Paper2Poster/camel/bots/discord/discord_store.py:28
↓ 1 callersMethodinit_agents
r"""Initialize assistant and user agents with their system messages. Args: init_assistant_sys_msg (BaseMessage): Assistant agent'
camel/societies/babyagi_playing.py:171
↓ 1 callersMethodinit_agents
r"""Initialize assistant and user agents with their system messages. Args: init_assistant_sys_msg (BaseMessage): Assistant agent'
demo/Paper2Poster/camel/societies/babyagi_playing.py:171
↓ 1 callersMethodinit_chat
r"""Initializes the chat by resetting both of the assistant and user agents. Returns an initial message for the role-playing session.
camel/societies/role_playing.py:440
↓ 1 callersMethodinit_chat
r"""Initializes the chat by resetting both of the assistant and user agents. Returns an initial message for the role-playing session.
demo/Paper2Poster/camel/societies/role_playing.py:440
↓ 1 callersMethodinit_specified_task_prompt
r"""Use a task specify agent to generate a specified task prompt. Generated specified task prompt will be used to replace original tas
camel/societies/babyagi_playing.py:128
↓ 1 callersMethodinit_specified_task_prompt
r"""Use a task specify agent to generate a specified task prompt. Generated specified task prompt will be used to replace original tas
demo/Paper2Poster/camel/societies/babyagi_playing.py:128
↓ 1 callersFunctioninitialize_beamer_document
Initialize a Beamer document with specified dimensions and theme. Args: width_cm: Width in centimeters (default 120cm for po
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:10
↓ 1 callersFunctioninitialize_poster_code
(width, height, slide_object_name, presentation_object_name, utils_functions)
PosterAgent/gen_pptx_code.py:8
↓ 1 callersFunctioninitialize_poster_code
(width, height, slide_object_name, presentation_object_name, utils_functions)
demo/Paper2Poster/PosterAgent/gen_pptx_code.py:8
↓ 1 callersFunctioninject_beamer_column_widths
col_fracs: [fA, fB, fC],三列在 paperwidth 上的占比(不含 4 个分隔列)。 sep_frac: 每个分隔列在 paperwidth 上的占比。
demo/posterbuilder/convert_baposter.py:207
↓ 1 callersFunctioninject_font_tweaks
在 \begin{document} 前注入字号设置
demo/posterbuilder/build_poster.py:181
↓ 1 callersFunctioninject_font_tweaks
在 \begin{document} 前注入字号设置(标题字号可动态传入)
demo/posterbuilder/convert.py:417
↓ 1 callersFunctioninject_font_tweaks_beamer
(tex: str, title_size_cmd: str)
demo/posterbuilder/convert_baposter.py:165
↓ 1 callersFunctioninject_right_logo
在现有 \addtobeamertemplate{headline} 的 tikzpicture 内追加右上角 logo; 若已存在(检测 'logo.png')则不重复;若找不到该块则新增一个。
demo/posterbuilder/build_poster.py:197
↓ 1 callersFunctioninject_right_logo
(tex: str)
demo/posterbuilder/convert.py:433
↓ 1 callersFunctioninject_right_logo_beamer
(tex: str)
demo/posterbuilder/convert_baposter.py:180
↓ 1 callersFunctionis_docker_running
r"""Check if the Docker daemon is running. Returns: bool: True if the Docker daemon is running, False otherwise.
camel/utils/commons.py:521
↓ 1 callersFunctionis_docker_running
r"""Check if the Docker daemon is running. Returns: bool: True if the Docker daemon is running, False otherwise.
demo/Paper2Poster/camel/utils/commons.py:521
↓ 1 callersFunctionis_image_path
(file: str)
utils/src/utils.py:33
↓ 1 callersFunctionis_module_available
r"""Check if a module is available for import. Args: module_name (str): The name of the module to check for availability. Returns:
camel/utils/commons.py:220
↓ 1 callersFunctionis_module_available
r"""Check if a module is available for import. Args: module_name (str): The name of the module to check for availability. Returns:
demo/Paper2Poster/camel/utils/commons.py:220
↓ 1 callersFunctionis_overlapping
Returns True if rectangles r1 and r2 overlap (strictly), False otherwise.
utils/wei_utils.py:755
↓ 1 callersFunctionis_primitive
(obj)
utils/src/utils.py:258
↓ 1 callersFunctionis_primitive
(obj)
demo/Paper2Poster/utils/src/utils.py:258
↓ 1 callersMethodis_terminated
(self, *args, **kwargs)
camel/terminators/base.py:28
↓ 1 callersMethodis_terminated
(self, *args, **kwargs)
demo/Paper2Poster/camel/terminators/base.py:28
↓ 1 callersMethodis_valid
(self)
docling/backend/html_backend.py:51
↓ 1 callersMethodis_valid
(self)
docling/backend/msword_backend.py:82
↓ 1 callersMethodis_valid
(self)
docling/backend/mspowerpoint_backend.py:67
↓ 1 callersMethodis_valid
(self)
docling/backend/msexcel_backend.py:74
↓ 1 callersMethodis_valid
(self)
docling/backend/md_backend.py:347
↓ 1 callersMethodis_valid
(self)
demo/Paper2Poster/docling/backend/html_backend.py:51
↓ 1 callersMethodis_valid
(self)
demo/Paper2Poster/docling/backend/msword_backend.py:82
↓ 1 callersMethodis_valid
(self)
demo/Paper2Poster/docling/backend/mspowerpoint_backend.py:67
↓ 1 callersMethodis_valid
(self)
demo/Paper2Poster/docling/backend/msexcel_backend.py:74
↓ 1 callersMethodis_valid
(self)
demo/Paper2Poster/docling/backend/md_backend.py:347
↓ 1 callersFunctioniter_zenodo
( sort: str, query: str = None, maxpage: int = None, filetype: str = "pptx", page: int = 1
utils/src/experiment/crawler.py:72
↓ 1 callersFunctioniter_zenodo
( sort: str, query: str = None, maxpage: int = None, filetype: str = "pptx", page: int = 1
demo/Paper2Poster/utils/src/experiment/crawler.py:72
↓ 1 callersFunctionjson_to_function_code
r"""Generate a Python function code from a JSON schema. Args: json_obj (dict): The JSON schema object containing properties and
camel/utils/commons.py:401
↓ 1 callersFunctionjson_to_function_code
r"""Generate a Python function code from a JSON schema. Args: json_obj (dict): The JSON schema object containing properties and
demo/Paper2Poster/camel/utils/commons.py:401
↓ 1 callersFunctionkctv_gen_ppt
(doc_dir)
utils/src/experiment/baseline_kctv.py:83
↓ 1 callersFunctionkctv_gen_ppt
(doc_dir)
demo/Paper2Poster/utils/src/experiment/baseline_kctv.py:83
↓ 1 callersMethodlayout_induct
Perform layout induction for the presentation.
utils/src/induct.py:57
↓ 1 callersMethodlayout_induct
Perform layout induction for the presentation.
demo/Paper2Poster/utils/src/induct.py:57
↓ 1 callersFunctionlayout_process_section_wrapped
( sections, new_outline, init_template, new_section_template, init_actor_sys_msg, new_
PosterAgent/gen_outline_layout_parallel.py:40
↓ 1 callersFunctionlayout_process_section_wrapped
( sections, new_outline, init_template, new_section_template, init_actor_sys_msg, new_
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:40
↓ 1 callersMethodlayout_split
Cluster slides into different layouts.
utils/src/induct.py:126
↓ 1 callersMethodlayout_split
Cluster slides into different layouts.
demo/Paper2Poster/utils/src/induct.py:126
↓ 1 callersMethodload
r"""Loads a file or DataFrame and returns a SmartDataframe object. args: data (Union[DataFrame, str]): The data to load.
camel/loaders/panda_reader.py:89
↓ 1 callersMethodload
r"""Load the APIBank Benchmark dataset. Args: level (str): Level to run benchmark on. force_download (bool, optional)
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
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
camel/benchmarks/apibench.py:185
↓ 1 callersMethodload
r"""Loads a file or DataFrame and returns a SmartDataframe object. args: data (Union[DataFrame, str]): The data to load.
demo/Paper2Poster/camel/loaders/panda_reader.py:89
← previousnext →1,701–1,800 of 4,860, ranked by callers