AIPromptBase
Class
Definition
Namespace:Telerik.Blazor.Components.Common.AIPrompt
Assembly:Telerik.Blazor.dll
Syntax:
C#
public abstract class AIPromptBase : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentAIPromptBase
Derived Classes:
Implements:
Inherited Members
Constructors
C#
protected AIPromptBase()
Methods
Properties
Called when the users send a Prompt Request.
C#
[Parameter]
public EventCallback OnPromptRequestStop { get; set; }
The value of the text field and the prompt that is sent to the AI service.
C#
[Parameter]
public string Prompt { get; set; }
Called when the users changes the prompt text.
C#
[Parameter]
public EventCallback<string> PromptChanged { get; set; }
Defines the additional context that is passed with the prompt.
C#
[Parameter]
public string PromptContext { get; set; }
The placeholder for the prompt input.
C#
[Parameter]
public string PromptPlaceholder { get; set; }
Defines the system prompt that is passed to the , when such is used.
C#
[Parameter]
public string SystemPrompt { get; set; }