- Add Documents/Docs/ChangeLogs/1405-08-04-v02.html;
- Add this commit message file; - Document current OwnerId limitation and proposed KnowledgeBaseId design.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,39 @@
|
||||
===============================================================================
|
||||
Commit Message - xSaherelmWorkspace
|
||||
تاریخ: ۱۴۰۵/۰۸/۰۴ (2026-10-26)
|
||||
نسخه مستند: v02
|
||||
گزارش کامل: Documents/Docs/ChangeLogs/1405-08-04-v02.html
|
||||
===============================================================================
|
||||
|
||||
هدف: پیادهسازی Persistent RAG روی XAiVector و افزودن API پایدار Knowledge.
|
||||
|
||||
[1] Modules/xAiModels
|
||||
Persist Vector Storage and Prefix-Scoped Vector Search
|
||||
- Add IXAiDataProvider contracts for batch upsert, prefix search, loading, and removal;
|
||||
- Persist chunks in existing XAiVector schema without migration;
|
||||
- Support topK, minimum score, prefix filtering, batch persistence, and replacement.
|
||||
Files: M Interfaces/IXAiDataProvider.cs; M Providers/XAiDataProvider.cs
|
||||
|
||||
[2] xAiApi
|
||||
Add Persistent Knowledge RAG Service and API
|
||||
- Add IXAiRAGService and XAiRAGService for Extract -> Chunk -> Embed -> Store;
|
||||
- Add synchronous and streaming RAG answers with sources;
|
||||
- Add Knowledge models and KnowledgeController endpoints;
|
||||
- Register IXAiRAGService as scoped;
|
||||
- Keep current identifier: {ownerId}/{fileName}#{chunkIndex}.
|
||||
Files: A Interfaces/IXAiRAGService.cs; A Providers/XAiRAGService.cs; A Models/XAiKnowledgeModels.cs; A Controllers/KnowledgeController.cs; M Constants/XAiApiConstants.cs; M DI/XDIHelperExtension.cs
|
||||
|
||||
[3] Workspace documentation
|
||||
- Add Documents/Docs/ChangeLogs/1405-08-04-v02.html;
|
||||
- Add this commit message file;
|
||||
- Document current OwnerId limitation and proposed KnowledgeBaseId design.
|
||||
|
||||
Validation: dotnet build xAiApi/xAiApi.csproj --nologo -v q succeeded. NU1900 warnings occurred because vulnerability metadata could not be loaded from api.nuget.org; no compilation error was reported. Runtime tests remain pending.
|
||||
|
||||
Suggested root commit title:
|
||||
Add Persistent RAG Knowledge Base Storage and API (۱۴۰۵/۰۸/۰۴ v02)
|
||||
|
||||
For additional documentation use v03:
|
||||
1405-08-04-v03.html
|
||||
CommitMessage-1405-08-04-v03.txt
|
||||
===============================================================================
|
||||
+1
-1
Submodule Modules/xAiModels updated: 664579623a...90ce6842f6
+1
-1
Submodule xAiApi updated: fef38cad1b...9e82e05bfe
Reference in New Issue
Block a user