New to Telerik UI for Blazor? Start a free 30-day trial

Event arguments raised every time the user submits a prompt, for both generation and refinement.

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public sealed class DatAInsightsComposerPromptSubmitEventArgs : ICancellableEventArgs

Inheritance: objectDatAInsightsComposerPromptSubmitEventArgs

Implements: ICancellableEventArgs

Constructors

C#
public DatAInsightsComposerPromptSubmitEventArgs()

Properties

Canceled by the component when the end user clicks the stop button while this handler is running (before OnPromptCancel is raised). Pass it to your own async calls so they abort too.

C#
public CancellationToken CancellationToken { get; set; }

Set to true to cancel the default prompt processing.

C#
public bool IsCancelled { get; set; }

Implements: ICancellableEventArgs.IsCancelled

The submitted prompt.

C#
public string Prompt { get; set; }