PromptRenderedEventArgs Class

Definition

Provides a CancelKernelEventArgs used in events raised just after a prompt has been rendered.

public sealed class PromptRenderedEventArgs : Microsoft.SemanticKernel.CancelKernelEventArgs
type PromptRenderedEventArgs = class
    inherit CancelKernelEventArgs
Public NotInheritable Class PromptRenderedEventArgs
Inherits CancelKernelEventArgs
Inheritance

Constructors

PromptRenderedEventArgs(KernelFunction, KernelArguments, String)

Initializes a new instance of the PromptRenderedEventArgs class.

Properties

Arguments

Gets the arguments associated with the operation.

(Inherited from KernelEventArgs)
Cancel

Gets or sets a value indicating whether the operation associated with the event should be canceled.

(Inherited from CancelKernelEventArgs)
Function

Gets the KernelFunction with which this event is associated.

(Inherited from KernelEventArgs)
Metadata

Gets a dictionary of metadata related to the event.

(Inherited from KernelEventArgs)
RenderedPrompt

Gets or sets the rendered prompt.

Applies to