Build a Google Gemini Powered Voice Assistant (chatbot) with Python

  Рет қаралды 4,406

TechMakerAI

TechMakerAI

Күн бұрын

In this video, I will show you how to build a voice assistant (chatbot) by using Google's new AI model Gemini Pro (API) and Python. Then, I will demonstrate how you can have a real-time conversation with your personal voice assistant.
For Python code and additional packages required for this project, see here:
github.com/techmakerai/Google...
Please check out my updated version of this code with parallel computing (faster) at
• Parallel Processing fo...
Please check out my new video about a Meta Llama 3-powered voice chatbot:
• Build a Meta Llamma-3 ...
In my previous video, I have also built a voice chatbot with OpenAI's ChatGPT,
• Build an OpenAI ChatGP...
If you found my videos helpful, please consider supporting my channel at:
www.buymeacoffee.com/techmakerai
#googlegemini #voiceassistant #chatbot #gemini #python #api #largelanguagemodels #geminipredictions #ai #aichatbots #texttospeech #speechrecognition #programming #tutorial #openaiapi #openai #pythonprogramming #python3 #pythonprojects #speaker #microphone

Пікірлер: 42
@satyajamalla1429
@satyajamalla1429 3 ай бұрын
simple and nice video. can I have some voice recognition video
@TechMakerAI
@TechMakerAI 3 ай бұрын
Please subscribe to our channel as we have more videos coming up soon.
@ryeetzy2624
@ryeetzy2624 8 күн бұрын
hi is the code will still run even though my openai api is expired?
@TechMakerAI
@TechMakerAI 8 күн бұрын
Hi, @ryeetzy2624: Yes. If you change line 39 to "openaitts = False", it will not use the OpenAI TTS. So you do not need OpenAI service. Alternatively, you can use this newer version: kzbin.info/www/bejne/mGjPg4Shf5ergKM or Meta Llamma-3 model at: kzbin.info/www/bejne/jmnVoYKJgKmabKs
@ayanshariff9746
@ayanshariff9746 4 ай бұрын
Brother i need to reduce the response of the ai ...please reply asap
@TechMakerAI
@TechMakerAI 4 ай бұрын
Hi there, you can edit the code to limit the length of the response by adding the "max_output_tokens" option like this, response = model.generate_content(talk, stream=True, generation_config=genai.types.GenerationConfig( # Only one candidate for now. max_output_tokens=64) )
@ayanshariff9746
@ayanshariff9746 4 ай бұрын
Thank you so much ☺️ brother
@funnyprankforlaughter1388
@funnyprankforlaughter1388 4 ай бұрын
Hi sir your doing great Can you create video how to website or mobile phone
@TechMakerAI
@TechMakerAI 4 ай бұрын
Hi, thanks! Please subscribe our channel as we have more videos coming up.
@funnyprankforlaughter1388
@funnyprankforlaughter1388 4 ай бұрын
@@TechMakerAI am you fan ready.... Can you make same speech to speech with Gemini api .can run in local host or in any app
@TechMakerAI
@TechMakerAI 4 ай бұрын
@@funnyprankforlaughter1388 Do you mean a real-time voice cloning app?
@funnyprankforlaughter1388
@funnyprankforlaughter1388 4 ай бұрын
@@TechMakerAI like ....my students all kids ...5 year to 8 year ...so they can use and learn .i mean app or run website
@funnyprankforlaughter1388
@funnyprankforlaughter1388 4 ай бұрын
Can i have your email
@firmankrisnadi7248
@firmankrisnadi7248 Ай бұрын
It's really stunning...How to make it speaks in Indonesian language or any others... What should I do.. please kindly provide the tutorial link/documents of it... Highly appreciate... thanks in advance
@TechMakerAI
@TechMakerAI Ай бұрын
Hi, @firmankrisnadi7248, thanks, welcome to my channel! I am working on project in which I will chat with AI in English and then I will switch to another language in the middle. Please subscribe to my channel as you will be notified when it is released.
@firmankrisnadi7248
@firmankrisnadi7248 Ай бұрын
@@TechMakerAI I appreciate and thankful for your fast respon... Subscribe automatically.... looking forward to your next amazing tutorials
@ryeetzy2624
@ryeetzy2624 8 күн бұрын
thanks you've been so helpful to me, but i just have 1 question, this is free right?
@TechMakerAI
@TechMakerAI 8 күн бұрын
@ryeetzy2624, Yes, Google Gemini API has a free tier. You can use it for free within a limit.
@ryeetzy2624
@ryeetzy2624 8 күн бұрын
@@TechMakerAI what is the limit?
@TechMakerAI
@TechMakerAI 7 күн бұрын
It depends on the model you choose, see the rate limits here ai.google.dev/pricing
@kweffilover5677
@kweffilover5677 3 ай бұрын
Please make vidéo how to do this in WordPress please
@TechMakerAI
@TechMakerAI 3 ай бұрын
Thank you for your feedback. Please subscribe to our channel as we have more AI videos coming up soon.
@sakshishruti4482
@sakshishruti4482 3 ай бұрын
I am not getting response from AI
@TechMakerAI
@TechMakerAI 3 ай бұрын
If you are running the same Python program from my GitHub page, you need to say the wake word "Jack" to wake up the program. Then, AI will respond to your questions.
@messaoudallalouche
@messaoudallalouche 2 ай бұрын
please sir explain me more how and where I can write GOOGLE_API_KEY and OPENAI_API_KEY
@TechMakerAI
@TechMakerAI 2 ай бұрын
I talked about adding new environment variables in my video from 2:48 s to 3:56 s. To add new system environment variables on Windows, you can also follow the steps here www.tenforums.com/tutorials/121664-set-new-user-system-environment-variables-windows.html
@messaoudallalouche
@messaoudallalouche 2 ай бұрын
@@TechMakerAI I got it thank you sir
@nidhipandey3791
@nidhipandey3791 3 ай бұрын
ModuleNotFoundError: No module named 'google' i am getting this error when i try to execute it. can somebody help me?
@TechMakerAI
@TechMakerAI 3 ай бұрын
Hi, have you installed the required Python packages for the project? For example, you need to run "pip install -q -U google-generativeai"
@nidhipandey3791
@nidhipandey3791 2 ай бұрын
@@TechMakerAI Thank you so much for responding, the issue was resolved, but i am having trouble in the text to speech part as the output text gets printed but is not spoken aloud.
@TechMakerAI
@TechMakerAI 2 ай бұрын
@@nidhipandey3791 Good job! Glad you resolved the issue early. For the text-to-speech issue, please try to use the second TTS engine by changing "openaitts = True" to "openaitts = False" at line 39.
@firmankrisnadi7248
@firmankrisnadi7248 Ай бұрын
​@@TechMakerAIplease any video tutorial to fix this issues
@firmankrisnadi7248
@firmankrisnadi7248 Ай бұрын
​@@TechMakerAIplease..any video tutorial to fix it
Build a Gemini Voice Assistant in Python
23:03
Ai Austin
Рет қаралды 10 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 21 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
Make an Offline GPT Voice Assistant in Python
24:29
JakeEh
Рет қаралды 6 М.
World’s Fastest Talking AI: Deepgram + Groq
11:45
Greg Kamradt (Data Indy)
Рет қаралды 36 М.
Gemini + Telegram || Let's create a telegram bot with Gemini AI
18:15
Dhruba's TECH
Рет қаралды 2,8 М.
Creating J.A.R.V.I.S. powered by GROQ and Python
14:47
AI FOR DEVS
Рет қаралды 162 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН