Has anyone had issues using aws transcribe for STT...
# agents
h
Has anyone had issues using aws transcribe for STT? We tested out switching over to it (partly to reduce latency as our agents are running on aws), but found that the cpu use went up massively. We went from fitting 20+ concurrent sessions on a worker down to about 3 or 4
Following some investigation into this, it looks like the
livekit-plugins-aws
plugin is using the
amazon-transcribe
package, which has the following note:
This project was launched as a proof of concept and is no longer actively developed. It is not an official AWS product and is provided as-is, without a support commitment. This package can, in rare cases, suffer from high CPU issues (#109, #84).
It seems that this package really isn't production ready and should not be used Is there any plan to update
livekit-plugins-aws
to make aws transcribe useable?
🙌 1
r
What fix on the LiveKit plugin side are you looking for. I believe the CPU usage spike is from the Amazon libs.
h
We are chasing this up with our amazon rep, as there doesn't seem to be any official python solution for this issue and all their docs still point to this unsupported library. However, the livekit plugin and docs all imply that it is production ready and stable, specifically including it in the 'Partner Spotlight' section of the docs page. At this point we will have to stop using amazon transcribe as the cpu cost is just too great Alternatively, can I confirm that for livekit hosted agents we wouldn't be charged for cpu usage as long as we're within the allotted concurrent agent sessions?
🙌 1
r
I am not aware of any CPU level cost it is based on # of sessions: https://docs.livekit.io/home/cloud/quotas-and-limits/
c
There was a community driven fix here but the AWS team just published an offical SDK that resolves this issue https://github.com/awslabs/aws-sdk-python/tree/develop/clients/aws-sdk-transcribe-streaming Would be great to get this in the livekit-plugins-aws cc: @refined-appointment-81829