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