Clone the repository to a desired destination and head inside the same.
$ git clone https://github.com/BugReportOnWeb/ChatXGPT.git
$ cd ChatXGPT
Make a .env
file and store your bot token in it.
$ vim .env
----------------------------
OPENAI_API_KEY=<YOUR-TOKEN-GOES-HERE>
Install the dependencies and run the main script.
$ python3 -m pip install -U requirements.txt
$ python3 src/main.py
- openai (Python client library for the OpenAI API)
- python-dotenv (Read key-value pairs from a .env file and set them as environment variables)