Team 35

Inspiration

The inspiration for ChatAI was sparked by our fascination with the potential of conversational AI. We were motivated to create an AI assistant that could engage in natural conversations with users, driven by voice input, and powered by advanced language models.

What it does

ChatAI is a voice-powered AI assistant that allows users to have real-time conversations with an AI model. It utilizes speech recognition to understand user input, processes the audio, and responds using text-to-speech conversion. Users can simply speak or type questions, and ChatAI provides human-like responses, making it suitable for learning, entertainment, or general conversation

How we built it

The development of ChatAI involved several key components. We integrated the speech_recognition library for voice input, pyttsx3 for text-to-speech conversion, and leveraged OpenAI's powerful GPT-3 model for generating responses. The user interface was built using Tkinter, and we designed custom themes to create an intuitive and visually appealing environment. Multithreading was crucial for real-time interactions, ensuring a seamless conversational experience.

Challenges we ran into

One of the biggest headaches we faced was the initial attempt with React. It sounded great on paper, but in reality, nothing worked. Even after a grueling six hours trying to make it work, it just wasn't it.

So, we had an "Aha!" moment in the time of this Great Depression and decided to switch to Python. But that came with its own bag of tricks. The main challenge was making it faster and more responsive. We needed ChatAI to react in real-time. We dived into the nitty-gritty of optimization with Multithreading and running pyttsx engines to ensuring those voice inputs and text outputs synced up. Plus, we had to keep our GUI on its toes to stay responsive. It was all about paying attention to every tiny detail.

Accomplishments that we're proud of

We're proud to have created ChatAI, a functional and interactive voice-driven assistant. ChatAI allows users to engage in dynamic conversations with an AI model, bridging the gap between technology and human-like interactions. We've successfully implemented voice recognition, text-to-speech, and integrated OpenAI's GPT-3 model to provide realistic responses.

What we learned

During the development of ChatAI, we acquired valuable insights into various technologies and libraries, including speech recognition, text-to-speech conversion, and AI integration. We learned how to build a user-friendly GUI with Tkinter and the importance of multithreading for responsive real-time interactions.

What's next for ChatAI

ChatAI is an ongoing project, and our next steps involve further enhancing its capabilities. We aim to improve the AI model's conversational skills, expand the range of topics it can discuss, and make the user interface even more user-friendly. We also plan to integrate additional features and functionalities like having custom voices like STEVE BAGLEY to create a more immersive conversational experience for our users. And finally publish it as an app.

Built With

  • customtinker
  • openai
  • os
  • python
  • speechrecognition
  • threading
  • tinker
Share this project:

Updates