MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 5 callersMethodis_tools_added
r"""Whether tool calling is enabled for this agent. Returns: bool: Whether tool calling is enabled for this agent, determined
demo/Paper2Poster/camel/agents/chat_agent.py:427
↓ 5 callersFunctionmatch_response
(response)
utils/wei_utils.py:199
↓ 5 callersFunctionolder_than
(filepath, seconds: int = 10, wait: bool = False)
utils/src/utils.py:78
↓ 5 callersFunctionolder_than
(filepath, seconds: int = 10, wait: bool = False)
demo/Paper2Poster/utils/src/utils.py:78
↓ 5 callersMethodpost_process_cells
r""" Post-process the ocr and programmatic cells and return the final list of of cells
docling/models/base_ocr_model.py:122
↓ 5 callersMethodpost_process_cells
r""" Post-process the ocr and programmatic cells and return the final list of of cells
demo/Paper2Poster/docling/models/base_ocr_model.py:122
↓ 5 callersMethodprev_numid
(self)
docling/backend/msword_backend.py:145
↓ 5 callersMethodprev_numid
(self)
demo/Paper2Poster/docling/backend/msword_backend.py:145
↓ 5 callersMethodrecord_message
r"""Records the externally provided message into the agent memory as if it were an answer of the :obj:`ChatAgent` from the backend. Currently,
camel/agents/chat_agent.py:539
↓ 5 callersMethodrecord_message
r"""Records the externally provided message into the agent memory as if it were an answer of the :obj:`ChatAgent` from the backend. Currently,
demo/Paper2Poster/camel/agents/chat_agent.py:539
↓ 5 callersMethodreset
r"""Resets the node to its initial state.
camel/societies/workforce/base.py:35
↓ 5 callersMethodreset
r"""Resets the node to its initial state.
demo/Paper2Poster/camel/societies/workforce/base.py:35
↓ 5 callersMethodretrieve
r"""Get a record list from the memory for creating model context. Returns: List[ContextRecord]: A record list for creating model
camel/memories/base.py:116
↓ 5 callersMethodretrieve
r"""Get a record list from the memory for creating model context. Returns: List[ContextRecord]: A record list for creating model
demo/Paper2Poster/camel/memories/base.py:116
↓ 5 callersMethodretry
Retry a failed turn with feedback and traceback.
utils/src/llms.py:356
↓ 5 callersMethodretry
Retry a failed turn with feedback and traceback.
demo/Paper2Poster/utils/src/llms.py:356
↓ 5 callersFunctionright
(rect)
utils/wei_utils.py:749
↓ 5 callersMethodrun
r"""Specify the given task prompt by providing more details. Args: task_prompt (Union[str, TextPrompt]): The original task
camel/agents/task_agent.py:93
↓ 5 callersMethodrun
r"""Specify the given task prompt by providing more details. Args: task_prompt (Union[str, TextPrompt]): The original task
demo/Paper2Poster/camel/agents/task_agent.py:93
↓ 5 callersMethodstr_to_int
(self, s: Optional[str], default: Optional[int] = 0)
docling/backend/msword_backend.py:200
↓ 5 callersMethodstr_to_int
(self, s: Optional[str], default: Optional[int] = 0)
demo/Paper2Poster/docling/backend/msword_backend.py:200
↓ 5 callersMethodto_dict
(self)
utils/src/llms.py:244
↓ 5 callersMethodto_dict
r"""Converts the message to a dictionary. Returns: dict: The converted dictionary.
camel/messages/base.py:530
↓ 5 callersMethodto_dict
(self)
demo/Paper2Poster/utils/src/llms.py:244
↓ 5 callersMethodto_dict
r"""Converts the message to a dictionary. Returns: dict: The converted dictionary.
demo/Paper2Poster/camel/messages/base.py:530
↓ 5 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/docker_runtime.py:365
↓ 5 callersMethodwalk
(self, element: Tag, doc: DoclingDocument)
docling/backend/html_backend.py:92
↓ 4 callersMethod_download_records
( self, dataset_name: str, filepath: str, **kwargs: Any )
camel/datahubs/huggingface.py:333
↓ 4 callersMethod_download_records
( self, dataset_name: str, filepath: str, **kwargs: Any )
demo/Paper2Poster/camel/datahubs/huggingface.py:333
↓ 4 callersFunction_parse_font_size
Internal helper to convert a numeric font size (e.g., 12) to a python-pptx Pt object. If it's already a Pt, return as-is.
utils/pptx_utils.py:1235
↓ 4 callersFunction_parse_font_size
Internal helper to convert a numeric font size (e.g., 12) to a python-pptx Pt object. If it's already a Pt, return as-is.
demo/Paper2Poster/utils/pptx_utils.py:1235
↓ 4 callersFunction_px_to_pt
Approximate conversion from pixels to points. A common assumption is 1px ~ 0.75pt. Adjust as needed for your environment.
utils/pptx_utils.py:1227
↓ 4 callersFunction_px_to_pt
Approximate conversion from pixels to points. A common assumption is 1px ~ 0.75pt. Adjust as needed for your environment.
demo/Paper2Poster/utils/pptx_utils.py:1227
↓ 4 callersMethod_run_async
(self, coro)
camel/storages/key_value_storages/redis.py:164
↓ 4 callersMethod_run_async
(self, coro)
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:164
↓ 4 callersMethod_scan_directory
Scan a directory for PNG files. Returns: Dictionary mapping normalized names to file paths
utils/logo_utils.py:97
↓ 4 callersMethod_scan_directory
Scan a directory for PNG files. Returns: Dictionary mapping normalized names to file paths
demo/Paper2Poster/utils/logo_utils.py:97
↓ 4 callersMethod_sort_cells
Sort cells in native reading order.
docling/utils/layout_postprocessor.py:636
↓ 4 callersMethod_sort_cells
Sort cells in native reading order.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:636
↓ 4 callersMethod_step_get_info
r"""Process the output of a chat step and gather information about the step. This method checks for termination conditions, updates t
camel/agents/chat_agent.py:1138
↓ 4 callersMethod_step_get_info
r"""Process the output of a chat step and gather information about the step. This method checks for termination conditions, updates t
demo/Paper2Poster/camel/agents/chat_agent.py:1138
↓ 4 callersMethod_upload_records
( self, records: List[Record], dataset_name: str, filepath: str, **kwa
camel/datahubs/huggingface.py:359
↓ 4 callersMethod_upload_records
( self, records: List[Record], dataset_name: str, filepath: str, **kwa
demo/Paper2Poster/camel/datahubs/huggingface.py:359
↓ 4 callersMethod_validate_time_label
r"""Validates the format of a time label string. Args: time_label (str): The time label string to validate. Shoul
camel/storages/graph_storages/nebula_graph.py:617
↓ 4 callersMethod_validate_time_label
r"""Validates the format of a time label string. Args: time_label (str): The time label string to validate. Shoul
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:617
↓ 4 callersFunctionadd_border_hierarchy
Iterates over all slides and shapes in the Presentation 'prs'. - For shapes whose name maps to the given 'hierarchy' in 'name_to_hierarchy' (
demo/Paper2Poster/utils/pptx_utils.py:1975
↓ 4 callersFunctionapply_theme
(agent, prompt, num_retries, existing_code='')
utils/wei_utils.py:496
↓ 4 callersFunctionbreak_at
(s: str, limit: int)
demo/posterbuilder/convert_baposter.py:71
↓ 4 callersMethodbuild_slide
Build a slide in the presentation.
utils/src/presentation.py:1252
↓ 4 callersMethodbuild_slide
Build a slide in the presentation.
demo/Paper2Poster/utils/src/presentation.py:1252
↓ 4 callersFunctionedit_code
(agent, prompt, num_retries, existing_code='')
utils/wei_utils.py:499
↓ 4 callersMethodembed
r"""Generates an embedding for the given text. Args: obj (T): The object for which to generate the embedding. **kwarg
camel/embeddings/base.py:43
↓ 4 callersMethodembed
r"""Generates an embedding for the given text. Args: obj (T): The object for which to generate the embedding. **kwarg
demo/Paper2Poster/camel/embeddings/base.py:43
↓ 4 callersFunctioneval_qa_get_answer
(poster_input, questions, answers, aspects, input_type, agent_config)
utils/poster_eval_utils.py:807
↓ 4 callersFunctioneval_qa_get_answer
(poster_input, questions, answers, aspects, input_type, agent_config)
demo/Paper2Poster/utils/poster_eval_utils.py:807
↓ 4 callersMethodexecute_actions
Execute a series of actions on a slide. Args: actions (str): The actions to execute. edit_slide (SlidePage):
utils/src/apis.py:88
↓ 4 callersMethodexecute_actions
Execute a series of actions on a slide. Args: actions (str): The actions to execute. edit_slide (SlidePage):
demo/Paper2Poster/utils/src/apis.py:88
↓ 4 callersMethodfind_containing
Find all intervals containing the point.
docling/utils/layout_postprocessor.py:135
↓ 4 callersMethodfind_containing
Find all intervals containing the point.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:135
↓ 4 callersFunctiongen_layout
(agent, prompt, num_retries, name_to_hierarchy, visual_identifier='', existing_code='')
utils/wei_utils.py:505
↓ 4 callersMethodgenerate_prov
( self, shape, slide_ind, text="", slide_size=Size(width=1, height=1) )
docling/backend/mspowerpoint_backend.py:101
↓ 4 callersMethodgenerate_prov
( self, shape, slide_ind, text="", slide_size=Size(width=1, height=1) )
demo/Paper2Poster/docling/backend/mspowerpoint_backend.py:101
↓ 4 callersMethodget_agent_history
r"""Get the message history of an agent. Args: name (str): The name of the agent. Returns: List[CollectorDat
camel/data_collector/base.py:195
↓ 4 callersMethodget_agent_history
r"""Get the message history of an agent. Args: name (str): The name of the agent. Returns: List[CollectorDat
demo/Paper2Poster/camel/data_collector/base.py:195
↓ 4 callersMethodget_apis_docs
Get the documentation for a list of API functions. Args: funcs (list[callable]): A list of functions to document.
utils/src/apis.py:54
↓ 4 callersMethodget_apis_docs
Get the documentation for a list of API functions. Args: funcs (list[callable]): A list of functions to document.
demo/Paper2Poster/utils/src/apis.py:54
↓ 4 callersFunctionget_hierarchy
(outline, hierarchy=1)
utils/pptx_utils.py:1931
↓ 4 callersMethodget_logo_path
Get the path to a logo file using fuzzy matching. Args: name: Name of the conference/institution category: T
utils/logo_utils.py:112
↓ 4 callersMethodget_output_dim
r"""Returns the output dimension of the embeddings. Returns: int: The dimensionality of the embedding for the current model.
camel/embeddings/base.py:61
↓ 4 callersMethodget_output_dim
r"""Returns the output dimension of the embeddings. Returns: int: The dimensionality of the embedding for the current model.
demo/Paper2Poster/camel/embeddings/base.py:61
↓ 4 callersFunctionget_poster_text
(poster_path, check_fail=True)
utils/poster_eval_utils.py:465
↓ 4 callersFunctionget_poster_text
(poster_path, check_fail=True)
demo/Paper2Poster/utils/poster_eval_utils.py:465
↓ 4 callersMethodget_size
(self)
docling/backend/pypdfium2_backend.py:229
↓ 4 callersMethodget_size
(self)
docling/backend/docling_parse_backend.py:182
↓ 4 callersMethodget_size
(self)
docling/backend/docling_parse_v2_backend.py:197
↓ 4 callersMethodget_size
(self)
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:229
↓ 4 callersMethodget_size
(self)
demo/Paper2Poster/docling/backend/docling_parse_backend.py:182
↓ 4 callersMethodget_size
(self)
demo/Paper2Poster/docling/backend/docling_parse_v2_backend.py:197
↓ 4 callersFunctionget_snapshot_from_section
(leaf_section, section_name, name_to_hierarchy, leaf_name, section_code, empty_poster_path='poster.pptx')
utils/wei_utils.py:1311
↓ 4 callersMethodget_system_prompt
r"""Generates a text prompt for the system role, using the specified :obj:`task_type` and :obj:`role_type`. Args: task_ty
camel/prompts/prompt_templates.py:63
↓ 4 callersMethodget_system_prompt
r"""Generates a text prompt for the system role, using the specified :obj:`task_type` and :obj:`role_type`. Args: task_ty
demo/Paper2Poster/camel/prompts/prompt_templates.py:63
↓ 4 callersFunctionimages_cosine_similarity
Calculate the cosine similarity matrix for a list of embeddings. Args: embeddings (list[torch.Tensor]): A list of image embeddings.
utils/src/model_utils.py:206
↓ 4 callersMethodmodel_json_schema
(cls)
camel/personas/persona.py:81
↓ 4 callersMethodmodel_json_schema
(cls)
demo/Paper2Poster/camel/personas/persona.py:81
↓ 4 callersMethodnormalize_str
r"""Normalize a string. Args: input_str: The input string to normalize. remove_punct: Whether to remove punctuation.
camel/benchmarks/gaia.py:447
↓ 4 callersMethodnormalize_str
r"""Normalize a string. Args: input_str: The input string to normalize. remove_punct: Whether to remove punctuation.
demo/Paper2Poster/camel/benchmarks/gaia.py:447
↓ 4 callersMethodreset
r"""Reset the workforce and all the child nodes under it. Can only be called when the workforce is not running.
camel/societies/workforce/workforce.py:227
↓ 4 callersMethodreset
r"""Reset the workforce and all the child nodes under it. Can only be called when the workforce is not running.
demo/Paper2Poster/camel/societies/workforce/workforce.py:227
↓ 4 callersMethodset_rundir
(self, rundir: str)
utils/src/utils.py:327
↓ 4 callersMethodset_rundir
(self, rundir: str)
demo/Paper2Poster/utils/src/utils.py:327
↓ 4 callersMethodstep
r"""BabyAGI agent would pull the first task from the task list, complete the task based on the context, then creates new tasks and re-
camel/societies/babyagi_playing.py:224
↓ 4 callersMethodstep
r"""BabyAGI agent would pull the first task from the task list, complete the task based on the context, then creates new tasks and re-
demo/Paper2Poster/camel/societies/babyagi_playing.py:224
↓ 4 callersFunctionstrip_consecutive_newlines
r"""Strips consecutive newlines from a string. Args: text (str): The string to strip. Returns: str: The string with consecut
camel/loaders/base_io.py:147
↓ 4 callersFunctionstrip_consecutive_newlines
r"""Strips consecutive newlines from a string. Args: text (str): The string to strip. Returns: str: The string with consecut
demo/Paper2Poster/camel/loaders/base_io.py:147
↓ 4 callersFunctionto_color_tuple_or_none
Convert YAML color list [R, G, B] to tuple (R, G, B). Args: value: Color value (list, tuple, or None) Returns: RGB tupl
utils/config_utils.py:191
↓ 4 callersFunctionto_color_tuple_or_none
Convert YAML color list [R, G, B] to tuple (R, G, B). Args: value: Color value (list, tuple, or None) Returns: RGB tupl
demo/Paper2Poster/utils/config_utils.py:191
↓ 4 callersFunctionto_int_or_none
Convert value to int or return None if conversion fails. Args: value: Value to convert Returns: Integer value or None
utils/config_utils.py:175
↓ 4 callersFunctionto_int_or_none
Convert value to int or return None if conversion fails. Args: value: Value to convert Returns: Integer value or None
demo/Paper2Poster/utils/config_utils.py:175
↓ 4 callersMethodto_pptc
Convert the text frame to PPTC format. Args: father_idx (int): The index of the parent shape. Returns:
utils/src/presentation.py:161
↓ 4 callersMethodto_pptc
Convert the text frame to PPTC format. Args: father_idx (int): The index of the parent shape. Returns:
demo/Paper2Poster/utils/src/presentation.py:161
← previousnext →201–300 of 4,860, ranked by callers