{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/59fdddf129534dc2be4dde3cc6ebe8de\" frameborder=\"0\" width=\"1156\" height=\"867\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":867,"width":1156,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":867,"thumbnail_width":1156,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/59fdddf129534dc2be4dde3cc6ebe8de-00001.gif","duration":229.56666666666666,"title":"Translator Bot Demo Code Overview","description":"Hey, I'm Chad. In this video, I provide a quick overview of the code behind the Translator bot demo. I walk through the code in the daily AI examples repo, specifically focusing on the bot.py file in the translation chatbot folder. I explain the imports, custom processors, and the main function where the magic happens. I also discuss configuring services like text to speech and LLM, as well as the sentence aggregator and translation processor. I demonstrate how we create a system for translating text and how we use the translation subtitles frame processor to send translated text to other call participants. Finally, I show how we generate audio using text to speech. Check it out!"}