CriticResultFromLLM

data class CriticResultFromLLM(val isCorrect: Boolean, val feedback: String)(source)

Represents the result of a plan evaluation performed by an LLM (Large Language Model).

This class is primarily used within internal agent-related implementations where an LLM evaluates the correctness of a plan and optionally provides feedback for improvements.

Constructors

Link copied to clipboard
constructor(isCorrect: Boolean, feedback: String)

Properties

Link copied to clipboard

Optional feedback provided by the LLM about the evaluated plan. This property is populated only when the plan is deemed incorrect (isCorrect == false) and adjustments are suggested.

Link copied to clipboard

Indicates whether the evaluated plan is correct.