MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersFunctionstatistic_humaneval
(eval_file: str, print_diff: bool = False)
demo/Paper2Poster/utils/src/experiment/statistic.py:23
↓ 1 callersMethodstatus
(self)
camel/storages/vectordb_storages/qdrant.py:409
↓ 1 callersMethodstatus
(self)
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:409
↓ 1 callersMethodstep
r"""Advances the conversation by taking a message from the assistant, processing it using the user agent, and then processing the resulting
camel/societies/role_playing.py:471
↓ 1 callersMethodstep
r"""Advances the conversation by taking a message from the assistant, processing it using the user agent, and then processing the resulting
demo/Paper2Poster/camel/societies/role_playing.py:471
↓ 1 callersMethodstep_tool_call_async
r"""Execute the async function with arguments following the model's response. Args: response (Dict[str, Any]): The respon
camel/agents/chat_agent.py:1441
↓ 1 callersMethodstep_tool_call_async
r"""Execute the async function with arguments following the model's response. Args: response (Dict[str, Any]): The respon
demo/Paper2Poster/camel/agents/chat_agent.py:1441
↓ 1 callersMethodstop
r"""Stop all the child nodes under it. The node itself will be stopped by its parent node.
camel/societies/workforce/workforce.py:478
↓ 1 callersMethodstop
r"""Stop the API server. Returns: RemoteHttpRuntime: The current runtime.
camel/runtime/remote_http_runtime.py:180
↓ 1 callersMethodstop
r"""Stop all the child nodes under it. The node itself will be stopped by its parent node.
demo/Paper2Poster/camel/societies/workforce/workforce.py:478
↓ 1 callersMethodstop
r"""Stop the API server. Returns: RemoteHttpRuntime: The current runtime.
demo/Paper2Poster/camel/runtime/remote_http_runtime.py:180
↓ 1 callersMethodstore_section
Store the section heading in the docling document. Only the predefined sections from PatentHeading will be handled. The other section
docling/backend/xml/uspto_backend.py:919
↓ 1 callersMethodstore_section
Store the section heading in the docling document. Only the predefined sections from PatentHeading will be handled. The other section
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:919
↓ 1 callersFunctionstrip_stray_t
(tex: str)
demo/posterbuilder/convert.py:611
↓ 1 callersMethodsupports_pagination
(cls)
docling/datamodel/document.py:222
↓ 1 callersMethodsupports_pagination
(cls)
demo/Paper2Poster/docling/datamodel/document.py:222
↓ 1 callersMethodsynergize
Synergize Agents to generate a slide. Returns: SlidePage: The generated slide.
utils/src/pptgen.py:254
↓ 1 callersMethodsynergize
( self, template: dict, slide_content: str, code_executor: CodeExecutor,
utils/src/experiment/ablation.py:72
↓ 1 callersMethodsynergize
Synergize Agents to generate a slide. Returns: SlidePage: The generated slide.
demo/Paper2Poster/utils/src/pptgen.py:254
↓ 1 callersMethodsynergize
( self, template: dict, slide_content: str, code_executor: CodeExecutor,
demo/Paper2Poster/utils/src/experiment/ablation.py:72
↓ 1 callersMethodsynthesize_execution_output
r"""Synthesizes the output of the function based on the provided positional arguments and keyword arguments. Args: args (
camel/toolkits/function_tool.py:652
↓ 1 callersMethodsynthesize_execution_output
r"""Synthesizes the output of the function based on the provided positional arguments and keyword arguments. Args: args (
demo/Paper2Poster/camel/toolkits/function_tool.py:652
↓ 1 callersMethodsynthesize_openai_tool_schema
r"""Synthesizes an OpenAI tool schema for the specified function. This method uses a language model (LLM) to synthesize the OpenAI tool
camel/toolkits/function_tool.py:597
↓ 1 callersMethodsynthesize_openai_tool_schema
r"""Synthesizes an OpenAI tool schema for the specified function. This method uses a language model (LLM) to synthesize the OpenAI tool
demo/Paper2Poster/camel/toolkits/function_tool.py:597
↓ 1 callersFunctionto_docling_document
(doc_glm, update_name_label=False)
docling/utils/glm_utils.py:70
↓ 1 callersFunctionto_docling_document
(doc_glm, update_name_label=False)
demo/Paper2Poster/docling/utils/glm_utils.py:70
↓ 1 callersMethodto_openai_assistant_message
r"""Converts the message to an :obj:`OpenAIAssistantMessage` object. Returns: OpenAIAssistantMessage: The converted :obj:`OpenAIA
camel/messages/base.py:521
↓ 1 callersMethodto_openai_assistant_message
r"""Converts the message to an :obj:`OpenAIAssistantMessage` object. Returns: OpenAIAssistantMessage: The converted :obj:`OpenAIA
camel/messages/func_message.py:114
↓ 1 callersMethodto_openai_assistant_message
r"""Converts the message to an :obj:`OpenAIAssistantMessage` object. Returns: OpenAIAssistantMessage: The converted :obj:`OpenAIA
demo/Paper2Poster/camel/messages/base.py:521
↓ 1 callersMethodto_openai_assistant_message
r"""Converts the message to an :obj:`OpenAIAssistantMessage` object. Returns: OpenAIAssistantMessage: The converted :obj:`OpenAIA
demo/Paper2Poster/camel/messages/func_message.py:114
↓ 1 callersMethodto_openai_system_message
r"""Converts the message to an :obj:`OpenAISystemMessage` object. Returns: OpenAISystemMessage: The converted :obj:`OpenAISystemM
camel/messages/base.py:404
↓ 1 callersMethodto_openai_system_message
r"""Converts the message to an :obj:`OpenAISystemMessage` object. Returns: OpenAISystemMessage: The converted :obj:`OpenAISystemM
demo/Paper2Poster/camel/messages/base.py:404
↓ 1 callersMethodto_openai_tool_message
r"""Converts the message to an :obj:`OpenAIToolMessageParam` object with the role being "tool". Returns: OpenAIToolMessag
camel/messages/func_message.py:142
↓ 1 callersMethodto_openai_tool_message
r"""Converts the message to an :obj:`OpenAIToolMessageParam` object with the role being "tool". Returns: OpenAIToolMessag
demo/Paper2Poster/camel/messages/func_message.py:142
↓ 1 callersMethodto_openai_user_message
r"""Converts the message to an :obj:`OpenAIUserMessage` object. Returns: OpenAIUserMessage: The converted :obj:`OpenAIUserMessage
camel/messages/base.py:413
↓ 1 callersMethodto_openai_user_message
r"""Converts the message to an :obj:`OpenAIUserMessage` object. Returns: OpenAIUserMessage: The converted :obj:`OpenAIUserMessage
demo/Paper2Poster/camel/messages/base.py:413
↓ 1 callersFunctionto_pascal
Convert a snake_case string to PascalCase. Args: snake (str): The snake_case string to be converted. Returns: str: The conve
camel/utils/commons.py:336
↓ 1 callersFunctionto_pascal
Convert a snake_case string to PascalCase. Args: snake (str): The snake_case string to be converted. Returns: str: The conve
demo/Paper2Poster/camel/utils/commons.py:336
↓ 1 callersMethodtoken_counter
(self)
camel/utils/token_counting.py:326
↓ 1 callersMethodtoken_counter
(self)
demo/Paper2Poster/camel/utils/token_counting.py:326
↓ 1 callersMethodtopological_sort
r"""Sort a list of tasks by topological way. Args: tasks (List[Task]): The giving list of tasks. Returns: Th
camel/tasks/task.py:324
↓ 1 callersMethodtopological_sort
r"""Sort a list of tasks by topological way. Args: tasks (List[Task]): The giving list of tasks. Returns: Th
demo/Paper2Poster/camel/tasks/task.py:324
↓ 1 callersFunctiontouching_bottom
(sname, sbox)
utils/wei_utils.py:855
↓ 1 callersFunctiontouching_left
(sname, sbox)
utils/wei_utils.py:822
↓ 1 callersFunctiontouching_right
(sname, sbox)
utils/wei_utils.py:834
↓ 1 callersFunctiontouching_top
(sname, sbox)
utils/wei_utils.py:845
↓ 1 callersFunctiontrain_figure_model
(figure_records)
PosterAgent/tree_split_layout.py:276
↓ 1 callersFunctiontrain_figure_model
(figure_records)
demo/Paper2Poster/PosterAgent/tree_split_layout.py:276
↓ 1 callersFunctiontrain_panel_attribute_inference
The training data `panel_records` is a list of dicts, each containing: { 'tp': float, 'gp': float, 'sp': float, #
PosterAgent/tree_split_layout.py:172
↓ 1 callersFunctiontrain_panel_attribute_inference
The training data `panel_records` is a list of dicts, each containing: { 'tp': float, 'gp': float, 'sp': float, #
demo/Paper2Poster/PosterAgent/tree_split_layout.py:172
↓ 1 callersFunctiontruncate_images_to_fit
Drop **later** images until total visual tokens ≤ *max_ctx*. Chronology‑preserving version: keeps the earliest images intact and trims the ta
utils/poster_eval_utils.py:201
↓ 1 callersFunctiontruncate_images_to_fit
Drop **later** images until total visual tokens ≤ *max_ctx*. Chronology‑preserving version: keeps the earliest images intact and trims the ta
demo/Paper2Poster/utils/poster_eval_utils.py:201
↓ 1 callersFunctiontry_modify_message_with_format
r"""Modifies the content of the message to include the instruction of using the response format. The message will not be modified in the foll
camel/models/_utils.py:22
↓ 1 callersFunctiontry_modify_message_with_format
r"""Modifies the content of the message to include the instruction of using the response format. The message will not be modified in the foll
demo/Paper2Poster/camel/models/_utils.py:22
↓ 1 callersMethodunload
(self)
docling/backend/pypdfium2_backend.py:232
↓ 1 callersMethodunload
(self)
docling/backend/docling_parse_backend.py:185
↓ 1 callersMethodunload
(self)
docling/backend/docling_parse_v2_backend.py:200
↓ 1 callersMethodunload
(self)
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:232
↓ 1 callersMethodunload
(self)
demo/Paper2Poster/docling/backend/docling_parse_backend.py:185
↓ 1 callersMethodunload
(self)
demo/Paper2Poster/docling/backend/docling_parse_v2_backend.py:200
↓ 1 callersMethodupdate_action_space
r"""Updates action space for *python* interpreter
camel/interpreters/base.py:47
↓ 1 callersMethodupdate_action_space
r"""Updates action space for *python* interpreter
demo/Paper2Poster/camel/interpreters/base.py:47
↓ 1 callersMethodupdate_result
r"""Set task result and mark the task as DONE. Args: result (str): The task result.
camel/tasks/task.py:123
↓ 1 callersMethodupdate_result
r"""Set task result and mark the task as DONE. Args: result (str): The task result.
demo/Paper2Poster/camel/tasks/task.py:123
↓ 1 callersMethodvalidate_meta_dict_keys
r"""Validates the keys of the meta_dict. Args: meta_dict (Dict[str, str]): The dictionary to validate.
camel/generators.py:85
↓ 1 callersMethodvalidate_meta_dict_keys
r"""Validates the keys of the meta_dict. Args: meta_dict (Dict[str, str]): The dictionary to validate.
demo/Paper2Poster/camel/generators.py:85
↓ 1 callersMethodwait
r"""Wait for the API Server to be ready. Args: timeout (int): The number of seconds to wait. (default: :obj: `10`) Retur
camel/runtime/remote_http_runtime.py:161
↓ 1 callersMethodwait
r"""Wait for the API Server to be ready. Args: timeout (int): The number of seconds to wait. (default: :obj: `10`) Retur
demo/Paper2Poster/camel/runtime/remote_http_runtime.py:161
↓ 1 callersMethodwalk_linear
(self, pptx_obj, doc)
docling/backend/mspowerpoint_backend.py:365
↓ 1 callersMethodwalk_linear
(self, pptx_obj, doc)
demo/Paper2Poster/docling/backend/mspowerpoint_backend.py:365
↓ 1 callersFunctionwipe_poster_body_and_insert
(tex: str, body: str)
demo/posterbuilder/convert_baposter.py:344
↓ 1 callersFunctionwmf_to_images
(blob: bytes, filepath: str)
utils/src/utils.py:182
↓ 1 callersFunctionwmf_to_images
(blob: bytes, filepath: str)
demo/Paper2Poster/utils/src/utils.py:182
↓ 1 callersFunctionwrap_math_macros_outside_math
目的:在“非数学环境”里遇到数学宏时,自动加上 $...$。 例如:\delta c -> $\delta c$ \tau -> $\tau$ 已有的 $...$ / \[...\] / \(...\) 不会被二次处理(先暂存)。
demo/posterbuilder/convert.py:94
↓ 1 callersFunctionwrite_poster_texts
For each immediate subfolder of `root_folder`, look for a file named `poster.png`. If found, call `get_poster_text(path)` and save the return
get_poster_text.py:7
↓ 1 callersFunctionwrite_poster_texts
For each immediate subfolder of `root_folder`, look for a file named `poster.png`. If found, call `get_poster_text(path)` and save the return
demo/Paper2Poster/get_poster_text.py:7
↓ 1 callersMethodwrite_records
r"""Writes records to the memory, appending them to existing ones. Args: records (List[MemoryRecord]): Records to be added to the
camel/memories/base.py:32
↓ 1 callersMethodwrite_records
r"""Writes records to the memory, appending them to existing ones. Args: records (List[MemoryRecord]): Records to be added to the
demo/Paper2Poster/camel/memories/base.py:32
↓ 1 callersFunctionzoom_in_image_by_bbox
A simple wrapper function to crop the image based on the bounding box. The zoom factor cannot be too small. Minimum is 0.1 Args: imag
utils/critic_utils.py:46
Method__add__
r"""Addition operator override for :obj:`BaseMessage`. Args: other (Any): The value to be added with. Returns:
camel/messages/base.py:184
Method__add__
r"""Addition operator override for :obj:`BaseMessage`. Args: other (Any): The value to be added with. Returns:
demo/Paper2Poster/camel/messages/base.py:184
Method__call__
Call the language model with a prompt and optional images. Args: content (str): The prompt content. images (
utils/src/llms.py:99
Method__call__
Call the agent with prompt arguments. Args: images (list[str]): A list of image file paths. recent (int): Th
utils/src/llms.py:381
Method__call__
(self, *args: Any, **kwargs: Any)
camel/toolkits/function_tool.py:385
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/table_structure_model.py:170
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/ocr_mac_model.py:38
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/rapid_ocr_model.py:65
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/page_assemble_model.py:57
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/tesseract_ocr_model.py:94
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/layout_model.py:142
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/base_model.py:14
Method__call__
( self, doc: DoclingDocument, element_batch: Iterable[EnrichElementT] )
docling/models/base_model.py:38
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/tesseract_ocr_cli_model.py:178
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/base_ocr_model.py:186
Method__call__
(self, conv_res: ConversionResult)
docling/models/ds_glm_model.py:316
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/easyocr_model.py:119
Method__call__
( self, doc: DoclingDocument, element_batch: Iterable[ItemAndImageEnrichmentElement],
docling/models/picture_description_base_model.py:41
Method__call__
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/models/page_preprocessing_model.py:22
Method__call__
Processes the given batch of elements and enriches them with predictions. Parameters ---------- doc : DoclingDocumen
docling/models/code_formula_model.py:209
Method__call__
Processes a batch of elements and enriches them with classification predictions. Parameters ---------- doc : Docling
docling/models/document_picture_classifier.py:139
← previousnext →2,001–2,100 of 4,860, ranked by callers