Files
microsoft--semantic-kernel/dotnet/samples/Demos/HomeAutomation/Options/AzureOpenAIOptions.cs
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

23 lines
513 B
C#

// Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel.DataAnnotations;
namespace HomeAutomation.Options;
/// <summary>
/// Azure OpenAI settings.
/// </summary>
public sealed class AzureOpenAIOptions
{
public const string SectionName = "AzureOpenAI";
[Required]
public string ChatDeploymentName { get; set; } = string.Empty;
[Required]
public string Endpoint { get; set; } = string.Empty;
[Required]
public string ApiKey { get; set; } = string.Empty;
}