New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Properties

AIPrompt specific properties to customize the Control.

AIPrompt Properties

NameReturn typeDescription
ActiveViewIndexintGet/Set the active view.
PromptSuggestionItemTemplatestringGet/Set the Template of the PromptSuggestion.
ShowOutputRatingboolGet/Set the visibility of the output rating.
PromptSuggestionsstring[]Get/Set the PromptSuggestion array.
ViewsTelerik.Web.UI.AIPrompt.ViewsCollectionGet the collection of AIPromptView.
ToolbarItemsTelerik.Web.UI.AIPrompt.ToolbarItemsCollectionGet the collection of ToolbarItems.
PromptCommandsTelerik.Web.UI.AIPrompt.ViewPromptCommandsCollectionGet the collection of ViewPromptCommand.
PromptOutputsTelerik.Web.UI.AIPrompt.PromptOutputsCollectionGet the collection of PromptOutputs.
MessagesTelerik.Web.UI.AIPrompt.MessagesGet/Set the Messages displayed in the Control.

View Properties

NameReturn typeDescription
NamestringGet/Set the View Name.
TypeTelerik.Web.UI.AIPromptViewTypeGet/Set the View Type.
ButtonIconstringGet/Set the View Icon.
ButtonTextstringGet/Set the View Text.
InitializeComponentsfunctionSet a function that will be initialzed with the view.

Toolbar Item Properties

NameReturn typeDescription
TypeTelerik.Web.UI.ToolbarItemTypeGet/Set the Toolbar Item type.
IconstringGet/Set the Icon.
ClickfunctionSet a click function.

Prompt Command Properties

NameReturn typeDescription
IDstringGet/Set the Prompt Command ID.
TextstringGet/Set the Prompt Command Text.
IconstringGet/Set the Prompt Command Icon.

Prompt Output Properties

NameReturn typeDescription
IDstringGet/Set the Prompt Output ID.
PromptstringGet/Set the Prompt.
OutputstringGet/Set the Output.

Messages

NameReturn typeDescription
CommandsViewstringGets/Sets the text of the commands view button in the ToolBar.
CopyOutputstringGets/Sets the text of the copy output button in the output element.
CustomViewstringGets/Sets the text of the custom view button in the ToolBar.
GenerateOutputstringGets/Sets the text of the generate output button in the prompt view footer.
OutputRetryTitlestringGets/Sets the title of the output card when the output is generated after clicking the retry button of an output.
OutputTitlestringGets/Sets the title of the output card when the output is generated.
OutputViewstringGets/Sets the text of the commands view button in the ToolBar.
PromptPlaceholderstringGets/Sets the placeholder text of the textarea input of the prompt view.
PromptSuggestionsstringGets/Sets the text of the prompt suggestions toggle button in the prompt view.
PromptViewstringGets/Sets the text of the prompt view button in the ToolBar.
RetryGenerationstringGets/Sets the text of the retry generation button in the output card.

Next Steps