MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

Methodsupports_pagination
(cls)
demo/Paper2Poster/docling/backend/pdf_backend.py:75
Methodsupports_pagination
(cls)
demo/Paper2Poster/docling/backend/msexcel_backend.py:79
Methodsupports_pagination
(cls)
demo/Paper2Poster/docling/backend/md_backend.py:356
Methodsupports_pagination
(cls)
demo/Paper2Poster/docling/backend/xml/pubmed_backend.py:99
Methodsupports_pagination
(cls)
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:111
Methodsupports_pagination
(cls)
demo/Paper2Poster/docling/backend/json/docling_json_backend.py:31
Functionsync_funcs_to_async
r"""Convert a list of Python synchronous functions to Python asynchronous functions. Args: funcs (list[FunctionTool]): List of Python
camel/utils/async_func.py:20
Functionsync_funcs_to_async
r"""Convert a list of Python synchronous functions to Python asynchronous functions. Args: funcs (list[FunctionTool]): List of Python
demo/Paper2Poster/camel/utils/async_func.py:20
Methodsynergize
Synergize Agents to generate a slide. Args: template (dict): The template data. slide_content (str): The sli
utils/src/pptgen.py:307
Methodsynergize
( self, template: dict, slide_content: str, code_executor: CodeExecutor,
utils/src/experiment/ablation.py:112
Methodsynergize
Synergize Agents to generate a slide. Args: template (dict): The template data. slide_content (str): The sli
demo/Paper2Poster/utils/src/pptgen.py:307
Methodsynergize
( self, template: dict, slide_content: str, code_executor: CodeExecutor,
demo/Paper2Poster/utils/src/experiment/ablation.py:112
Methodsystem_message
r"""The getter method for the property :obj:`system_message`. Returns: Optional[BaseMessage]: The system message of this agent if
camel/agents/chat_agent.py:408
Methodsystem_message
r"""The getter method for the property :obj:`system_message`. Returns: Optional[BaseMessage]: The system message of this agent if
demo/Paper2Poster/camel/agents/chat_agent.py:408
Methodtavily_search
r"""Use Tavily Search API to search information for the given query. Args: query (str): The query to be searched. num
camel/toolkits/search_toolkit.py:658
Methodtavily_search
r"""Use Tavily Search API to search information for the given query. Args: query (str): The query to be searched. num
demo/Paper2Poster/camel/toolkits/search_toolkit.py:658
Functiontenacity_log
(retry_state: RetryCallState)
utils/src/utils.py:116
Functiontenacity_log
(retry_state: RetryCallState)
demo/Paper2Poster/utils/src/utils.py:116
Methodtest
r"""Get the test data. Returns: List[Dict[str, Any]]: The test data.
camel/benchmarks/base.py:111
Methodtest
r"""Get the test data. Returns: List[Dict[str, Any]]: The test data.
demo/Paper2Poster/camel/benchmarks/base.py:111
Functiontext_extract_from_web
r"""Get the text information from given url. Args: url (str): The website you want to search. Returns: str: All texts extrac
camel/utils/commons.py:461
Functiontext_extract_from_web
r"""Get the text information from given url. Args: url (str): The website you want to search. Returns: str: All texts extrac
demo/Paper2Poster/camel/utils/commons.py:461
Methodtext_length
Get the length of the text in the slide page.
utils/src/presentation.py:1146
Methodtext_length
Get the length of the text in the slide page.
demo/Paper2Poster/utils/src/presentation.py:1146
Methodtext_to_persona
r"""Infers a specific persona who is likely to [read|write|like|dislike |...] the given text. Args: text (str): The input
camel/personas/persona_hub.py:96
Methodtext_to_persona
r"""Infers a specific persona who is likely to [read|write|like|dislike |...] the given text. Args: text (str): The input
demo/Paper2Poster/camel/personas/persona_hub.py:96
Methodtext_to_speech
r"""Convert text to speech using OpenAI's TTS model. This method converts the given input text to speech using the specified model and
camel/models/openai_audio_models.py:41
Methodtext_to_speech
r"""Convert text to speech and save the output to a file. Args: input_text (str): The text to convert to speech. stor
camel/models/fish_audio_model.py:46
Methodtext_to_speech
r"""Convert text to speech using OpenAI's TTS model. This method converts the given input text to speech using the specified model and
demo/Paper2Poster/camel/models/openai_audio_models.py:41
Methodtext_to_speech
r"""Convert text to speech and save the output to a file. Args: input_text (str): The text to convert to speech. stor
demo/Paper2Poster/camel/models/fish_audio_model.py:46
Methodto_html
(self, style_args: StyleArg)
utils/src/presentation.py:91
Methodto_html
Convert the text frame to HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. Returns:
utils/src/presentation.py:134
Methodto_html
Convert the shape element to HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. Return
utils/src/presentation.py:286
Methodto_html
(self, style_args: StyleArg)
utils/src/presentation.py:469
Methodto_html
(self, style_args: StyleArg)
utils/src/presentation.py:554
Methodto_html
Returns HTML representation. This could be empty, or you could provide something like an <svg> path if you have a means to convert th
utils/src/presentation.py:671
Methodto_html
(self, style_args: StyleArg)
utils/src/presentation.py:793
Methodto_html
(self, style_args: StyleArg)
utils/src/presentation.py:825
Methodto_html
Represent the slide page in HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. **kw
utils/src/presentation.py:1096
Methodto_html
(self, style_args: StyleArg)
demo/Paper2Poster/utils/src/presentation.py:91
Methodto_html
Convert the text frame to HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. Returns:
demo/Paper2Poster/utils/src/presentation.py:134
Methodto_html
Convert the shape element to HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. Return
demo/Paper2Poster/utils/src/presentation.py:286
Methodto_html
(self, style_args: StyleArg)
demo/Paper2Poster/utils/src/presentation.py:469
Methodto_html
(self, style_args: StyleArg)
demo/Paper2Poster/utils/src/presentation.py:554
Methodto_html
Returns HTML representation. This could be empty, or you could provide something like an <svg> path if you have a means to convert th
demo/Paper2Poster/utils/src/presentation.py:671
Methodto_html
(self, style_args: StyleArg)
demo/Paper2Poster/utils/src/presentation.py:793
Methodto_html
(self, style_args: StyleArg)
demo/Paper2Poster/utils/src/presentation.py:825
Methodto_html
Represent the slide page in HTML. Args: style_args (StyleArg): The style arguments for HTML conversion. **kw
demo/Paper2Poster/utils/src/presentation.py:1096
Methodto_message
r"""Convert a Task to a Message.
camel/tasks/task.py:113
Methodto_message
r"""Convert a Task to a Message.
demo/Paper2Poster/camel/tasks/task.py:113
Methodto_openai_message
r"""Converts the message to an :obj:`OpenAIMessage` object. Args: role_at_backend (OpenAIBackendRole): The role of the message in
camel/messages/base.py:382
Methodto_openai_message
r"""Converts the message to an :obj:`OpenAIMessage` object. Args: role_at_backend (OpenAIBackendRole): The role of the message in
camel/messages/func_message.py:57
Methodto_openai_message
r"""Converts the message to an :obj:`OpenAIMessage` object. Args: role_at_backend (OpenAIBackendRole): The role of the message in
demo/Paper2Poster/camel/messages/base.py:382
Methodto_openai_message
r"""Converts the message to an :obj:`OpenAIMessage` object. Args: role_at_backend (OpenAIBackendRole): The role of the message in
demo/Paper2Poster/camel/messages/func_message.py:57
Methodto_pptc
Convert the shape element to PPTC format. Returns: str: The PPTC representation of the shape element.
utils/src/presentation.py:400
Methodto_pptc
(self)
utils/src/presentation.py:772
Methodto_pptc
Represent the slide page in PPTC format.
utils/src/presentation.py:1119
Methodto_pptc
Convert the shape element to PPTC format. Returns: str: The PPTC representation of the shape element.
demo/Paper2Poster/utils/src/presentation.py:400
Methodto_pptc
(self)
demo/Paper2Poster/utils/src/presentation.py:772
Methodto_pptc
Represent the slide page in PPTC format.
demo/Paper2Poster/utils/src/presentation.py:1119
Methodto_sharegpt
r"""Convert BaseMessage to ShareGPT message Args: function_format (FunctionCallFormatter): Function call formatter
camel/messages/base.py:359
Methodto_sharegpt
r"""Convert FunctionCallingMessage to ShareGPT message. Args: function_format (FunctionCallFormatter[ToolCall, ToolResponse],
camel/messages/func_message.py:77
Methodto_sharegpt
r"""Convert BaseMessage to ShareGPT message Args: function_format (FunctionCallFormatter): Function call formatter
demo/Paper2Poster/camel/messages/base.py:359
Methodto_sharegpt
r"""Convert FunctionCallingMessage to ShareGPT message. Args: function_format (FunctionCallFormatter[ToolCall, ToolResponse],
demo/Paper2Poster/camel/messages/func_message.py:77
Methodto_sharegpt_conversation
(data: Dict[str, Any])
camel/data_collector/sharegpt_collector.py:194
Methodto_sharegpt_conversation
(data: Dict[str, Any])
demo/Paper2Poster/camel/data_collector/sharegpt_collector.py:194
Methodto_string
r"""Converts the AlpacaItem to its string representation. Returns: str: Formatted string representation with sections markers
camel/messages/conversion/alpaca.py:105
Methodto_string
r"""Convert task to a sting. Args: indent (str): The ident for hierarchical tasks. state (bool): Include or not task
camel/tasks/task.py:180
Methodto_string
r"""Converts the AlpacaItem to its string representation. Returns: str: Formatted string representation with sections markers
demo/Paper2Poster/camel/messages/conversion/alpaca.py:105
Methodto_string
r"""Convert task to a sting. Args: indent (str): The ident for hierarchical tasks. state (bool): Include or not task
demo/Paper2Poster/camel/tasks/task.py:180
Methodto_text
Represent the presentation in text.
utils/src/presentation.py:1285
Methodto_text
Represent the presentation in text.
demo/Paper2Poster/utils/src/presentation.py:1285
Methodtoken_counter
(self)
camel/memories/base.py:76
Methodtoken_counter
(self)
camel/memories/context_creators/score_based.py:53
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/openai_compatible_model_v2.py:220
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/cohere_model.py:205
Methodtoken_counter
r"""Return token_counter of the current model. Returns: BaseTokenCounter: The token counter following the model's
camel/models/model_manager.py:130
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/togetherai_model.py:111
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/anthropic_model.py:94
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/gemini_model.py:117
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/gemini_model.py:237
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/ollama_model.py:96
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/base_model.py:67
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/sglang_model.py:155
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/yi_model.py:107
Methodtoken_counter
r"""Initialize the token counter for the model backend. # NOTE: Temporarily using `OpenAITokenCounter` due to a current issue # with
camel/models/mistral_model.py:198
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/zhipuai_model.py:109
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/stub_model.py:66
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/openai_compatible_model.py:94
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/groq_model.py:84
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/azure_openai_model.py:99
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/internlm_model.py:108
Methodtoken_counter
r"""Initialize the token counter for the model backend. # NOTE: Temporarily using `OpenAITokenCounter` Returns: BaseToke
camel/models/reka_model.py:161
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: OpenAITokenCounter: The token counter following the model's
camel/models/nvidia_model.py:110
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/deepseek_model.py:87
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/deepseek_model.py:284
Methodtoken_counter
(self)
camel/models/nemotron_model.py:85
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/litellm_model.py:98
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/vllm_model.py:98
Methodtoken_counter
r"""Initialize the token counter for the model backend. Returns: BaseTokenCounter: The token counter following the model's
camel/models/samba_model.py:110
← previousnext →4,601–4,700 of 4,860, ranked by callers