New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring AIPromptMessagesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class AIPromptMessagesSettingsBuilder

Inheritance: objectAIPromptMessagesSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

AIPromptMessagesSettingsBuilder method.

C#
public AIPromptMessagesSettingsBuilder(AIPromptMessagesSettings container)
Parameters:containerAIPromptMessagesSettings

Properties

Gets the settings being configured.

C#
protected AIPromptMessagesSettings Container { get; }

Methods

The text of the commands view button in the ToolBar.

C#
public AIPromptMessagesSettingsBuilder CommandsView(string value)
Parameters:valuestring

The value for CommandsView

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the copy output button in the output element.

C#
public AIPromptMessagesSettingsBuilder CopyOutput(string value)
Parameters:valuestring

The value for CopyOutput

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the custom view button in the ToolBar.

C#
public AIPromptMessagesSettingsBuilder CustomView(string value)
Parameters:valuestring

The value for CustomView

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the generate output button in the prompt view footer.

C#
public AIPromptMessagesSettingsBuilder GenerateOutput(string value)
Parameters:valuestring

The value for GenerateOutput

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The title of the output card when the output is generated after clicking the retry button of an output.

C#
public AIPromptMessagesSettingsBuilder OutputRetryTitle(string value)
Parameters:valuestring

The value for OutputRetryTitle

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The title of the output card when the output is generated.

C#
public AIPromptMessagesSettingsBuilder OutputTitle(string value)
Parameters:valuestring

The value for OutputTitle

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the output view button in the ToolBar.

C#
public AIPromptMessagesSettingsBuilder OutputView(string value)
Parameters:valuestring

The value for OutputView

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The placeholder text of the textarea input of the prompt view.

C#
public AIPromptMessagesSettingsBuilder PromptPlaceholder(string value)
Parameters:valuestring

The value for PromptPlaceholder

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the prompt suggestions toggle button in the prompt view.

C#
public AIPromptMessagesSettingsBuilder PromptSuggestions(string value)
Parameters:valuestring

The value for PromptSuggestions

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the prompt view button in the ToolBar.

C#
public AIPromptMessagesSettingsBuilder PromptView(string value)
Parameters:valuestring

The value for PromptView

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the negative rating button in the output card.

C#
public AIPromptMessagesSettingsBuilder RateNegative(string value)
Parameters:valuestring

The value for RateNegative

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the positive rating button in the output card.

C#
public AIPromptMessagesSettingsBuilder RatePositive(string value)
Parameters:valuestring

The value for RatePositive

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The text of the retry generation button in the output card.

C#
public AIPromptMessagesSettingsBuilder RetryGeneration(string value)
Parameters:valuestring

The value for RetryGeneration

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.

The aria-label and title of the stop generation button that appears during streaming operations.

C#
public AIPromptMessagesSettingsBuilder StopGeneration(string value)
Parameters:valuestring

The value for StopGeneration

Returns:

AIPromptMessagesSettingsBuilder

Returns the current AIPromptMessagesSettingsBuilder instance.