Senparc.Xncf.KnowledgeBase 0.4.0-preview5

Prefix Reserved
This is a prerelease version of Senparc.Xncf.KnowledgeBase.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Senparc.Xncf.KnowledgeBase --version 0.4.0-preview5
                    
NuGet\Install-Package Senparc.Xncf.KnowledgeBase -Version 0.4.0-preview5
                    
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="Senparc.Xncf.KnowledgeBase" Version="0.4.0-preview5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Senparc.Xncf.KnowledgeBase" Version="0.4.0-preview5" />
                    
Directory.Packages.props
<PackageReference Include="Senparc.Xncf.KnowledgeBase" />
                    
Project file
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 Senparc.Xncf.KnowledgeBase --version 0.4.0-preview5
                    
#r "nuget: Senparc.Xncf.KnowledgeBase, 0.4.0-preview5"
                    
#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 Senparc.Xncf.KnowledgeBase@0.4.0-preview5
                    
#: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=Senparc.Xncf.KnowledgeBase&version=0.4.0-preview5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Senparc.Xncf.KnowledgeBase&version=0.4.0-preview5&prerelease
                    
Install as a Cake Tool

Senparc.Xncf.KnowledgeBase

Senparc.Xncf.KnowledgeBase is an NCF module for managing knowledge-base collections, source chunks, imported content, and retrieval/search workflows.

Features

  • Manages KnowledgeBase and KnowledgeBaseItem records through application services and DTOs.
  • Supports text/file import, chunk listing/deletion, collection management, and retrieval testing.
  • Exposes request/response records such as CreateCollectionRequest, ImportTextRequest, SearchRequest, and SearchResponse.
  • Uses NCF module localization, authorization areas, and provider-specific EF Core contexts.

Installation

<PackageReference Include="Senparc.Xncf.KnowledgeBase" Version="0.26.0-preview3" />

Key API

  • KnowledgeBaseService and KnowledgeBaseAppService manage collections.
  • KnowledgeBaseItemService and KnowledgeBaseItemAppService manage source items and chunks.
  • SearchRequest/SearchResponse define retrieval calls; ListChunksRequest and ListChunksResponse define chunk browsing.
  • ImportTextRequest, ImportFilesRequest, and ImportTextResponse model ingestion.
  • RecallTestAppService and RecallTestRequest support retrieval evaluation.

The module does not choose a vector store, embedding provider, or document permission policy by itself. Keep source access and search results tenant-scoped, and do not index secrets or restricted documents without an explicit policy.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Senparc.Xncf.KnowledgeBase:

Package Downloads
Senparc.Xncf.AgentsManager

Agents 管理模块

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.0-preview8 0 8/12/2026
0.5.1-preview7 53 8/8/2026
0.5.0-preview6 66 8/3/2026
0.4.0-preview5 55 7/31/2026
0.3.1-preview4 52 7/28/2026
0.3.0-preview3 55 7/26/2026
0.2.3-preview2 173 7/15/2026
0.2.2-preview1 65 7/3/2026
0.2.1-preview1 69 6/17/2026
0.1.11.1-preview 74 5/22/2026
0.1.2-preview 75 6/16/2026

v0.1 创世
[2025-07-27] v0.1.5-preview1s update Knowledge Base
[2025-11-01] update basic libraries, including Senparc.AI
[2025-01-07] v0.1.8-preview.1 Reset all database migrations
[2026-04-24] Simplify FunctionRender request parameters and keep SelectionList UI metadata compatibility
[2026-07-02] v0.2.2-preview1 新增 PromptRange 与 AgentsManager 使用记录能力,升级 Senparc.AI.AgentKernel 并完成兼容性适配
1、新增 PromptRange 与 AgentsManager 使用记录能力
2、升级 Senparc.AI.AgentKernel 并完成兼容性适配
[2026-07-07] v0.2.3-preview2 Dependency updates from upstream modules
1、Dependency update from Senparc.Xncf.AIKernel to 0.13.5-preview4
2、升级 Senparc.AI 至 0.27.3、Senparc.AI.AgentKernel 至 0.1.10
[2026-07-17] v0.3.0-preview3 为 KnowledgeBase 模块接入统一资源本地化并优化功能文案
1、接入统一资源本地化机制,支持模块功能文案按当前文化动态显示
2、更新 FunctionRender 与请求模型文案的资源化解析
3、统一模块注册信息、菜单名称与功能描述的本地化输出
4、同步管理页面与前端交互文案的多语言显示
5、同步 AIKernel 0.14.0-preview5 的 NeuChar 模型 API 版本适配
[2026-07-29] v0.3.1-preview4 通过文件服务读取知识库文件并限制物理路径
1、复用 NcfFileService 读取文件内容,统一文件存储边界校验
2、避免篡改数据库路径字段后直接访问站点外部文件
[2026-07-31] v0.4.0-preview5 扩展 KnowledgeBase 管理界面的多语言能力
1、补齐知识库编辑、检索测试、菜单与交互文案的多语言资源
2、升级 Senparc.AI 组件与 CO2NET WebApi 兼容依赖