Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Paper2Poster/Paper2Poster
/ functions
Functions
4,860 in github.com/Paper2Poster/Paper2Poster
⨍
Functions
4,860
◇
Types & classes
1,020
↳
Endpoints
4
↓ 182 callers
Function
_write_logs
(log_path: Path, logs)
demo/app.py:67
↓ 98 callers
Method
sub
r"""Do subtraction between two numbers. Args: a (float): The minuend in subtraction. b (float): The subtrahend in sub
demo/Paper2Poster/camel/toolkits/math_toolkit.py:40
↓ 88 callers
Method
create
r"""Creates an instance of `BaseModelBackend` of the specified type. Args: model_platform (ModelPlatformType): Platform from whic
camel/models/model_factory.py:52
↓ 85 callers
Method
create
r"""Creates an instance of `BaseModelBackend` of the specified type. Args: model_platform (ModelPlatformType): Platform from whic
demo/Paper2Poster/camel/models/model_factory.py:52
↓ 67 callers
Method
load
r"""Load the benchmark data. Args: force_download (bool): Whether to force download the data. Returns: BaseB
camel/benchmarks/base.py:75
↓ 65 callers
Method
load
r"""Load the benchmark data. Args: force_download (bool): Whether to force download the data. Returns: BaseB
demo/Paper2Poster/camel/benchmarks/base.py:75
↓ 60 callers
Method
format
r"""Overrides the built-in :obj:`str.format` method to allow for default values in the format string. This is used to allow formatting
demo/Paper2Poster/camel/prompts/base.py:109
↓ 56 callers
Method
area
Get the area of the shape element. Returns: float: The area in square points.
demo/Paper2Poster/utils/src/presentation.py:349
↓ 55 callers
Method
format
r"""Overrides the built-in :obj:`str.format` method to allow for default values in the format string. This is used to allow formatting
camel/prompts/base.py:109
↓ 54 callers
Method
as_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
demo/Paper2Poster/camel/configs/base_config.py:64
↓ 53 callers
Method
as_dict
r"""Convert the current configuration to a dictionary. This method converts the current configuration object to a dictionary represen
camel/configs/base_config.py:64
↓ 52 callers
Method
save
Save the presentation to a file. Args: file_path (str): The file path to save the presentation. layout_only
demo/Paper2Poster/utils/src/presentation.py:1235
↓ 48 callers
Function
_prepare_workspace
Create isolated per-run workspace and copy needed code/assets into it.
demo/app.py:218
↓ 44 callers
Method
copy
r"""Create a deep copy of this File
demo/Paper2Poster/camel/loaders/base_io.py:135
↓ 43 callers
Method
find
(self, x)
demo/Paper2Poster/docling/utils/layout_postprocessor.py:22
↓ 39 callers
Function
_now_str
()
demo/app.py:64
↓ 36 callers
Method
make_user_message
r"""Create a new user message. Args: role_name (str): The name of the user role. content (str): The content of the me
camel/messages/base.py:78
↓ 35 callers
Method
make_user_message
r"""Create a new user message. Args: role_name (str): The name of the user role. content (str): The content of the me
demo/Paper2Poster/camel/messages/base.py:78
↓ 33 callers
Method
run
r"""Runs inference of Yi chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
demo/Paper2Poster/camel/models/yi_model.py:84
↓ 32 callers
Method
from_string
r"""Creates an AlpacaItem from a formatted string. Args: text: String in either of these formats: With input:
camel/messages/conversion/alpaca.py:54
↓ 32 callers
Method
json
(self, *args, **kwargs)
camel/personas/persona.py:92
↓ 32 callers
Method
json
(self, *args, **kwargs)
demo/Paper2Poster/camel/personas/persona.py:92
↓ 32 callers
Function
ppt_to_images
(file: str, output_dir: str, warning: bool = False, dpi=72, output_type='png')
utils/src/utils.py:140
↓ 31 callers
Method
step
r"""Performs a single step of the agent.
camel/agents/base.py:27
↓ 30 callers
Function
account_token
(response)
utils/wei_utils.py:978
↓ 30 callers
Method
save
Save the presentation to a file. Args: file_path (str): The file path to save the presentation. layout_only
utils/src/presentation.py:1235
↓ 28 callers
Function
_compile_tex_to_pdf
Generic TeX compile helper for a .tex file. Returns Path to PDF or None.
demo/app.py:702
↓ 28 callers
Method
add
r"""Adds a new tool to the runtime.
demo/Paper2Poster/camel/runtime/base.py:29
↓ 28 callers
Method
close
r"""Closes the Redis client asynchronously.
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:76
↓ 28 callers
Method
from_string
r"""Creates an AlpacaItem from a formatted string. Args: text: String in either of these formats: With input:
demo/Paper2Poster/camel/messages/conversion/alpaca.py:54
↓ 27 callers
Method
copy
r"""Create a deep copy of this File
camel/loaders/base_io.py:135
↓ 27 callers
Method
run
r"""Runs inference of Yi chat completion. Args: messages (List[OpenAIMessage]): Message list with the chat history
camel/models/yi_model.py:84
↓ 27 callers
Method
step
r"""Executes a single step in the chat session, generating a response to the input message. Args: input_message (Union[Ba
camel/agents/chat_agent.py:550
↓ 26 callers
Method
find
(self, x)
docling/utils/layout_postprocessor.py:22
↓ 26 callers
Method
step
r"""Performs a single step of the agent.
demo/Paper2Poster/camel/agents/base.py:27
↓ 25 callers
Function
_pdf_to_iframe_html
(pdf_path: Path, width="100%", height="900px")
demo/app.py:630
↓ 25 callers
Function
get_json_from_response
(raw_response: str)
utils/src/utils.py:121
↓ 25 callers
Method
step
r"""Executes a single step in the chat session, generating a response to the input message. Args: input_message (Union[Ba
demo/Paper2Poster/camel/agents/chat_agent.py:550
↓ 25 callers
Method
sub
r"""Do subtraction between two numbers. Args: a (float): The minuend in subtraction. b (float): The subtrahend in sub
camel/toolkits/math_toolkit.py:40
↓ 23 callers
Method
get_function_name
r"""Gets the name of the function from the OpenAI tool schema. Returns: str: The name of the function.
camel/toolkits/function_tool.py:500
↓ 23 callers
Method
get_function_name
r"""Gets the name of the function from the OpenAI tool schema. Returns: str: The name of the function.
demo/Paper2Poster/camel/toolkits/function_tool.py:500
↓ 22 callers
Function
get_agent_config
(model_type)
utils/wei_utils.py:26
↓ 22 callers
Function
get_agent_config
(model_type)
demo/Paper2Poster/utils/wei_utils.py:26
↓ 22 callers
Function
ppt_to_images
(file: str, output_dir: str, warning: bool = False, dpi=72, output_type='png')
demo/Paper2Poster/utils/src/utils.py:140
↓ 21 callers
Function
get_json_from_response
(raw_response: str)
demo/Paper2Poster/utils/src/utils.py:121
↓ 20 callers
Method
_handle_api_error
r"""Handle API operation errors consistently. Args: error (Exception): The caught exception. operation (str): Descrip
camel/toolkits/openbb_toolkit.py:55
↓ 20 callers
Method
_handle_api_error
r"""Handle API operation errors consistently. Args: error (Exception): The caught exception. operation (str): Descrip
demo/Paper2Poster/camel/toolkits/openbb_toolkit.py:55
↓ 19 callers
Method
model_dump
(self, **kwargs)
demo/Paper2Poster/camel/messages/conversion/conversation_models.py:90
↓ 19 callers
Method
parse
Parse the first table from an xml content. Returns: A docling table data.
docling/backend/xml/uspto_backend.py:1664
↓ 19 callers
Method
parse
Parse the first table from an xml content. Returns: A docling table data.
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:1664
↓ 18 callers
Method
reset
r"""Resets the :obj:`ChatAgent` to its initial state.
camel/agents/chat_agent.py:400
↓ 18 callers
Method
walk
(self, element: Tag, doc: DoclingDocument)
demo/Paper2Poster/docling/backend/html_backend.py:92
↓ 17 callers
Method
_execute_ast
(self, expression: ast.AST)
camel/interpreters/internal_python_interpreter.py:238
↓ 17 callers
Method
_execute_ast
(self, expression: ast.AST)
demo/Paper2Poster/camel/interpreters/internal_python_interpreter.py:238
↓ 16 callers
Method
convert
r"""Structures the input text into the expected response format. Args: text (str): The input text to be structured. o
demo/Paper2Poster/camel/schemas/base.py:29
↓ 16 callers
Method
mean
(self)
docling/utils/profiling.py:32
↓ 16 callers
Method
mean
(self)
demo/Paper2Poster/docling/utils/profiling.py:32
↓ 16 callers
Method
reset
r"""Resets the :obj:`ChatAgent` to its initial state.
demo/Paper2Poster/camel/agents/chat_agent.py:400
↓ 16 callers
Function
to_inches
Convert a single coordinate or dimension from 'units' to inches. For example, if your units are 'points' (72 points = 1 inch), then units
PosterAgent/tree_split_layout.py:471
↓ 15 callers
Function
account_token
(response)
demo/Paper2Poster/PosterAgent/parse_raw.py:45
↓ 15 callers
Function
get_logger
r"""Get a logger with the specified name, prefixed with 'camel.'. Args: name (str): The name to be appended to 'camel.' to create the log
camel/logger.py:104
↓ 15 callers
Function
get_logger
r"""Get a logger with the specified name, prefixed with 'camel.'. Args: name (str): The name to be appended to 'camel.' to create the log
demo/Paper2Poster/camel/logger.py:104
↓ 15 callers
Method
model_dump
(self, **kwargs)
camel/messages/conversion/conversation_models.py:90
↓ 14 callers
Method
add
r"""Adds a new tool to the runtime.
camel/runtime/base.py:29
↓ 14 callers
Method
convert
r"""Structures the input text into the expected response format. Args: text (str): The input text to be structured. o
camel/schemas/base.py:29
↓ 14 callers
Function
to_inches
Convert a single coordinate or dimension from 'units' to inches. For example, if your units are 'points' (72 points = 1 inch), then units
demo/Paper2Poster/PosterAgent/tree_split_layout.py:471
↓ 13 callers
Method
from_file
Parse a Presentation from a file.
utils/src/presentation.py:1192
↓ 13 callers
Method
from_file
Parse a Presentation from a file.
demo/Paper2Poster/utils/src/presentation.py:1192
↓ 13 callers
Method
is_valid
(self)
docling/datamodel/document.py:214
↓ 13 callers
Method
is_valid
(self)
demo/Paper2Poster/docling/datamodel/document.py:214
↓ 13 callers
Method
query
r"""Execute a query on the graph store. Args: query (str): The Cypher-like query to be executed. Returns: Re
camel/storages/graph_storages/nebula_graph.py:138
↓ 13 callers
Method
query
r"""Execute a query on the graph store. Args: query (str): The Cypher-like query to be executed. Returns: Re
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:138
↓ 12 callers
Function
escape_text
(s: str)
demo/posterbuilder/convert_baposter.py:62
↓ 12 callers
Method
get_image
( self, scale: float = 1.0, cropbox: Optional[BoundingBox] = None )
docling/datamodel/base_models.py:233
↓ 12 callers
Method
get_image
( self, scale: float = 1.0, cropbox: Optional[BoundingBox] = None )
demo/Paper2Poster/docling/datamodel/base_models.py:233
↓ 12 callers
Function
print_text_animated
r"""Prints the given text with an animated effect. Args: text (str): The text to print. delay (float, optional): The delay betwee
camel/utils/commons.py:51
↓ 12 callers
Function
print_text_animated
r"""Prints the given text with an animated effect. Args: text (str): The text to print. delay (float, optional): The delay betwee
demo/Paper2Poster/camel/utils/commons.py:51
↓ 12 callers
Method
query
r"""Executes a Neo4j Cypher declarative query in a database. Args: query (str): The Cypher query to be executed. para
camel/storages/graph_storages/neo4j_graph.py:212
↓ 12 callers
Method
query
r"""Executes a Neo4j Cypher declarative query in a database. Args: query (str): The Cypher query to be executed. para
demo/Paper2Poster/camel/storages/graph_storages/neo4j_graph.py:212
↓ 11 callers
Method
make_assistant_message
r"""Create a new assistant message. Args: role_name (str): The name of the assistant role. content (str): The content
camel/messages/base.py:123
↓ 11 callers
Method
make_assistant_message
r"""Create a new assistant message. Args: role_name (str): The name of the assistant role. content (str): The content
demo/Paper2Poster/camel/messages/base.py:123
↓ 11 callers
Function
run_code
Execute Python code and capture stdout as well as the full stack trace on error. Forces __name__ = "__main__" so that if __name__ == "__main_
utils/wei_utils.py:220
↓ 10 callers
Method
_close_table
(self, doc: DoclingDocument)
docling/backend/md_backend.py:102
↓ 10 callers
Method
_close_table
(self, doc: DoclingDocument)
demo/Paper2Poster/docling/backend/md_backend.py:102
↓ 10 callers
Function
_find_last_pipeline_zip
()
demo/app.py:933
↓ 10 callers
Method
clear
r"""Clears all messages from the memory.
camel/memories/base.py:49
↓ 10 callers
Function
emu_to_inches
(emu: int)
utils/pptx_utils.py:1224
↓ 10 callers
Method
get_openai_tool_schema
r"""Gets the OpenAI tool schema for this function. This method returns the OpenAI tool schema associated with this function, after va
camel/toolkits/function_tool.py:452
↓ 10 callers
Method
get_openai_tool_schema
r"""Gets the OpenAI tool schema for this function. This method returns the OpenAI tool schema associated with this function, after va
demo/Paper2Poster/camel/toolkits/function_tool.py:452
↓ 10 callers
Method
insert
(self, min_val: float, max_val: float, id: int)
docling/utils/layout_postprocessor.py:131
↓ 10 callers
Method
insert
(self, min_val: float, max_val: float, id: int)
demo/Paper2Poster/docling/utils/layout_postprocessor.py:131
↓ 10 callers
Method
start
r"""Start the node.
demo/Paper2Poster/camel/societies/workforce/base.py:53
↓ 10 callers
Method
to_html
Convert the table data to HTML, ensuring each row and cell is represented.
utils/src/presentation.py:929
↓ 10 callers
Method
to_html
Convert the table data to HTML, ensuring each row and cell is represented.
demo/Paper2Poster/utils/src/presentation.py:929
↓ 9 callers
Method
_process_inline_text
( self, parent_item: Optional[NodeItem], doc: DoclingDocument )
docling/backend/md_backend.py:159
↓ 9 callers
Method
_process_inline_text
( self, parent_item: Optional[NodeItem], doc: DoclingDocument )
demo/Paper2Poster/docling/backend/md_backend.py:159
↓ 9 callers
Method
clear
r"""Clears all messages from the memory.
demo/Paper2Poster/camel/memories/base.py:49
↓ 9 callers
Function
debug_compile_last_pipeline_zip
Find the most recent runs/*/output.zip from pipeline, compile, and return preview HTML + PDF path.
demo/app.py:951
↓ 9 callers
Function
get_text_embedding
Generate text embeddings for a list of text strings. Args: text (list[str]): A list of text strings. model: The model used f
utils/src/model_utils.py:143
↓ 8 callers
Function
emu_to_inches
(emu: int)
demo/Paper2Poster/utils/pptx_utils.py:1224
next →
1–100 of 4,860, ranked by callers