Parallel Processing for Speeding-up a Voice Chatbot with Google Gemini

  Рет қаралды 183

TechMakerAI

TechMakerAI

23 күн бұрын

Previously, I built a Google Gemini-powered voice chatbot (assistant) with Python. However, in that code, I used sequential (programming) processing such that there is a pause in the middle of the reply from AI. In this video, I will show you how to build a Google Gemini-powered voice chatbot with parallel processing in Python. Specifically, we will use parallel computing in Python to split tasks such as Text generation, Text-to-Speech conversation, and audio playing onto three threads (multithreading) and accelerate the program. I have one version of the code that only works on Raspberry Pi because it requires LEDs and resistors. If you do not have LEDs or resistors, I have another version that works on Raspberry Pi and Windows PC.
Please check the GitHub page for the Python code and additional packages here:
github.com/techmakerai/Parall...
Here is the link to my previous video in which I talked about the Google Gemini API key,
• Build a Google Gemini ...
Hardware:
1. Raspberry Pi (amzn.to/4bmstJa)
2. microSD card (amzn.to/4ay0HbY)
2. Audio amplifier (amzn.to/3JjPWy9)
3. Mini speaker (amzn.to/3TB9Pp3)
4. USB Microphone (amzn.to/3HGGSCA)
5. (optional) LEDs and resistors (amzn.to/3Jg4Yoz)
If you found my videos helpful, please consider supporting my channel at:
www.buymeacoffee.com/techmakerai
#googlegemini #chatbot #raspberrypi #multithreading #voiceassistant #python #parallel #gemini #pythontutorial #largelanguagemodels #ai #aichatbots #raspberrypiprojects #raspberrypi4 #api #programming #tutorial #pythonprogramming #python3 #pythonprojects #speaker #microphone #led #resistors

Пікірлер: 2
@aronds24
@aronds24 20 күн бұрын
M the 100th subscriber😂😂✨✨ Nice video man
@TechMakerAI
@TechMakerAI 20 күн бұрын
@aronds24: Thank you for subscribing and your encouragement! It helps me a lot.
Nvidia CUDA in 100 Seconds
3:13
Fireship
Рет қаралды 1 МЛН
Gemini Advanced vs ChatGPT Plus Comparison
11:44
Victor Dantas
Рет қаралды 15 М.
НЕОБЫЧНЫЙ ЛЕДЕНЕЦ
00:49
Sveta Sollar
Рет қаралды 8 МЛН
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 75 МЛН
He Threw A Banana Peel At A Child🍌🙈😿
00:27
Giggle Jiggle
Рет қаралды 16 МЛН
ChatGPT Can Now Talk Like a Human [Latest Updates]
22:21
ColdFusion
Рет қаралды 447 М.
I Made 200 Python Projects...Here Are My 5 FAVORITES
11:23
Tech With Tim
Рет қаралды 119 М.
Google Search as We Know It is Gone!
12:35
Waveform Clips
Рет қаралды 119 М.
Hands On With Google Gemini 1.5 Pro- Is this the Best LLM Model?
13:42
Sam Altman New statement On GPT-5 Is Surprising!
12:56
TheAIGRID
Рет қаралды 39 М.
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,3 МЛН
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 3,7 МЛН
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 7 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
Внутренности Rabbit R1 и AI Pin
1:00
Кик Обзор
Рет қаралды 2,2 МЛН
Как я сделал домашний кинотеатр
0:41
RICARDO
Рет қаралды 1,1 МЛН