IntentSharp 1.0.0-rc.3
Prefix Reserveddotnet add package IntentSharp --version 1.0.0-rc.3
NuGet\Install-Package IntentSharp -Version 1.0.0-rc.3
<PackageReference Include="IntentSharp" Version="1.0.0-rc.3" />
<PackageVersion Include="IntentSharp" Version="1.0.0-rc.3" />
<PackageReference Include="IntentSharp" />
paket add IntentSharp --version 1.0.0-rc.3
#r "nuget: IntentSharp, 1.0.0-rc.3"
#:package IntentSharp@1.0.0-rc.3
#addin nuget:?package=IntentSharp&version=1.0.0-rc.3&prerelease
#tool nuget:?package=IntentSharp&version=1.0.0-rc.3&prerelease
IntentSharp
dotnet add package IntentSharp --prerelease
using IntentSharp;
using IntentSharp.Extensions;
// Reads ANTHROPIC_API_KEY or OPENAI_API_KEY from the environment.
using var client = new IntentClientBuilder().UseProvidersFromEnvironment().Build();
var email = "Hi, this is Dana from Northwind. We'd like 40 units of SKU A-1192 delivered by 2026-11-15.";
var order = await email.AIAsync<PurchaseRequest>(client, "Extract the purchase request from this email.");
if (order.Success)
Console.WriteLine($"{order.Value!.Contact} wants {order.Value.Quantity} x {order.Value.Sku}");
else
foreach (var issue in order.Issues) Console.WriteLine(issue);
public sealed class PurchaseRequest
{
public string Contact { get; set; } = "";
public string Sku { get; set; } = "";
public int Quantity { get; set; }
public DateOnly DeliverBy { get; set; }
}
Documentation: https://intentsharp.com/docs/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Data.Sqlite (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Http (>= 9.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Options (>= 9.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.9)
-
net8.0
- Microsoft.Data.Sqlite (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Http (>= 9.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Options (>= 9.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.9)
- System.Text.Json (>= 9.0.9)
-
net9.0
- Microsoft.Data.Sqlite (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Http (>= 9.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Options (>= 9.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.9)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on IntentSharp:
| Package | Downloads |
|---|---|
|
IntentSharp.Catalog
Keep IntentSharp model calls in JSON or YAML files: the instruction, the result shape, the rules and the examples. Your code names the intent, each answer is checked against the file's rules, the catalog reloads when a file changes while the application runs, and every run is tagged with the intent's name and version. Commercial software with a free 30-day evaluation; business and production use need a paid license (intentsharp.com/pricing). |
|
|
IntentSharp.Extensions.AI
Runs IntentSharp on any Microsoft.Extensions.AI IChatClient (Agent Framework, Azure OpenAI, Ollama and any other Microsoft.Extensions.AI chat client) and exposes catalog intents as AIFunction tools for agents. Commercial software with a free 30-day evaluation; business and production use need a paid license (intentsharp.com/pricing). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-rc.3 | 47 | 10/20/2026 |
Release notes for version 1.0.0-rc.3, with breaking changes, new features and fixes: https://intentsharp.com/changelog