Kendo UI messages TagHelper AIPromptMessagesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("messages", ParentTag = "kendo-aiprompt", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("messages", ParentTag = "ai-assistant", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class AIPromptMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseAIPromptMessagesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-aiprompt name="aiprompt">
<messages commands-view="View Commands" />
</kendo-aiprompt>
Constructors
Initializes a new instance of the AIPromptMessagesSettingsTagHelper class.
public AIPromptMessagesSettingsTagHelper()
Properties
The text of the commands view button in the ToolBar.
public string CommandsView { get; set; }
The text of the copy output button in the output element.
public string CopyOutput { get; set; }
The text of the custom view button in the ToolBar.
public string CustomView { get; set; }
The text of the generate output button in the prompt view footer.
public string GenerateOutput { get; set; }
The title of the output card when the output is generated after clicking the retry button of an output.
public string OutputRetryTitle { get; set; }
The title of the output card when the output is generated.
public string OutputTitle { get; set; }
The text of the output view button in the ToolBar.
public string OutputView { get; set; }
The placeholder text of the textarea input of the prompt view.
public string PromptPlaceholder { get; set; }
The text of the prompt suggestions toggle button in the prompt view.
public string PromptSuggestions { get; set; }
The text of the prompt view button in the ToolBar.
public string PromptView { get; set; }
The text of the negative rating button in the output card.
public string RateNegative { get; set; }
The text of the positive rating button in the output card.
public string RatePositive { get; set; }
The text of the retry generation button in the output card.
public string RetryGeneration { get; set; }
The aria-label and title of the stop generation button that appears during streaming operations.
public string StopGeneration { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.