A step-by-step guide to integrating a custom RAG-enabled AI agent into a Blazor application using the Telerik AIPrompt component. Covers adding the AIPrompt component, handling user prompts, customizing output views with Markdown-to-HTML conversion, defining commands and subcommands for switching between query and summarization modes, programmatically adding output to the history view via AddOutput, and providing suggested prompts to guide users.
Table of contents
Creating the Initial DisplayEnhancing the ResponseLetting the User Customize ProcessingProviding Suggested PromptsSort: