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

Update Wit.AI API request #750

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update Wit.AI API request #750

wants to merge 3 commits into from

Conversation

TIT8
Copy link

@TIT8 TIT8 commented Apr 25, 2024

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.

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

Successfully merging this pull request may close these issues.

1 participant