haive.agents.research.open_perplexity.configΒΆ
Configuration for the open_perplexity research agent.
from typing import Any This module defines the configuration class and factory methods for creating research agent configurations. It includes settings for LLM engines, tools, vector stores, and research parameters.
ClassesΒΆ
Configuration for open_perplexity research agent. |
Module ContentsΒΆ
- class haive.agents.research.open_perplexity.config.ResearchAgentConfigΒΆ
Bases:
haive.core.engine.agent.agent.AgentConfigConfiguration for open_perplexity research agent.
Defines all configuration parameters for the research agent, including state schemas, engines, tools, and research parameters.
- state_schemaΒΆ
Schema for the agent state
- input_schemaΒΆ
Schema for input to the agent
- output_schemaΒΆ
Schema for agent output
- enginesΒΆ
Dictionary of AugLLM engines for different tasks
- toolsΒΆ
Tools for research and analysis
- vectorstore_configΒΆ
Vector store configuration for document storage
- react_agent_nameΒΆ
Name of the configured ReAct agent
- rag_agent_nameΒΆ
Name of the configured RAG agent
- report_formatΒΆ
Format for the final report
- research_depthΒΆ
Depth of research (1-5, higher means more thorough)
- max_sources_per_queryΒΆ
Maximum number of sources to use per query
- concurrent_searchesΒΆ
Number of concurrent searches to perform
- default_report_sectionsΒΆ
Default sections for the research report
- classmethod from_scratch(name=None, llm_model='gpt-4o', **kwargs)ΒΆ
Create a research agent configuration from scratch.
Factory method to create a fully configured research agent with all necessary engines, tools, and settings.
- Parameters:
- Returns:
A fully configured research agent configuration
- Return type: