MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 2 callersMethodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[T]): The objects for which to generate the embeddings.
camel/embeddings/base.py:26
↓ 2 callersMethodembed_list
r"""Generates embeddings for the given texts. Args: objs (list[T]): The objects for which to generate the embeddings.
demo/Paper2Poster/camel/embeddings/base.py:26
↓ 2 callersFunctionensure_under_limit_pil
(img, max_bytes: int = 10 * 1024 * 1024)
utils/poster_eval_utils.py:783
↓ 2 callersFunctionensure_under_limit_pil
(img, max_bytes: int = 10 * 1024 * 1024)
demo/Paper2Poster/utils/poster_eval_utils.py:783
↓ 2 callersFunctionestimate_characters
Estimate the number of characters that can fit into a bounding box. :param width_in_inches: The width of the bounding box, in inches. :
utils/wei_utils.py:1062
↓ 2 callersFunctioneval_feature
( presentations: list[Presentation], evals: dict, setting: str, )
utils/src/experiment/evals.py:61
↓ 2 callersFunctioneval_feature
( presentations: list[Presentation], evals: dict, setting: str, )
demo/Paper2Poster/utils/src/experiment/evals.py:61
↓ 2 callersFunctioneval_general
(presentations: list[Presentation], evals: dict[str, list[int]])
utils/src/experiment/evals.py:48
↓ 2 callersFunctioneval_general
(presentations: list[Presentation], evals: dict[str, list[int]])
demo/Paper2Poster/utils/src/experiment/evals.py:48
↓ 2 callersFunctioneval_vlm_as_judge
(poster_image_list, agent_config, aspect=None)
utils/poster_eval_utils.py:1246
↓ 2 callersFunctioneval_vlm_as_judge
(poster_image_list, agent_config, aspect=None)
demo/Paper2Poster/utils/poster_eval_utils.py:1246
↓ 2 callersFunctionevaluate_arg
r"""Recursively evaluate arguments, including nested calls.
camel/benchmarks/nexus.py:435
↓ 2 callersFunctionevaluate_arg
r"""Recursively evaluate arguments, including nested calls.
demo/Paper2Poster/camel/benchmarks/nexus.py:435
↓ 2 callersMethodexecute
r"""Execute the input python codes in a security environment. Args: code (str): Generated python code to be executed.
camel/interpreters/internal_python_interpreter.py:158
↓ 2 callersMethodexecute
r"""Execute the input python codes in a security environment. Args: code (str): Generated python code to be executed.
demo/Paper2Poster/camel/interpreters/internal_python_interpreter.py:158
↓ 2 callersFunctionextract_text_from_image
Open an image file and use Tesseract OCR to extract text. :param image_path: Path to the image file :return: Extracted text as a string
utils/poster_eval_utils.py:619
↓ 2 callersFunctionextract_text_from_image
Open an image file and use Tesseract OCR to extract text. :param image_path: Path to the image file :return: Extracted text as a string
demo/Paper2Poster/utils/poster_eval_utils.py:619
↓ 2 callersFunctionfill_location
(outline, section_name, location_dict)
PosterAgent/gen_outline_layout.py:77
↓ 2 callersFunctionfill_poster_content
(args, actor_config)
PosterAgent/fill_and_style.py:30
↓ 2 callersFunctionfill_poster_content
(args, actor_config)
demo/Paper2Poster/PosterAgent/fill_and_style.py:30
↓ 2 callersMethodfilter
r"""Check if the given instruction passes all filter functions. Args: prompt (str): The prompt of generating the instruction.
camel/datagen/self_instruct/filter/instruction_filter.py:56
↓ 2 callersMethodfilter
r"""Check if the given instruction passes all filter functions. Args: prompt (str): The prompt of generating the instruction.
demo/Paper2Poster/camel/datagen/self_instruct/filter/instruction_filter.py:56
↓ 2 callersFunctionfind_env_bounds
(tex: str, env: str, start_pos: int)
demo/posterbuilder/build_poster.py:123
↓ 2 callersFunctionfind_env_bounds
(tex: str, env: str, start_pos: int)
demo/posterbuilder/convert_baposter.py:131
↓ 2 callersFunctionfind_env_bounds
(tex: str, env: str, start_pos: int)
demo/posterbuilder/convert.py:359
↓ 2 callersFunctionformat_content_to_latex
(content: str)
demo/posterbuilder/convert_baposter.py:358
↓ 2 callersMethodfrom_bytes
r"""Creates a File object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
camel/loaders/base_io.py:96
↓ 2 callersMethodfrom_bytes
r"""Creates a File object from a BytesIO object. Args: file (BytesIO): A BytesIO object representing the contents of the
demo/Paper2Poster/camel/loaders/base_io.py:96
↓ 2 callersMethodfrom_dicts
r"""Generates a list of system messages from a list of dictionaries. Args: meta_dicts (List[Dict[str, str]]): A list of dictionar
camel/generators.py:125
↓ 2 callersMethodfrom_dicts
r"""Generates a list of system messages from a list of dictionaries. Args: meta_dicts (List[Dict[str, str]]): A list of dictionar
demo/Paper2Poster/camel/generators.py:125
↓ 2 callersFunctiongen_eval_markdown
(paper_name, poster_method, poster_path, figure_count_only=False)
utils/poster_eval_utils.py:1045
↓ 2 callersFunctiongen_eval_markdown
(paper_name, poster_method, poster_path, figure_count_only=False)
demo/Paper2Poster/utils/poster_eval_utils.py:1045
↓ 2 callersFunctiongen_layout_parallel
(agent, prompt, num_retries, existing_code='', slide_width=0, slide_height=0, tmp_name='tmp')
utils/wei_utils.py:544
↓ 2 callersFunctiongen_outline_layout
(args, actor_config, critic_config)
PosterAgent/gen_outline_layout.py:429
↓ 2 callersFunctiongen_poster_content
(args, actor_config)
PosterAgent/gen_poster_content.py:463
↓ 2 callersFunctiongen_poster_content
(args, actor_config)
demo/Paper2Poster/PosterAgent/gen_poster_content.py:463
↓ 2 callersFunctiongenerate_figure_code
(figure_dict, utils_functions, slide_object_name, img_path, visible=False, theme=None)
PosterAgent/gen_pptx_code.py:137
↓ 2 callersFunctiongenerate_figure_code
(figure_dict, utils_functions, slide_object_name, img_path, visible=False, theme=None)
demo/Paper2Poster/PosterAgent/gen_pptx_code.py:137
↓ 2 callersFunctiongenerate_length_suggestions
(result_json, original_section_outline, raw_section_outline)
utils/wei_utils.py:1250
↓ 2 callersFunctiongenerate_poster_code
( panel_arrangement_list, text_arrangement_list, figure_arrangement_list, presentation_object_
PosterAgent/gen_pptx_code.py:169
↓ 2 callersFunctiongenerate_textbox_code
( text_dict, utils_functions, slide_object_name, visible=False, content=None, theme=No
PosterAgent/gen_pptx_code.py:67
↓ 2 callersFunctiongenerate_textbox_code
( text_dict, utils_functions, slide_object_name, visible=False, content=None, theme=No
demo/Paper2Poster/PosterAgent/gen_pptx_code.py:67
↓ 2 callersFunctionget_answers_and_remove_answers
(questions)
utils/poster_eval_utils.py:712
↓ 2 callersFunctionget_answers_and_remove_answers
(questions)
demo/Paper2Poster/utils/poster_eval_utils.py:712
↓ 2 callersMethodget_api_description
(self, api_name)
camel/benchmarks/apibank.py:482
↓ 2 callersMethodget_api_description
(self, api_name)
demo/Paper2Poster/camel/benchmarks/apibank.py:482
↓ 2 callersFunctionget_cluster
Cluster points based on similarity. Args: similarity (np.ndarray): The similarity matrix. sim_bound (float): The similarity
utils/src/model_utils.py:251
↓ 2 callersMethodget_content_type
Get the content type of the slide.
utils/src/presentation.py:1088
↓ 2 callersMethodget_content_type
Get the content type of the slide.
demo/Paper2Poster/utils/src/presentation.py:1088
↓ 2 callersFunctionget_font_style
(font: dict)
utils/src/utils.py:44
↓ 2 callersFunctionget_font_style
(font: dict)
demo/Paper2Poster/utils/src/utils.py:44
↓ 2 callersMethodget_generate_tasks_prompt
r"""Gets the prompt for generating tasks for a given task type. Args: task_type (TaskType): The type of the task. Return
camel/prompts/prompt_templates.py:97
↓ 2 callersMethodget_generate_tasks_prompt
r"""Gets the prompt for generating tasks for a given task type. Args: task_type (TaskType): The type of the task. Return
demo/Paper2Poster/camel/prompts/prompt_templates.py:97
↓ 2 callersFunctionget_img_ratio
(img_path)
utils/wei_utils.py:1291
↓ 2 callersFunctionget_img_ratio_in_section
(content_json)
utils/wei_utils.py:1298
↓ 2 callersMethodget_info
r"""Returns a dictionary containing information about the chat session. Args: session_id (str, optional): The ID of the chat sess
camel/agents/chat_agent.py:486
↓ 2 callersMethodget_info
r"""Returns a dictionary containing information about the chat session. Args: session_id (str, optional): The ID of the chat sess
demo/Paper2Poster/camel/agents/chat_agent.py:486
↓ 2 callersFunctionget_json_from_response
(raw_response: str)
demo/Paper2Poster/PosterAgent/gen_outline_layout.py:28
↓ 2 callersMethodget_last_text_item
Get the last text item at the current document level. Returns: The text item or None, if the current level parent has no children
docling/backend/xml/uspto_backend.py:898
↓ 2 callersMethodget_last_text_item
Get the last text item at the current document level. Returns: The text item or None, if the current level parent has no children
demo/Paper2Poster/docling/backend/xml/uspto_backend.py:898
↓ 2 callersFunctionget_logo_dimensions
Calculate logo width to preserve aspect ratio. Args: logo_path: Path to logo image target_height: Desired height in inches
utils/logo_utils.py:597
↓ 2 callersFunctionget_logo_dimensions
Calculate logo width to preserve aspect ratio. Args: logo_path: Path to logo image target_height: Desired height in inches
demo/Paper2Poster/utils/logo_utils.py:546
↓ 2 callersMethodget_logo_path
Get the path to a logo file using fuzzy matching. Args: name: Name of the conference/institution category: T
demo/Paper2Poster/utils/logo_utils.py:112
↓ 2 callersFunctionget_model_encoding
r"""Get model encoding from tiktoken. Args: value_for_tiktoken: Model value for tiktoken. Returns: tiktoken.Encoding: Model
camel/utils/token_counting.py:51
↓ 2 callersFunctionget_model_encoding
r"""Get model encoding from tiktoken. Args: value_for_tiktoken: Model value for tiktoken. Returns: tiktoken.Encoding: Model
demo/Paper2Poster/camel/utils/token_counting.py:51
↓ 2 callersMethodget_node_properties
r"""Retrieve node properties from the graph. Returns: Tuple[List[str], List[Dict[str, Any]]]: A tuple where the first
camel/storages/graph_storages/nebula_graph.py:553
↓ 2 callersMethodget_node_properties
r"""Retrieve node properties from the graph. Returns: Tuple[List[str], List[Dict[str, Any]]]: A tuple where the first
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:553
↓ 2 callersFunctionget_outline_location
(outline, subsection=False)
PosterAgent/gen_outline_layout_parallel.py:235
↓ 2 callersFunctionget_outline_location
(outline, subsection=False)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:235
↓ 2 callersFunctionget_plain_text_from_rich_text
r"""Extracts plain text from a list of rich text elements. Args: rich_text: A list of dictionaries representing rich text elements.
camel/toolkits/notion_toolkit.py:21
↓ 2 callersFunctionget_plain_text_from_rich_text
r"""Extracts plain text from a list of rich text elements. Args: rich_text: A list of dictionaries representing rich text elements.
demo/Paper2Poster/camel/toolkits/notion_toolkit.py:21
↓ 2 callersFunctionget_ppl
Compute perplexity for arbitrarily long *text* using a sliding‑window approach. Parameters ---------- text : str The input string
utils/poster_eval_utils.py:552
↓ 2 callersFunctionget_ppl
Compute perplexity for arbitrarily long *text* using a sliding‑window approach. Parameters ---------- text : str The input string
demo/Paper2Poster/utils/poster_eval_utils.py:552
↓ 2 callersFunctionget_pydantic_object_schema
r"""Get the JSON schema of a Pydantic model. Args: pydantic_params (Type[BaseModel]): The Pydantic model class to retrieve th
camel/utils/commons.py:372
↓ 2 callersFunctionget_pydantic_object_schema
r"""Get the JSON schema of a Pydantic model. Args: pydantic_params (Type[BaseModel]): The Pydantic model class to retrieve th
demo/Paper2Poster/camel/utils/commons.py:372
↓ 2 callersFunctionget_questions
(paper_text, mode, model_type)
utils/poster_eval_utils.py:1183
↓ 2 callersFunctionget_questions
(paper_text, mode, model_type)
demo/Paper2Poster/utils/poster_eval_utils.py:1183
↓ 2 callersMethodget_relationship_properties
r"""Retrieve relationship (edge) properties from the graph. Returns: Tuple[List[str], List[Dict[str, Any]]]: A tuple where the fi
camel/storages/graph_storages/nebula_graph.py:583
↓ 2 callersMethodget_relationship_properties
r"""Retrieve relationship (edge) properties from the graph. Returns: Tuple[List[str], List[Dict[str, Any]]]: A tuple where the fi
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:583
↓ 2 callersMethodget_relationship_types
r"""Retrieve relationship types from the graph. Returns: List[str]: A list of relationship (edge) type names.
camel/storages/graph_storages/nebula_graph.py:158
↓ 2 callersMethodget_relationship_types
r"""Retrieve relationship types from the graph. Returns: List[str]: A list of relationship (edge) type names.
demo/Paper2Poster/camel/storages/graph_storages/nebula_graph.py:158
↓ 2 callersFunctionget_slide_content
(doc_json: dict, slide_title: str, slide: dict)
utils/src/utils.py:96
↓ 2 callersFunctionget_slide_content
(doc_json: dict, slide_title: str, slide: dict)
demo/Paper2Poster/utils/src/utils.py:96
↓ 2 callersFunctionget_task_list
r"""Parse the response of the Agent and return task list. Args: task_response (str): The string response of the Agent. Returns:
camel/utils/commons.py:135
↓ 2 callersFunctionget_task_list
r"""Parse the response of the Agent and return task list. Args: task_response (str): The string response of the Agent. Returns:
demo/Paper2Poster/camel/utils/commons.py:135
↓ 2 callersFunctionget_text_model
Initialize and return a text model. Args: device (str): The device to run the model on. Returns: BGEM3FlagModel: The in
utils/src/model_utils.py:55
↓ 2 callersMethodhandle_text_elements
( self, element: BaseOxmlElement, docx_obj: DocxDocument, doc: DoclingDocument
docling/backend/msword_backend.py:263
↓ 2 callersMethodhandle_text_elements
( self, element: BaseOxmlElement, docx_obj: DocxDocument, doc: DoclingDocument
demo/Paper2Poster/docling/backend/msword_backend.py:263
↓ 2 callersFunctionhtml_to_png
(html_abs_path, poster_width_default, poster_height_default, output_path)
utils/wei_utils.py:959
↓ 2 callersMethodis_processable
(self, doc: DoclingDocument, element: NodeItem)
docling/models/base_model.py:28
↓ 2 callersMethodis_processable
(self, doc: DoclingDocument, element: NodeItem)
demo/Paper2Poster/docling/models/base_model.py:28
↓ 2 callersMethodlist_available_logos
List all available logos in the system.
utils/logo_utils.py:330
↓ 2 callersMethodlist_available_logos
List all available logos in the system.
demo/Paper2Poster/utils/logo_utils.py:330
↓ 2 callersMethodload_page
(self, page_no: int)
demo/Paper2Poster/docling/backend/pdf_backend.py:63
↓ 2 callersFunctionmap_tesseract_script
r"""
docling/utils/ocr_utils.py:1
↓ 2 callersFunctionmap_tesseract_script
r"""
demo/Paper2Poster/docling/utils/ocr_utils.py:1
↓ 2 callersFunctionmerge_dict
(d1: dict, d2: list[dict])
utils/src/utils.py:291
↓ 2 callersFunctionmerge_dict
(d1: dict, d2: list[dict])
demo/Paper2Poster/utils/src/utils.py:291
↓ 2 callersFunctionmerge_evals
(folders: list[str], evals: dict)
utils/src/experiment/evals.py:117
↓ 2 callersFunctionmerge_evals
(folders: list[str], evals: dict)
demo/Paper2Poster/utils/src/experiment/evals.py:117
← previousnext →601–700 of 4,860, ranked by callers