haive.agents.research.open_perplexity.examples.batch_research¶

Batch research example demonstrating how to use the Open Perplexity research agent. to process multiple research topics in sequence.

Functions¶

conduct_research(agent, topic, output_dir)

Conduct research on a specific topic and save the report.

main()

Run batch research on multiple topics.

Module Contents¶

haive.agents.research.open_perplexity.examples.batch_research.conduct_research(agent, topic, output_dir)¶

Conduct research on a specific topic and save the report.

Parameters:
  • agent (haive.agents.open_perplexity.agent.ResearchAgent) – The research agent

  • topic (dict[str, str]) – Dict containing the research topic with title and query

  • output_dir (str) – Directory to save the report

Returns:

Dict containing research results and metadata

Return type:

dict

haive.agents.research.open_perplexity.examples.batch_research.main()¶

Run batch research on multiple topics.

Return type:

None