An ai chatbot to serve as a "rubber duck" for when you're stuck on a project.
Desk Duck aims to be a an AI Assistant to help with programming. You can ask it about various programming questions. It is designed to help get over coding hurdles by helping you think through problems and get over errors faster. Desk Duck uses webcam capabilities to track user's eye contact and begins listening upon contact. It is voice operated and outputs audio and to command line. It uses stt (speech to text) to accept user input and tts (text to speech) to output an answer. In it's current iteration it does not yet interact with the code directly. We are aiming to add that in the future.
- Clone or Download the repo
- Install dependencies using req.txt or mac_req.txt
- Create and update a
.envfile bassed onsample.env
- In terminal, change directories to
desk_duck/app - Run
python main.pyto start the program
- Look at your camera to trigger voice recognition
- Speak clearly and ask your programming related question
- Say stop or shutup to stop the app from listening and answering (future - iteration)
- VS Code
- API Key - https://platform.openai.com/docs/overview
- ChatGPT account
- Windows 10 or later
- From the root directory in terminal execute
pip install -r req.txt
- OSX 13 (Ventura) or later
- From the root directory in terminal execute
pip install -r mac_req.txt
some users needed to install additional dependancies using Homebrew
xcode-select --install
brew remove portaudio
brew install portaudio
pip3 install pyaudio
- Timothy Heidcamp
- Ethan Mcmanus
- Duane Anglin
- Daraun Prince
- Matilda Wang
- Shephali Dubey
https://github.com/amitt1236/Gaze_estimation/blob/master/gaze.py https://www.geeksforgeeks.org/python-convert-speech-to-text-and-text-to-speech/ ChatGPT