DashScope.SemanticKernel 0.9.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package DashScope.SemanticKernel --version 0.9.2                
NuGet\Install-Package DashScope.SemanticKernel -Version 0.9.2                
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="DashScope.SemanticKernel" Version="0.9.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DashScope.SemanticKernel --version 0.9.2                
#r "nuget: DashScope.SemanticKernel, 0.9.2"                
#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 DashScope.SemanticKernel as a Cake Addin
#addin nuget:?package=DashScope.SemanticKernel&version=0.9.2

// Install DashScope.SemanticKernel as a Cake Tool
#tool nuget:?package=DashScope.SemanticKernel&version=0.9.2                

DashScope Semantic Kernel

DashScope(灵积模型服务) Semantic Kernel integration

Install

dotnet add package DashScope.SemanticKernel --prerelease

Usage

builder.Services.AddScoped(svc =>
{
    var kernel = Kernel.Builder.WithDashScopeCompletionService(configuration["ApiKey"])
    .Build();
    return kernel;
});

builder.Services.AddScoped(svc =>
{
    return new MemoryBuilder()
    .WithDashScopeTextEmbeddingGenerationService(builder.Configuration["ApiKey"])
    .Build();
});

Features

  • IChatCompletion
  • ITextCompletion
  • ITextEmbeddingGeneration
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 was computed.  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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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
0.9.4 634 4/16/2024
0.9.3 129 3/19/2024
0.9.2 116 3/19/2024
0.9.1 123 3/18/2024
0.9.0 119 2/26/2024
0.8.1 113 2/18/2024
0.8.0 124 2/6/2024
0.7.0 290 12/21/2023
0.6.0-preview 125 12/11/2023
0.5.0-preview 133 12/5/2023
0.4.0-preview 111 11/27/2023
0.3.0-preview 173 10/19/2023
0.2.0-preview 108 9/4/2023
0.1.0-preview 118 8/31/2023