Mojentic.Examples.React.Models.ThoughtActionObservation (Mojentic v1.2.0)

Copy Markdown View Source

A single step in the ReAct loop capturing thought, action, and observation.

This model represents one iteration of the ReAct pattern where the agent:

  1. Thinks about what to do
  2. Takes an action
  3. Observes the result

Summary

Functions

Creates a new ThoughtActionObservation.

Types

t()

@type t() :: %Mojentic.Examples.React.Models.ThoughtActionObservation{
  action: String.t(),
  observation: String.t(),
  thought: String.t()
}

Functions

new(thought, action, observation)

Creates a new ThoughtActionObservation.