Table of Contents

Method CreateReAct

Namespace
LMKit.Agents.Planning
Assembly
LM-Kit.NET.dll

CreateReAct(int, string, string, string, string)

Creates a complete ReAct step with thought, action, and observation.

public static PlanningStep CreateReAct(int stepNumber, string thought, string action, string observation, string rawOutput = null)

Parameters

stepNumber int

The step number.

thought string

The thought content.

action string

The action taken.

observation string

The observation from the action.

rawOutput string

The raw model output.

Returns

PlanningStep

A new ReAct step.