MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

Methodquery_data_commons
r"""Query the Data Commons knowledge graph using SPARQL. Args: query_string (str): A SPARQL query string. Returns:
camel/toolkits/data_commons_toolkit.py:39
Methodquery_data_commons
r"""Query the Data Commons knowledge graph using SPARQL. Args: query_string (str): A SPARQL query string. Returns:
demo/Paper2Poster/camel/toolkits/data_commons_toolkit.py:39
Methodquery_finance
r"""Fetch asset sentiment data for a given asset, metric, and date range. Args: asset (Literal): The asset for which to f
camel/toolkits/ask_news_toolkit.py:248
Methodquery_finance
r"""Fetch asset sentiment data for a given asset, metric, and date range. Args: asset (Literal): The asset for which to f
camel/toolkits/ask_news_toolkit.py:543
Methodquery_finance
r"""Fetch asset sentiment data for a given asset, metric, and date range. Args: asset (Literal): The asset for which to f
demo/Paper2Poster/camel/toolkits/ask_news_toolkit.py:248
Methodquery_finance
r"""Fetch asset sentiment data for a given asset, metric, and date range. Args: asset (Literal): The asset for which to f
demo/Paper2Poster/camel/toolkits/ask_news_toolkit.py:543
Methodquery_wolfram_alpha
r"""Queries Wolfram|Alpha and returns the result. Wolfram|Alpha is an answer engine developed by Wolfram Research. It is offered as an online
camel/toolkits/search_toolkit.py:492
Methodquery_wolfram_alpha
r"""Queries Wolfram|Alpha and returns the result. Wolfram|Alpha is an answer engine developed by Wolfram Research. It is offered as an online
demo/Paper2Poster/camel/toolkits/search_toolkit.py:492
Functionqwen2_vl_ppl
Compute PPL(text | image) with a Qwen2-VL-7B model served by vLLM. Parameters ---------- image : PIL.Image.Image Input image
utils/poster_eval_utils.py:478
Functionqwen2_vl_ppl
Compute PPL(text | image) with a Qwen2-VL-7B model served by vLLM. Parameters ---------- image : PIL.Image.Image Input image
demo/Paper2Poster/utils/poster_eval_utils.py:478
Methodrandom_model
r"""Return random model from self.models list. Returns: BaseModelBackend for processing incoming messages.
camel/models/model_manager.py:172
Methodrandom_model
r"""Return random model from self.models list. Returns: BaseModelBackend for processing incoming messages.
demo/Paper2Poster/camel/models/model_manager.py:172
Methodrandom_walk_with_restarts
r"""Runs the Random Walk with Restarts (RWR) sampling algorithm. Args: graph_name (str): The name of the original graph in the gr
camel/storages/graph_storages/neo4j_graph.py:587
Methodrandom_walk_with_restarts
r"""Runs the Random Walk with Restarts (RWR) sampling algorithm. Args: graph_name (str): The name of the original graph in the gr
demo/Paper2Poster/camel/storages/graph_storages/neo4j_graph.py:587
Methodread_clipboard
r"""Reads a clipboard and returns a DataFrame. Args: *args (Any): Additional positional arguments. **kwargs (Dict[str
camel/loaders/panda_reader.py:213
Methodread_clipboard
r"""Reads a clipboard and returns a DataFrame. Args: *args (Any): Additional positional arguments. **kwargs (Dict[str
demo/Paper2Poster/camel/loaders/panda_reader.py:213
Methodread_content
r"""Reads the content of a URL and returns it as a string with given form. Args: url (str): The URL to read. Ret
camel/loaders/jina_url_reader.py:79
Methodread_content
r"""Reads the content of a URL and returns it as a string with given form. Args: url (str): The URL to read. Ret
demo/Paper2Poster/camel/loaders/jina_url_reader.py:79
Methodread_feather
r"""Reads a Feather file and returns a DataFrame. Args: file_path (str): The path to the Feather file. *args (Any): A
camel/loaders/panda_reader.py:244
Methodread_feather
r"""Reads a Feather file and returns a DataFrame. Args: file_path (str): The path to the Feather file. *args (Any): A
demo/Paper2Poster/camel/loaders/panda_reader.py:244
Methodread_hdf
r"""Reads an HDF file and returns a DataFrame. Args: file_path (str): The path to the HDF file. *args (Any): Addition
camel/loaders/panda_reader.py:308
Methodread_hdf
r"""Reads an HDF file and returns a DataFrame. Args: file_path (str): The path to the HDF file. *args (Any): Addition
demo/Paper2Poster/camel/loaders/panda_reader.py:308
Methodread_html
r"""Reads an HTML file and returns a DataFrame. Args: file_path (str): The path to the HTML file. *args (Any): Additi
camel/loaders/panda_reader.py:228
Methodread_html
r"""Reads an HTML file and returns a DataFrame. Args: file_path (str): The path to the HTML file. *args (Any): Additi
demo/Paper2Poster/camel/loaders/panda_reader.py:228
Methodread_json
r"""Reads a JSON file and returns a DataFrame. Args: file_path (str): The path to the JSON file. *args (Any): Additio
camel/loaders/panda_reader.py:155
Methodread_json
r"""Reads a JSON file and returns a DataFrame. Args: file_path (str): The path to the JSON file. *args (Any): Additio
demo/Paper2Poster/camel/loaders/panda_reader.py:155
Methodread_orc
r"""Reads an ORC file and returns a DataFrame. Args: file_path (str): The path to the ORC file. *args (Any): Addition
camel/loaders/panda_reader.py:324
Methodread_orc
r"""Reads an ORC file and returns a DataFrame. Args: file_path (str): The path to the ORC file. *args (Any): Addition
demo/Paper2Poster/camel/loaders/panda_reader.py:324
Methodread_pickle
r"""Reads a Pickle file and returns a DataFrame. Args: file_path (str): The path to the Pickle file. *args (Any): Add
camel/loaders/panda_reader.py:292
Methodread_pickle
r"""Reads a Pickle file and returns a DataFrame. Args: file_path (str): The path to the Pickle file. *args (Any): Add
demo/Paper2Poster/camel/loaders/panda_reader.py:292
Methodread_sas
r"""Reads a SAS file and returns a DataFrame. Args: file_path (str): The path to the SAS file. *args (Any): Additiona
camel/loaders/panda_reader.py:276
Methodread_sas
r"""Reads a SAS file and returns a DataFrame. Args: file_path (str): The path to the SAS file. *args (Any): Additiona
demo/Paper2Poster/camel/loaders/panda_reader.py:276
Methodread_sql
r"""Reads a SQL file and returns a DataFrame. Args: *args (Any): Additional positional arguments. **kwargs (Dict[str,
camel/loaders/panda_reader.py:186
Methodread_sql
r"""Reads a SQL file and returns a DataFrame. Args: *args (Any): Additional positional arguments. **kwargs (Dict[str,
demo/Paper2Poster/camel/loaders/panda_reader.py:186
Methodread_stata
r"""Reads a Stata file and returns a DataFrame. Args: file_path (str): The path to the Stata file. *args (Any): Addit
camel/loaders/panda_reader.py:260
Methodread_stata
r"""Reads a Stata file and returns a DataFrame. Args: file_path (str): The path to the Stata file. *args (Any): Addit
demo/Paper2Poster/camel/loaders/panda_reader.py:260
Methodread_table
r"""Reads a table and returns a DataFrame. Args: file_path (str): The path to the table. *args (Any): Additional posi
camel/loaders/panda_reader.py:198
Methodread_table
r"""Reads a table and returns a DataFrame. Args: file_path (str): The path to the table. *args (Any): Additional posi
demo/Paper2Poster/camel/loaders/panda_reader.py:198
Functionrebuild_all
( setting: str = "*", topic: str = "*", out_filename: str = "rebuild.pptx" )
utils/src/experiment/rebuild.py:37
Functionrebuild_all
( setting: str = "*", topic: str = "*", out_filename: str = "rebuild.pptx" )
demo/Paper2Poster/utils/src/experiment/rebuild.py:37
Methodrecord
r"""Record agents. Args: agent (Union[List[ChatAgent], ChatAgent]): The agent(s) to inject.
camel/data_collector/base.py:136
Methodrecord
r"""Inject an agent into the data collector.
camel/data_collector/sharegpt_collector.py:83
Methodrecord
r"""Inject an agent into the data collector. Args: agent (Union[List[ChatAgent], ChatAgent]): The agent to inject
camel/data_collector/alpaca_collector.py:47
Methodrecord
r"""Record agents. Args: agent (Union[List[ChatAgent], ChatAgent]): The agent(s) to inject.
demo/Paper2Poster/camel/data_collector/base.py:136
Methodrecord
r"""Inject an agent into the data collector.
demo/Paper2Poster/camel/data_collector/sharegpt_collector.py:83
Methodrecord
r"""Inject an agent into the data collector. Args: agent (Union[List[ChatAgent], ChatAgent]): The agent to inject
demo/Paper2Poster/camel/data_collector/alpaca_collector.py:47
Methodrecording
r"""Whether the collector is recording.
camel/data_collector/base.py:169
Methodrecording
r"""Whether the collector is recording.
demo/Paper2Poster/camel/data_collector/base.py:169
Functionrecover_name_and_location
(outline_no_name, outline)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:103
Methodreduce_step
r"""Performs one step of the conversation by displaying options to the user, getting their input, and parsing their choice. Args:
camel/human.py:115
Methodreduce_step
r"""Performs one step of the conversation by displaying options to the user, getting their input, and parsing their choice. Args:
demo/Paper2Poster/camel/human.py:115
Methodrefresh_schema
r"""Refreshes the schema by fetching the latest schema details.
camel/storages/graph_storages/nebula_graph.py:371
Methodrefresh_schema
r"""Refreshes the graph schema information.
camel/storages/graph_storages/base.py:41
Methodrefresh_schema
r"""Refreshes the schema by fetching the latest schema details.
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:371
Methodrefresh_schema
r"""Refreshes the graph schema information.
demo/Paper2Poster/camel/storages/graph_storages/base.py:41
Methodrefund_get
r"""Retrieve a refund by ID. Args: refund_id (str): The ID of the refund to retrieve. Returns: str: The refu
camel/toolkits/stripe_toolkit.py:198
Methodrefund_get
r"""Retrieve a refund by ID. Args: refund_id (str): The ID of the refund to retrieve. Returns: str: The refu
demo/Paper2Poster/camel/toolkits/stripe_toolkit.py:198
Methodrefund_list
r"""List refunds. Args: limit (int, optional): Number of refunds to retrieve. (default::obj:`100`) Retur
camel/toolkits/stripe_toolkit.py:218
Methodrefund_list
r"""List refunds. Args: limit (int, optional): Number of refunds to retrieve. (default::obj:`100`) Retur
demo/Paper2Poster/camel/toolkits/stripe_toolkit.py:218
Functionregister_filter
r"""Registers a new filter constructor in FILTER_REGISTRY. Args: name (str): Unique name of the filter. constructor (Callable[[Di
camel/datagen/self_instruct/filter/filter_registry.py:46
Functionregister_filter
r"""Registers a new filter constructor in FILTER_REGISTRY. Args: name (str): Unique name of the filter. constructor (Callable[[Di
demo/Paper2Poster/camel/datagen/self_instruct/filter/filter_registry.py:46
Methodremove_cluster
(self, cluster: Cluster)
docling/utils/layout_postprocessor.py:69
Methodremove_cluster
(self, cluster: Cluster)
demo/Paper2Poster/docling/utils/layout_postprocessor.py:69
Methodremove_installation
r"""Remove the installation for a given guild. Args: guild (discord.Guild): The guild from which the bot is being
camel/bots/discord/discord_app.py:326
Methodremove_installation
r"""Remove the installation for a given guild. Args: guild (discord.Guild): The guild from which the bot is being
demo/Paper2Poster/camel/bots/discord/discord_app.py:326
Methodremove_rundir
(self)
utils/src/utils.py:336
Methodremove_rundir
(self)
demo/Paper2Poster/utils/src/utils.py:336
Methodremove_subtask
r"""Remove a subtask from the current task. Args: id (str): The id of the subtask to be removed.
camel/tasks/task.py:163
Methodremove_subtask
r"""Remove a subtask from the current task. Args: id (str): The id of the subtask to be removed.
demo/Paper2Poster/camel/tasks/task.py:163
Methodremove_tool
r"""Remove a tool by name, specifying if it's an external tool.
camel/agents/chat_agent.py:293
Methodremove_tool
r"""Remove a tool by name, specifying if it's an external tool.
demo/Paper2Poster/camel/agents/chat_agent.py:293
Functionrename_keys_with_name
Recursively rename dictionary keys to data['name'] if: - The value is a dict, - It contains a 'name' field. Otherwise, keep the o
utils/pptx_utils.py:1951
Functionrename_keys_with_name
Recursively rename dictionary keys to data['name'] if: - The value is a dict, - It contains a 'name' field. Otherwise, keep the o
demo/Paper2Poster/utils/pptx_utils.py:1951
Methodrepair_state
r"""Repair the state of the agent. Agents may have other non-atomic interfaces, such as a user interface, or chat between other agent
camel/agents/programmed_agent_instruction.py:98
Methodrepair_state
r"""Repair the state of the agent. Implements basic state repair for message role requirements. Args: requirement (Progr
camel/agents/programmed_agent_instruction.py:190
Methodrepair_state
r"""Repair the state of the agent. Agents may have other non-atomic interfaces, such as a user interface, or chat between other agent
demo/Paper2Poster/camel/agents/programmed_agent_instruction.py:98
Methodrepair_state
r"""Repair the state of the agent. Implements basic state repair for message role requirements. Args: requirement (Progr
demo/Paper2Poster/camel/agents/programmed_agent_instruction.py:190
Functionrepl
(m)
demo/posterbuilder/build_poster.py:170
Functionrepl
(m)
demo/posterbuilder/convert_baposter.py:157
Functionrepl
(m)
demo/posterbuilder/convert.py:406
Functionrepl_html
(m)
demo/app.py:397
Functionrepl_rgb
(m)
demo/app.py:388
Functionreplace_image
Replace an image in a slide. Args: slide (SlidePage): The slide containing the image. img_id (int): The ID of the image to r
utils/src/apis.py:283
Functionreplace_image
Replace an image in a slide. Args: slide (SlidePage): The slide containing the image. img_id (int): The ID of the image to r
demo/Paper2Poster/utils/src/apis.py:283
Methodreplace_match
(match)
docling/backend/md_backend.py:43
Methodreplace_match
(match)
demo/Paper2Poster/docling/backend/md_backend.py:43
Functionreplace_para
Replace the text of a paragraph in a shape.
utils/src/apis.py:179
Functionreplace_para
Replace the text of a paragraph in a shape.
demo/Paper2Poster/utils/src/apis.py:179
Functionreplace_paragraph
Replace the text of a paragraph in a slide. Args: slide (SlidePage): The slide containing the paragraph. div_id (int): The I
utils/src/apis.py:247
Functionreplace_paragraph
Replace the text of a paragraph in a slide. Args: slide (SlidePage): The slide containing the paragraph. div_id (int): The I
demo/Paper2Poster/utils/src/apis.py:247
Functionreplace_with_caption
(match)
utils/poster_eval_utils.py:1161
Functionreplace_with_caption
(match)
demo/Paper2Poster/utils/poster_eval_utils.py:1161
Methodrepo_cache_folder
(self)
docling/datamodel/pipeline_options.py:218
Methodrepo_cache_folder
(self)
demo/Paper2Poster/docling/datamodel/pipeline_options.py:218
Methodreset
r"""Resets the worker to its initial state.
camel/societies/workforce/single_agent_worker.py:46
Methodreset
(self)
camel/terminators/base.py:32
Methodreset
(self)
camel/terminators/base.py:46
Methodreset
r"""Reset the terminator.
camel/terminators/response_terminator.py:124
Methodreset
r"""Reset the terminator.
camel/terminators/token_limit_terminator.py:55
Methodreset
r"""Resets the runtime to its initial state.
camel/runtime/base.py:39
← previousnext →4,101–4,200 of 4,860, ranked by callers