last works on AiApi:

- Default Ai Service and Controller;
- Default Embeding and Controller;
- ...
This commit is contained in:
2026-08-15 17:25:33 +03:30
parent a4bcde5994
commit 7b1f16bd18
13 changed files with 453 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,6 @@ using Microsoft.Extensions.DependencyInjection;
using IdentityModel.AspNetCore.OAuth2Introspection;
using xPushService.Helpers;
using xAiApi.DI;
using xExceptions.Constants;
using xAiApi.Interfaces;
using xAiApi.Providers;
using xAiModels.DI;
@@ -189,6 +188,7 @@ namespace xAiApi
//
// Register Default Ai Service ...
services.AddScoped<IXDefaultAiService, XDefaultAiService>();
services.AddScoped<IXDefaultEmbeddingService, XDefaultEmbeddingService>();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)