Ben.SemanticKernel
1.4.0
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 1.4.0
NuGet\Install-Package Ben.SemanticKernel -Version 1.4.0
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="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ben.SemanticKernel" Version="1.4.0" />
<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 1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ben.SemanticKernel, 1.4.0"
#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=1.4.0
#tool nuget:?package=Ben.SemanticKernel&version=1.4.0
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.AspNetCore.Http (>= 2.3.0)
- Microsoft.KernelMemory.AI.OpenAI (>= 0.97.250211.1)
- Microsoft.KernelMemory.Core (>= 0.97.250211.1)
- Microsoft.KernelMemory.MemoryDb.Qdrant (>= 0.97.250211.1)
- Microsoft.SemanticKernel (>= 1.40.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 |
---|---|---|
4.3.0 | 35 | a day ago |
4.2.1 | 36 | a day ago |
4.2.0 | 37 | a day ago |
4.1.0 | 44 | 2 days ago |
4.0.0 | 40 | 2 days ago |
3.2.1 | 459 | 9 days ago |
3.2.0 | 459 | 9 days ago |
3.1.0 | 66 | 12 days ago |
3.0.0 | 103 | 13 days ago |
2.0.0 | 130 | 14 days ago |
1.5.0 | 126 | 14 days ago |
1.4.0 | 127 | 14 days ago |
1.3.0 | 129 | 14 days ago |
1.2.0 | 62 | 19 days ago |
1.1.0 | 62 | 19 days ago |
1.0.0 | 57 | 19 days ago |