Files
xSaherElmAiApi/Controllers/DefaultEmbeddingController.cs
T
saherelm 7b1f16bd18 last works on AiApi:
- Default Ai Service and Controller;
- Default Embeding and Controller;
- ...
2026-08-15 17:25:33 +03:30

31 lines
876 B
C#

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
)
{ }
}
}