UI for Blazor
Telerik UI for Blazor AI Prompt component offers a range of functionalities, from generating responses to writing prompts and interacting with AI outputs, to executing a set of predefined commands. The Blazor AI Prompt is focused on providing users with a modern interface to interact with AI services, while enhancing usability for developers by offering smooth customization.
The Telerik UI for Blazor AI Prompt component enables three predefined views to interact with:
The default mode of the Telerik UI for Blazor AI Prompt toolbar is to showcase the button of the currently visible view, e.g., Output. Upon clicking, these built-in buttons trigger the view they represent. Defining custom tools within the AI Prompt control is also possible by using a simple tag.
Effortlessly customize the UI for Blazor AI Prompt to meet the desired look and feel. From configuring the button design to playing with the layout and footer template, you can adjust any feature to suit your needs.
The three predefined views of the Telerik UI for Blazor AI Prompt component can be easily configured by leveraging the available ViewTemplate and FooterTemplate. The ViewTemplate allows you to control the rendering of the view's content, while the FooterTemplate handles the rendering of the footer within individual views.
The AI Prompt also supports a PromptSuggestionItem Template for controlling the appearance of individual suggestions and a CommandItem Template that is used to define a custom markup for the command items.
To ensure smooth interaction, the UI for Blazor AI Prompt includes the following set of events:
The AI Prompt control has built-in localization support, which makes it easy to translate text to any language that your Blazor app may require.
The Telerik UI for Blazor AI Prompt supports right-to-left configuration. The RTL functionality is supported by most Telerik components to accommodate users who communicate in a right-to-left language script, such as Arabic and Hebrew.