agents.reasoning_and_critique.reflection.configΒΆ
Configuration for the Reflection Agent.
ClassesΒΆ
Configuration for an agent that uses reflection to improve responses. |
|
Configuration specific to the reflection mechanism. |
Module ContentsΒΆ
- class agents.reasoning_and_critique.reflection.config.ReflectionAgentConfigΒΆ
Bases:
haive.agents.simple.config.SimpleAgentConfig
Configuration for an agent that uses reflection to improve responses.
- classmethod from_aug_llm(aug_llm, name=None, system_prompt=None, **kwargs)ΒΆ
Create a ReflectionAgentConfig from an existing AugLLMConfig.
- Parameters:
- Return type:
- class agents.reasoning_and_critique.reflection.config.ReflectionConfig(/, **data)ΒΆ
Bases:
pydantic.BaseModel
Configuration specific to the reflection mechanism.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)