Provides a base class for configuring Editor AI settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class EditorAIBaseSettingsBuilder
Inheritance: objectEditorAIBaseSettingsBuilder
Derived Classes:
Inherited Members
Constructors
C#
public EditorAIBaseSettingsBuilder(EditorAIBaseSettings container)
Properties
C#
protected EditorAIBaseSettings Container { get; }
Methods
Defines the commands for the AI tool. The commands are displayed in the AI tool dropdown.
C#
public EditorAIBaseSettingsBuilder Commands(Action<EditorAISettingsCommandFactory> configurator)
The configurator for the commands setting.
Returns:Defines the system prompt for the AI tool. The function accepts the following arguments: context - The selected text in the editor. or prompt - The user prompt..
Defines the system prompt for the AI tool. The function accepts the following arguments: context - The selected text in the editor. or prompt - The user prompt..
C#
public EditorAIBaseSettingsBuilder SystemPrompt(string handler)
The name of the JavaScript function that will be evaluated.
Returns: