Skip to content

Parvfect/Tulip

Repository files navigation

Tulip

Conversational AI Assistant

Installation

git clone pip install -r requirements.txt

  1. Setup wheel for PyAudio (not included in requirements.txt) - https://pypi.org/project/PyAudio/
  2. Set environment variables for gcloud authentication - https://developers.google.com/maps/documentation/maps-static/get-api-key
  3. Enable texttospeech and speech apis in the google cloud project - https://support.google.com/googleapi/answer/6158841?hl=en
  4. Set your GPT - 3 access key in key.txt - a file that must be created. The program automatically reads from that file.

Running

python tulip.py

Note

  1. playsound can error out sometimes when there is a delay between creating the audio file and responses, fixing it is a major headache.
  2. Mic toggles on and off automatically
  3. Initial setup for speech to text gcloud takes a while
  4. Change the Structure of the prompt for different use cases

Have fun!

About

Conversational AI Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages