Nukepayload2.AI.Providers.Zhipu 1.3.1-beta17

This is a prerelease version of Nukepayload2.AI.Providers.Zhipu.
dotnet add package Nukepayload2.AI.Providers.Zhipu --version 1.3.1-beta17
                    
NuGet\Install-Package Nukepayload2.AI.Providers.Zhipu -Version 1.3.1-beta17
                    
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="Nukepayload2.AI.Providers.Zhipu" Version="1.3.1-beta17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nukepayload2.AI.Providers.Zhipu" Version="1.3.1-beta17" />
                    
Directory.Packages.props
<PackageReference Include="Nukepayload2.AI.Providers.Zhipu" />
                    
Project file
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 Nukepayload2.AI.Providers.Zhipu --version 1.3.1-beta17
                    
#r "nuget: Nukepayload2.AI.Providers.Zhipu, 1.3.1-beta17"
                    
#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.
#addin nuget:?package=Nukepayload2.AI.Providers.Zhipu&version=1.3.1-beta17&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Nukepayload2.AI.Providers.Zhipu&version=1.3.1-beta17&prerelease
                    
Install as a Cake Tool

ZhipuApiVBSdk

VB-friendly .NET bindings for the ZhipuApi v4. It's part of the Nukepayload2 VB AI SDK as a model provider.

It covers the capabilities of zhipuai-sdk-csharp-v4, with additional VB-friendly benefits:

  • No deadlock in synchronization context threads.
  • Enumerate result asynchronously with the syntax introduced in VB 11.
  • AOT compatible on .NET 8 or later.
  • VB flavor of API design
  • Microsoft.Extensions.AI integration

Code examples:

Get on NuGet: Nukepayload2.AI.Providers.Zhipu

Target Frameworks

  • .NET Standard 2.0
  • .NET 8.0

Progress

It's currently in beta stage. We reserve the rights of making breaking changes.

Do not use it in production environment unless you've tested it carefully.

Implementation

Tested Manually

  • Text completion
  • Text streaming
  • Tool call in completion
  • Tool call in streaming
  • Errors as HttpRequestException
  • Image generation
  • Image recognition
  • Embedding
  • File management
  • Batch
  • Web search
  • Web search in chat

Microsoft.Extensions.AI 9.0.5

  • Chat completion
  • Chat streaming
  • Tool call in completion
  • Tool call in streaming
  • Image generation
  • Image recognition
  • Embedding

Tested Manually with Microsoft.Extensions.AI

  • Text completion
  • Text streaming
  • Tool call in completion
  • Tool call in streaming
  • Image generation
  • Image recognition
  • Embedding

Planned

P1
P2
P3
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  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 was computed.  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. 
.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 was computed.  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.

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
1.3.1-beta17 70 6/22/2025
1.3.0-beta16 77 5/25/2025
1.2.0-beta15 42 5/24/2025
1.1.0-beta13 99 4/13/2025
1.1.0-beta12 56 4/12/2025
1.0.1-beta11 66 2/19/2025
1.0.1-beta10 84 2/2/2025
1.0.0-beta9 62 1/19/2025
1.0.0-beta8 76 1/4/2025
1.0.0-beta7 63 12/29/2024
1.0.0-beta6 67 12/4/2024
1.0.0-beta5 57 12/4/2024
1.0.0-beta4 59 12/2/2024

Fixed a bug that delays the first token of streaming response.