MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

Methodis_zhipuai
r"""Returns whether this type of models is an ZhipuAI model.
camel/types/enums.py:280
Methodis_zhipuai
r"""Returns whether this platform is zhipu.
camel/types/enums.py:909
Methodis_zhipuai
r"""Returns whether the model is a Zhipuai model.
camel/types/unified_model_type.py:82
Methodis_zhipuai
r"""Returns whether this type of models is an ZhipuAI model.
demo/Paper2Poster/camel/types/enums.py:280
Methodis_zhipuai
r"""Returns whether this platform is zhipu.
demo/Paper2Poster/camel/types/enums.py:909
Methodis_zhipuai
r"""Returns whether the model is a Zhipuai model.
demo/Paper2Poster/camel/types/unified_model_type.py:82
Methodjoin_slack_channel
r"""Joins an existing Slack channel. Args: channel_id (str): The ID of the Slack channel to join. Returns: s
camel/toolkits/slack_toolkit.py:115
Methodjoin_slack_channel
r"""Joins an existing Slack channel. Args: channel_id (str): The ID of the Slack channel to join. Returns: s
demo/Paper2Poster/camel/toolkits/slack_toolkit.py:115
Methodkey_words
r"""Returns a set of strings representing the keywords in the prompt.
camel/prompts/base.py:103
Methodkey_words
r"""Returns a set of strings representing the keywords in the prompt.
demo/Paper2Poster/camel/prompts/base.py:103
Functionlayout_h2_process_section
Run the logic for a single section. Returns a tuple containing: - section name (or id), - updated subsection-location dict,
PosterAgent/gen_outline_layout_parallel.py:117
Functionlayout_h2_process_section
Run the logic for a single section. Returns a tuple containing: - section name (or id), - updated subsection-location dict,
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:117
Functionlayout_process_section
Runs the 'gen_layout' logic for a single section_index. Returns a tuple: (section_index, updated_log, input_tokens, output_tokens)
PosterAgent/gen_outline_layout_parallel.py:176
Functionlayout_process_section
Runs the 'gen_layout' logic for a single section_index. Returns a tuple: (section_index, updated_log, input_tokens, output_tokens)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:176
Methodleave_slack_channel
r"""Leaves an existing Slack channel. Args: channel_id (str): The ID of the Slack channel to leave. Returns:
camel/toolkits/slack_toolkit.py:138
Methodleave_slack_channel
r"""Leaves an existing Slack channel. Args: channel_id (str): The ID of the Slack channel to leave. Returns:
demo/Paper2Poster/camel/toolkits/slack_toolkit.py:138
Methodleft
(self)
utils/src/presentation.py:317
Methodleft
(self)
demo/Paper2Poster/utils/src/presentation.py:317
Methodlegacy_document
(self)
docling/datamodel/document.py:206
Methodlegacy_document
(self)
demo/Paper2Poster/docling/datamodel/document.py:206
Methodlist_all_pages
r"""Lists all pages in the Notion workspace. Returns: List[dict]: A list of page objects with title and id.
camel/toolkits/notion_toolkit.py:128
Methodlist_all_pages
r"""Lists all pages in the Notion workspace. Returns: List[dict]: A list of page objects with title and id.
demo/Paper2Poster/camel/toolkits/notion_toolkit.py:128
Methodlist_all_users
r"""Lists all users via the Notion integration. Returns: List[dict]: A list of user objects with type, name, and workspace.
camel/toolkits/notion_toolkit.py:94
Methodlist_all_users
r"""Lists all users via the Notion integration. Returns: List[dict]: A list of user objects with type, name, and workspace.
demo/Paper2Poster/camel/toolkits/notion_toolkit.py:94
Methodlist_datasets
r"""Lists all datasets for the current user. Args: username (str): The username of the user whose datasets to list. l
camel/datahubs/base.py:37
Methodlist_datasets
r"""Lists all datasets for the current user. Args: username (str): The username of the user whose datasets to list. l
camel/datahubs/huggingface.py:147
Methodlist_datasets
r"""Lists all datasets for the current user. Args: username (str): The username of the user whose datasets to list. l
demo/Paper2Poster/camel/datahubs/base.py:37
Methodlist_datasets
r"""Lists all datasets for the current user. Args: username (str): The username of the user whose datasets to list. l
demo/Paper2Poster/camel/datahubs/huggingface.py:147
Methodlist_records
r"""Lists records in a dataset. Args: dataset_name (str): The name of the dataset. filepath (str): The path to the fi
camel/datahubs/base.py:102
Methodlist_records
r"""Lists all records in a dataset. Args: dataset_name (str): The name of the dataset. filepath (str): The path to th
camel/datahubs/huggingface.py:313
Methodlist_records
r"""Lists records in a dataset. Args: dataset_name (str): The name of the dataset. filepath (str): The path to the fi
demo/Paper2Poster/camel/datahubs/base.py:102
Methodlist_records
r"""Lists all records in a dataset. Args: dataset_name (str): The name of the dataset. filepath (str): The path to th
demo/Paper2Poster/camel/datahubs/huggingface.py:313
Methodlist_tools
r"""List all tools, separated into normal and external tools.
camel/agents/chat_agent.py:320
Methodlist_tools
r"""List all tools, separated into normal and external tools.
demo/Paper2Poster/camel/agents/chat_agent.py:320
Methodllm_convert
r"""Convert the collected data.
camel/data_collector/base.py:191
Methodllm_convert
r"""Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConverter], optional):
camel/data_collector/sharegpt_collector.py:146
Methodllm_convert
r"""Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConverter], optional):
camel/data_collector/alpaca_collector.py:95
Methodllm_convert
r"""Convert the collected data.
demo/Paper2Poster/camel/data_collector/base.py:191
Methodllm_convert
r"""Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConverter], optional):
demo/Paper2Poster/camel/data_collector/sharegpt_collector.py:146
Methodllm_convert
r"""Convert collected data using an LLM schema converter. Args: converter (Optional[OpenAISchemaConverter], optional):
demo/Paper2Poster/camel/data_collector/alpaca_collector.py:95
Methodload
r"""Load the collection hosted on cloud service.
camel/storages/vectordb_storages/qdrant.py:484
Methodload
r"""Load the collection hosted on cloud service.
camel/storages/vectordb_storages/base.py:181
Methodload
r"""Load the collection hosted on cloud service.
camel/storages/vectordb_storages/milvus.py:382
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
camel/storages/key_value_storages/redis.py:110
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
camel/storages/key_value_storages/in_memory.py:39
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
camel/storages/key_value_storages/base.py:44
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
camel/storages/key_value_storages/json.py:81
Methodload
r"""Load the GAIA dataset. Args: force_download (bool, optional): Whether to force download the data.
camel/benchmarks/gaia.py:161
Methodload
r"""Load the RAGBench dataset. Args: force_download (bool, optional): Whether to force download the data.
camel/benchmarks/ragbench.py:273
Methodload
r"""Load the collection hosted on cloud service.
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:484
Methodload
r"""Load the collection hosted on cloud service.
demo/Paper2Poster/camel/storages/vectordb_storages/base.py:181
Methodload
r"""Load the collection hosted on cloud service.
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:382
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:110
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
demo/Paper2Poster/camel/storages/key_value_storages/in_memory.py:39
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
demo/Paper2Poster/camel/storages/key_value_storages/base.py:44
Methodload
r"""Loads all stored records from the key-value storage system. Returns: List[Dict[str, Any]]: A list of dictionaries, where each
demo/Paper2Poster/camel/storages/key_value_storages/json.py:81
Methodload
r"""Load the GAIA dataset. Args: force_download (bool, optional): Whether to force download the data.
demo/Paper2Poster/camel/benchmarks/gaia.py:161
Methodload
r"""Load the RAGBench dataset. Args: force_download (bool, optional): Whether to force download the data.
demo/Paper2Poster/camel/benchmarks/ragbench.py:273
Methodload_json_lines
r"""Helper function to load JSON lines from a file.
camel/benchmarks/apibench.py:198
Methodload_json_lines
r"""Helper function to load JSON lines from a file.
demo/Paper2Poster/camel/benchmarks/apibench.py:198
Methodload_page
(self, page_no: int)
docling/backend/pypdfium2_backend.py:251
Methodload_page
(self, page_no: int)
docling/backend/docling_parse_backend.py:215
Methodload_page
(self, page_no: int)
docling/backend/docling_parse_v2_backend.py:238
Methodload_page
(self, page_no: int)
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:251
Methodload_page
(self, page_no: int)
demo/Paper2Poster/docling/backend/docling_parse_backend.py:215
Methodload_page
(self, page_no: int)
demo/Paper2Poster/docling/backend/docling_parse_v2_backend.py:238
Functionload_poster_yaml_config
Load poster configuration from YAML files. Searches for poster.yaml in multiple locations: 1. Next to the poster PDF (per-poster config)
demo/Paper2Poster/utils/config_utils.py:13
Functionmain
()
demo/posterbuilder/build_poster.py:347
Functionmain_inference
( paper_panels, panel_model_params, figure_model_params, poster_width=1200, poster_height=
demo/Paper2Poster/PosterAgent/tree_split_layout.py:619
Functionmain_train
()
demo/Paper2Poster/PosterAgent/tree_split_layout.py:300
Methodmake_spans
(cell)
docling/models/ds_glm_model.py:153
Methodmake_spans
(cell)
demo/Paper2Poster/docling/models/ds_glm_model.py:153
Methodmap_site
r"""Map a website to retrieve all accessible URLs. Args: url (str): The URL of the site to map. params (Optional[Dict
camel/loaders/firecrawl_reader.py:153
Methodmap_site
r"""Map a website to retrieve all accessible URLs. Args: url (str): The URL of the site to map. params (Optional[Dict
demo/Paper2Poster/camel/loaders/firecrawl_reader.py:153
Methodmention_me
r"""Check if the bot is mentioned in the message. Args: context (AsyncBoltContext): The Slack Bolt context for the event.
camel/bots/slack/slack_app.py:240
Methodmention_me
r"""Check if the bot is mentioned in the message. Args: context (AsyncBoltContext): The Slack Bolt context for the event.
demo/Paper2Poster/camel/bots/slack/slack_app.py:240
Methodmerge_group
(group: List[Cell])
docling/backend/pypdfium2_backend.py:149
Methodmerge_group
(group: List[Cell])
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:149
Methodmerge_horizontal_cells
( cells: List[Cell], horizontal_threshold_factor: float = 1.0, vertical_th
docling/backend/pypdfium2_backend.py:91
Methodmerge_horizontal_cells
( cells: List[Cell], horizontal_threshold_factor: float = 1.0, vertical_th
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:91
Methodmerge_row
(row: List[Cell])
docling/backend/pypdfium2_backend.py:128
Methodmerge_row
(row: List[Cell])
demo/Paper2Poster/docling/backend/pypdfium2_backend.py:128
Methodmodel_config_dict
r"""Return model_config_dict of the current model. Returns: Dict[str, Any]: Config dictionary of the current model.
camel/models/model_manager.py:90
Methodmodel_config_dict
r"""Return model_config_dict of the current model. Returns: Dict[str, Any]: Config dictionary of the current model.
demo/Paper2Poster/camel/models/model_manager.py:90
Methodmodel_type
r"""Return type of the current model. Returns: Union[ModelType, str]: Current model type.
camel/models/model_manager.py:81
Methodmodel_type
r"""Return type of the current model. Returns: Union[ModelType, str]: Current model type.
demo/Paper2Poster/camel/models/model_manager.py:81
Methodmonte_carlo_tree_search
r"""Perform Monte Carlo Tree Search to find the best solution. Process: a. Selection: Choose promising partial solutions based on pre
camel/datagen/cotdatagen.py:207
Methodmonte_carlo_tree_search
r"""Perform Monte Carlo Tree Search to find the best solution. Process: a. Selection: Choose promising partial solutions based on pre
demo/Paper2Poster/camel/datagen/cotdatagen.py:207
Methodmount
r"""Mount a local directory to the container. Args: path (str): The local path to mount. mount_path (str): The path t
camel/runtime/docker_runtime.py:80
Methodmount
r"""Mount a local directory to the container. Args: path (str): The local path to mount. mount_path (str): The path t
demo/Paper2Poster/camel/runtime/docker_runtime.py:80
Methodmsg
(self)
camel/responses/agent_responses.py:40
Methodmsg
(self)
demo/Paper2Poster/camel/responses/agent_responses.py:40
Methodmultiply
r"""Multiplies two numbers. Args: a (float): The multiplier in the multiplication. b (float): The multiplicand in the
camel/toolkits/math_toolkit.py:52
Methodmultiply
r"""Multiplies two numbers. Args: a (float): The multiplier in the multiplication. b (float): The multiplicand in the
demo/Paper2Poster/camel/toolkits/math_toolkit.py:52
Methodno_section_markers
r"""Ensures fields don't contain section markers like '### Response:'
camel/messages/conversion/alpaca.py:41
Methodno_section_markers
r"""Ensures fields don't contain section markers like '### Response:'
demo/Paper2Poster/camel/messages/conversion/alpaca.py:41
Functionno_tree_get_layout
(poster_width, poster_height, panels, figures, agent_config)
demo/Paper2Poster/utils/ablation_utils.py:10
Functionnoop
(f)
camel/utils/commons.py:596
Functionnoop
(f)
demo/Paper2Poster/camel/utils/commons.py:596
Functionnormalize_config_values
Normalize configuration values to proper types. Args: Font sizes and colors (raw from YAML) Returns: Tuple of normalize
demo/Paper2Poster/utils/config_utils.py:211
← previousnext →3,901–4,000 of 4,860, ranked by callers