-
Notifications
You must be signed in to change notification settings - Fork 359
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
Get text from audio #38
Comments
Speech API would be nice! I know I can hack it and submit a speech request to your or any other speech API and than submit the 1-best hypothesis to your converse API. |
+1 |
I also think that this would be great; after all, there's not much of a point to natural speech if you can't actually speak |
+1 |
+1 converse API through speech directly is a great feature to have |
+1 |
This feature would make the Pywit library perfect! still waiting.... :/ |
Hi everybody, apologies for the lack of responsiveness here and thanks for keeping this issue alive. Regarding audio recording (from a microphone device), I don't think it makes sense to add that to pywit, as it's highly platform specific and does not make sense for server-side use cases. Regarding the network streaming part, we'd be open to add back a method |
You might want to actually read what I was asking for ... I never asked you to capture audio. Just make python as complete as your http api so I can send an audio file for you to interpret ... it is simple! You also might want to check your pull requests ... Method added to upload voice commands #67 already already does this. I independently implemented a very similar solution long ago, but was far too lazy to submit a pull request. @willywongi however did, so please take a look at his work and consider committing it. |
I commented on the PR, hopefully @willywongi can get around to implementing the last bit soon. We'll merge then. |
"Good news everyone!" I pushed the correction @blandinw was asking - I forgot to allow users to set the correct content-type header. |
Thank you @willywongi! |
curl -XPOST "https://api.wit.ai/speech?v=20211113" \ Remember: @ front of YOUR_AUDIO is important. |
Can you please write a complete library? Please include a function for speech (link to your API) passed as an audio file. Basically it does this (per your docs):
The text was updated successfully, but these errors were encountered: