agents.research.perplexity.pro_search.tasks.promptsΒΆ

Chat prompt templates for recursive conditional planning with tree-based decomposition. from typing import Any, Dict These prompts guide task decomposition, execution planning, and adaptive replanning.

FunctionsΒΆ

create_decomposition_aug_llm(llm_config)

Create AugLLMConfig for task decomposition.

create_execution_planning_aug_llm(llm_config)

Create AugLLMConfig for execution planning.

create_replanning_analysis_aug_llm(llm_config)

Create AugLLMConfig for replanning analysis.

Module ContentsΒΆ

agents.research.perplexity.pro_search.tasks.prompts.create_decomposition_aug_llm(llm_config)ΒΆ

Create AugLLMConfig for task decomposition.

Parameters:

llm_config (dict[str, Any])

agents.research.perplexity.pro_search.tasks.prompts.create_execution_planning_aug_llm(llm_config)ΒΆ

Create AugLLMConfig for execution planning.

Parameters:

llm_config (dict[str, Any])

agents.research.perplexity.pro_search.tasks.prompts.create_replanning_analysis_aug_llm(llm_config)ΒΆ

Create AugLLMConfig for replanning analysis.

Parameters:

llm_config (dict[str, Any])