Commit Graph
7 Commits
Author SHA1 Message Date
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 429b97cded add TextChunker Service for AI Project ... 2026-10-25 17:23:03 +03:30
saherelm 7cad889cd0 last ... 2026-10-03 17:42:36 +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 561542ea0a last ... 2026-08-15 00:29:01 +03:30
saherelm aaa1ae2a2b last ... 2026-08-14 21:33:36 +03:30