chore: import upstream snapshot with attribution
This commit is contained in:
+42
@@ -0,0 +1,42 @@
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ChatWithAgent.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Azure OpenAI chat configuration.
|
||||
/// </summary>
|
||||
public sealed class AzureOpenAIChatConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration section name.
|
||||
/// </summary>
|
||||
public const string ConfigSectionName = "AzureOpenAIChat";
|
||||
|
||||
/// <summary>
|
||||
/// The name of the chat deployment.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string DeploymentName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The name of the chat model.
|
||||
/// </summary>
|
||||
public string ModelName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The chat model version.
|
||||
/// </summary>
|
||||
public string ModelVersion { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The SKU name.
|
||||
/// </summary>
|
||||
public string? SkuName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The SKU capacity
|
||||
/// </summary>
|
||||
public int? SkuCapacity { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user