You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The processAudio function makes an AWS API call using RecognizeUtteranceCommand.
The processText function makes an AWS API call using RecognizeTextCommand.
Both RecognizeUtteranceCommandOutput and RecognizeTextCommandOutput have the same values:
interpretations
messages
sessionId
sessionState
Expected Behavior
It is inefficient and costly $$ to make 2 API calls to AWS when only 1 is needed.
If config.asr is set to true, then only processAudio needs to be called and the NluData can be built with that result.
No need to call processText.
If config.asr is set to false, then processText should be called.
Current Behavior
processText is called after processAudio
Error Log
No error
Your Environment
Jovo Framework version used: 4.2.8
Operating System: Windows 10 10.0.22000
The text was updated successfully, but these errors were encountered:
rmtuckerphx
added a commit
to rmtuckerphx/jovo-framework
that referenced
this issue
May 28, 2022
I'm submitting a...
The processAudio function makes an AWS API call using RecognizeUtteranceCommand.
The processText function makes an AWS API call using RecognizeTextCommand.
Both RecognizeUtteranceCommandOutput and RecognizeTextCommandOutput have the same values:
Expected Behavior
It is inefficient and costly $$ to make 2 API calls to AWS when only 1 is needed.
If config.asr is set to true, then only processAudio needs to be called and the NluData can be built with that result.
No need to call processText.
If config.asr is set to false, then processText should be called.
Current Behavior
processText is called after processAudio
Error Log
No error
Your Environment
The text was updated successfully, but these errors were encountered: