Build a ChatGPT-4o Powered Voice Assistant (chatbot) with Python
ฝัง
- เผยแพร่เมื่อ 2 ต.ค. 2024
- 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 additional packages at:
github.com/tec...
Here is the link to my previous video in which I covered the rest of the code:
• Parallel Processing fo...
If you found my videos helpful, please consider supporting my channel at:
www.buymeacoff...
#chatgpt #voiceassistant #python #gpt4 #chatbot #openai #multithreading #parallel #pythontutorial #largelanguagemodels #ai #aichatbots #programming #tutorial #pythonprogramming #python3 #pythonprojects
Traceback (most recent call last):
File "e:\BNOSKI\chat.py", line 5, in
from openai import OpenAI
ImportError: cannot import name 'OpenAI' from 'openai' (C:\python311\Lib\site-packages\openai\__init__.py)
Have you installed the OpenAI python package as mentioned on the GitHub page?
Can we use in Raspberry pi?
Yes, it should work on Raspberry Pi.
Thank you🎉
You’re welcome 😊
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
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?
@@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 🙏
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.