Method CreateReAct
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
stepNumberintThe step number.
thoughtstringThe thought content.
actionstringThe action taken.
observationstringThe observation from the action.
rawOutputstringThe raw model output.
Returns
- PlanningStep
A new ReAct step.