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
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using xAiApi.Interfaces;
using xCommons.Configurations;
using xCommons.Providers;
namespace xAiApi.Controllers
{
[Authorize]
[Route("[controller]")]
public class DefaultEmbeddingController : XAiEmbeddingServiceControllerBase<IXDefaultEmbeddingService>
{
public DefaultEmbeddingController(
ILogger<DefaultEmbeddingController> logger,
IXDefaultEmbeddingService aiService,
XAppConfiguration appConfiguration,
XValidationProvider validationProvider
) : base(
logger,
aiService,
appConfiguration,
validationProvider
)
{ }
}
}