This is a command-line interface that allows you to interact with OpenAI GPT-3.5 to get answers to your questions.
Before using the chatbot, you will need to generate an API token from OpenAI. Follow these steps to do so:
- Go to OpenAI's website
- Click on Sign Up in the top-right corner of the page and create an account if you haven't already
- Once logged in, go to the API Tokens page
- Click on New API Key and give it a name
- Copy the generated key
To install the chatbot, run the following command:
make install token=<INSERT_YOUR_TOKEN_HERE>
This will build the chatbot and install your API token. Note that you need to replace <INSERT_YOUR_TOKEN_HERE>
with the key you generated previously.
To ask the chatbot a question, run the following command:
make ask
The chatbot will prompt you to enter your question. Type it in and hit Enter. The chatbot will then use OpenAI GPT-3.5 to generate an answer and display it on the screen.
If you would like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.