20 lines
457 B
C#
20 lines
457 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace VectorStoreRAG.Options;
|
|
|
|
/// <summary>
|
|
/// Azure OpenAI service settings.
|
|
/// </summary>
|
|
internal sealed class AzureOpenAIConfig
|
|
{
|
|
public const string ConfigSectionName = "AzureOpenAI";
|
|
|
|
[Required]
|
|
public string ChatDeploymentName { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string Endpoint { get; set; } = string.Empty;
|
|
}
|