AuroraScienceHub.Framework.Ai
10.1.0
Prefix Reserved
dotnet add package AuroraScienceHub.Framework.Ai --version 10.1.0
NuGet\Install-Package AuroraScienceHub.Framework.Ai -Version 10.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AuroraScienceHub.Framework.Ai" Version="10.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AuroraScienceHub.Framework.Ai" Version="10.1.0" />
<PackageReference Include="AuroraScienceHub.Framework.Ai" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AuroraScienceHub.Framework.Ai --version 10.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AuroraScienceHub.Framework.Ai, 10.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AuroraScienceHub.Framework.Ai@10.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AuroraScienceHub.Framework.Ai&version=10.1.0
#tool nuget:?package=AuroraScienceHub.Framework.Ai&version=10.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AuroraScienceHub.Framework.Ai
AI service integrations including OpenAI GPT and DeepL translation with proxy support.
Overview
Provides unified interfaces for common AI services including GPT-based chat completions and DeepL translations.
Key Features
- GPT Integration - OpenAI GPT chat completions
- DeepL Translation - High-quality machine translation
- Proxy Support - HTTP proxy configuration for AI services
- Unified Interfaces - Consistent API across providers
Installation
dotnet add package AuroraScienceHub.Framework.Ai
Usage
GPT Client
// Configuration
builder.Services.AddChatGpt(options =>
{
options.ApiKey = builder.Configuration["Gpt:ApiKey"]!;
options.DefaultModel = "gpt-4";
});
builder.Services.AddScoped<IGptClient, GptClient>();
// Usage
public class AiService
{
private readonly IGptClient _gptClient;
public async Task<string?> GenerateTextAsync(string prompt)
{
return await _gptClient.AskAsync(prompt);
}
}
DeepL Translation
// Configuration
builder.Services.Configure<DeeplOptions>(
builder.Configuration.GetSection("Deepl"));
builder.Services.AddScoped<IDeeplClient, DeeplClient>();
// Usage
public class TranslationService
{
private readonly IDeeplClient _deeplClient;
public async Task<string> TranslateAsync(
string text,
string targetLanguage)
{
return await _deeplClient.TranslateAsync(text, targetLanguage);
}
}
Configuration
{
"Gpt": {
"ApiKey": "your-openai-api-key",
"Model": "gpt-4"
},
"Deepl": {
"ApiKey": "your-deepl-api-key"
}
}
License
See LICENSE file in the repository root.
Related Packages
AuroraScienceHub.Framework.Http- HTTP utilitiesAuroraScienceHub.Framework.Caching- Cache AI responses
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AuroraScienceHub.Framework.Json (>= 10.1.0)
- AuroraScienceHub.Framework.Utilities (>= 10.1.0)
- DeepL.net (>= 1.17.0)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- OpenAI (>= 2.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.1.0 | 90 | 8/19/2026 |
| 10.0.8 | 90 | 8/14/2026 |
| 10.0.7 | 93 | 8/11/2026 |
| 10.0.6 | 95 | 8/11/2026 |
| 10.0.5 | 135 | 4/23/2026 |
| 10.0.4 | 122 | 4/23/2026 |
| 10.0.3 | 133 | 2/11/2026 |
| 10.0.2 | 125 | 1/29/2026 |
| 10.0.1 | 230 | 12/25/2025 |
| 10.0.0 | 443 | 12/11/2025 |
| 9.0.7 | 439 | 11/20/2025 |
| 9.0.6 | 203 | 11/15/2025 |
| 9.0.5 | 147 | 11/8/2025 |
| 9.0.4 | 165 | 10/24/2025 |
| 9.0.3 | 218 | 10/15/2025 |
| 9.0.2 | 198 | 10/15/2025 |
| 9.0.1 | 206 | 10/15/2025 |