AssemblyAI / assemblyai-python-sdk

AssemblyAI's Official Python SDK
https://assemblyai.com
MIT License
135 stars 16 forks source link

Asynchronous transcription via asyncio #80

Open serozhenka opened 1 month ago

serozhenka commented 1 month ago

Using asyncio will be greatly beneficial in the use case of transcription as most of the time the client waits for a response on a socket when your servers are doing all the great work.

concurrent.futures implementation still works but is not as good for two main reasons:

Hope for positive feedback on that!

ploeber commented 1 month ago

Hey @serozhenka , great feedback! It's actually on my TODO list for v 1.0.0 to introduce an asyncio client.

I plan to introduce it before v.1.0 so there's a transition period where both asyncio and the threading solution with the _async() functions can be used.

serozhenka commented 1 month ago

Sounds great! Do you have an approximate ETA of when can I expect it to be ready?

ploeber commented 1 month ago

aiming for Q4 2024