The Chat-GPT3-Bot is a simple chat bot designed to generate course descriptions based on a given course title and subject. It utilizes the GPT-3 API from OpenAI and the Flask web framework to provide this functionality. By inputting a course title and subject, the Chat-GPT3-Bot will generate a course description that is based on the given input. This description may include details such as the course goals, topics covered, and intended audience, among others. The Chat-GPT3-Bot is a useful tool for quickly generating descriptions for courses, and it is simple to use with just a few input fields and a button to generate the description.
- Flask
- OpenAI API key
- Clone this repository and navigate to the project directory:
git clone https://github.com/saboye/Chat-GPT3-Bot.git
cd Chat-GPT3-Bot
- Create a virtual environment and install the required packages:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Set your OpenAI API key as an environment variable:
export OPENAI_API_KEY=your_api_key
- Run the app:
flask run
- Navigate to http://localhost:5000 in your web browser.
- Enter a course title and subject in the input fields and click "Generate Description".
- The generated course description will be displayed below the input fields.
This is just a sample project and the generated course descriptions may not always be accurate or complete. Use at your own risk!