New to Telerik UI for Blazor? Download Free 30-day trial

Blazor Lab - PDFViewer Smart (AI) Assistant

  • EXAMPLE
  • VIEW SOURCE

Smart (AI) Components are currently in an experimental phase and are available for Telerik UI for Blazor, Telerik UI for ASP.NET Core, and Telerik UI for WPF. We are looking to expand the use cases for AI-powered components and highly value your input on their usefulness and potential applications. Please share your thoughts and suggestions here.

By accessing and using the Telerik AI service integration on the Progress website, you acknowledge and agree to be bound by the following Terms of Use.

  • Pdfviewer-smart-ai-assistant.razor
  • AIPromptService.cs
Loading the demo source code...please wait.
Style in ThemeBuilder
  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

The PDFViewer Smart (AI) Assistant demo shows how to integrate a Telerik AIPrompt component to interact with your PDF documents. The demo employs a simple Retrieval-Augmented Generation (RAG) technique, using locally embedded data chunks to send only the relevant parts of the documents to the LLM for each query.

Please note that the responses provided by this demo are generated by artificial intelligence and may not always be accurate or up-to-date. Users are encouraged to verify any information obtained from the demo before relying on it. Progress is not responsible for any errors, omissions, or inaccuracies in the information provided, nor for any actions taken based on the responses received.

An error has occurred. This application may no longer respond until reloaded.