A modern Blazor web application targeting .NET 9, designed for local chat experiences with AI integration and advanced features.
- FoundryLocalChatApp.Web: Blazor WebAssembly front-end.
- FoundryLocalChatApp.AppHost: Application host using Aspire for orchestration.
- FoundryLocalChatApp.ServiceDefaults: Shared service configuration and telemetry.
- Blazor-based interactive chat UI.
- AI integration via Azure OpenAI and Microsoft Semantic Kernel.
- Local AI model support Foundry Local).
- Speech recognition (Blazor.SpeechRecognition).
- PDF parsing (PdfPig).
- Telemetry and resilience via OpenTelemetry and Microsoft.Extensions.
- .NET 9 SDK
- Node.js (for front-end build, if modifying JS)
- User secrets are used for sensitive settings (see
UserSecretsId
in project files). - AI and service endpoints can be configured in
appsettings.json
or via environment variables.
Key NuGet packages:
Aspire.Azure.AI.OpenAI
Microsoft.Extensions.AI.OpenAI
Microsoft.SemanticKernel.Core
PdfPig
Blazor.SpeechRecognition
OpenTelemetry.*
Microsoft.AI.Foundry.Local
Aspire.Hosting.*
CommunityToolkit.Aspire.Hosting.Ollama
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Open a pull request.
This project is licensed under the MIT License.
Built with Blazor and .NET 9.