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

Voice recogintion #375

Open
noriando opened this issue Oct 13, 2024 · 2 comments
Open

Voice recogintion #375

noriando opened this issue Oct 13, 2024 · 2 comments

Comments

@noriando
Copy link

I had an issue with voice recognition, not only on iOS but also on WebGL. I spent many hours troubleshooting this, adding debug code, and making modifications.

To investigate, I downloaded the latest version (0.83) to clarify the issue, but ChatdollKit still doesn't recognize the voice.

Finally, I discovered that if I set the language field in the OpenAI Speech Listener to null and clear the cache, it starts working again.

If you can fix this issue, it would be a great help! I couldn't identify the cause from the OpenAI Speech Listener source code, but I suspect this is where the issue lies.

@uezo
Copy link
Owner

uezo commented Oct 13, 2024

Hi @noriando ,
Thank you for investigation😊
What did you set to the language field?
It should be ISO-639-1 format(e.g. en for English, not like en-US.)

https://platform.openai.com/docs/api-reference/audio/createTranscription

@noriando
Copy link
Author

I set ja in language field.

now I realize it might be microphone conditions.
In case I change headphone in stead of Mac microphone, it looks like ok. I continue to investigate.

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

2 participants