// Copyright (c) Microsoft. All rights reserved. namespace OpenAIRealtime; /// /// Configuration for OpenAI service. /// public class OpenAIOptions { public const string SectionName = "OpenAI"; /// /// OpenAI API key, see https://platform.openai.com/account/api-keys /// public string ApiKey { get; set; } public bool IsValid => !string.IsNullOrWhiteSpace(this.ApiKey); }