This is boilerplate code to use OpenAI to get answers from a webpage.
Usage:
- Generate your openAI API key at https://platform.openai.com/api-keys
- Create .env file in working direction and below line to this .env file
OPENAI_API_KEY = '<API_KEY>'
- Run chatbot.py
pip3 install -r requirement.txt python3 chatbot.py
- Modify chatbot.py as per need.