# EditorAIBaseSettingsBuilder

## Methods

### SystemPrompt(System.String)

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..

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

The current [EditorAIBaseSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editoraibasesettingsbuilder) instance.

### SystemPrompt(System.Func)

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..

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

The current [EditorAIBaseSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editoraibasesettingsbuilder) instance.

### Commands(System.Action)

Defines the commands for the AI tool. The commands are displayed in the AI tool dropdown.

#### Parameters

##### configurator - System.Action<[EditorAISettingsCommandFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editoraisettingscommandfactory)>

The configurator for the commands setting.

#### RETURNS

The current [EditorAIBaseSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/editoraibasesettingsbuilder) instance.
