BotSharp/src/Infrastructure/BotSharp.Abstraction/MLTasks/ISpeechToText.cs
2024-08-17 18:34:31 -05:00

11 lines
267 B
C#

namespace BotSharp.Abstraction.MLTasks;
public interface ISpeechToText
{
string Provider { get; }
Task<string> GenerateTextFromAudioAsync(string filePath);
// Task<string> AudioToTextTranscript(Stream stream);
Task SetModelName(string modelType);
}