Commit Graph
22 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 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 7cad889cd0 last ... 2026-10-03 17:42:36 +03:30
saherelm c30d93be0b last ... 2026-10-02 22:12:46 +03:30
saherelm 4521a53734 fix file content extractor mechanism ... 2026-10-02 00:07:58 +03:30
saherelm f32972b55f adding File Content Extraction Services ... 2026-10-01 01:16:24 +03:30
saherelm aac3eb92c1 Start Add File Support in Messages Feature ... 2026-09-30 23:13:32 +03:30
saherelm efaf71d962 last ... 2026-09-30 15:27:39 +03:30
saherelm 383e42a8d2 last ... 2026-09-29 17:41:48 +03:30
saherelm 767479e80d last ... 2026-09-28 16:35:04 +03:30
saherelm b596afbe57 last ... 2026-09-26 16:46:30 +03:30
saherelm ed8a66f432 refactor for better support of streaming and etc ... 2026-09-26 10:46:14 +03:30
saherelm 9afa413c6f adding vector model enabling and also test all using OpenAI model ... 2026-09-26 01:24:19 +03:30
saherelm ae2713eddd fix typos ... 2026-09-19 12:14:44 +03:30
saherelm 7b1f16bd18 last works on AiApi:
- Default Ai Service and Controller;
- Default Embeding and Controller;
- ...
2026-08-15 17:25:33 +03:30
saherelm a4bcde5994 last ... 2026-08-15 10:49:08 +03:30
saherelm aaa1ae2a2b last ... 2026-08-14 21:33:36 +03:30
saherelm 632dd04d98 last ... 2026-08-01 04:21:36 +03:30