BotSharp/src/Plugins/BotSharp.Plugin.AudioHandler/Models/AudioOutput.cs
2024-08-26 17:24:07 -05:00

14 lines
318 B
C#

using Whisper.net;
namespace BotSharp.Plugin.AudioHandler.Models;
public class AudioOutput
{
public List<SegmentData> Segments { get; set; } = new();
public override string ToString()
{
return this.Segments.Count > 0 ? string.Join(" ", this.Segments.Select(x => x.Text)) : string.Empty;
}
}