Ben.SemanticKernel
5.2.10
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 Ben.SemanticKernel --version 5.2.10
NuGet\Install-Package Ben.SemanticKernel -Version 5.2.10
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="5.2.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ben.SemanticKernel" Version="5.2.10" />
<PackageReference Include="Ben.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 Ben.SemanticKernel --version 5.2.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ben.SemanticKernel, 5.2.10"
#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 Ben.SemanticKernel@5.2.10
#: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=Ben.SemanticKernel&version=5.2.10
#tool nuget:?package=Ben.SemanticKernel&version=5.2.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
| Product | Versions 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. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Google.Protobuf (>= 3.30.0)
- HtmlAgilityPack (>= 1.12.1)
- itext7 (>= 9.1.0)
- Microsoft.AspNetCore.Http (>= 2.3.0)
- Microsoft.Data.SqlClient (>= 6.1.0-preview1.25120.4)
- Microsoft.Extensions.Http.Polly (>= 9.0.4)
- Microsoft.KernelMemory.AI.Ollama (>= 0.98.250508.3)
- Microsoft.KernelMemory.AI.OpenAI (>= 0.98.250508.3)
- Microsoft.KernelMemory.Core (>= 0.98.250508.3)
- Microsoft.KernelMemory.MemoryDb.Postgres (>= 0.98.250508.3)
- Microsoft.KernelMemory.MemoryDb.Qdrant (>= 0.98.250508.3)
- Microsoft.Playwright (>= 1.52.0)
- Microsoft.Playwright.NUnit (>= 1.52.0)
- Microsoft.SemanticKernel (>= 1.54.0)
- Microsoft.SemanticKernel.Connectors.Ollama (>= 1.54.0-alpha)
- Microsoft.SemanticKernel.Connectors.PgVector (>= 1.54.0-preview)
- Microsoft.SemanticKernel.Connectors.Qdrant (>= 1.54.0-preview)
- Microsoft.SemanticKernel.Connectors.SqliteVec (>= 1.54.0-preview)
- MySql.Data (>= 9.3.0)
- Polly (>= 8.5.2)
- Polly.Extensions.Http (>= 3.0.0)
- pythonnet (>= 3.1.0-preview2024-09-06)
- Selenium.Support (>= 4.31.0)
- Selenium.WebDriver (>= 4.31.0)
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 | |
|---|---|---|---|
| 5.3.1 | 33 | 10/28/2025 | |
| 5.3.0 | 38 | 10/28/2025 | |
| 5.2.29 | 95 | 10/24/2025 | |
| 5.2.28 | 113 | 10/24/2025 | |
| 5.2.27 | 115 | 10/22/2025 | |
| 5.2.26 | 116 | 10/22/2025 | |
| 5.2.25 | 122 | 10/21/2025 | |
| 5.2.24 | 116 | 10/21/2025 | |
| 5.2.23 | 119 | 10/21/2025 | |
| 5.2.22 | 113 | 10/21/2025 | |
| 5.2.21 | 122 | 10/21/2025 | |
| 5.2.20 | 119 | 10/20/2025 | |
| 5.2.19 | 111 | 10/19/2025 | |
| 5.2.18 | 127 | 10/14/2025 | |
| 5.2.17 | 124 | 10/14/2025 | |
| 5.2.16 | 127 | 10/13/2025 | |
| 5.2.15 | 120 | 10/13/2025 | |
| 5.2.13 | 124 | 10/13/2025 | |
| 5.2.12 | 122 | 10/13/2025 | |
| 5.2.11 | 121 | 10/13/2025 | |
| 5.2.10 | 63 | 10/11/2025 | |
| 5.2.9 | 122 | 10/7/2025 | |
| 5.2.8 | 121 | 10/7/2025 | |
| 5.2.7 | 123 | 10/7/2025 | |
| 5.2.6 | 307 | 6/10/2025 | |
| 5.2.5 | 265 | 6/10/2025 | |
| 5.2.4 | 263 | 6/10/2025 | |
| 5.2.3 | 219 | 6/9/2025 | |
| 5.2.2 | 212 | 6/9/2025 | |
| 5.2.1 | 213 | 6/9/2025 | |
| 5.2.0 | 222 | 6/9/2025 | |
| 5.1.9 | 189 | 6/9/2025 | |
| 5.1.8 | 76 | 6/7/2025 | |
| 5.1.7 | 64 | 6/7/2025 | |
| 5.1.6 | 112 | 6/6/2025 | |
| 5.1.5 | 139 | 6/5/2025 | |
| 5.1.4 | 140 | 6/5/2025 | |
| 5.1.3 | 133 | 6/4/2025 | |
| 5.1.2 | 129 | 6/4/2025 | |
| 5.1.1 | 140 | 6/2/2025 | |
| 5.0.1 | 166 | 5/28/2025 | |
| 4.10.3 | 96 | 5/24/2025 | |
| 4.10.2 | 103 | 5/24/2025 | |
| 4.10.1 | 118 | 5/24/2025 | |
| 4.9.15 | 189 | 5/22/2025 | |
| 4.9.14 | 176 | 5/21/2025 | |
| 4.9.13 | 182 | 5/21/2025 | |
| 4.9.12 | 189 | 5/19/2025 | |
| 4.9.11 | 255 | 5/15/2025 | |
| 4.9.10 | 258 | 5/15/2025 | |
| 4.9.9 | 256 | 5/15/2025 | |
| 4.9.8 | 259 | 5/15/2025 | |
| 4.9.7 | 274 | 5/15/2025 | |
| 4.9.6 | 275 | 5/15/2025 | |
| 4.9.5 | 251 | 5/12/2025 | |
| 4.9.4 | 220 | 5/12/2025 | |
| 4.9.3 | 152 | 5/9/2025 | |
| 4.9.2 | 199 | 5/9/2025 | |
| 4.9.1 | 177 | 5/9/2025 | |
| 4.8.5 | 459 | 4/25/2025 | |
| 4.8.4 | 262 | 4/25/2025 | |
| 4.8.3 | 276 | 4/24/2025 | |
| 4.8.2 | 288 | 4/24/2025 | |
| 4.8.1 | 213 | 4/24/2025 | |
| 4.7.10 | 199 | 4/23/2025 | |
| 4.7.9 | 221 | 4/15/2025 | |
| 4.7.8 | 214 | 4/14/2025 | |
| 4.7.7 | 226 | 4/14/2025 | |
| 4.7.6 | 237 | 4/14/2025 | |
| 4.7.5 | 213 | 4/14/2025 | |
| 4.7.4 | 222 | 4/14/2025 | |
| 4.7.3 | 224 | 4/14/2025 | |
| 4.7.2 | 215 | 4/14/2025 | |
| 4.7.1 | 221 | 4/14/2025 | |
| 4.6.1 | 192 | 4/9/2025 | |
| 4.6.0 | 199 | 4/9/2025 | |
| 4.5.9 | 188 | 4/8/2025 | |
| 4.5.8 | 189 | 4/8/2025 | |
| 4.5.7 | 195 | 4/7/2025 | |
| 4.5.6 | 230 | 4/7/2025 | |
| 4.5.5 | 205 | 4/7/2025 | |
| 4.5.4 | 191 | 4/7/2025 | |
| 4.5.3 | 221 | 4/7/2025 | |
| 4.5.2 | 182 | 4/7/2025 | |
| 4.5.1 | 197 | 4/7/2025 | |
| 4.5.0 | 200 | 4/7/2025 | |
| 4.3.0 | 208 | 4/2/2025 | |
| 4.2.1 | 181 | 4/2/2025 | |
| 4.2.0 | 196 | 4/2/2025 | |
| 4.1.0 | 191 | 4/1/2025 | |
| 4.0.0 | 217 | 4/1/2025 | |
| 3.2.1 | 522 | 3/25/2025 | |
| 3.2.0 | 515 | 3/25/2025 | |
| 3.1.0 | 114 | 3/22/2025 | |
| 3.0.0 | 148 | 3/21/2025 | |
| 2.0.0 | 195 | 3/20/2025 | |
| 1.5.0 | 161 | 3/20/2025 | |
| 1.4.0 | 179 | 3/20/2025 | |
| 1.3.0 | 186 | 3/20/2025 | |
| 1.2.0 | 115 | 3/15/2025 | |
| 1.1.0 | 115 | 3/15/2025 | |
| 1.0.0 | 107 | 3/15/2025 |