Ben.SemanticKernel 3.2.1

dotnet add package Ben.SemanticKernel --version 3.2.1                
NuGet\Install-Package Ben.SemanticKernel -Version 3.2.1                
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="Ben.SemanticKernel" Version="3.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ben.SemanticKernel --version 3.2.1                
#r "nuget: Ben.SemanticKernel, 3.2.1"                
#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 Ben.SemanticKernel as a Cake Addin
#addin nuget:?package=Ben.SemanticKernel&version=3.2.1

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

Ben.SemanticKernel

A simple .NET library for working with Microsoft's Semantic Kernel.

功能特点

  • 简化与Semantic Kernel的集成
  • 提供聊天服务和知识导入功能
  • 适用于.NET 8.0项目

安装方法

通过NuGet包管理器安装:

Install-Package Ben.SemanticKernel

或者使用.NET CLI:

dotnet add package Ben.SemanticKernel

使用示例

using Ben.SemanticKernel;

// 初始化聊天服务
var chatService = new ChatService(apiKey, endpoint);

// 使用聊天服务
var response = await chatService.ChatAsync("你好,请介绍一下自己");

// 导入知识到知识库
var importService = new ImportKmsService(options);
await importService.ImportFromFileAsync("path/to/file.txt");

贡献指南

欢迎提交Pull Request或提出Issue。

许可证

MIT

 dotnet pack Ben.SematicKernel.csproj -c Release
 dotnet nuget push bin/Release/Ben.SemanticKernel.3.0.0.nupkg -k oy2lkg3manzfmhokemyqkyvrcv3bakvufdjs3qr7uaajtq -s https://api.nuget.org/v3/index.json
Product Compatible and additional computed target framework versions.
.NET 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. 
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
3.2.1 454 3/25/2025
3.2.0 457 3/25/2025
3.1.0 64 3/22/2025
3.0.0 103 3/21/2025
2.0.0 129 3/20/2025
1.5.0 126 3/20/2025
1.4.0 127 3/20/2025
1.3.0 129 3/20/2025
1.2.0 61 3/15/2025
1.1.0 61 3/15/2025
1.0.0 57 3/15/2025