Flask-QA-GPT3 is a web application built with Flask and OpenAI's GPT-3 API that allows users to ask questions and get answers from GPT-3.
- Clone the repository:
git clone https://github.com/your_username/flask-qa-gpt3.git
- Install the required packages:
pip install -r requirements.txt
- Set up your OpenAI API credentials by following these instructions.
- Create a .env file in the root directory of the project with your API key:
OPENAI_API_KEY=your_api_key_here
- Start the Flask server:
flask run
- Open your web browser and go to http://localhost:5000.
- Type a question in the input box and click the "submit" button.
- Wait for the answer from GPT-3 to appear.