// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel.DataAnnotations; namespace ChatWithAgent.Configuration; /// /// Azure OpenAI embeddings configuration. /// public sealed class AzureOpenAIEmbeddingsConfig { /// /// Configuration section name. /// public const string ConfigSectionName = "AzureOpenAIEmbeddings"; /// /// The name of the embeddings deployment. /// [Required] public string DeploymentName { get; set; } = string.Empty; /// /// The name of the embeddings model. /// public string ModelName { get; set; } = string.Empty; /// /// The embeddings model version. /// public string ModelVersion { get; set; } = string.Empty; /// /// The SKU name. /// public string? SkuName { get; set; } /// /// The SKU capacity /// public int? SkuCapacity { get; set; } }