Commit Graph
11 Commits
Author SHA1 Message Date
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 5f518b86b2 last ... 2026-10-28 00:08:26 +03:30
saherelm 34539cd764 last ... 2026-10-27 05:55:53 +03:30
saherelm 90ce6842f6 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
2026-10-26 17:51:24 +03:30
saherelm 47b2cbc0d2 last ... 2026-09-30 15:27:26 +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 9f27b7825e last ... 2026-09-27 16:08:32 +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 9a13fa68a7 add mapper configs ... 2026-08-01 15:32:14 +03:30