Microsoft is previewing a .NET internet app template meant to allow fast growth of AI-powered chat functions.
Part of an ongoing effort to make AI growth with .NET simpler to find and use, the AI Chat Web App template was introduced March 6. The template might be put in with Microsoft.Extensions.AI.Templates by operating the next command from the terminal:dotnet new set up Microsoft.Extensions.AI.Templates
. When put in, the AI Chat Web App template is accessible within the Visual Studio IDE and within the Visual Studio Code editor by means of the C# Dev Kit extension. Developers can run dotnet new aichatweb
to create the template of their working listing.
The preliminary launch of the AI Chat Web App template focuses on a Blazor-based internet app, constructed through abstractions together with Microsoft.Extensions.AI and Microsoft.Extensions.VectorData. The template additionally helps the retrieval-augmented technology (RAG) sample, which is usually used to information AI chat responses. Among the important thing options is the flexibility to create a chat-based UI to work together with pattern PDFs or a person’s personal knowledge utilizing RAG. The template contains code for knowledge ingestion, caching, and processing, and helps each an area retailer for prototyping and Azure AI Search for extra superior configurations. Generated code contains UI parts for chatting, quotation monitoring, and follow-up ideas.