Some confused about speech to text #1210
-
This Interface just have one method Sample codesvar recognitionResult = await speechToText.ListenAsync(
CultureInfo.GetCultureInfo(locale?. Language ?? defaultLanguage),
new Progress<string>(partialText =>
{
}), cancellationToken);
if (recognitionResult.IsSuccessful)
{
} Questions
My ScenesWhen we have So, I need to get the converted text (recognizable into a sentence) and use the OpenAI API to generate a dialogue in near real time, and then let the device read it out. Anyone have any suggestion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Example with chat gpt. https://github.com/VladislavAntonyuk/MauiSamples/tree/main/MauiSpeech
|
Beta Was this translation helpful? Give feedback.
-
Closed as answered |
Beta Was this translation helpful? Give feedback.
Example with chat gpt. https://github.com/VladislavAntonyuk/MauiSamples/tree/main/MauiSpeech