Provides a fluent interface for configuring Editor AI settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorAISettingsBuilder
Inheritance: objectEditorAISettingsBuilder
Inherited Members
Constructors
Properties
protected EditorAISettings Container { get; }
Methods
Defines the configuration options for the side panel AI Prompt tool in the Editor.
public EditorAISettingsBuilder AIPrompt(Action<EditorAIPromptSettingsBuilder> configurator)
The configurator for the inline setting.
Returns:Defines the configuration options for the inline AI Prompt tool in the Editor.
public EditorAISettingsBuilder AIPrompt(bool enabled)
Enables or disables the inline option.
Returns:Defines the commands for the AI tool. The commands are displayed in the AI tool dropdown.
public EditorAISettingsBuilder Commands(Action<EditorAISettingsCommandFactory> configurator)
The configurator for the commands setting.
Returns:Defines the configuration options for the inline AI Prompt tool in the Editor. If set to false, the inline AI Prompt tool is disabled.
public EditorAISettingsBuilder InlineAIPrompt(Action<EditorAIBaseSettingsBuilder> configurator)
The configurator for the popup setting.
Returns:Defines the configuration options for the popup AI tool in the Editor. If set to false, the popup AI tool is disabled.
public EditorAISettingsBuilder InlineAIPrompt(bool enabled)
Enables or disables the popup option.
Returns:Defines the configuration options for the Splitter Pane containing the side panel AI Prompt. This allows you to control the pane's size, minimum size, collapsibility, and collapsed state.
public EditorAISettingsBuilder Pane(Action<EditorAIPaneSettingsBuilder> configurator)
The configurator for the pane setting.
Returns:The URL of the AI service to use for generating outputs.
public EditorAISettingsBuilder Service(Action<AIPromptServiceSettingsBuilder> configurator)
The configurator for the service setting.
Returns: