14 lines
574 B
C#
14 lines
574 B
C#
namespace DramaLing.Api.Models.Configuration;
|
|
|
|
public class AzureSpeechOptions
|
|
{
|
|
public const string SectionName = "AzureSpeech";
|
|
|
|
public string SubscriptionKey { get; set; } = string.Empty;
|
|
public string Region { get; set; } = "eastasia";
|
|
public string Language { get; set; } = "en-US";
|
|
public bool EnableDetailedResult { get; set; } = true;
|
|
public int TimeoutSeconds { get; set; } = 30;
|
|
public int MaxAudioSizeMB { get; set; } = 10;
|
|
public string[] SupportedFormats { get; set; } = { "audio/wav", "audio/webm", "audio/mp3" };
|
|
} |