Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As of April 2024, when sending a POST request to the Wit.AI API (https://api.wit.ai/speech?v=20170307), the response shows a deprecation warning.
Therefore, I have updated the version to 20210926, which is the last one compatible with how this library handles the response (only one JSON object is returned as a response) and is not deprecated (for now). This update will not break existing code.
However, Wit.AI now offers a new API (dictation), which is similar to speech but without intents. This change can lower latency and can transcribe audio for up to 5 minutes, while speech can only transcribe up to 20 seconds.
I'm using this in my project and it works well. Maybe this changes are useful only for me, but I make a pull request, maybe someone use Wit.AI via this library like me.