haive.agents.reasoning_and_critique.reflexion.state¶
Reflexion agent state.
Classes¶
State for the Reflexion graph. |
Module Contents¶
- class haive.agents.reasoning_and_critique.reflexion.state.ReflexionState¶
Bases:
TypedDictState for the Reflexion graph.
- Fields:
input: The original user query. draft: The current best answer text. reflections: List of reflection/critique strings from each iteration. revision_count: How many revise iterations have been completed.
Initialize self. See help(type(self)) for accurate signature.