Files
microsoft--semantic-kernel/dotnet/samples/Demos/AgentFrameworkWithAspire/ChatWithAgent.Configuration/OpenAIChatConfig.cs
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

23 lines
518 B
C#

// Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel.DataAnnotations;
namespace ChatWithAgent.Configuration;
/// <summary>
/// OpenAI chat configuration.
/// </summary>
public sealed class OpenAIChatConfig
{
/// <summary>
/// Configuration section name.
/// </summary>
public const string ConfigSectionName = "OpenAIChat";
/// <summary>
/// The name of the chat model.
/// </summary>
[Required]
public string ModelName { get; set; } = string.Empty;
}