sshh12 / llm_convo

Use ChatGPT over Twilio to create an AI phone agent (works for incoming or outgoing calls).
MIT License
89 stars 19 forks source link

Elevenlabs API Integration #6

Open vishnusharmax opened 8 months ago

vishnusharmax commented 8 months ago

Is there a method to incorporate the Elevenlabs API in order to enhance voice quality through voice cloning?

sshh12 commented 8 months ago

This should be totally possible by implementing a new TTSClient. Elevenlabs is way better than Google default but havent had a chance to implement this.

vishnusharmax commented 8 months ago

Hello, I've attempted to integrate Eleven Labs, but I've noticed a slowdown in response time. Do you have any suggestions on how we can optimize the response time for our calls?

sshh12 commented 8 months ago

Potentially by using the streaming part of the API. But it'll be tricky since this library doesn't support streaming from GPT to the TTS object (you'd need to add it).