Awesome
PokéLLMon
Requirements:
python >= 3.8
openai >= 1.7.2
Setting up a local battle engine
- 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.
Configuring OpenAI API
Get OPENAI API from https://platform.openai.com/account/api-keys
export OPENAI_API_KEY=<your key>
Local Battles
python src/main.py # fill in your username and password for PokeLLMon