Ben.SemanticKernel
4.10.2
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 4.10.2
NuGet\Install-Package Ben.SemanticKernel -Version 4.10.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="Ben.SemanticKernel" Version="4.10.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ben.SemanticKernel" Version="4.10.2" />
<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 4.10.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ben.SemanticKernel, 4.10.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.
#addin nuget:?package=Ben.SemanticKernel&version=4.10.2
#tool nuget:?package=Ben.SemanticKernel&version=4.10.2
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
- itext7 (>= 9.1.0)
- Microsoft.AspNetCore.Http (>= 2.3.0)
- 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.51.0)
- Microsoft.SemanticKernel.Connectors.Ollama (>= 1.51.0-alpha)
- Microsoft.SemanticKernel.Connectors.Postgres (>= 1.51.0-preview)
- Microsoft.SemanticKernel.Connectors.Qdrant (>= 1.51.0-preview)
- Microsoft.SemanticKernel.Connectors.Sqlite (>= 1.44.0-preview)
- 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.0.1 | 35 | 5/28/2025 | |
4.10.3 | 55 | 5/24/2025 | |
4.10.2 | 51 | 5/24/2025 | |
4.10.1 | 51 | 5/24/2025 | |
4.9.15 | 126 | 5/22/2025 | |
4.9.14 | 122 | 5/21/2025 | |
4.9.13 | 130 | 5/21/2025 | |
4.9.12 | 127 | 5/19/2025 | |
4.9.11 | 203 | 5/15/2025 | |
4.9.10 | 210 | 5/15/2025 | |
4.9.9 | 205 | 5/15/2025 | |
4.9.8 | 209 | 5/15/2025 | |
4.9.7 | 209 | 5/15/2025 | |
4.9.6 | 207 | 5/15/2025 | |
4.9.5 | 187 | 5/12/2025 | |
4.9.4 | 181 | 5/12/2025 | |
4.9.3 | 102 | 5/9/2025 | |
4.9.2 | 128 | 5/9/2025 | |
4.9.1 | 125 | 5/9/2025 | |
4.8.5 | 373 | 4/25/2025 | |
4.8.4 | 219 | 4/25/2025 | |
4.8.3 | 220 | 4/24/2025 | |
4.8.2 | 227 | 4/24/2025 | |
4.8.1 | 145 | 4/24/2025 | |
4.7.10 | 145 | 4/23/2025 | |
4.7.9 | 189 | 4/15/2025 | |
4.7.8 | 180 | 4/14/2025 | |
4.7.7 | 180 | 4/14/2025 | |
4.7.6 | 189 | 4/14/2025 | |
4.7.5 | 179 | 4/14/2025 | |
4.7.4 | 182 | 4/14/2025 | |
4.7.3 | 176 | 4/14/2025 | |
4.7.2 | 178 | 4/14/2025 | |
4.7.1 | 189 | 4/14/2025 | |
4.6.1 | 148 | 4/9/2025 | |
4.6.0 | 155 | 4/9/2025 | |
4.5.9 | 153 | 4/8/2025 | |
4.5.8 | 149 | 4/8/2025 | |
4.5.7 | 156 | 4/7/2025 | |
4.5.6 | 153 | 4/7/2025 | |
4.5.5 | 159 | 4/7/2025 | |
4.5.4 | 152 | 4/7/2025 | |
4.5.3 | 158 | 4/7/2025 | |
4.5.2 | 149 | 4/7/2025 | |
4.5.1 | 156 | 4/7/2025 | |
4.5.0 | 155 | 4/7/2025 | |
4.3.0 | 147 | 4/2/2025 | |
4.2.1 | 150 | 4/2/2025 | |
4.2.0 | 145 | 4/2/2025 | |
4.1.0 | 148 | 4/1/2025 | |
4.0.0 | 142 | 4/1/2025 | |
3.2.1 | 475 | 3/25/2025 | |
3.2.0 | 472 | 3/25/2025 | |
3.1.0 | 78 | 3/22/2025 | |
3.0.0 | 115 | 3/21/2025 | |
2.0.0 | 141 | 3/20/2025 | |
1.5.0 | 137 | 3/20/2025 | |
1.4.0 | 137 | 3/20/2025 | |
1.3.0 | 140 | 3/20/2025 | |
1.2.0 | 69 | 3/15/2025 | |
1.1.0 | 68 | 3/15/2025 | |
1.0.0 | 64 | 3/15/2025 |