DeepInfra 0.9.0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package DeepInfra --version 0.9.0
NuGet\Install-Package DeepInfra -Version 0.9.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="DeepInfra" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeepInfra --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DeepInfra, 0.9.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.
// Install DeepInfra as a Cake Addin #addin nuget:?package=DeepInfra&version=0.9.0 // Install DeepInfra as a Cake Tool #tool nuget:?package=DeepInfra&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DeepInfra
Features 🔥
- Fully generated C# SDK based on official DeepInfra OpenAPI specification using OpenApiGenerator
- Same day update to support new features
- Updated and supported automatically if there are no breaking changes
- All modern .NET features - nullability, trimming, NativeAOT, etc.
- Support .Net Framework/.Net Standard 2.0
- Support all DeepInfra API endpoints including Object Detection, Token Classification, Image Classification, Fill Mask and more.
Usage
To interact with the OpenAI like API, you need to use tryAGI.OpenAI
library:
<PackageReference Include="tryAGI.OpenAI" Version="3.7.0" />
using OpenAI;
using var client = CustomProviders.DeepInfra(apiKey);
var enumerable = api.Chat.CreateChatCompletionAsStreamAsync(
model: "meta-llama/Meta-Llama-3-8B-Instruct",
messages: ["What is the capital of the United States?"]);
await foreach (var response in enumerable)
{
Console.Write(response.Choices[0].Delta.Content);
}
Support
Priority place for bugs: https://github.com/tryAGI/DeepInfra/issues
Priority place for ideas and general questions: https://github.com/tryAGI/DeepInfra/discussions
Discord: https://discord.gg/Ca2xhfBf3v
Acknowledgments
This project is supported by JetBrains through the Open Source Support Program.
This project is supported by CodeRabbit through the Open Source Support Program.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.2
- System.Text.Json (>= 8.0.4)
-
.NETStandard 2.0
- System.Text.Json (>= 8.0.4)
-
net6.0
- System.Text.Json (>= 8.0.4)
-
net8.0
- No dependencies.
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 |
---|---|---|
0.9.0 | 95 | 9/26/2024 |
0.1.0 | 112 | 8/19/2024 |
0.0.0-dev.29 | 67 | 8/24/2024 |
0.0.0-dev.28 | 61 | 8/24/2024 |
0.0.0-dev.26 | 63 | 8/21/2024 |
0.0.0-dev.25 | 57 | 8/20/2024 |
0.0.0-dev.24 | 60 | 8/20/2024 |
0.0.0-dev.23 | 56 | 8/20/2024 |
0.0.0-dev.22 | 61 | 8/19/2024 |
0.0.0-dev.21 | 59 | 8/19/2024 |
0.0.0-dev.20 | 61 | 8/19/2024 |
0.0.0-dev.19 | 56 | 8/19/2024 |
0.0.0-dev.18 | 61 | 8/19/2024 |
0.0.0-dev.17 | 63 | 8/18/2024 |
0.0.0-dev.16 | 64 | 8/15/2024 |
0.0.0-dev.15 | 68 | 8/15/2024 |
0.0.0-dev.14 | 60 | 8/13/2024 |
0.0.0-dev.13 | 66 | 8/13/2024 |
0.0.0-dev.12 | 62 | 8/12/2024 |
0.0.0-dev.11 | 58 | 8/12/2024 |
0.0.0-dev.10 | 59 | 8/12/2024 |
0.0.0-dev.8 | 56 | 8/8/2024 |
0.0.0-dev.7 | 49 | 8/8/2024 |
0.0.0-dev.6 | 67 | 8/8/2024 |
0.0.0-dev.4 | 36 | 8/6/2024 |
0.0.0-dev.3 | 33 | 8/6/2024 |