SparklingConvo is a Python-based Flask web app that connects to OpenAI's GPT-3 API and enables you to communicate with an AI chatbot in a variety of media formats including text, images, and audio.
Before running this application, please make sure that you have the following dependencies installed:
- Python 3 🐍
- Flask 🌶️
- OpenAI 🕸
- Clone or download the SparklingConvo repository to your local machine.
- Add your OpenAI API key to the
settings.config
file located in the root directory. Install the necessary dependencies by runningpip install -r requirements.txt
in your terminal.- Start the application by running
python app.py
in your terminal.
Create settings.config
on the root directory and add your OpenAi API key as follows.
{
"openai_key":"Your-API-Key"
}
If you don't have a key, use this link to get one.
Once the application is running, open your web browser and go to http://localhost:5000
. From there, you can start communicating with the chatbot by typing in your messages and sending them.
- Thiwanka Kaushal