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
↓ 1 callers
Method
_add_title
(self, doc: DoclingDocument, xml_components: XMLComponents)
docling/backend/xml/pubmed_backend.py:409
↓ 1 callers
Method
_add_title
(self, doc: DoclingDocument, xml_components: XMLComponents)
demo/Paper2Poster/docling/backend/xml/pubmed_backend.py:409
↓ 1 callers
Method
_adjust_cluster_bboxes
Adjust cluster bounding boxes to contain their cells.
docling/utils/layout_postprocessor.py:610
↓ 1 callers
Method
_adjust_cluster_bboxes
Adjust cluster bounding boxes to contain their cells.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:610
↓ 1 callers
Method
_annotate_images
(self, images: Iterable[Image.Image])
docling/models/picture_description_base_model.py:38
↓ 1 callers
Method
_annotate_images
(self, images: Iterable[Image.Image])
demo/Paper2Poster/docling/models/picture_description_base_model.py:38
↓ 1 callers
Function
_apply_left_logo
Use the first institutional logo uploaded by the user: - Copy it into output/poster_latex_proj/logos/ as left_logo.<ext> - Replace 'logos
demo/app.py:416
↓ 1 callers
Function
_apply_meeting_logo
Replace output/poster_latex_proj/logos/right_logo.png if meeting_logo_file provided.
demo/app.py:316
↓ 1 callers
Method
_apply_on_pages
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
docling/pipeline/base_pipeline.py:121
↓ 1 callers
Method
_apply_on_pages
( self, conv_res: ConversionResult, page_batch: Iterable[Page] )
demo/Paper2Poster/docling/pipeline/base_pipeline.py:121
↓ 1 callers
Function
_apply_theme_rgb
(OUTPUT_DIR: Path, rgb_tuple, logs)
demo/app.py:372
↓ 1 callers
Method
_arequest_chat_completion
( self, messages: List[OpenAIMessage], tools: Optional[List[Dict[str, Any]]] = None,
camel/models/openai_compatible_model_v2.py:159
↓ 1 callers
Method
_arequest_chat_completion
( self, messages: List[OpenAIMessage], tools: Optional[List[Dict[str, Any]]] = None,
demo/Paper2Poster/camel/models/openai_compatible_model_v2.py:159
↓ 1 callers
Method
_arequest_parse
( self, messages: List[OpenAIMessage], response_format: Type[BaseModel], tools
camel/models/openai_compatible_model_v2.py:197
↓ 1 callers
Method
_arequest_parse
( self, messages: List[OpenAIMessage], response_format: Type[BaseModel], tools
demo/Paper2Poster/camel/models/openai_compatible_model_v2.py:197
↓ 1 callers
Method
_arun
r"""Runs inference of OpenRouter chat completion asynchronously. Args: messages (List[OpenAIMessage]): Message list with the chat
camel/models/openrouter_model.py:134
↓ 1 callers
Method
_arun
r"""Runs inference of OpenRouter chat completion asynchronously. Args: messages (List[OpenAIMessage]): Message list with the chat
demo/Paper2Poster/camel/models/openrouter_model.py:134
↓ 1 callers
Method
_assemble_document
(self, conv_res: ConversionResult)
docling/pipeline/base_pipeline.py:63
↓ 1 callers
Method
_assemble_document
(self, conv_res: ConversionResult)
demo/Paper2Poster/docling/pipeline/base_pipeline.py:63
↓ 1 callers
Method
_assign_cells_to_clusters
Assign cells to best overlapping cluster.
docling/utils/layout_postprocessor.py:569
↓ 1 callers
Method
_assign_cells_to_clusters
Assign cells to best overlapping cluster.
demo/Paper2Poster/docling/utils/layout_postprocessor.py:569
↓ 1 callers
Method
_async_clear
(self)
camel/storages/key_value_storages/redis.py:156
↓ 1 callers
Method
_async_clear
(self)
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:156
↓ 1 callers
Method
_async_load
(self)
camel/storages/key_value_storages/redis.py:144
↓ 1 callers
Method
_async_load
(self)
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:144
↓ 1 callers
Method
_async_save
( self, records: List[Dict[str, Any]], expire: Optional[int] = None )
camel/storages/key_value_storages/redis.py:130
↓ 1 callers
Method
_async_save
( self, records: List[Dict[str, Any]], expire: Optional[int] = None )
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:130
↓ 1 callers
Method
_build_document
(self, conv_res: ConversionResult)
docling/pipeline/base_pipeline.py:60
↓ 1 callers
Method
_build_document
(self, conv_res: ConversionResult)
demo/Paper2Poster/docling/pipeline/base_pipeline.py:60
↓ 1 callers
Method
_calculate_complexity
r"""Calculate the complexity score for a set of QA pairs. Args: qa_pairs (List[Dict[str, Any]]): List of QA pairs to calculate
camel/datagen/source2synth/data_processor.py:318
↓ 1 callers
Method
_calculate_complexity
r"""Calculate the complexity score for a set of QA pairs. Args: qa_pairs (List[Dict[str, Any]]): List of QA pairs to calculate
demo/Paper2Poster/camel/datagen/source2synth/data_processor.py:318
↓ 1 callers
Function
_capture_screenshot
r"""Capture a screenshot from a video file at a specific timestamp. Args: video_file (str): The path to the video file. timestamp
camel/toolkits/video_toolkit.py:44
↓ 1 callers
Function
_capture_screenshot
r"""Capture a screenshot from a video file at a specific timestamp. Args: video_file (str): The path to the video file. timestamp
demo/Paper2Poster/camel/toolkits/video_toolkit.py:44
↓ 1 callers
Method
_check_and_create_collection
(self)
camel/storages/vectordb_storages/qdrant.py:151
↓ 1 callers
Method
_check_and_create_collection
r"""Checks if the specified collection exists in Milvus and creates it if it doesn't, ensuring it matches the specified vector dimensionality.
camel/storages/vectordb_storages/milvus.py:94
↓ 1 callers
Method
_check_and_create_collection
(self)
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:151
↓ 1 callers
Method
_check_and_create_collection
r"""Checks if the specified collection exists in Milvus and creates it if it doesn't, ensuring it matches the specified vector dimensionality.
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:94
↓ 1 callers
Method
_check_qa_quality
r"""Check the quality of question-answer pairs. Args: qa_pairs (List[Dict[str, str]]): List of QA pairs to check. Return
camel/datagen/source2synth/data_processor.py:450
↓ 1 callers
Method
_check_qa_quality
r"""Check the quality of question-answer pairs. Args: qa_pairs (List[Dict[str, str]]): List of QA pairs to check. Return
demo/Paper2Poster/camel/datagen/source2synth/data_processor.py:450
↓ 1 callers
Method
_check_text_quality
r"""Check the quality of input text. Args: text (str): Text to check quality for. Returns: bool: True if tex
camel/datagen/source2synth/data_processor.py:232
↓ 1 callers
Method
_check_text_quality
r"""Check the quality of input text. Args: text (str): Text to check quality for. Returns: bool: True if tex
demo/Paper2Poster/camel/datagen/source2synth/data_processor.py:232
↓ 1 callers
Method
_clean_ipython_output
r"""Remove ANSI escape sequences from the output.
camel/interpreters/ipython_interpreter.py:74
↓ 1 callers
Method
_clean_ipython_output
r"""Remove ANSI escape sequences from the output.
demo/Paper2Poster/camel/interpreters/ipython_interpreter.py:74
↓ 1 callers
Function
_cleanup_old_runs
(max_age_hours=12)
demo/app.py:202
↓ 1 callers
Method
_collection_exists
r"""Returns wether the collection exists in the database
camel/storages/vectordb_storages/qdrant.py:220
↓ 1 callers
Method
_collection_exists
r"""Checks whether a collection with the specified name exists in the database. Args: collection_name (str): The name of
camel/storages/vectordb_storages/milvus.py:191
↓ 1 callers
Method
_collection_exists
r"""Returns wether the collection exists in the database
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:220
↓ 1 callers
Method
_collection_exists
r"""Checks whether a collection with the specified name exists in the database. Args: collection_name (str): The name of
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:191
↓ 1 callers
Method
_collection_name_generator
r"""Generates a valid collection name from a given file path or URL. Args: content (Union[str, Element]): Local file path, remote
camel/retrievers/auto_retriever.py:105
↓ 1 callers
Method
_collection_name_generator
r"""Generates a valid collection name from a given file path or URL. Args: content (Union[str, Element]): Local file path, remote
demo/Paper2Poster/camel/retrievers/auto_retriever.py:105
↓ 1 callers
Function
_compile_poster_pdf
Compile output/poster_latex_proj/poster_output.tex into a PDF using an available TeX engine. Prefer 'tectonic', then 'lualatex', then 'xelate
demo/app.py:547
↓ 1 callers
Method
_complexity_filter
Filter examples based on complexity threshold. Removes examples with complexity scores below the configured threshold. Args
camel/datagen/source2synth/data_processor.py:476
↓ 1 callers
Method
_complexity_filter
Filter examples based on complexity threshold. Removes examples with complexity scores below the configured threshold. Args
demo/Paper2Poster/camel/datagen/source2synth/data_processor.py:476
↓ 1 callers
Function
_compose_logos_horizontally
宽度为硬约束:输出图像宽度必为 box_w(默认 2000px)。 多 logo 按比例统一缩放,拼接后刚好占满 box_w(包含间距)。 高度由比例自然决定,可能 < box_h,也可能 > box_h(甚至 > 2*box_h),不会再二次压缩。 透明背景,输出
demo/pipeline.py:98
↓ 1 callers
Function
_compute_beamer_col_fracs
(sections, per_col_idxs, sep_frac=SEP_FRAC_DEFAULT)
demo/posterbuilder/convert_baposter.py:526
↓ 1 callers
Method
_convert
( self, conv_input: _DocumentConversionInput, raises_on_error: bool )
docling/document_converter.py:243
↓ 1 callers
Method
_convert
( self, conv_input: _DocumentConversionInput, raises_on_error: bool )
demo/Paper2Poster/docling/document_converter.py:243
↓ 1 callers
Method
_convert_openai_to_reka_messages
r"""Converts OpenAI API messages to Reka API messages. Args: messages (List[OpenAIMessage]): A list of messages in OpenAI
camel/models/reka_model.py:117
↓ 1 callers
Method
_convert_openai_to_reka_messages
r"""Converts OpenAI API messages to Reka API messages. Args: messages (List[OpenAIMessage]): A list of messages in OpenAI
demo/Paper2Poster/camel/models/reka_model.py:117
↓ 1 callers
Method
_convert_reka_to_openai_response
r"""Converts a Reka `ChatResponse` to an OpenAI-style `ChatCompletion` response. Args: response (ChatResponse): The respo
camel/models/reka_model.py:84
↓ 1 callers
Method
_convert_reka_to_openai_response
r"""Converts a Reka `ChatResponse` to an OpenAI-style `ChatCompletion` response. Args: response (ChatResponse): The respo
demo/Paper2Poster/camel/models/reka_model.py:84
↓ 1 callers
Method
_convert_response_from_anthropic_to_openai
(self, response)
camel/models/anthropic_model.py:73
↓ 1 callers
Method
_convert_response_from_anthropic_to_openai
(self, response)
demo/Paper2Poster/camel/models/anthropic_model.py:73
↓ 1 callers
Method
_convert_response_from_litellm_to_openai
r"""Converts a response from the LiteLLM format to the OpenAI format. Parameters: response (LiteLLMResponse): The response object
camel/models/litellm_model.py:67
↓ 1 callers
Method
_convert_response_from_litellm_to_openai
r"""Converts a response from the LiteLLM format to the OpenAI format. Parameters: response (LiteLLMResponse): The response object
demo/Paper2Poster/camel/models/litellm_model.py:67
↓ 1 callers
Method
_convert_response_from_openai_to_mistral
r"""Convert an OpenAI message to a Mistral ChatCompletionRequest. Args: openai_msg (OpenAIMessage): An individual message with Op
camel/utils/token_counting.py:412
↓ 1 callers
Method
_convert_response_from_openai_to_mistral
r"""Convert an OpenAI message to a Mistral ChatCompletionRequest. Args: openai_msg (OpenAIMessage): An individual message with Op
demo/Paper2Poster/camel/utils/token_counting.py:412
↓ 1 callers
Method
_convert_sheet
(self, doc: DoclingDocument, sheet: Worksheet)
docling/backend/msexcel_backend.py:135
↓ 1 callers
Method
_convert_sheet
(self, doc: DoclingDocument, sheet: Worksheet)
demo/Paper2Poster/docling/backend/msexcel_backend.py:135
↓ 1 callers
Method
_convert_workbook
(self, doc: DoclingDocument)
docling/backend/msexcel_backend.py:112
↓ 1 callers
Method
_convert_workbook
(self, doc: DoclingDocument)
demo/Paper2Poster/docling/backend/msexcel_backend.py:112
↓ 1 callers
Method
_cosine_similarity
r"""Copmute the cosine similarity of two vectors. Args: vec1 (np.ndarray): Vector 1 vec2 (np.ndarray): Vector 2
camel/personas/persona_hub.py:238
↓ 1 callers
Method
_cosine_similarity
r"""Copmute the cosine similarity of two vectors. Args: vec1 (np.ndarray): Vector 1 vec2 (np.ndarray): Vector 2
demo/Paper2Poster/camel/personas/persona_hub.py:238
↓ 1 callers
Method
_count_tokens_from_image
r"""Count image tokens for OpenAI vision model. An :obj:`"auto"` resolution model will be treated as :obj:`"high"`. All images with :o
camel/utils/token_counting.py:196
↓ 1 callers
Method
_count_tokens_from_image
r"""Count image tokens for OpenAI vision model. An :obj:`"auto"` resolution model will be treated as :obj:`"high"`. All images with :o
demo/Paper2Poster/camel/utils/token_counting.py:196
↓ 1 callers
Method
_create_client
( self, url_and_api_key: Optional[Tuple[str, str]], path: Optional[str], **kwa
camel/storages/vectordb_storages/qdrant.py:123
↓ 1 callers
Method
_create_client
r"""Initializes the Milvus client with the provided connection details. Args: url_and_api_key (Tuple[str, str]): The URL and API
camel/storages/vectordb_storages/milvus.py:74
↓ 1 callers
Method
_create_client
r"""Creates the Redis client with the provided URL and options. Args: **kwargs: Additional keyword arguments for Redis client
camel/storages/key_value_storages/redis.py:81
↓ 1 callers
Method
_create_client
( self, url_and_api_key: Optional[Tuple[str, str]], path: Optional[str], **kwa
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:123
↓ 1 callers
Method
_create_client
r"""Initializes the Milvus client with the provided connection details. Args: url_and_api_key (Tuple[str, str]): The URL and API
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:74
↓ 1 callers
Method
_create_client
r"""Creates the Redis client with the provided URL and options. Args: **kwargs: Additional keyword arguments for Redis client
demo/Paper2Poster/camel/storages/key_value_storages/redis.py:81
↓ 1 callers
Method
_create_file_in_container
(self, content: str)
camel/interpreters/docker_interpreter.py:114
↓ 1 callers
Method
_create_file_in_container
(self, content: str)
demo/Paper2Poster/camel/interpreters/docker_interpreter.py:114
↓ 1 callers
Function
_create_mol
(name, field)
camel/toolkits/function_tool.py:143
↓ 1 callers
Function
_create_mol
(name, field)
demo/Paper2Poster/camel/toolkits/function_tool.py:143
↓ 1 callers
Method
_create_new_agent
(self, role: str, sys_msg: str)
camel/societies/workforce/workforce.py:345
↓ 1 callers
Method
_create_new_agent
(self, role: str, sys_msg: str)
demo/Paper2Poster/camel/societies/workforce/workforce.py:345
↓ 1 callers
Method
_create_temp_file
(self, code: str, extension: str)
camel/interpreters/subprocess_interpreter.py:170
↓ 1 callers
Method
_create_temp_file
(self, code: str, extension: str)
demo/Paper2Poster/camel/interpreters/subprocess_interpreter.py:170
↓ 1 callers
Method
_create_tg_range
Create a unified range along the table groups. Args: tgs: Table group column specifications. Returns: Unifie
docling/backend/xml/uspto_backend.py:1428
↓ 1 callers
Method
_create_tg_range
Create a unified range along the table groups. Args: tgs: Table group column specifications. Returns: Unifie
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:1428
↓ 1 callers
Method
_create_user_message
r"""Create a user message from a task.
camel/benchmarks/gaia.py:303
↓ 1 callers
Method
_create_user_message
r"""Create a user message from a task.
demo/Paper2Poster/camel/benchmarks/gaia.py:303
↓ 1 callers
Method
_create_worker_node_for_task
r"""Creates a new worker node for a given task and add it to the children list of this node. This is one of the actions that the coord
camel/societies/workforce/workforce.py:302
↓ 1 callers
Method
_create_worker_node_for_task
r"""Creates a new worker node for a given task and add it to the children list of this node. This is one of the actions that the coord
demo/Paper2Poster/camel/societies/workforce/workforce.py:302
↓ 1 callers
Function
_default_conf_logo_path
Pick a default conference logo to preview. Prefer Paper2Poster/assets/neurips.png, else template/logos/right_logo.png, else the first of detec
demo/app.py:166
↓ 1 callers
Method
_delete_collection
r"""Deletes an existing collection from the database. Args: collection (str): Name of the collection to be deleted.
camel/storages/vectordb_storages/milvus.py:180
↓ 1 callers
Method
_delete_collection
r"""Deletes an existing collection from the database. Args: collection (str): Name of the collection to be deleted.
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:180
↓ 1 callers
Method
_delete_rel
r"""Deletes a specific relationship between two nodes in the Neo4j database. Args: subj (str): The identifier for the sub
camel/storages/graph_storages/neo4j_graph.py:366
↓ 1 callers
Method
_delete_rel
r"""Deletes a specific relationship between two nodes in the Neo4j database. Args: subj (str): The identifier for the sub
demo/Paper2Poster/camel/storages/graph_storages/neo4j_graph.py:366
← previous
next →
801–900 of 4,860, ranked by callers