MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersMethod_setup_directories
Create necessary directories for logo storage.
demo/Paper2Poster/utils/logo_utils.py:36
↓ 1 callersMethod_should_prefer_cluster
Determine if candidate cluster should be preferred over other cluster based on rules. Returns True if candidate should be preferred, False if
docling/utils/layout_postprocessor.py:404
↓ 1 callersMethod_should_prefer_cluster
Determine if candidate cluster should be preferred over other cluster based on rules. Returns True if candidate should be preferred, False if
demo/Paper2Poster/docling/utils/layout_postprocessor.py:404
↓ 1 callersFunction_soft_wrap_box_title
把很长的 headerbox 标题按词边界软换行,返回带 '\\\\' 的字符串。
demo/posterbuilder/convert_baposter.py:286
↓ 1 callersMethod_split_audio
r"""Split the audio file into smaller chunks. Since the Whisper API only supports files that are less than 25 MB. Args: a
camel/models/openai_audio_models.py:137
↓ 1 callersMethod_split_audio
r"""Split the audio file into smaller chunks. Since the Whisper API only supports files that are less than 25 MB. Args: a
demo/Paper2Poster/camel/models/openai_audio_models.py:137
↓ 1 callersFunction_split_list
(raw: Optional[str])
docling/cli/main.py:148
↓ 1 callersFunction_split_list
(raw: Optional[str])
demo/Paper2Poster/docling/cli/main.py:148
↓ 1 callersMethod_start_server
r"""Starts the Ollama server in a subprocess.
camel/models/ollama_model.py:79
↓ 1 callersMethod_start_server
(self)
camel/models/sglang_model.py:89
↓ 1 callersMethod_start_server
r"""Starts the vllm server in a subprocess.
camel/models/vllm_model.py:81
↓ 1 callersMethod_start_server
r"""Starts the Ollama server in a subprocess.
demo/Paper2Poster/camel/models/ollama_model.py:79
↓ 1 callersMethod_start_server
(self)
demo/Paper2Poster/camel/models/sglang_model.py:89
↓ 1 callersMethod_start_server
r"""Starts the vllm server in a subprocess.
demo/Paper2Poster/camel/models/vllm_model.py:81
↓ 1 callersMethod_step_tool_call
r"""Execute the function with arguments following the model's response. Args: response (Dict[str, Any]): The response obtained by
camel/agents/chat_agent.py:1371
↓ 1 callersMethod_step_tool_call
r"""Execute the function with arguments following the model's response. Args: response (Dict[str, Any]): The response obtained by
demo/Paper2Poster/camel/agents/chat_agent.py:1371
↓ 1 callersMethod_step_tool_call_and_update_async
( self, response: ChatCompletion )
camel/agents/chat_agent.py:997
↓ 1 callersMethod_step_tool_call_and_update_async
( self, response: ChatCompletion )
demo/Paper2Poster/camel/agents/chat_agent.py:997
↓ 1 callersMethod_to_cohere_chatmessage
( self, messages: List[OpenAIMessage] )
camel/models/cohere_model.py:139
↓ 1 callersMethod_to_cohere_chatmessage
( self, messages: List[OpenAIMessage] )
demo/Paper2Poster/camel/models/cohere_model.py:139
↓ 1 callersMethod_to_legacy_document
(self, conv_res)
docling/models/ds_glm_model.py:58
↓ 1 callersMethod_to_legacy_document
(self, conv_res)
demo/Paper2Poster/docling/models/ds_glm_model.py:58
↓ 1 callersMethod_to_mistral_chatmessage
( self, messages: List[OpenAIMessage], )
camel/models/mistral_model.py:132
↓ 1 callersMethod_to_mistral_chatmessage
( self, messages: List[OpenAIMessage], )
demo/Paper2Poster/camel/models/mistral_model.py:132
↓ 1 callersMethod_to_openai_response
(self, response: 'ChatResponse')
camel/models/cohere_model.py:71
↓ 1 callersMethod_to_openai_response
( self, response: 'ChatCompletionResponse' )
camel/models/mistral_model.py:88
↓ 1 callersMethod_to_openai_response
(self, response: 'ChatResponse')
demo/Paper2Poster/camel/models/cohere_model.py:71
↓ 1 callersMethod_to_openai_response
( self, response: 'ChatCompletionResponse' )
demo/Paper2Poster/camel/models/mistral_model.py:88
↓ 1 callersFunction_ui_header_logos_html
Return an HTML div with base64-embedded logos to avoid broken /file routes. Logos are fixed at top-right, slightly inset, with larger spacing.
demo/app.py:125
↓ 1 callersMethod_unload
(self, conv_res: ConversionResult)
docling/pipeline/base_pipeline.py:95
↓ 1 callersMethod_unload
(self, conv_res: ConversionResult)
demo/Paper2Poster/docling/pipeline/base_pipeline.py:95
↓ 1 callersMethod_upload_file
( self, local_file_path: Path, remote_file_key: str )
camel/storages/object_storages/base.py:104
↓ 1 callersMethod_upload_file
( self, file_content: str, dataset_name: str, filepath: str, file_type
camel/datahubs/huggingface.py:393
↓ 1 callersMethod_upload_file
( self, local_file_path: Path, remote_file_key: str )
demo/Paper2Poster/camel/storages/object_storages/base.py:104
↓ 1 callersMethod_upload_file
( self, file_content: str, dataset_name: str, filepath: str, file_type
demo/Paper2Poster/camel/datahubs/huggingface.py:393
↓ 1 callersMethod_validate
(self)
camel/terminators/response_terminator.py:50
↓ 1 callersMethod_validate
(self)
demo/Paper2Poster/camel/terminators/response_terminator.py:50
↓ 1 callersMethod_validate_and_convert_vectors
r"""Validates and converts VectorRecord instances to the format expected by Milvus. Args: records (List[VectorRecord]): L
camel/storages/vectordb_storages/milvus.py:248
↓ 1 callersMethod_validate_and_convert_vectors
r"""Validates and converts VectorRecord instances to the format expected by Milvus. Args: records (List[VectorRecord]): L
demo/Paper2Poster/camel/storages/vectordb_storages/milvus.py:248
↓ 1 callersMethod_validate_relationship
r"""Validate if the object is a valid Relationship. Args: relationship (Relationship): Object to be validated. Returns:
camel/agents/knowledge_graph_agent.py:196
↓ 1 callersMethod_validate_relationship
r"""Validate if the object is a valid Relationship. Args: relationship (Relationship): Object to be validated. Returns:
demo/Paper2Poster/camel/agents/knowledge_graph_agent.py:196
↓ 1 callersMethod_value_truncate
r"""Truncates the input raw value by removing entries that is dictionary or list with values resembling embeddings and containing more
camel/storages/graph_storages/neo4j_graph.py:167
↓ 1 callersMethod_value_truncate
r"""Truncates the input raw value by removing entries that is dictionary or list with values resembling embeddings and containing more
demo/Paper2Poster/camel/storages/graph_storages/neo4j_graph.py:167
↓ 1 callersMethodadd
r"""Adds two numbers. Args: a (float): The first number to be added. b (float): The second number to be added.
camel/toolkits/math_toolkit.py:28
↓ 1 callersMethodadd
r"""Adds a list of vectors to the specified collection. Args: vectors (List[VectorRecord]): List of vectors to be added.
camel/storages/vectordb_storages/qdrant.py:262
↓ 1 callersMethodadd
r"""Add a function or list of functions to the runtime. Args: funcs (Union[FunctionTool, List[FunctionTool]]): The function or
camel/runtime/docker_runtime.py:248
↓ 1 callersMethodadd
r"""Adds two numbers. Args: a (float): The first number to be added. b (float): The second number to be added.
demo/Paper2Poster/camel/toolkits/math_toolkit.py:28
↓ 1 callersMethodadd
r"""Adds a list of vectors to the specified collection. Args: vectors (List[VectorRecord]): List of vectors to be added.
demo/Paper2Poster/camel/storages/vectordb_storages/qdrant.py:262
↓ 1 callersMethodadd
r"""Add a function or list of functions to the runtime. Args: funcs (Union[FunctionTool, List[FunctionTool]]): The function or
demo/Paper2Poster/camel/runtime/docker_runtime.py:248
↓ 1 callersFunctionadd_beamer_arguments
Add Beamer-specific command line arguments.
demo/Paper2Poster/PosterAgent/beamer_pipeline.py:134
↓ 1 callersMethodadd_cluster
(self, cluster: Cluster)
docling/utils/layout_postprocessor.py:62
↓ 1 callersMethodadd_cluster
(self, cluster: Cluster)
demo/Paper2Poster/docling/utils/layout_postprocessor.py:62
↓ 1 callersMethodadd_header
( self, doc: DoclingDocument, curr_level: Optional[int], text: str )
docling/backend/msword_backend.py:352
↓ 1 callersMethodadd_header
( self, doc: DoclingDocument, curr_level: Optional[int], text: str )
demo/Paper2Poster/docling/backend/msword_backend.py:352
↓ 1 callersMethodadd_listitem
( self, doc: DoclingDocument, numid: int, ilevel: int, text: str,
docling/backend/msword_backend.py:384
↓ 1 callersMethodadd_listitem
( self, doc: DoclingDocument, numid: int, ilevel: int, text: str,
demo/Paper2Poster/docling/backend/msword_backend.py:384
↓ 1 callersFunctionadd_logos_to_poster_code
Add institution and conference logos to poster code. Args: poster_code: Existing poster generation code width_inch: Width of
utils/logo_utils.py:618
↓ 1 callersMethodadd_strategy
r"""Add a scheduling strategy method provided by user in case when none of existent strategies fits. When custom strategy is p
camel/models/model_manager.py:139
↓ 1 callersMethodadd_strategy
r"""Add a scheduling strategy method provided by user in case when none of existent strategies fits. When custom strategy is p
demo/Paper2Poster/camel/models/model_manager.py:139
↓ 1 callersMethodadd_triplet
r"""Adds a relationship (triplet) between two entities in the Nebula Graph database. Args: subj (str): The identifier for
camel/storages/graph_storages/nebula_graph.py:445
↓ 1 callersMethodadd_triplet
r"""Adds a relationship (triplet) between two entities in the Nebula Graph database. Args: subj (str): The identifier for
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:445
↓ 1 callersFunctionagentops_decorator
r"""Decorator that records the execution of a function if ToolEvent is available. Parameters: func (callable): The function to be dec
camel/utils/commons.py:551
↓ 1 callersFunctionagentops_decorator
r"""Decorator that records the execution of a function if ToolEvent is available. Parameters: func (callable): The function to be dec
demo/Paper2Poster/camel/utils/commons.py:551
↓ 1 callersMethodall_funcs
(cls)
utils/src/apis.py:357
↓ 1 callersMethodall_funcs
(cls)
demo/Paper2Poster/utils/src/apis.py:357
↓ 1 callersMethodanalyse_element
if element.name!=None: _log.debug("\t"*self.level, idx, "\t", f"{element.name} ({self.level})")
docling/backend/html_backend.py:109
↓ 1 callersMethodanalyse_element
if element.name!=None: _log.debug("\t"*self.level, idx, "\t", f"{element.name} ({self.level})")
demo/Paper2Poster/docling/backend/html_backend.py:109
↓ 1 callersFunctionannotate_dataset
r"""Annotate the dataset by adding context and answers using the provided functions. Args: dataset (Dataset): The input dataset to an
camel/benchmarks/ragbench.py:36
↓ 1 callersFunctionannotate_dataset
r"""Annotate the dataset by adding context and answers using the provided functions. Args: dataset (Dataset): The input dataset to an
demo/Paper2Poster/camel/benchmarks/ragbench.py:36
↓ 1 callersMethodapinames_filepaths_to_funs_schemas
r"""Combines functions and schemas from multiple OpenAPI specifications, using API names as keys. This function iterates over tuples
camel/toolkits/open_api_toolkit.py:450
↓ 1 callersMethodapinames_filepaths_to_funs_schemas
r"""Combines functions and schemas from multiple OpenAPI specifications, using API names as keys. This function iterates over tuples
demo/Paper2Poster/camel/toolkits/open_api_toolkit.py:450
↓ 1 callersMethodapply
Apply the closure to a shape. Args: shape (BaseShape): The shape to apply the closure to.
utils/src/presentation.py:63
↓ 1 callersMethodapply
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:58
↓ 1 callersMethodapply
Apply the closure to a shape. Args: shape (BaseShape): The shape to apply the closure to.
demo/Paper2Poster/utils/src/presentation.py:63
↓ 1 callersMethodapply
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:58
↓ 1 callersFunctionapply_all_styles
Apply all style configurations to bullet content. This is a convenience function that applies all styling in the correct order. Args:
utils/style_utils.py:143
↓ 1 callersFunctionapply_main_text_colors
Apply colors to main text (bullet points, not titles). Args: bullet_content: Bullet point content list main_text_color: RGB
utils/style_utils.py:111
↓ 1 callersFunctionapply_main_text_colors
Apply colors to main text (bullet points, not titles). Args: bullet_content: Bullet point content list main_text_color: RGB
demo/Paper2Poster/utils/style_utils.py:111
↓ 1 callersFunctionapply_main_text_font_size_override
Apply font size override to main text (not titles). Args: bullet_content: Bullet point content list font_size_val: Font size
utils/style_utils.py:12
↓ 1 callersFunctionapply_main_text_font_size_override
Apply font size override to main text (not titles). Args: bullet_content: Bullet point content list font_size_val: Font size
demo/Paper2Poster/utils/style_utils.py:12
↓ 1 callersFunctionapply_section_title_symbol
Add a prefix symbol to each section title (except global poster title). Args: bullet_content: Bullet point content list symb
utils/style_utils.py:47
↓ 1 callersFunctionapply_section_title_symbol
Add a prefix symbol to each section title (except global poster title). Args: bullet_content: Bullet point content list symb
demo/Paper2Poster/utils/style_utils.py:47
↓ 1 callersMethodapply_stats
Apply image captions to the presentation.
utils/src/multimodal.py:36
↓ 1 callersMethodapply_stats
Apply image captions to the presentation.
demo/Paper2Poster/utils/src/multimodal.py:36
↓ 1 callersFunctionapply_title_colors
Apply colors to all titles (global title/author area and section titles). Args: bullet_content: Bullet point content list ti
utils/style_utils.py:83
↓ 1 callersFunctionapply_title_colors
Apply colors to all titles (global title/author area and section titles). Args: bullet_content: Bullet point content list ti
demo/Paper2Poster/utils/style_utils.py:83
↓ 1 callersMethodarchive_task
r"""Archive a task in channel, making it to become a dependency.
camel/societies/workforce/task_channel.py:148
↓ 1 callersMethodarchive_task
r"""Archive a task in channel, making it to become a dependency.
demo/Paper2Poster/camel/societies/workforce/task_channel.py:148
↓ 1 callersFunctionast_check
(candidate_subtree_list, base_tree_list, dataset_name)
camel/benchmarks/apibench.py:426
↓ 1 callersFunctionast_check
(candidate_subtree_list, base_tree_list, dataset_name)
demo/Paper2Poster/camel/benchmarks/apibench.py:426
↓ 1 callersFunctionauroc
r"""Calculate Area Under Receiver Operating Characteristic Curve (AUROC). Args: trues (Sequence[bool]): Ground truth binary values.
camel/benchmarks/ragbench.py:97
↓ 1 callersFunctionauroc
r"""Calculate Area Under Receiver Operating Characteristic Curve (AUROC). Args: trues (Sequence[bool]): Ground truth binary values.
demo/Paper2Poster/camel/benchmarks/ragbench.py:97
↓ 1 callersFunctionaverage_distance
Calculate the average distance between a point (idx) and a cluster (cluster_idx). Args: similarity (np.ndarray): The similarity matr
utils/src/model_utils.py:229
↓ 1 callersMethodbase64_to_image
r"""Converts a base64 encoded string into a PIL Image object. Args: base64_string (str): The base64 encoded string of the image.
camel/toolkits/dalle_toolkit.py:32
↓ 1 callersMethodbase64_to_image
r"""Converts a base64 encoded string into a PIL Image object. Args: base64_string (str): The base64 encoded string of the image.
demo/Paper2Poster/camel/toolkits/dalle_toolkit.py:32
↓ 1 callersMethodbinary_search_error
r"""Use binary search to locate the first error in the solution. This method splits the solution into sentences using both English and
camel/datagen/cotdatagen.py:252
↓ 1 callersMethodbinary_search_error
r"""Use binary search to locate the first error in the solution. This method splits the solution into sentences using both English and
demo/Paper2Poster/camel/datagen/cotdatagen.py:252
↓ 1 callersFunctionblocks_to_lines
把 blocks 转成 list[str],并标注是否 bullet
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:88
↓ 1 callersFunctionboxes_overlap
(box_a, box_b)
utils/wei_utils.py:632
↓ 1 callersFunctionbuild
()
demo/posterbuilder/convert.py:618
← previousnext →1,201–1,300 of 4,860, ranked by callers