A step-by-step walkthrough for building a RAG-enhanced custom AI agent in C#/Blazor using Telerik Document Processing Libraries. Covers connecting to Azure OpenAI or Ollama LLMs, loading DOCX/PDF/HTML documents into a SimpleTextDocument, merging multiple documents, and using the Telerik AI summarization processor to ground the LLM in custom content. Includes practical notes on performance differences between Azure and Ollama, timeout handling, and token cost management via the SummaryResourceCalculated event.

6m read timeFrom telerik.com
Post cover image
Table of contents
Configuring the ApplicationAccessing the LLMLoading ContentGenerating Summaries in Your Agent

Sort: