ERNIE-Bot.SemanticKernel
                              
                            
                                0.5.0-preview
                            
                        
                    
        
        
                                This is a prerelease version of ERNIE-Bot.SemanticKernel.
                            
    
    
        
        
                                There is a newer version of this package available.
                                
See the version list below for details.
                    See the version list below for details.
dotnet add package ERNIE-Bot.SemanticKernel --version 0.5.0-preview
NuGet\Install-Package ERNIE-Bot.SemanticKernel -Version 0.5.0-preview
        
        
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="ERNIE-Bot.SemanticKernel" Version="0.5.0-preview" />
        
        
For projects that support PackageReference, copy this XML node into the project file to reference the package.
                    
    
    <PackageVersion Include="ERNIE-Bot.SemanticKernel" Version="0.5.0-preview" />
<PackageReference Include="ERNIE-Bot.SemanticKernel" />
        
        
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 ERNIE-Bot.SemanticKernel --version 0.5.0-preview
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    #r "nuget: ERNIE-Bot.SemanticKernel, 0.5.0-preview"
        
        
#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 ERNIE-Bot.SemanticKernel@0.5.0-preview
        
        
#: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=ERNIE-Bot.SemanticKernel&version=0.5.0-preview&prerelease
#tool nuget:?package=ERNIE-Bot.SemanticKernel&version=0.5.0-preview&prerelease
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    ERNIE-Bot Semantic Kernel
ERNIE-Bot(文心千帆) Semantic Kernel 集成
安装
dotnet add package ERNIE-Bot.SemanticKernel --prerelease
使用
builder.Services.AddScoped(svc =>
{
    var kernel = Kernel.Builder
        // 使用 ERNIE Bot
        .WithERNIEBotChatCompletionService(svc, builder.Configuration, "ernie_bot", ModelEndpoints.ERNIE_Bot)
        // 使用 Embedding
        .WithERNIEBotEmbeddingGenerationService(svc, builder.Configuration)
        .WithMemoryStorage(new VolatileMemoryStore())
        .Build();
    return kernel;
});
功能
- IChatCompletion
 - ITextCompletion
 - ITextEmbeddingGeneration
 
| Product | Versions 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. 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 | 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.
- 
                                                    
.NETStandard 2.1
- ERNIE-Bot.SDK (>= 0.5.0-preview)
 - Microsoft.Extensions.Http (>= 7.0.0)
 - Microsoft.SemanticKernel.Abstractions (>= 0.21.230828.2-preview)
 - Microsoft.SemanticKernel.Core (>= 0.21.230828.2-preview)
 
 
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.14.4 | 292 | 3/19/2024 | 
| 0.14.3 | 175 | 3/19/2024 | 
| 0.14.2 | 165 | 3/18/2024 | 
| 0.14.1 | 166 | 2/18/2024 | 
| 0.14.0 | 176 | 2/6/2024 | 
| 0.13.1 | 192 | 1/16/2024 | 
| 0.13.0 | 2,106 | 12/21/2023 | 
| 0.12.0-preview | 179 | 12/11/2023 | 
| 0.11.0-preview | 172 | 12/5/2023 | 
| 0.10.0-preview | 185 | 11/28/2023 | 
| 0.9.0-preview | 189 | 11/23/2023 | 
| 0.8.0-preview | 155 | 11/14/2023 | 
| 0.7.0-preview | 626 | 10/16/2023 | 
| 0.6.1-preview | 219 | 9/6/2023 | 
| 0.6.0-preview | 193 | 9/5/2023 | 
| 0.5.1-preview | 1,117 | 8/31/2023 | 
| 0.5.0-preview | 266 | 8/29/2023 | 
| 0.4.0-preview | 207 | 8/29/2023 | 
| 0.3.2-preview | 560 | 7/11/2023 | 
| 0.3.1-preview | 266 | 7/6/2023 | 
| 0.3.0-preview | 221 | 7/6/2023 | 
| 0.2.1-preview | 266 | 6/29/2023 | 
| 0.2.0-preview | 205 | 6/28/2023 |