![]() |
VOOZH | about |
dotnet add package MeshWeaver.AI --version 2.5.0
NuGet\Install-Package MeshWeaver.AI -Version 2.5.0
<PackageReference Include="MeshWeaver.AI" Version="2.5.0" />
<PackageVersion Include="MeshWeaver.AI" Version="2.5.0" />Directory.Packages.props
<PackageReference Include="MeshWeaver.AI" />Project file
paket add MeshWeaver.AI --version 2.5.0
#r "nuget: MeshWeaver.AI, 2.5.0"
#:package MeshWeaver.AI@2.5.0
#addin nuget:?package=MeshWeaver.AI&version=2.5.0Install as a Cake Addin
#tool nuget:?package=MeshWeaver.AI&version=2.5.0Install as a Cake Tool
MeshWeaver.AI provides AI integration capabilities for the MeshWeaver framework, enabling AI-powered features and services within your applications. This library connects MeshWeaver applications with Azure OpenAI and other AI services for natural language processing, content generation, and intelligent assistance.
// In Program.cs or Startup.cs
using MeshWeaver.AI;
var builder = WebApplication.CreateBuilder(args);
// Add AI services to the DI container
builder.Services.AddAI(config => config
.WithSystemPrompt("You are a helpful assistant.")
.WithModels("gpt-4.1-mini", "o3-mini"));
// Configure AI credentials
builder.Services.Configure<AICredentialsConfiguration>(builder.Configuration.GetSection("AI"));
public class MyService
{
private readonly IChatService _chatService;
public MyService(IChatService chatService)
{
_chatService = chatService;
}
public async Task<string> GetAIResponse(string userMessage)
{
var client = _chatService.Get();
var response = await client.CompleteChat(userMessage);
return response;
}
}
The AI services require proper configuration in your application's settings:
{
"AI": {
"Url": "https://your-azure-openai-endpoint.com",
"ApiKey": "your-api-key-here",
"Models": ["o3-mini"]
}
}
Refer to the for more information about the overall architecture.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on MeshWeaver.AI:
| Package | Downloads |
|---|---|
|
MeshWeaver.Hosting
Package Description |
|
|
MeshWeaver.AI.Application
Package Description |
|
|
MeshWeaver.AI.AzureOpenAI
Package Description |
|
|
MeshWeaver.AI.AzureFoundry
Package Description |
|
|
MeshWeaver.Blazor.AI
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-preview1 | 146 | 4/16/2026 |
| 2.5.0 | 216 | 11/3/2025 |
| 2.4.0 | 197 | 10/2/2025 |
| 2.3.0 | 261 | 8/4/2025 |
| 2.2.0 | 540 | 7/21/2025 |