using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace xAiApi.Interfaces { public interface IXAiEmbeddingServiceControllerBase : IXAiServiceControllerBase { /// /// Request For Embedding Specified String ... /// /// /// /// [HttpGet("Embedding")] Task> Embedding( [FromQuery] string content, CancellationToken cancellationToken = default ); /// /// Request For Embedding Specified Batch ... /// /// /// /// [HttpGet("Embeddings")] Task>> Embeddings( [FromQuery] string[] batch, CancellationToken cancellationToken = default ); } }