TechMakerAI
TechMakerAI
  • 19
  • 26 350
Hands-on Tutorial: Build a Google Gemini-Powered Voice Assistant on Raspberry Pi
Previously, I built a Google Gemini-powered voice assistant (chatbot) with Python for Raspberry Pi. However, many viewers of my channel requested a hands-on tutorial to create a voice assistant with Raspberry Pi from scratch. So, in this video, I will show you how to connect all the hardware with Raspberry Pi and install all the necessary Python packages to run the Google Gemini-powered voice assistant (chatbot). At the end, I will do a live demonstration of the voice assistant.
Please check out the GitHub page for this project for more information:
github.com/techmakerai/Hands-on-Tutorial-Voice-Assistant-on-Raspberry-Pi
Hardware:
1. Raspberry Pi: amzn.to/4bmstJa
2. microSD card: amzn.to/4cFs84s
3. Audio amplifier: amzn.to/3JjPWy9
4. Mini speaker: amzn.to/3TB9Pp3
5. USB Microphone: amzn.to/3HGGSCA
6. (optional) LEDs and resistors: amzn.to/3Jg4Yoz
7. (optional) Breadboard: amzn.to/3V3ruWY
8. (optional) uni SD Card Reader: amzn.to/3yYhwze
9. Power Supply for Raspberry Pi 4: amzn.to/3RVKXIF or
for Pi 5: amzn.to/3L9kC67
10. Audio cable for speaker: amzn.to/3yXD8vy
Here is the video on speech recognition,
th-cam.com/video/SRyGs7Yxoyk/w-d-xo.html
Here is the full tutorial on the installation of Raspberry Pi OS,
th-cam.com/video/0Tig1r6xZYI/w-d-xo.html
If you found my videos helpful, please consider supporting my channel at:
www.buymeacoffee.com/techmakerai
#googlegemini #raspberrypi #voiceassistant #handsonlearning #handson #handsontraining #chatbot #python #pythontutorial #largelanguagemodels #gemini #ai #aichatbots #raspberrypiprojects #raspberrypi4 #api #programming #tutorial #pythonprogramming #python3 #pythonprojects #speaker #microphone #led #resistors
FTC Disclaimer: This video is not sponsored. Product links included are affiliate links. If you make a purchase through these links, I may earn a commission at no additional cost to you. This helps to support my channel - If you so choose to, feel free not to use the links provided.
มุมมอง: 2 528

วีดีโอ

Speech Recognition with Google Speech API on Raspberry Pi
มุมมอง 534หลายเดือนก่อน
In this video, we will learn how to use the Python speech recognition package on Raspberry Pi. First, we will install the necessary packages to work with audio data on Raspberry Pi. Then, we will activate the Python virtual environment we created in the previous video (th-cam.com/video/DuyuAPJBEaE/w-d-xo.html) and install the Python speech recognition package. After that, we will run a Python p...
Installing Python Development Tools and Virtual Environment on Raspberry Pi
มุมมอง 7092 หลายเดือนก่อน
In this video, I will demonstrate how to install Python development tools on Raspberry Pi. Then, I will show you how to create Python virtual environments and install the Python package in the virtual environment. Please check my previous video about how to set up Raspberry Pi as a headless server: th-cam.com/video/0Tig1r6xZYI/w-d-xo.html Hardware for this project: 1. Raspberry Pi: amzn.to/4bms...
Five Methods to Transfer Raspberry Pi to a New Wi-Fi network
มุมมอง 3772 หลายเดือนก่อน
You changed your internet service provider (ISP) recently. You just realized your Raspberry Pi is trying to connect to the old Wi-Fi network which is no longer active, and you cannot connect to it via SSH from your computer. In this video, I will show several methods to connect your Raspberry Pi to your new Wi-Fi network. In addition, I will talk about how you can set the priority of each Wi-Fi...
Getting Started with Raspberry Pi as a headless server
มุมมอง 7822 หลายเดือนก่อน
In this video, I will show you how to set up your new Raspberry Pi as a heartless server for remote access via SSH, and then I will install a firewall to make it more secure. I will also configure the WiFi credentials during the setup so that it will connect to your WiFi network at the first startup. Please check my new video about moving Raspberry Pi to a new Wifi network. th-cam.com/video/KGt...
Build a Multilingual Voice Assistant with Google Gemini API and Python
มุมมอง 4772 หลายเดือนก่อน
In this video, I will demonstrate a Google Gemini-powered multilingual voice assistant (chatbot). This version of the Python code is very similar to the previous version that I built with OpenAI's new language model ChatGPT-4o. Please check the GitHub page for the Python code: github.com/techmakerai/Multilingual-Voice-Assistant-with-Google-Gemini Here are links to my previous videos in which I ...
Build a Multilingual Voice Assistant with OpenAI's ChatGPT API and Python
มุมมอง 3683 หลายเดือนก่อน
Previously, I built an OpenAI ChatGPT-powered voice assistant (chatbot) with Python. In this video, we will speak with the newly released ChatGPT-4o in multiple languages. Specifically, I will demonstrate how you can talk with ChatGPT in English and Chinese. But you can modify the code to work with other languages. Please check the GitHub page for the Python code and additional packages at: git...
Build a ChatGPT-4o Powered Voice Assistant (chatbot) with Python
มุมมอง 9924 หลายเดือนก่อน
Previously, I built a Google Gemini-powered voice assistant (chatbot) with Python. In this video, we will use the newly released ChatGPT-4o from OpenAI. 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. Please check the GitHub page for the Python code and...
Build a Meta Llamma-3 Powered Voice Assistant with Ollama and Python
มุมมอง 5K4 หลายเดือนก่อน
Previously, I built a Google Gemini-powered voice assistant (chatbot) with Python. In this video, we will use the Meta Llamma 3 instead. 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. Please check the GitHub page for the Python code and additional pack...
Parallel Processing for Speeding-up a Voice Assistant with Google Gemini
มุมมอง 5695 หลายเดือนก่อน
Previously, I built a Google Gemini-powered voice assistant (chatbot) with Python. However, in that project, I used sequential (programming) processing such that there was 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 assistant with parallel processing in Python. Specifically, we will use parallel computing in Python to spl...
Running a Voice Assistant Built with Google Gemini API and Python on Raspberry Pi
มุมมอง 1.6K5 หลายเดือนก่อน
Previously, I built a Google Gemini-powered voice assistant (chatbot) with Python on a Windows PC. In this video, I will show you how to run an updated version of that code on Raspberry Pi. I have added two LEDs to indicate when the AI is busy (speaking) and when it is time for the user to ask questions. If you do not have Raspberry Pi, I have another version of the code for Windows PC as well....
Python Text-to-Speech Translation on Raspberry Pi
มุมมอง 9996 หลายเดือนก่อน
In this video, I will demonstrate two approaches for text-to-speech translation with Python on Raspberry Pi. First, I will show you how to use Google Translate's Text-to-Speech API (gTTS package) in Python to convert text to speech. Then, I will use Piper TTS (github.com/rhasspy/piper) in Python to convert text to speech. Hardware: 1. Raspberry Pi (amzn.to/4bmstJa) 2. Audio amplifier (amzn.to/3...
Build a Google Gemini Powered Real-Time Language Translator with Python
มุมมอง 1.4K6 หลายเดือนก่อน
In this video, I will show you how to build a real-time language translator by using Google Gemini Pro API and Python. Then, I will demonstrate how this program can translate speech from one language to another in real time. For Python code and additional packages required for this project, see here: github.com/techmakerai/Google-Gemini-Powered-Real-Time-Translator Please check out my previous ...
Getting Started with Google's New Open AI Model Gemma for Free
มุมมอง 2787 หลายเดือนก่อน
In this video tutorial, I will walk you through the process of setting up and interacting with Google's new open AI model Gemma. I will demonstrate how you can call this model in Google's Colab with API keys from Kaggle. No GPU is required on your machine. Please check out my previous video in which I built a voice chatbot with Google's AI model Gemini: th-cam.com/video/tXiIxjyaEtk/w-d-xo.html ...
Build a Vertex AI Gemini Powered Voice Assistant (chatbot) with Python
มุมมอง 9267 หลายเดือนก่อน
In my previous video, I built a voice assistant with Google AI's Gemini Pro. In this video, I will show you how to build a voice assistant (chatbot) by using Google Vertex AI's version of Gemini Pro 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...
Build a Google Gemini Powered Voice Assistant (chatbot) with Python
มุมมอง 6K8 หลายเดือนก่อน
Build a Google Gemini Powered Voice Assistant (chatbot) with Python
Running a ChatGPT Powered Voice Assistant on Raspberry Pi
มุมมอง 1.8K8 หลายเดือนก่อน
Running a ChatGPT Powered Voice Assistant on Raspberry Pi
Generate image from text with OpenAI's DALL-E and Python
มุมมอง 1388 หลายเดือนก่อน
Generate image from text with OpenAI's DALL-E and Python
Build an OpenAI ChatGPT-Powered Voice Assistant with Python (New method 2024)
มุมมอง 9128 หลายเดือนก่อน
Build an OpenAI ChatGPT-Powered Voice Assistant with Python (New method 2024)

ความคิดเห็น

  • @ggooddpross2609
    @ggooddpross2609 วันที่ผ่านมา

    How much ram

    • @TechMakerAI
      @TechMakerAI 4 ชั่วโมงที่ผ่านมา

      I am using 2 GB version of the Raspberry Pi

  • @DoctorRobot-e4w
    @DoctorRobot-e4w 4 วันที่ผ่านมา

    Can I train the ai to produce me a particular types of answer as we can train chatgpt ?

    • @TechMakerAI
      @TechMakerAI 4 วันที่ผ่านมา

      That is a great question. The answer is Yes. Large language models (LLMs) like Gemini are trained on massive data. While you may not be able to train AI from scratch, you have the option to fine-tune the LLMs. You provide additional data (answers) tailored to your desired questions, and the LLMs adapt.

    • @DoctorRobot-e4w
      @DoctorRobot-e4w 3 วันที่ผ่านมา

      @@TechMakerAI This is my School Project. After A long search I found this video and Thank you that this works. Now Can you help me more please? I want to train the bot that when I ask the bot a question, it answer me such a format that I trained it. How to do that. please help me

    • @TechMakerAI
      @TechMakerAI 3 วันที่ผ่านมา

      It sounds like you want to fine turn the LLM. Please have a look at this article: www.datacamp.com/tutorial/fine-tuning-large-language-models

  • @mukagedek4010
    @mukagedek4010 5 วันที่ผ่านมา

    hey, thanks for the video. I just want to start project exactly the same with yours, mine is kind a companion robot. but the question is, is the service from google just like gemini ai or TTS are completely free? or there's additional cost for that?

    • @TechMakerAI
      @TechMakerAI 4 วันที่ผ่านมา

      @mukagedek4010: The Google Gemini API and Google TTS are currently free to use. The TTS will most likely be free in the future too. However, it is hard to say about the Google Gemini API. Given that the ChatGPT API is not free, Google may charge a fee in the future for Gemini or they may offer a limited version for free. Anyhow, I would say go ahead and build it. There will be some free options available. Even if Google charges a fee, I think it is still worth it. By the way, in this channel, we are also building companion robots. Please subscribe as you will see in future videos.

  • @m9playz239
    @m9playz239 11 วันที่ผ่านมา

    Can you specify in which line i need to put my api key??

    • @TechMakerAI
      @TechMakerAI 11 วันที่ผ่านมา

      Uncomment Line 23 by removing "#" and add your Google Gemini API key

  • @m9playz239
    @m9playz239 11 วันที่ผ่านมา

    Hello....I have a doubt...if you could help... what if i don't use audio amplifier and directly attach a usb speaker....will it work????.....also can this work on raspberry Pi 3B? Also, what is the wake word for it and the word to stop it from listening??

    • @TechMakerAI
      @TechMakerAI 11 วันที่ผ่านมา

      Yes, a USB speaker will work too. I am working on a version of the hardware and will have a video about this topic soon. RPi 3B may work but will be slower due to the small memory size. The wake word is "Jack". To end the conversation with AI, you just need to say "That is all". It will continue to listen but will not respond. Just like Siri, it is always checking to see if you are saying the wake word. If you do not like to see the printed output, just comment all the print() statements.

    • @m9playz239
      @m9playz239 11 วันที่ผ่านมา

      @@TechMakerAI can you help me change the wake work if you can?

    • @m9playz239
      @m9playz239 11 วันที่ผ่านมา

      @@TechMakerAI can you make a video on usb speaker sonn cz I want to make this and present it in an exhibition after 2 weeks....I will be very grateful!

    • @TechMakerAI
      @TechMakerAI 11 วันที่ผ่านมา

      Just do a search and replace of all the "jack" with any name your like.

    • @TechMakerAI
      @TechMakerAI 11 วันที่ผ่านมา

      @m9playz239: You can use the current version of the code with a USB speaker. It should work too.

  • @estugit
    @estugit 12 วันที่ผ่านมา

    I've watched almost all of your videos, great work! Please make more useful videos.

    • @TechMakerAI
      @TechMakerAI 12 วันที่ผ่านมา

      Thank you, will do!

  • @estugit
    @estugit 12 วันที่ผ่านมา

    Great work, very helpfull video

    • @TechMakerAI
      @TechMakerAI 12 วันที่ผ่านมา

      Glad to hear that!

  • @drimscape
    @drimscape 17 วันที่ผ่านมา

    can i use any other model? i like gemma more. i am a completely novice

    • @TechMakerAI
      @TechMakerAI 17 วันที่ผ่านมา

      Yes, you can use Gemma model with Ollama. I have an intro video about Google Gemma model, you can find it here th-cam.com/video/QBrjVtMVU3U/w-d-xo.html

  • @xpectz
    @xpectz 17 วันที่ผ่านมา

    Script crashes from time to time, FYI. Something regarding the chat history and/or communication with the google gemini AI library. I looped the .py script to restart every 2 min as a workaround. Luckily, these sorts of errors are not too common. Also please tell me how to make it stop listening. I tell it "that is all" and it still picks up what I say.

    • @TechMakerAI
      @TechMakerAI 17 วันที่ผ่านมา

      Thank you for your feedback! I am aware of the communication issue with Google Gemini API. It can cause crash sometimes. I have seen less issues with the OpenAI ChatGPT API but that is not free. I made some changes to the code on line 259 in this version. When you say "That is all", it should stop interacting with Gemini API but it is still printing out what you are saying. You can comment out all the print() since you do not need it to print transcript when using RPi (It is there only for debugging purpose) or you can move lines 259 to 263 after line 270 (if "jack" in text.lower() and slang == "en-EN":). Note that this code was written so that users can interact with AI anytime they want. They can wake up AI and put it in sleeping mode. This voice assistant should be on all the time like Siri on your phone. If you stop it from listening, then how do you wake up it next time?

    • @xpectz
      @xpectz 17 วันที่ผ่านมา

      @@TechMakerAI Got it. I have follow up questions. If I do not say "That is all", how many minutes until it times out which will require the wake word? Which line can I modify this? Also, I already have an OpenAI API Key i paid for. How can I switch over to Open AI???

    • @TechMakerAI
      @TechMakerAI 17 วันที่ผ่านมา

      @xpectz: For your first question regarding how many times it takes for it to require the wake word, I think you can add an integer variable to count the times and then set the AI to sleeping mode after it reaches a threshold. For the OpenAI version, please see this video: th-cam.com/video/kIKgl3jDilY/w-d-xo.html

    • @xpectz
      @xpectz 17 วันที่ผ่านมา

      @@TechMakerAI How does it work now? When I stop talking to it, it goes to sleeping mode. What triggers it? I have not timed it. Will check out the video, thanks.

    • @TechMakerAI
      @TechMakerAI 17 วันที่ผ่านมา

      If you add an integer variable to count the times and then set the AI to sleeping mode after it reaches a threshold, then, it will be triggered by your integer. To wake it up, you just need to say the wake word again.

  • @xpectz
    @xpectz 18 วันที่ผ่านมา

    How many minute until it stops listening? Is there a way to adjust it? Or to tell it to stop listening?

    • @TechMakerAI
      @TechMakerAI 17 วันที่ผ่านมา

      Please see my reply to your newer question.

  • @xpectz
    @xpectz 18 วันที่ผ่านมา

    Would like to add that it works with the Google AIY voice kit. I do have 1 weird error when I launch the script but it still works. <frozen importlib._bootstrap>:228: RuntimeWarning: Your system is neon capable but pygame was not built with support for it. The performance of some of your blits could be adversely affected. Consider enabling compile time detection with environment variables like PYGAME_DETECT_AVX2=1 if you are compiling without cross compilation. /home/pi/.venv/lib/python3.9/site-packages/gpiozero/devices.py:300: PinFactoryFallback: Falling back from lgpio: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /home/pi/.venv/lib/python3.9/site-packages/_lgpio.cpython-39-arm-linux-gnueabihf.so) warnings.warn(

  • @pixyful7025
    @pixyful7025 18 วันที่ผ่านมา

    hey ! already thank you for sharing a file that really works 😀👍 I try to launch your python script at raspberry startup but impossible to start it with the virtual environment. I have an error message "import google.generativeai as genai" except if I enter the line manually everything works do you have any idea how to do it?

    • @TechMakerAI
      @TechMakerAI 17 วันที่ผ่านมา

      Hi, @pixyful7025, I am glad it is working. It is possible to automatically launch this Python program at the startup of RPi. I have a video on this topic coming up very soon. Please subscribe to my channel as you will be notified when it is out.

    • @pixyful7025
      @pixyful7025 17 วันที่ผ่านมา

      ​@@TechMakerAI I found a little thing that seems to work by tinkering. I wrote it in .bashrc and told the raspberry to log in automatically

    • @pixyful7025
      @pixyful7025 17 วันที่ผ่านมา

      @@TechMakerAI I will wait for your video to compare the most optimized 😉

  • @MrBluedrive
    @MrBluedrive 29 วันที่ผ่านมา

    can you also make a tutorial to work with a bluetooth speaker and without the leds. or wouldnt it work that way?

    • @TechMakerAI
      @TechMakerAI 28 วันที่ผ่านมา

      Yes, it will work with a Bluetooth speaker and without LEDs. I have used the Bluetooth speaker before, see this video th-cam.com/video/nHpJaE559r4/w-d-xo.html. But it requires me to run some commands to pair the Raspberry Pi with the Bluetooth speaker each time. So I switched to wired speaker after that.

  • @N_D-p6s
    @N_D-p6s หลายเดือนก่อน

    hey the open ai is not free, what do i do instead of open ai ??

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      You can try some free ones like Llama-3 th-cam.com/video/X8rpOSKDg6I/w-d-xo.html

  • @dronebot2079
    @dronebot2079 หลายเดือนก่อน

    Hey the gemini ai, great project. Made it myself on respberry pi zero 2w. It sounds very dull and cant do much. Can you build google assistant on respberry pi? I tried to make it but there are some error from google side(it doesn't register model in project page) . Thank you in advance.

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      Great question! That can be a topic for a new video. RPi zero 2 W may not have the computing power to run a Gemini-powered voice assistant.

  • @chithraniathapaththu5655
    @chithraniathapaththu5655 หลายเดือนก่อน

    Are you are using pi 4? I don't know but it dosen't work in my rpi 5. It talking like 1-5 mintues to converte. Can you help me

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      Hi, I had a similar problem with my old USB microphone few months ago. I got a new one recently. It has been working well. Do you have another microphone to try? The code should work on RPi 5.

  • @funnyprankforlaughter1388
    @funnyprankforlaughter1388 หลายเดือนก่อน

    ❤good sir

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      Thank you!

  • @VINSMOKExOSKI
    @VINSMOKExOSKI หลายเดือนก่อน

    Traceback (most recent call last): File "e:\BNOSKI\chat.py", line 5, in <module> from openai import OpenAI ImportError: cannot import name 'OpenAI' from 'openai' (C:\python311\Lib\site-packages\openai\__init__.py)

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      Have you installed the OpenAI python package as mentioned on the GitHub page?

  • @dronebot2079
    @dronebot2079 หลายเดือนก่อน

    Will it run on a respberry pi zero 2w? If yes please make a complete tutorial

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      Yes, it will. The procedure to create Python virtual environment will be the same on Pi zero 2 W.

  • @ADOPLAZ
    @ADOPLAZ หลายเดือนก่อน

    Bro will it work in raspberry Pi zero

    • @TechMakerAI
      @TechMakerAI หลายเดือนก่อน

      @ADOPLAZ: Hi, it should "work" on Pi zero, but you may need to use another text-to-speech engine such as gTTS because the audio quality of the Pyttsx3 package is not good on Pi. Please have a look at this video th-cam.com/video/kE95xA5jVWQ/w-d-xo.html to see how you can use gTTS.

    • @ADOPLAZ
      @ADOPLAZ หลายเดือนก่อน

      @@TechMakerAI thanks bro, It is for my school project

  • @kingm6837
    @kingm6837 2 หลายเดือนก่อน

    ive followed all the steps and when i speak to it it doesn't respond, just keeps saying listening, can you help please

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Check your mic and make sure it is working. Also check the speech recognition part, and make sure it is talking to your mic.

    • @yuvraajbhatter2669
      @yuvraajbhatter2669 หลายเดือนก่อน

      you have to start the convo with "hey jack..." say to it while its listening "hey jack, tell me a joke" make sure jack is said clearly

  • @cyberdevil657
    @cyberdevil657 2 หลายเดือนก่อน

    Hi i think i eft a comment last time i needed your help. I'm building something and i want your help i have many qesutions and i promised i would supp if you would help me. Is it good for you we have a chat togheter on discord?

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Hi, @cyberdevil657, for business inquiries, you can find my email by going to www.youtube.com/@techmakerai and then clicking "more" under my channel name.

    • @cyberdevil657
      @cyberdevil657 2 หลายเดือนก่อน

      @@TechMakerAI I replied my friend.

  • @Yailya01
    @Yailya01 2 หลายเดือนก่อน

    Sir How do I auto run the python script when the rasberypi just turns on? I use cron -e with the voice assistant script but the mic and audio are not detected

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Hi, @Yailya01, that is a very good question. I have a video coming up about this topic. Please subscribe to my channel as you will be notified when it is out.

    • @Yailya01
      @Yailya01 2 หลายเดือนก่อน

      @@TechMakerAI I've sub and bell, waiting for your next content

  • @peaceandlovetoyou
    @peaceandlovetoyou 2 หลายเดือนก่อน

    Can you add input so that it asks the user what they need..?

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Yes, it is possible. Meanwhile, you can change the "text" variable in the code and run it again, it will generate an image according to your input.

  • @peaceandlovetoyou
    @peaceandlovetoyou 2 หลายเดือนก่อน

    Thank you🎉

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      You’re welcome 😊

  • @peaceandlovetoyou
    @peaceandlovetoyou 2 หลายเดือนก่อน

    Good video🎉Download also in Arduino

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Ok. Thanks

  • @funnyprankforlaughter1388
    @funnyprankforlaughter1388 2 หลายเดือนก่อน

    ❤🎉sir you are doing great job

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Thanks! Glad you liked it.

  • @Yailya01
    @Yailya01 2 หลายเดือนก่อน

    Hi there, can I change the country in speech to text? Or not

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      @Yailya01: Please check out my new video in which I showed how you can change the language: th-cam.com/video/kIKgl3jDilY/w-d-xo.html

    • @Yailya01
      @Yailya01 2 หลายเดือนก่อน

      @@TechMakerAI I have followed and watched the latest but when I spoke there was no transcript of the speech to text

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      @@Yailya01 What language option (slang) are you using in the "rec.recognize_google()" function? It works well for the English language when I set the variable "slang" to "en-EN".

  • @demianschultz3749
    @demianschultz3749 2 หลายเดือนก่อน

    Very interesting, thanks

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      You are welcome.

  • @Skooly-u7w
    @Skooly-u7w 2 หลายเดือนก่อน

    I would like to know if there is a possibility to have a different language or dialect or how to train that model to speak that language

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      @Skooly-u7w: Yes, you can speak or ask questions in another language. Please check out my new video here in which I demonstrated how to do it: th-cam.com/video/gYFGHyB_VJ0/w-d-xo.html.

    • @Skooly-u7w
      @Skooly-u7w 2 หลายเดือนก่อน

      @@TechMakerAI I can see what you did there but I am trying to get it speak dialect not native language

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      @Skooly-u7w: In that case, you will need to find a text-to-speech engine that supports your local dialect. Once you have that, then you can use it with my Python code.

  • @hugogarcia2681
    @hugogarcia2681 2 หลายเดือนก่อน

    Thank you for your help.. what do we do after this for a media server plz

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      @hugogarcia2681: You will need to install a media server such as Plex on your Pi.

  • @funnyprankforlaughter1388
    @funnyprankforlaughter1388 2 หลายเดือนก่อน

    Good job 😊

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Thank you! Cheers!

  • @MULTIVIDEOCHANNE
    @MULTIVIDEOCHANNE 2 หลายเดือนก่อน

    hi sir good job

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Thanks and welcome.

  • @areebmianoor4449
    @areebmianoor4449 3 หลายเดือนก่อน

    This is awesome. Thank you for sharing. I had a question: How can I make the multilingual voice assistant be dynamic I.e. change from an Arabic Voice whilst talking to an English voice based on the user's request, during a voice communication.

    • @TechMakerAI
      @TechMakerAI 2 หลายเดือนก่อน

      Hi, @areebmianoor4449, Thanks. The large language model can handle multilingual questions "dynamically", but the speech recognition and text-to-speech conversion parts of the code need to know the language first. Otherwise, the result will not be good. If this is something you want to do, I would suggest you try some multilingual TTS and multilingual speech recognization models.

  • @r-l-h7p
    @r-l-h7p 3 หลายเดือนก่อน

    Love the project! Lets say one would run this on a raspberry pi. You reckon there are ways to make the delays (from when it starts listening to it actually outputting the translating text) shorter?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi @ZBZBZB417: thanks! Very good question. Yes, it will work on Raspberry Pi. I have been working to improve these delays. Please subscribe to my channel as you will be notified when the new video is out.

  • @SystemDemon
    @SystemDemon 3 หลายเดือนก่อน

    Hi i'm working on a big project but i'm as good as defeated i want to ask if i can have a voice chat with you. I will subscribe to you if you can have a chat with me because i'm breaking my head. Thanks

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, for business inquiries, you can find my email by going to www.youtube.com/@techmakerai and then clicking "more" under my channel name.

  • @jeffreyhao1343
    @jeffreyhao1343 3 หลายเดือนก่อน

    I get this error when running the code on Laptop (Ubuntu 22.04) as follows. Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, have you installed all the packages for this project? I have a new version of this code which I talked in this video th-cam.com/video/kE95xA5jVWQ/w-d-xo.html. Maybe you can give that a try.

  • @jeffreyhao1343
    @jeffreyhao1343 3 หลายเดือนก่อน

    I like your videos on AI models running on edge devices. Very cool.

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Glad you like them!

  • @ryeetzy2624
    @ryeetzy2624 3 หลายเดือนก่อน

    can you make a video of this but using piperTTS?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Yes, that is the plan. Please subscribe to my channel so that you will be informed once that video is published.

  • @SpielerHeer
    @SpielerHeer 3 หลายเดือนก่อน

    Hello. Where can I reach you to agree about hiring you for some projects

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, @user-bm3rg7jf8g, you can find my email by going to www.youtube.com/@techmakerai and then clicking "more" under my channel name.

  • @ryeetzy2624
    @ryeetzy2624 3 หลายเดือนก่อน

    can you further explain the python virtual environment?

    • @ryeetzy2624
      @ryeetzy2624 3 หลายเดือนก่อน

      how did you enable the venv

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Please take a look at this document: docs.python.org/3/library/venv.html

    • @ryeetzy2624
      @ryeetzy2624 3 หลายเดือนก่อน

      But what did you click to appear the “source ~/.venv/bin/activate “ ? Because when i typed that, there was an error as far as I remember.

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, I have a new video about this topic. It will be online very soon.

  • @ryeetzy2624
    @ryeetzy2624 3 หลายเดือนก่อน

    how to transfer the python code to raspi?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Please check out this video: th-cam.com/video/nHpJaE559r4/w-d-xo.html

    • @ryeetzy2624
      @ryeetzy2624 3 หลายเดือนก่อน

      @@TechMakerAI after doing all this can it run even without pc?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Yes, you can. It is possible to make Raspberry Pi execute the Python program right after startup.

  • @ryeetzy2624
    @ryeetzy2624 3 หลายเดือนก่อน

    thanks you've been so helpful to me, but i just have 1 question, this is free right?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      @ryeetzy2624, Yes, Google Gemini API has a free tier. You can use it for free within a limit.

    • @ryeetzy2624
      @ryeetzy2624 3 หลายเดือนก่อน

      @@TechMakerAI what is the limit?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      It depends on the model you choose, see the rate limits here ai.google.dev/pricing

  • @ryeetzy2624
    @ryeetzy2624 3 หลายเดือนก่อน

    hi is the code will still run even though my openai api is expired?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      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: th-cam.com/video/b7lRQkJ2xJA/w-d-xo.html or Meta Llamma-3 model at: th-cam.com/video/X8rpOSKDg6I/w-d-xo.html

  • @ryeetzy2624
    @ryeetzy2624 3 หลายเดือนก่อน

    can you elaborate what will you do after clicking environment variables

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, @ryeetzy2624, Please check the updated Github page for detailed instructions after that, github.com/techmakerai/Python-OpenAI-API-Voice-Chatbot/

    • @ryeetzy2624
      @ryeetzy2624 3 หลายเดือนก่อน

      @@TechMakerAI yeah i think it's expired

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, @ryeetzy2624: If that is the case, you can try the Google Gemini model at: th-cam.com/video/b7lRQkJ2xJA/w-d-xo.html or the Meta Llamma-3 model at: th-cam.com/video/X8rpOSKDg6I/w-d-xo.html.

  • @lightry-glr
    @lightry-glr 3 หลายเดือนก่อน

    first :>>can you give me your ig so we can make friends and exchange?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, please reach out to me at GitHub

    • @lightry-glr
      @lightry-glr 3 หลายเดือนก่อน

      @@TechMakerAI I have followed you and how do I send you a message?

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, please reach out to me via my email on my TH-cam channel's "About" page.

  • @firmankrisnadi7248
    @firmankrisnadi7248 3 หลายเดือนก่อน

    Can I use it for teaching English, so it becomes AI teacher...if yes.... How to write the code... Thank you in advance...God bless U

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      That is a great question. The current version of the code allows you to have a conversation with AI. That will help your students with speaking and listening. You can also ask AI to explain grammar questions. I am not sure how you want to teach English? Are you a teacher? Do you teach English to native speakers or to non-English speaking students?

    • @firmankrisnadi7248
      @firmankrisnadi7248 3 หลายเดือนก่อน

      @@TechMakerAI to teach non English speaking student ( Indonesia students).. please help....any link for the code ( any full tutorial about it)... Highly appreciate for your genericity.. God bless U 🙏

    • @TechMakerAI
      @TechMakerAI 3 หลายเดือนก่อน

      Hi, @firmankrisnadi7248, I think you can certainly use it to teach English. For example, you can ask ChatGPT to create a study plan for someone who does not know anything about the English language. You can also ask it to generate some questions about a paragraph to test the students' reading and understanding. Please check out this article for more info: thinkinginenglish.blog/2023/02/27/211-how-to-use-ai-and-chatgpt-to-study-english.

  • @SiliconSouthShow
    @SiliconSouthShow 4 หลายเดือนก่อน

    well done on video friend, keep it up

    • @TechMakerAI
      @TechMakerAI 4 หลายเดือนก่อน

      Thank you 👍

  • @m9playz239
    @m9playz239 4 หลายเดือนก่อน

    Can we use in Raspberry pi?

    • @TechMakerAI
      @TechMakerAI 4 หลายเดือนก่อน

      Yes, it should work on Raspberry Pi.

  • @NeeharikaJha
    @NeeharikaJha 4 หลายเดือนก่อน

    Can it support multilanguage inputs? If not, how can i achieve that?

    • @TechMakerAI
      @TechMakerAI 4 หลายเดือนก่อน

      It may not be an easy task to use multiple languages in one input (question). But you can certainly ask Gemini to translate from one language to another, see my new video here: th-cam.com/video/n1l81Vv6qQI/w-d-xo.html. Please subscribe to my channel as I have a new video coming up in which I will cover more about this topic.

    • @NeeharikaJha
      @NeeharikaJha 4 หลายเดือนก่อน

      @@TechMakerAI Thankyou for your reply. Also I had doubt regarding google account creation, on website it says auto payment is not supported but as soon as made my billing account I got a msg : Auto-Pay activated on Kotak Card xXXXX for Google Cloud from 29/05/2024 for INR 75000.00., why so ? Will it auto pay after the given time period ?