poe-api-cli
is an easy-to-use interface for poe-api, a reverse-engineered API wrapper for Quora's Poe. With poe-api-cli, you can freely access OpenAI's ChatGPT, GPT-4, Antropic's Claude, and more.
For more information and help, please visit poe-api's documentation.
- The
token
environment variable is used in poe-api-cli. If the variable is not set, poe-api-cli will prompt you to input it. - Automatically fetches and prints the available bots and asks you to select which one you want to use.
- Use the following commands in the "Enter prompt" field:
/clear
: Clears the conversation history./changebot
: Allows you to switch between different available bots./purge
: Deletes all conversation history.
To get started, please follow the steps below:
To get started, I recommend you visit poe-api's documentation on how to get your token. Once done, simply run the CLI tool.
- Clone the repository using
git clone https://github.com/riolubruh/poe-api-cli.git
or download and extract the ZIP file. - Open a terminal window and navigate to the project directory.
- Install the dependencies by running
pip install -r requirements.txt
. - Set the
token
environment variable usingexport token=YOUR_TOKEN_HERE
(on Linux/macOS) orset token=YOUR_TOKEN_HERE
(on Windows). - Run the CLI tool using
python3 main.py
.
You can also try out poe-api-cli on Repl.it.
poe-api-cli is a straightforward tool for interacting with OpenAI's and Antropic's language models.