Table of Contents

Class PlanningStepResult

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

Represents the result of processing a planning step.

Returned by ProcessOutput(PlanningContext, string) to indicate the planning state and provide extracted content.

public sealed class PlanningStepResult
Inheritance
PlanningStepResult
Inherited Members

Properties

Action

Gets the action to take, if any.

ActionInput

Gets the action input or arguments, if any.

Error

Gets the error message when status is Failed.

FinalAnswer

Gets the final answer when status is Complete.

Status

Gets the status indicating what should happen next.

Step

Gets the recorded planning step, if any.

Thought

Gets the extracted thought or reasoning from this step.

Methods

ActionRequired(string, string, string, PlanningStep)

Creates a result indicating an action is required.

Complete(string, PlanningStep)

Creates a result indicating planning is complete.

Continue(string, PlanningStep)

Creates a result indicating planning should continue.

Failed(string)

Creates a result indicating planning failed.