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
I am using core library for core functionality in my app. that is 'com.justai.aimybox:core:0.11.0'. and I am using Google cloud speechkit for TTS and STT APIs.
The problem is that speech recognization is not working many times. Sometimes it works and somtimes its not. And even if it starts recognizing the speech. It stopps after recognizing few words. Please let me know what is the issue and how to resolve it very quickly.
I am posting the code here that I am using
Below is the code for Initializing Aimybox
`//[START] Initializing Aimybox assistance at the application level,
* to get the singleton object throughout the app*/
val credentials = GoogleCloudCredentials.fromAsset(applicationContext, "credentials.json")
GoogleCloudTextToSpeech.Config(Gender.FEMALE)
val textToSpeech = GoogleCloudTextToSpeech(applicationContext, credentials, Locale.ENGLISH)
val speechToText = GoogleCloudSpeechToText(credentials, Locale.ENGLISH)
//val dialogApi = AimyboxDialogApi("your Aimybox project API key", unitId)
val unitId = UUID.randomUUID().toString()
val dialogApi = DummyDialogApi()
aimybox = Aimybox(Config.create(speechToText, textToSpeech, dialogApi))`
And here is the code to start recognizing the speech
aimybox.startRecognition()
Please provide the solution quickly.
The text was updated successfully, but these errors were encountered:
I am using core library for core functionality in my app. that is 'com.justai.aimybox:core:0.11.0'. and I am using Google cloud speechkit for TTS and STT APIs.
The problem is that speech recognization is not working many times. Sometimes it works and somtimes its not. And even if it starts recognizing the speech. It stopps after recognizing few words. Please let me know what is the issue and how to resolve it very quickly.
I am posting the code here that I am using
Below is the code for Initializing Aimybox
`//[START] Initializing Aimybox assistance at the application level,
* to get the singleton object throughout the app*/
val credentials = GoogleCloudCredentials.fromAsset(applicationContext, "credentials.json")
And here is the code to start recognizing the speech
aimybox.startRecognition()
Please provide the solution quickly.
The text was updated successfully, but these errors were encountered: