What language and framework does the voice agent in the Deepgram Playground run on? #1314
Replies: 4 comments 1 reply
-
Thanks for asking your question. Please be sure to reply with as much detail as possible so the community can assist you efficiently. |
Beta Was this translation helpful? Give feedback.
-
Hey there! It looks like you haven't connected your GitHub account to your Deepgram account. You can do this at https://community.deepgram.com - being verified through this process will allow our team to help you in a much more streamlined fashion. |
Beta Was this translation helpful? Give feedback.
-
It looks like we're missing some important information to help debug your issue. Would you mind providing us with the following details in a reply?
|
Beta Was this translation helpful? Give feedback.
-
Great question. The answer depends on exactly what you mean by "voice agent", but assuming it's "the actual voice chat experience", the answer is "no framework": it's implemented in vanilla typescript as two web components. One for audio & websocket management, one for the animation. We briefly considered using Lit to simplify the implementation a bit, but at the end of the day, the bulk of the complexity is really about the MediaStream, Web Audio, WebSocket, and Canvas APIs, not web components themselves, so we figured we'd leave it vanilla and save a few KB. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Title says it all :)
Beta Was this translation helpful? Give feedback.
All reactions