# GridAiSettingsBuilder

## Methods

### AIAssistant(System.Action)

The URL or the configuration of the AI service to use for generating outputs.

#### Parameters

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

The configurator for the AI Assistant setting.

#### RETURNS

Returns the current instance of [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) .

### AIAssistantWindow(System.Action)

Defines the configuration options for the AI AssistantWindow in the Grid. If set to `false`, the AI AssistantWindow is disabled.

#### Parameters

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

The configurator for the AI AssistantWindow setting.

#### RETURNS

Returns the current instance of [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) .

### Service(System.String)

The URL or the configuration of the AI service to use for generating outputs.

#### Parameters

##### url - `System.String`

The url for the service.

#### RETURNS

Returns the current instance of [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) .

### Service(System.Action)

The URL or the configuration of the AI service to use for generating outputs.

#### Parameters

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

The configurator for the service setting.

#### RETURNS

Returns the current instance of [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) .

### AutoClose(System.Boolean)

Configures if the AI Assistant Window should remain visible after the response.

#### Parameters

##### value - `System.Boolean`

The value for AutoClose

#### RETURNS

Returns the current [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) instance.

### KeepOutputHistory(System.Boolean)

Configures if the AI Assistant output should be cleared after closing.

#### Parameters

##### value - `System.Boolean`

The value for KeepOutputHistory

#### RETURNS

Returns the current [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) instance.

### KeepOutputHistory()

Configures if the AI Assistant output should be cleared after closing.

#### RETURNS

Returns the current [GridAiSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridaisettingsbuilder) instance.
