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

Chat prompt templates for Perplexity-style search workflow. from typing import Any, Dict These prompts guide the LLM through reasoning, query generation, and synthesis.

FunctionsΒΆ

create_query_generation_aug_llm(llm_config)

Create AugLLMConfig for query generation step.

create_reasoning_aug_llm(llm_config)

Create AugLLMConfig for query reasoning step.

create_synthesis_aug_llm(llm_config)

Create AugLLMConfig for synthesis step.

Module ContentsΒΆ

agents.research.perplexity.pro_search.search.prompts.create_query_generation_aug_llm(llm_config)ΒΆ

Create AugLLMConfig for query generation step.

Parameters:

llm_config (dict[str, Any])

agents.research.perplexity.pro_search.search.prompts.create_reasoning_aug_llm(llm_config)ΒΆ

Create AugLLMConfig for query reasoning step.

Parameters:

llm_config (dict[str, Any])

agents.research.perplexity.pro_search.search.prompts.create_synthesis_aug_llm(llm_config)ΒΆ

Create AugLLMConfig for synthesis step.

Parameters:

llm_config (dict[str, Any])