Commit Graph
12 Commits
Author SHA1 Message Date
saherelm 9e82e05bfe 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}.
2026-10-26 17:51:39 +03:30
saherelm 47da04a594 Implement Chat With Documents (In-Memory RAG) ...
- Add XAiDocumentModels (IngestResult, AskRequest, Answer, AnswerChunk, Source, SessionInfo, RAGDescriptor DTOs);
- Add AskWithContextAsync and AskWithContextAsEnumerable (Context Actions) to IXAiServiceBase and XAIServiceBase;
- Add GetContextHistory and BuildContextBlock Helpers for Building RAG Chat History without Persisting;
- Rewrite ChatWithDocumentsController with Ingest, Ask, AskStream (SSE), Get Session and Delete Session Endpoints;
- Add XInMemoryVectorStoreCleanupService (BackgroundService) for Removing Expired Sessions Periodically;
- Add AddXAiChatWithDocuments DI Extension, Register Cleanup HostedService and use it in Startup;
- Add RAGDescriptor Property to XAiApiConfiguration and its Section to appsettings.Development.json;
- Add ChatWithDocuments System Prompt to Prompts in appsettings.Development.json;
- Add IsValid Extension Method for XAiDocumentAskRequest;
- Optimize XInMemoryVectorStore.Search (Query Embedding Converted once) and Refactor Formatting;
- Remove Unused Usings in XAIServiceBase and IXAiServiceBase;
- ...
2026-10-25 22:24:39 +03:30
saherelm 47d8a19423 last ... 2026-10-25 17:58:05 +03:30
saherelm 429b97cded add TextChunker Service for AI Project ... 2026-10-25 17:23:03 +03:30
saherelm 4b857de518 - Add Proxy Configuration in AppSettings;
- Remap Proxy Configurations in AiApiConfiguration;
- Implement AiModelProxy Middleware for Proxifing Requests to Models;
- ad DI Extensions Method for Handling Proxy Middleware Usage in AiApi;
- Implement Proxy Middleware for Handling Proxifying Requests to Models for Test;
2026-10-23 19:58:35 +03:30
saherelm 0f92c54fb5 adding Code Content Extractor ... 2026-10-22 23:31:20 +03:30
saherelm f39cde0d09 add Epub, Html, PowerPoint, RTF File Content Extractor and etc ... 2026-10-22 19:06:51 +03:30
saherelm 22de433023 last ... 2026-09-25 19:47:30 +03:30
saherelm a4bcde5994 last ... 2026-08-15 10:49:08 +03:30
saherelm a3b3e69e53 Cleanup and Backup Exists AiApi and Create a New .net 10 App and Configureit for using xDashboard ... 2026-07-24 23:10:06 +03:30
saherelm e4ddceafa0 last ... 2026-04-10 17:41:01 +03:30
saherelm f863f49af7 Initial ... 2026-03-23 19:13:06 +03:30