Tharga.Team.Support.Anthropic
4.5.0
dotnet add package Tharga.Team.Support.Anthropic --version 4.5.0
NuGet\Install-Package Tharga.Team.Support.Anthropic -Version 4.5.0
<PackageReference Include="Tharga.Team.Support.Anthropic" Version="4.5.0" />
<PackageVersion Include="Tharga.Team.Support.Anthropic" Version="4.5.0" />
<PackageReference Include="Tharga.Team.Support.Anthropic" />
paket add Tharga.Team.Support.Anthropic --version 4.5.0
#r "nuget: Tharga.Team.Support.Anthropic, 4.5.0"
#:package Tharga.Team.Support.Anthropic@4.5.0
#addin nuget:?package=Tharga.Team.Support.Anthropic&version=4.5.0
#tool nuget:?package=Tharga.Team.Support.Anthropic&version=4.5.0
Tharga.Team.Support.Anthropic
Lets each team's support assistant answer through the team's own Neurolito key, with the model chosen from what Neurolito offers that key.
Neurolito speaks the Anthropic Messages API, so this package reaches it with the official Anthropic SDK. It is a
package of its own for one reason: it is the only part of the toolkit that takes a vendor SDK, and a host that never
lets teams bring their own AI should not acquire it.
Use
builder.Services.AddThargaSupportCases();
builder.Services.AddThargaSupportAiConnections(); // each team chooses: the platform's model, its own provider, or off
builder.Services.AddThargaSupportAnthropic(); // adds Neurolito as a provider a team can choose
// Keys are stored encrypted with Data Protection. Keep the key ring where every instance reads it:
builder.Services.AddDataProtection()
.SetApplicationName("MySite")
.PersistKeysToThargaMongo();
Then put <SupportAssistantConnectionView /> on a page for team administrators. It needs the assistant:manage team
scope, which administrators hold by default.
What a team gets
- Load models lists what the key may use, from
GET /v1/models. A refused key, a wrong address or an unreachable server is said in words on the form. - Test sends the chosen model one short message and shows the reply.
- Save checks once more that the provider offers the model for the key, then stores the key encrypted. It is never shown again; it can be replaced.
Options
builder.Services.AddThargaSupportAnthropic(o =>
{
o.NeurolitoBaseAddress = "https://neurolito.com"; // where a Neurolito connection starts; a team can change it
o.MaxOutputTokens = 4096; // the ceiling for one answer
});
Full documentation: Support cases.
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Anthropic (>= 13.3.0)
- Microsoft.Extensions.Http (>= 10.0.13)
- Tharga.Team.Support (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.