Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google clous speechkit is not working properly #77

Open
bhargav015 opened this issue Sep 14, 2020 · 0 comments
Open

Google clous speechkit is not working properly #77

bhargav015 opened this issue Sep 14, 2020 · 0 comments

Comments

@bhargav015
Copy link

I am using the latest version of core AimyBox SDK and using Google cloud speechkit for the Text to Speech and for Speech to Text as well. But the problem is, it is not wokring continously and it stopped recognizing the speech after some random amount of time. And I am not getting any error in the logcat. So I am not able to find the root of an issue.

Here I am posting the code that I have written

` val credentials = GoogleCloudCredentials.fromAsset(applicationContext, "credentials.json")

    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))`

Help me to find the solution as it is urgent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant