MCPcopy Create free account

hub / github.com/Paper2Poster/Paper2Poster / functions

Functions4,860 in github.com/Paper2Poster/Paper2Poster

↓ 1 callersMethodquery
r"""Searches for similar vectors in the storage based on the provided query. Args: query (VectorDBQuery): The query objec
demo/Paper2Poster/camel/storages/vectordb_storages/base.py:156
↓ 1 callersMethodquestion_scorer
r"""Scorer for the GAIA benchmark. https://huggingface.co/spaces/gaia-benchmark/leaderboard/blob/main/ scorer.py Args:
camel/benchmarks/gaia.py:365
↓ 1 callersMethodquestion_scorer
r"""Scorer for the GAIA benchmark. https://huggingface.co/spaces/gaia-benchmark/leaderboard/blob/main/ scorer.py Args:
demo/Paper2Poster/camel/benchmarks/gaia.py:365
↓ 1 callersFunctionragas_calculate_metrics
r"""Calculate RAGAS evaluation metrics. Args: dataset (Dataset): The dataset containing predictions and ground truth. pred_contex
camel/benchmarks/ragbench.py:119
↓ 1 callersFunctionragas_calculate_metrics
r"""Calculate RAGAS evaluation metrics. Args: dataset (Dataset): The dataset containing predictions and ground truth. pred_contex
demo/Paper2Poster/camel/benchmarks/ragbench.py:119
↓ 1 callersFunctionragas_evaluate_dataset
r"""Evaluate the dataset using RAGAS metrics. Args: dataset (Dataset): Input dataset to evaluate. contexts_field_name (Optional[s
camel/benchmarks/ragbench.py:174
↓ 1 callersFunctionragas_evaluate_dataset
r"""Evaluate the dataset using RAGAS metrics. Args: dataset (Dataset): Input dataset to evaluate. contexts_field_name (Optional[s
demo/Paper2Poster/camel/benchmarks/ragbench.py:174
↓ 1 callersMethodread_csv
r"""Reads a CSV file and returns a DataFrame. Args: file_path (str): The path to the CSV file. *args (Any): Additiona
camel/loaders/panda_reader.py:123
↓ 1 callersMethodread_excel
r"""Reads an Excel file and returns a DataFrame. Args: file_path (str): The path to the Excel file. *args (Any): Addi
camel/loaders/panda_reader.py:139
↓ 1 callersMethodread_excel
r"""Reads an Excel file and returns a DataFrame. Args: file_path (str): The path to the Excel file. *args (Any): Addi
demo/Paper2Poster/camel/loaders/panda_reader.py:139
↓ 1 callersMethodread_parquet
r"""Reads a Parquet file and returns a DataFrame. Args: file_path (str): The path to the Parquet file. *args (Any): A
camel/loaders/panda_reader.py:171
↓ 1 callersMethodread_parquet
r"""Reads a Parquet file and returns a DataFrame. Args: file_path (str): The path to the Parquet file. *args (Any): A
demo/Paper2Poster/camel/loaders/panda_reader.py:171
↓ 1 callersFunctionrebuild_first_columns_region_to_three
(tex: str, blocks_latex: list[str])
demo/posterbuilder/build_poster.py:149
↓ 1 callersFunctionrebuild_first_columns_region_to_three
(tex: str, blocks_latex: list[str])
demo/posterbuilder/convert.py:385
↓ 1 callersFunctionrecover_name_and_location
(outline_no_name, outline)
PosterAgent/gen_outline_layout.py:85
↓ 1 callersFunctionrecover_name_and_location
(outline_no_name, outline)
PosterAgent/gen_outline_layout_parallel.py:270
↓ 1 callersFunctionrecover_name_and_location
(outline_no_name, outline)
demo/Paper2Poster/PosterAgent/gen_outline_layout_parallel.py:270
↓ 1 callersMethodreduce_step
r"""Performs one step of the conversation by flattening options to the critic, getting the option, and parsing the choice. Args:
camel/agents/critic_agent.py:165
↓ 1 callersMethodreduce_step
r"""Performs one step of the conversation by flattening options to the critic, getting the option, and parsing the choice. Args:
demo/Paper2Poster/camel/agents/critic_agent.py:165
↓ 1 callersMethodrefine_3d_model
r"""Refines a 3D model using the Meshy API. Args: preview_task_id (str): The task ID of the preview to refine. Returns:
camel/toolkits/meshy_toolkit.py:77
↓ 1 callersMethodrefine_3d_model
r"""Refines a 3D model using the Meshy API. Args: preview_task_id (str): The task ID of the preview to refine. Returns:
demo/Paper2Poster/camel/toolkits/meshy_toolkit.py:77
↓ 1 callersMethodrefresh_access_token
r"""Refresh the access token using a refresh token. Args: refresh_token (str): The refresh token issued by Discord that
camel/bots/discord/discord_app.py:205
↓ 1 callersMethodrefresh_access_token
r"""Refresh the access token using a refresh token. Args: refresh_token (str): The refresh token issued by Discord that
demo/Paper2Poster/camel/bots/discord/discord_app.py:205
↓ 1 callersFunctionrender_overleaf_button
(overleaf_b64)
demo/app.py:481
↓ 1 callersFunctionrender_textbox
(text_arrangement, textbox_content, tmp_dir)
PosterAgent/gen_poster_content.py:134
↓ 1 callersFunctionrender_textbox
(text_arrangement, textbox_content, tmp_dir)
demo/Paper2Poster/PosterAgent/gen_poster_content.py:134
↓ 1 callersFunctionrendered_dims
(html: Path)
utils/wei_utils.py:939
↓ 1 callersFunctionreplace_mentions_of_figures
(latex, figure_dir)
utils/src/experiment/baseline_kctv.py:67
↓ 1 callersFunctionreplace_mentions_of_figures
(latex, figure_dir)
demo/Paper2Poster/utils/src/experiment/baseline_kctv.py:67
↓ 1 callersFunctionresolve_colors
Resolve color configuration with fallbacks to defaults. Args: title_text_color: Title text color from config title_fill_colo
utils/theme_utils.py:60
↓ 1 callersFunctionresolve_images_parent_dir
(sample_fig_paths)
demo/posterbuilder/build_poster.py:257
↓ 1 callersFunctionresolve_images_parent_dir
(sample_paths)
demo/posterbuilder/convert_baposter.py:391
↓ 1 callersFunctionresolve_images_parent_dir
(sample_fig_paths)
demo/posterbuilder/convert.py:484
↓ 1 callersMethodresults
r"""Get the results. Returns: List[Dict[str, Any]]: The results.
camel/benchmarks/base.py:146
↓ 1 callersMethodresults
r"""Get the results. Returns: List[Dict[str, Any]]: The results.
demo/Paper2Poster/camel/benchmarks/base.py:146
↓ 1 callersMethodretrieve
r"""Retrieve the relevant content for the query. Args: query (str): The query to retrieve the content for. contents (
camel/benchmarks/gaia.py:40
↓ 1 callersMethodretrieve
r"""Retrieve the relevant content for the query. Args: query (str): The query to retrieve the content for. contents (
demo/Paper2Poster/camel/benchmarks/gaia.py:40
↓ 1 callersFunctionreturn_prompt_wrapper
r"""Wrapper that converts the return value of a function to an input class instance if it's a string. Args: cls (Any): The class to c
camel/prompts/base.py:24
↓ 1 callersFunctionreturn_prompt_wrapper
r"""Wrapper that converts the return value of a function to an input class instance if it's a string. Args: cls (Any): The class to c
demo/Paper2Poster/camel/prompts/base.py:24
↓ 1 callersMethodreturn_task
r"""Return a task to the sender, indicating that the task has been processed by the worker.
camel/societies/workforce/task_channel.py:140
↓ 1 callersMethodreturn_task
r"""Return a task to the sender, indicating that the task has been processed by the worker.
demo/Paper2Poster/camel/societies/workforce/task_channel.py:140
↓ 1 callersFunctionrewrite_baposter_header
(tex: str, title_wrapped: str, authors: str, affiliations: str)
demo/posterbuilder/convert_baposter.py:323
↓ 1 callersFunctionrmse
r"""Calculate Root Mean Squared Error (RMSE). Args: input_trues (Sequence[float]): Ground truth values. input_preds (Sequence[flo
camel/benchmarks/ragbench.py:65
↓ 1 callersFunctionrmse
r"""Calculate Root Mean Squared Error (RMSE). Args: input_trues (Sequence[float]): Ground truth values. input_preds (Sequence[flo
demo/Paper2Poster/camel/benchmarks/ragbench.py:65
↓ 1 callersMethodrun
r"""Executes the given code in the conatiner attached to the interpreter, and captures the stdout and stderr streams. Args:
camel/interpreters/docker_interpreter.py:165
↓ 1 callersMethodrun
r"""Generate subtasks based on the input task prompt. Args: task_prompt (Union[str, TextPrompt]): The prompt for the task to
camel/agents/task_agent.py:168
↓ 1 callersMethodrun
r"""Executes the given code in the conatiner attached to the interpreter, and captures the stdout and stderr streams. Args:
demo/Paper2Poster/camel/interpreters/docker_interpreter.py:165
↓ 1 callersMethodrun
r"""Generate subtasks based on the input task prompt. Args: task_prompt (Union[str, TextPrompt]): The prompt for the task to
demo/Paper2Poster/camel/agents/task_agent.py:168
↓ 1 callersMethodrun_atomic
r"""Run an atomic operation on the agent. Ensures thread-safe execution of the callback function by using a lock. Args:
camel/agents/programmed_agent_instruction.py:163
↓ 1 callersMethodrun_atomic
r"""Run an atomic operation on the agent. Ensures thread-safe execution of the callback function by using a lock. Args:
demo/Paper2Poster/camel/agents/programmed_agent_instruction.py:163
↓ 1 callersMethodrun_file
r"""Executes a code file in a subprocess and captures its output. Args: file (Path): The path object of the file to run.
camel/interpreters/subprocess_interpreter.py:78
↓ 1 callersMethodrun_file
r"""Executes a code file in a subprocess and captures its output. Args: file (Path): The path object of the file to run.
demo/Paper2Poster/camel/interpreters/subprocess_interpreter.py:78
↓ 1 callersFunctionrun_modular
(all_code, file_name, with_border=True, with_label=True)
utils/wei_utils.py:264
↓ 1 callersFunctionrun_paper2poster_content_build
()
demo/pipeline.py:46
↓ 1 callersFunctionrun_pipeline
Invoke eval_poster_pipeline.py for a single paper.
Paper2Poster-eval/eval_qa_fix.py:50
↓ 1 callersFunctionrun_pipeline
Invoke eval_poster_pipeline.py for a single paper.
demo/Paper2Poster/Paper2Poster-eval/eval_qa_fix.py:50
↓ 1 callersFunctionrun_qa_and_update_results
If single_model_name is provided, run QA for that one model only, but update an existing JSON file (which already contains the other mode
Paper2Poster-eval/eval_poster_pipeline.py:14
↓ 1 callersFunctionrun_qa_and_update_results
If single_model_name is provided, run QA for that one model only, but update an existing JSON file (which already contains the other mode
demo/Paper2Poster/Paper2Poster-eval/eval_poster_pipeline.py:14
↓ 1 callersMethodsample_human_tasks
r"""Sample a specified number of human tasks from the loaded seed. Args: count (int): Number of human tasks to sample. R
camel/datagen/self_instruct/self_instruct.py:105
↓ 1 callersMethodsample_human_tasks
r"""Sample a specified number of human tasks from the loaded seed. Args: count (int): Number of human tasks to sample. R
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:105
↓ 1 callersMethodsample_machine_tasks
r"""Sample a specified number of machine tasks. Args: count (int): Number of machine tasks to sample. Returns:
camel/datagen/self_instruct/self_instruct.py:118
↓ 1 callersMethodsample_machine_tasks
r"""Sample a specified number of machine tasks. Args: count (int): Number of machine tasks to sample. Returns:
demo/Paper2Poster/camel/datagen/self_instruct/self_instruct.py:118
↓ 1 callersFunctionsanitize_and_enforce_required
r"""Cleans and updates the function schema to conform with OpenAI's requirements: - Removes invalid 'default' fields from the parameters schem
camel/toolkits/function_tool.py:189
↓ 1 callersFunctionsanitize_and_enforce_required
r"""Cleans and updates the function schema to conform with OpenAI's requirements: - Removes invalid 'default' fields from the parameters schem
demo/Paper2Poster/camel/toolkits/function_tool.py:189
↓ 1 callersFunctionsanitize_for_latex
Convert any character that is not alphanumeric into underscore for LaTeX compatibility.
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:6
↓ 1 callersMethodsanitize_text
(self, lines)
docling/models/page_assemble_model.py:32
↓ 1 callersMethodsanitize_text
(self, lines)
demo/Paper2Poster/docling/models/page_assemble_model.py:32
↓ 1 callersFunctionsave_beamer_code
Save Beamer code to file.
demo/Paper2Poster/PosterAgent/gen_beamer_code.py:210
↓ 1 callersMethodsave_history
Save the conversation history to a file.
utils/src/llms.py:339
↓ 1 callersMethodsave_history
Save the conversation history to a file.
demo/Paper2Poster/utils/src/llms.py:339
↓ 1 callersFunctionsave_poster_code
(output_file, utils_functions, presentation_object_name)
PosterAgent/gen_pptx_code.py:20
↓ 1 callersFunctionsave_poster_code
(output_file, utils_functions, presentation_object_name)
demo/Paper2Poster/PosterAgent/gen_pptx_code.py:20
↓ 1 callersFunctionscale_to_target_area
Scale the given width and height by the same factor to achieve a new area equal to target_width * target_height while preserving the aspect
utils/wei_utils.py:989
↓ 1 callersFunctionscale_to_target_area
Scale the given width and height by the same factor to achieve a new area equal to target_width * target_height while preserving the aspect
demo/Paper2Poster/utils/wei_utils.py:989
↓ 1 callersMethodsearch_logo_web
Search for a logo on the web using DuckDuckGo or Google. Args: query: Search query use_google: Whether to us
utils/logo_utils.py:208
↓ 1 callersMethodsearch_logo_web
Search for a logo on the web using DuckDuckGo or Google. Args: query: Search query use_google: Whether to us
demo/Paper2Poster/utils/logo_utils.py:208
↓ 1 callersMethodsearch_reddit
r"""Search Reddit based on the provided keywords. Args: keywords (List[str]): The keywords to search for on Reddit. n
camel/toolkits/ask_news_toolkit.py:214
↓ 1 callersMethodsearch_reddit
r"""Search Reddit based on the provided keywords. Args: keywords (List[str]): The keywords to search for on Reddit. n
demo/Paper2Poster/camel/toolkits/ask_news_toolkit.py:214
↓ 1 callersMethodset_output_language
r"""Sets the output language for the system message. This method updates the output language for the system message. The output langua
camel/agents/chat_agent.py:450
↓ 1 callersMethodset_output_language
r"""Sets the output language for the system message. This method updates the output language for the system message. The output langua
demo/Paper2Poster/camel/agents/chat_agent.py:450
↓ 1 callersMethodset_session
(self, session_id)
utils/src/utils.py:323
↓ 1 callersMethodset_session
(self, session_id)
demo/Paper2Poster/utils/src/utils.py:323
↓ 1 callersMethodsetup_handlers
r"""Sets up the event handlers for Slack events, such as `app_mention` and `message`. This method registers the `app_mention` and `on
camel/bots/slack/slack_app.py:137
↓ 1 callersMethodsetup_handlers
r"""Sets up the event handlers for Slack events, such as `app_mention` and `message`. This method registers the `app_mention` and `on
demo/Paper2Poster/camel/bots/slack/slack_app.py:137
↓ 1 callersFunctionshuffle_question_options
Shuffle the order of the options for each question in the question_data. Also updates the "answer" field so that it uses the new letter corre
utils/poster_eval_utils.py:935
↓ 1 callersFunctionshuffle_question_options
Shuffle the order of the options for each question in the question_data. Also updates the "answer" field so that it uses the new letter corre
demo/Paper2Poster/utils/poster_eval_utils.py:935
↓ 1 callersFunctionslide_score
(slide_folder: str)
utils/src/experiment/evals.py:125
↓ 1 callersFunctionslide_score
(slide_folder: str)
demo/Paper2Poster/utils/src/experiment/evals.py:125
↓ 1 callersFunctionslug_name
(s: str)
demo/posterbuilder/convert_baposter.py:115
↓ 1 callersFunctionsoft_wrap_title_for_logo
(title: str, first_limit=68, next_limit=72)
demo/posterbuilder/build_poster.py:62
↓ 1 callersFunctionsoft_wrap_title_for_logo
(title: str, first_limit=68, next_limit=72)
demo/posterbuilder/convert_baposter.py:69
↓ 1 callersFunctionsoft_wrap_title_for_logo
(title: str, first_limit=68, next_limit=72)
demo/posterbuilder/convert.py:272
↓ 1 callersFunctionsplit_even_continuous
(blocks: list[str], n_cols: int)
demo/posterbuilder/build_poster.py:141
↓ 1 callersFunctionsplit_even_continuous
(blocks: list[str], n_cols: int)
demo/posterbuilder/convert.py:377
↓ 1 callersMethodsplit_text_and_number
(self, input_string: str)
docling/backend/msword_backend.py:208
↓ 1 callersMethodsplit_text_and_number
(self, input_string: str)
demo/Paper2Poster/docling/backend/msword_backend.py:208
↓ 1 callersFunctionsplit_textbox
Splits a textbox dictionary horizontally into two parts. Parameters: textbox (dict): A dictionary with the keys
PosterAgent/tree_split_layout.py:552
↓ 1 callersMethodstart
r"""Asynchronously start the Discord bot using its token. This method starts the bot and logs into Discord asynchronously using the p
camel/bots/discord/discord_app.py:123
↓ 1 callersMethodstart
r"""Asynchronously start the Discord bot using its token. This method starts the bot and logs into Discord asynchronously using the p
demo/Paper2Poster/camel/bots/discord/discord_app.py:123
↓ 1 callersFunctionstatistic_humaneval
(eval_file: str, print_diff: bool = False)
utils/src/experiment/statistic.py:23
← previousnext →1,901–2,000 of 4,860, ranked by callers