Michael ReaM
Convex Community2y ago
1 reply
Michael Rea

How to approach Streaming Audio

https://docs.play.ht/reference/integrating-with-chatgpt


So I'm wanting to use Play.ai text to speech where you can stream text results from an LLM like chatGPT and stream the audio back to the client.

I'm having trouble conceptualising how I could even do this in convex if at all.
My LLM logic and RAG is all happening in convex logic.

Is it even possible to pipe a audio-stream back to the browser from a convex action?

Not sure how to integrate something like this with my existing convex functions.

I'm using NextJS.

Cheers
PlayHT API
Make ChatGPT speak by using PlayHT text-to-speech APIs
Was this page helpful?