python >= 3.8
openai >= 1.7.2
- Install Node.js v10+.
- Clone the Pokémon Showdown repository and set it up:
git clone https://github.com/smogon/pokemon-showdown.git
cd pokemon-showdown
npm install
cp config/config-example.js config/config.js
node pokemon-showdown start --no-security
Enter "http://localhost:8000/" in your browsers.
Get OPENAI API from https://platform.openai.com/account/api-keys
export OPENAI_API_KEY=<your key>
python src/main.py # fill in your username and password for PokeLLMon