ClassEditorAIPromptSettings
Configuration settings for AI Prompt integration in the Editor component. Controls AI-powered content generation, editing assistance, and available AI commands. Use within EditorSettings to customize AI functionality.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class EditorAIPromptSettings : EditorAIPromptSettingsBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentEditorAIPromptSettingsBaseEditorAIPromptSettings
Implements:
Inherited Members
Constructors
EditorAIPromptSettings()
Declaration
public EditorAIPromptSettings()
Properties
Commands
Defines the available AI commands that users can execute within the AI Prompt interface. Use predefined commands from EditorDefaultAIPromptCommands or create custom commands. Commands define AI actions like "Summarize", "Expand", "Rewrite", or application-specific operations. Each command includes prompts, icons, and behaviors for different AI-powered content operations. Default value includes standard editing commands like summarize, expand, and improve text.
Declaration
[Parameter]
public List<AIPromptCommandDescriptor> Commands { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides