MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

Methodadd_single_agent_worker
r"""Add a worker node to the workforce that uses a single agent. Args: description (str): Description of the worker node.
demo/Paper2Poster/camel/societies/workforce/workforce.py:158
Methodadd_task
r"""Add a task to run a command inside the container when building. Similar to `docker exec`. Args: task (TaskConfig): Th
camel/runtime/docker_runtime.py:122
Methodadd_task
r"""Add a task to run a command inside the container when building. Similar to `docker exec`. Args: task (TaskConfig): Th
demo/Paper2Poster/camel/runtime/docker_runtime.py:122
Methodadd_tasks
r"""self.tasks and self.task_map will be updated by the input tasks.
camel/tasks/task.py:384
Methodadd_tasks
r"""self.tasks and self.task_map will be updated by the input tasks.
demo/Paper2Poster/camel/tasks/task.py:384
Functionadd_textbox
Create a textbox shape on the given slide, optionally fill its background with a color if fill_color is specified as (r, g, b). :par
utils/pptx_utils.py:1298
Functionadd_textbox
Create a textbox shape on the given slide, optionally fill its background with a color if fill_color is specified as (r, g, b). :par
demo/Paper2Poster/utils/pptx_utils.py:1298
Methodadd_tool
r"""Add a tool to the agent, specifying if it's an external tool.
camel/agents/chat_agent.py:266
Methodadd_tool
r"""Add a tool to the agent, specifying if it's an external tool.
demo/Paper2Poster/camel/agents/chat_agent.py:266
Methodadd_triplet
r"""Adds a relationship (triplet) between two entities in the database. Args: subj (str): The identifier for the subject entity.
camel/storages/graph_storages/base.py:46
Methodadd_triplet
r"""Adds a relationship (triplet) between two entities in the database. Args: subj (str): The identifier for the subject entity.
camel/storages/graph_storages/neo4j_graph.py:342
Methodadd_triplet
r"""Adds a relationship (triplet) between two entities in the database. Args: subj (str): The identifier for the subject entity.
demo/Paper2Poster/camel/storages/graph_storages/base.py:46
Methodadd_triplet
r"""Adds a relationship (triplet) between two entities in the database. Args: subj (str): The identifier for the subject entity.
demo/Paper2Poster/camel/storages/graph_storages/neo4j_graph.py:342
Methodadd_workforce
r"""Add a workforce node to the workforce. Args: workforce (Workforce): The workforce node to be added. Returns:
camel/societies/workforce/workforce.py:214
Methodadd_workforce
r"""Add a workforce node to the workforce. Args: workforce (Workforce): The workforce node to be added. Returns:
demo/Paper2Poster/camel/societies/workforce/workforce.py:214
Functionadjust_font_size
Increase or decrease the current font size of all runs in a shape by `delta` points. If a run has no explicitly set font size (font.size is N
utils/pptx_utils.py:1663
Functionadjust_font_size
Increase or decrease the current font size of all runs in a shape by `delta` points. If a run has no explicitly set font size (font.size is N
demo/Paper2Poster/utils/pptx_utils.py:1663
Methodalways_first
r"""Always return the first model from self.models. Returns: BaseModelBackend for processing incoming messages.
camel/models/model_manager.py:164
Methodalways_first
r"""Always return the first model from self.models. Returns: BaseModelBackend for processing incoming messages.
demo/Paper2Poster/camel/models/model_manager.py:164
Methodanswer_call
(example: Dict[str, Any])
camel/benchmarks/ragbench.py:313
Methodanswer_call
(example: Dict[str, Any])
demo/Paper2Poster/camel/benchmarks/ragbench.py:313
Functionapi_keys_required
r"""A decorator to check if the required API keys are provided in the environment variables or as function arguments. Args: param_env
camel/utils/commons.py:236
Functionapi_keys_required
r"""A decorator to check if the required API keys are provided in the environment variables or as function arguments. Args: param_env
demo/Paper2Poster/camel/utils/commons.py:236
Methodapp_mention
r"""Event handler for `app_mention` events. This method is triggered when someone mentions the app in Slack. Args: conte
camel/bots/slack/slack_app.py:180
Methodapp_mention
r"""Event handler for `app_mention` events. This method is triggered when someone mentions the app in Slack. Args: conte
demo/Paper2Poster/camel/bots/slack/slack_app.py:180
Methodapply
r"""Evaluate the given instruction based on the filter's criteria. Args: instruction (str): The instruction to evaluate.
camel/datagen/self_instruct/filter/filter_function.py:32
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True Inst
camel/datagen/self_instruct/filter/filter_function.py:82
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
camel/datagen/self_instruct/filter/filter_function.py:98
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
camel/datagen/self_instruct/filter/filter_function.py:113
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
camel/datagen/self_instruct/filter/filter_function.py:143
Methodapply
r"""Filter the instruction Args: instruction (str): The instruction to be filtered. Returns: bool: True if t
camel/datagen/self_instruct/filter/filter_function.py:184
Methodapply
r"""Evaluate the given instruction based on the filter's criteria. Args: instruction (str): The instruction to evaluate.
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_function.py:32
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True Inst
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_function.py:82
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_function.py:98
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_function.py:113
Methodapply
r"""Filter the instruction Args: instruction (str): the instruction to be filtered. Returns: bool: True if t
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_function.py:143
Methodapply
r"""Filter the instruction Args: instruction (str): The instruction to be filtered. Returns: bool: True if t
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_function.py:184
Functionapply_all_styles
Apply all style configurations to bullet content. This is a convenience function that applies all styling in the correct order. Args:
demo/Paper2Poster/utils/style_utils.py:143
Functionapply_outline_location
(outline, location, subsection=False)
PosterAgent/gen_outline_layout.py:63
Functionapply_outline_location
(outline, location, subsection=False)
PosterAgent/gen_outline_layout_parallel.py:248
Functionapply_outline_location
(outline, location, subsection=False)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:81
Functionapply_outline_location
(outline, location, subsection=False)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:248
Methodarea
Get the area of the shape element. Returns: float: The area in square points.
utils/src/presentation.py:349
Methodarun
Public async entrypoint, required by the abstract base.
camel/models/openrouter_model.py:178
Methodarun
Public async entrypoint, required by the abstract base.
demo/Paper2Poster/camel/models/openrouter_model.py:178
Methodas_dict
(self)
camel/configs/togetherai_config.py:98
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
camel/configs/deepseek_config.py:108
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
camel/configs/openai_config.py:113
Methodas_dict
(self)
camel/configs/anthropic_config.py:64
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
camel/configs/gemini_config.py:88
Methodas_dict
(self)
camel/configs/samba_config.py:66
Methodas_dict
(self)
camel/configs/reka_config.py:67
Methodas_dict
r"""Returns the function calling record as a dictionary. Returns: dict[str, Any]: The function calling record as a dictionary.
camel/agents/chat_agent.py:117
Methodas_dict
(self)
demo/Paper2Poster/camel/configs/togetherai_config.py:98
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
demo/Paper2Poster/camel/configs/deepseek_config.py:108
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
demo/Paper2Poster/camel/configs/openai_config.py:113
Methodas_dict
(self)
demo/Paper2Poster/camel/configs/anthropic_config.py:64
Methodas_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
demo/Paper2Poster/camel/configs/gemini_config.py:88
Methodas_dict
(self)
demo/Paper2Poster/camel/configs/samba_config.py:66
Methodas_dict
(self)
demo/Paper2Poster/camel/configs/reka_config.py:67
Methodas_dict
r"""Returns the function calling record as a dictionary. Returns: dict[str, Any]: The function calling record as a dictionary.
demo/Paper2Poster/camel/agents/chat_agent.py:117
Methodask_human_via_console
r"""Ask a question to the human via the console. Args: question (str): The question to ask the human. Returns:
camel/toolkits/human_toolkit.py:30
Methodask_human_via_console
r"""Ask a question to the human via the console. Args: question (str): The question to ask the human. Returns:
demo/Paper2Poster/camel/toolkits/human_toolkit.py:30
Functionasync_callable
(*args, **kwargs)
camel/utils/async_func.py:36
Functionasync_callable
(*args, **kwargs)
demo/Paper2Poster/camel/utils/async_func.py:36
Methodauthor
r"""Getter for the author attribute, fetching details if not cached. Returns: Dict[str, Any]: A dictionary containing author deta
camel/toolkits/google_scholar_toolkit.py:77
Methodauthor
r"""Getter for the author attribute, fetching details if not cached. Returns: Dict[str, Any]: A dictionary containing author deta
demo/Paper2Poster/camel/toolkits/google_scholar_toolkit.py:77
Methodavg
(self)
docling/utils/profiling.py:26
Methodavg
(self)
demo/Paper2Poster/docling/utils/profiling.py:26
Methodbalance_get
r"""Retrieve your account balance. Returns: str: A str containing the account balance if successful, or an error
camel/toolkits/stripe_toolkit.py:110
Methodbalance_get
r"""Retrieve your account balance. Returns: str: A str containing the account balance if successful, or an error
demo/Paper2Poster/camel/toolkits/stripe_toolkit.py:110
Methodbalance_transaction_list
r"""List your balance transactions. Args: limit (int, optional): Number of balance transactions to retrieve. (def
camel/toolkits/stripe_toolkit.py:129
Methodbalance_transaction_list
r"""List your balance transactions. Args: limit (int, optional): Number of balance transactions to retrieve. (def
demo/Paper2Poster/camel/toolkits/stripe_toolkit.py:129
Methodbuild
Build the shape element in a slide. Args: slide (PPTXSlide): The slide to build the shape in. Returns:
utils/src/presentation.py:269
Methodbuild
(self, slide: PPTXSlide)
utils/src/presentation.py:521
Methodbuild
Recreates the freeform geometry on the slide using a FreeformBuilder. Note: If you loaded this shape from an existing slide, you may
utils/src/presentation.py:619
Methodbuild
(self, slide: PPTXSlide)
utils/src/presentation.py:767
Methodbuild
(self, slide: PPTXSlide)
utils/src/presentation.py:1054
Methodbuild
Build the shape element in a slide. Args: slide (PPTXSlide): The slide to build the shape in. Returns:
demo/Paper2Poster/utils/src/presentation.py:269
Methodbuild
(self, slide: PPTXSlide)
demo/Paper2Poster/utils/src/presentation.py:521
Methodbuild
Recreates the freeform geometry on the slide using a FreeformBuilder. Note: If you loaded this shape from an existing slide, you may
demo/Paper2Poster/utils/src/presentation.py:619
Methodbuild
(self, slide: PPTXSlide)
demo/Paper2Poster/utils/src/presentation.py:767
Methodbuild
(self, slide: PPTXSlide)
demo/Paper2Poster/utils/src/presentation.py:1054
Methodcalculate_cost_from_response
r"""Calculate the cost of the given completion response. Args: response (dict): The completion response from LiteLLM. Re
camel/utils/token_counting.py:354
Methodcalculate_cost_from_response
r"""Calculate the cost of the given completion response. Args: response (dict): The completion response from LiteLLM. Re
demo/Paper2Poster/camel/utils/token_counting.py:354
Functioncall_api
(input_json: Dict[str, Any])
camel/toolkits/open_api_specs/outschool/paths/get_classes.py:21
Functioncall_api
(input_json: Dict[str, Any])
camel/toolkits/open_api_specs/outschool/paths/search_teachers.py:21
Functioncall_api
(input_json: Dict[str, Any])
camel/toolkits/open_api_specs/web_scraper/paths/scraper.py:21
Functioncall_api
(input_json: Dict[str, Any])
demo/Paper2Poster/camel/toolkits/open_api_specs/outschool/paths/get_classes.py:21
Functioncall_api
(input_json: Dict[str, Any])
demo/Paper2Poster/camel/toolkits/open_api_specs/outschool/paths/search_teachers.py:21
Functioncall_api
(input_json: Dict[str, Any])
demo/Paper2Poster/camel/toolkits/open_api_specs/web_scraper/paths/scraper.py:21
Methodcanonicalize_path
r"""Canonicalize file path for Azure Blob Storage. Args: file_path (PurePath): The path to be canonicalized. Returns:
camel/storages/object_storages/azure_blob.py:87
Methodcanonicalize_path
r"""Canonicalize the path for Google Cloud Storage. Args: file_path (PurePath): The path to be canonicalized. Returns:
camel/storages/object_storages/google_cloud.py:62
Methodcanonicalize_path
r"""Canonicalize file path for Amazon S3. Args: file_path (PurePath): The path to be canonicalized. Returns:
camel/storages/object_storages/amazon_s3.py:123
Methodcanonicalize_path
r"""Canonicalize file path for Azure Blob Storage. Args: file_path (PurePath): The path to be canonicalized. Returns:
demo/Paper2Poster/camel/storages/object_storages/azure_blob.py:87
Methodcanonicalize_path
r"""Canonicalize the path for Google Cloud Storage. Args: file_path (PurePath): The path to be canonicalized. Returns:
demo/Paper2Poster/camel/storages/object_storages/google_cloud.py:62
Methodcanonicalize_path
r"""Canonicalize file path for Amazon S3. Args: file_path (PurePath): The path to be canonicalized. Returns:
demo/Paper2Poster/camel/storages/object_storages/amazon_s3.py:123
Methodcaption
(self)
utils/src/presentation.py:547
Methodcaption
(self)
demo/Paper2Poster/utils/src/presentation.py:547
Functioncenter_shape_horizontally
Center a shape horizontally on the slide using the presentation's slide width. :param prs: The Presentation object (which holds slide_wi
utils/pptx_utils.py:1684
← previousnext →2,901–3,000 of 4,860, ranked by callers