Partager via


PlanCreationException Class

Definition

Exception thrown when a plan cannot be created.

public sealed class PlanCreationException : Microsoft.SemanticKernel.KernelException
type PlanCreationException = class
    inherit KernelException
Public NotInheritable Class PlanCreationException
Inherits KernelException
Inheritance
PlanCreationException

Constructors

PlanCreationException()

Initializes a new instance of the PlanCreationException class.

PlanCreationException(String, Exception)

Initializes a new instance of the PlanCreationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

PlanCreationException(String, String, ChatMessageContent, Exception)

Initializes a new instance of the PlanCreationException class. Exception thrown when a plan cannot be created containing the prompt and model results.

PlanCreationException(String)

Initializes a new instance of the PlanCreationException class with a specified error message.

Properties

CreatePlanPrompt

Gets the prompt template used to generate the plan.

ModelResults

Completion results from the model; generally, this is the proposed plan.

Applies to