微软为.NET 开发推出新的 AI 聊天网络应用模板

  • Last week's announcement: Microsoft announced a new AI Chat Web App template in preview, aiming to simplify AI development with.NET. It's part of their efforts to make AI more accessible and offers scaffolding and guidance in different tools.

    • Key features: Helps build AI-powered chat apps quickly with a Blazor-based web app, leveraging Microsoft.Extensions.AI and Microsoft.Extensions.VectorData abstractions following the RAG pattern. Allows creating a chat interface with custom data, supports local and Azure integrations (local vector store for prototyping and Azure AI Search for advanced setups), and has UI components for chat interactions, citation tracking, and follow-up suggestions that can be customized or removed.
  • Getting started: Install using the CLI command dotnet new install Microsoft.Extensions.AI.Templates. The template simplifies data ingestion with code for processing various data sources and formats, including sample PDFs. The application automatically updates the vector store based on folder contents.
  • Important note: Developers should be aware of quota and rate limits with their AI model provider as large data files may cause errors or delays.
  • Product team highlights: The code is built with Microsoft.Extensions.AI for easy plug-in of custom behaviors. Chatbots can access and call C# functions to extend capabilities.
  • Future plans: Expand template offerings with an AI Console template, a Minimal API template, and support for.NET Aspire. Plan to include these templates by default in the.NET SDK and explore support for Azure AI Foundry. Also working with the Semantic Kernel team to expand options for Semantic Kernel users.
阅读 5
0 条评论