Skip to main content
net10.0

AI 核心模块,基于 Senparc.AI 为所有 AI 项目提供基础能力

Published
Jul 31, 2026
2mo ago
Total Downloads
26.3K
26,287

Install

dotnet add package Senparc.Xncf.AIKernel --version 0.15.0-preview7
ProductVersions
.NET
net10.0

README

Senparc.Xncf.AIKernel

Senparc.Xncf.AIKernel is the NCF AI model and vector configuration module. It provides persistence, administration services, and integration helpers for Senparc AI model settings.

Features

  • Manages AIModel and AIVector records and their DTO/request models.
  • Provides model and vector application services with paging, create, edit, and delete operations.
  • Builds SenparcAiSetting values and runs model requests through the configured Senparc AI runtime.
  • Synchronizes model metadata from NeuChar services when explicitly requested.
  • Supports NCF's multi-database context variants and localized module metadata.

Installation

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

Key API

  • AIModelService.AddAsync(...), EditAsync(...), and BuildSenparcAiSetting(...) manage model configuration.
  • AIModelService.RunModelsync(...) executes a configured model request.
  • AIModelService.UpdateModelsFromNeuCharAsync(...) refreshes model metadata from NeuChar.
  • AIVectorService.AddAsync(...) and EditAsync(...) manage vector configuration.
  • AIModelAppService and AIVectorAppService expose NCF function/application endpoints; AIModelStudioAppService is the model-studio integration point.

The module stores provider settings and may process prompts or model output. Keep API keys in secure configuration, restrict model administration, and apply tenant/data-retention rules before enabling it for users.

Changes from Previous Version

No structural changes between v0.14.1-preview6 and v0.15.0-preview7.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.The published metadata declares 15 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.