Commit Graph
22 Commits
Author SHA1 Message Date
saherelm 08fd26ffac last ... 2026-11-10 17:30:10 +03:30
saherelm 476ace743d last ... 2026-11-08 18:06:27 +03:30
saherelm c53553e1cf add all requirements for implementing XAiMcpClient ... 2026-11-06 19:09:07 +03:30
saherelm 9668f26ffe last ... 2026-11-03 18:56:52 +03:30
saherelm 9e7710e345 Make projectId Nullable in Data Provider and Remove Api Configuration
- IXAiDataProvider.GetDefaultConversation: projectId changed from Guid to Guid?;
- XAiDataProvider.GetDefaultConversation / HasDefaultConversation /
  CreateDefaultConversation: adapt to Guid? (use !projectId.HasValue instead of
  projectId.IsNull(); resolve project via projectId.Value);
- XAiDataProvider: conversation lookup predicate fixed to
  x.ProjectId == project.Id (was x.ProjectId == projectId);
- XEmbeddingExtensions: add ToEmbedding(this ReadOnlyMemory<float>) to persist
  embeddings as JSON;
- XAiDataProvider: use item.Embedding.ToEmbedding() instead of ToJSON() when
  upserting vectors;
- XAiModelsExtensions: rename GetDafualtProject -> GetDafaultProject (typo fix);
- Remove Configurations/XAiApiConfiguration.cs and
  Extensions/XAiApiConfigurationExtensions.cs (Api configuration does not belong
  to the models module).
BREAKING: XAiApiConfiguration / XAiApiConfigurationExtensions removed from
          xAiModels; GetDafualtProject renamed to GetDafaultProject.
2026-11-02 16:37:27 +03:30
saherelm c4b7e86174 Try to Fix Embeding RAG Persisted Issues ... 2026-11-01 23:12:25 +03:30
saherelm 31a0d097c0 Make Project and Conversation Optional in XAiResponseRequest
- XAiResponseRequest: ProjectId / ConversationId changed from Guid to Guid?
  (omitted => default project / default conversation);
- XAiModelsExtensions: fix indentation of ToChatMessages signature.
2026-10-30 19:45:57 +03:30
saherelm ef1421def4 Move Knowledge Constants and Fix Inverted Ownership Filters
- Add XAiKnowledgeScope enum (Conversation=0, Project=1, Global=2, User=3) with StringValue prefixes;
- Add Knowledge constants, scope prefixes, metadata keys and XAiErrorRoute to XAiModelsConstants;
- Fix inverted ownerId condition in QueryProjects / QueryConversations / QueryMessages
  (ownership filter was skipped for real owners -> cross-user data exposure);
- Fix inverted HasChild() validation in HasDefaultProject / HasDefaultConversation;
- LoadConversations: ignore soft-deleted conversations;
- CreateProject / CreateConversation: set isDefaultLanguageHandled = true;
- GetDefaultConversation: use projectId instead of unloaded project.Id.
2026-10-29 19:58:47 +03:30
saherelm 093fc08e14 remove MetaData Extansions to Commons Module ... 2026-10-29 14:16:13 +03:30
saherelm 664579623a add Extension Method for Handling Attachment of ApiKey on AI Model Proxyfing ... 2026-10-23 19:50:18 +03:30
saherelm c8ad34944a last ... 2026-10-21 17:54:52 +03:30
saherelm 26df2c7ebc last ... 2026-10-02 22:12:26 +03:30
saherelm 755eafa7d2 Add Support for Attaching Additional Contents to Specified Prompt Message when Converting to Chat Message, Specified For File Support ... 2026-09-30 23:12:39 +03:30
saherelm f48b9257a3 last ... 2026-09-29 17:41:17 +03:30
saherelm 2aa0607e85 last ... 2026-09-28 16:34:36 +03:30
saherelm a4dee3b5a4 last ... 2026-09-27 22:00:56 +03:30
saherelm eb27e9ce1f last ... 2026-09-25 19:48:23 +03:30
saherelm a9b75b3c33 apply sorting ... 2026-09-06 00:18:24 +03:30
saherelm 73fb9a01b8 last ... 2026-08-14 00:01:17 +03:30
saherelm 2696a9850c last ... 2026-08-01 10:52:50 +03:30
saherelm 8046f42b2c last ... 2026-04-24 22:07:00 +03:30
saherelm c3010effec last ... 2026-04-24 13:42:02 +03:30