Axis and Allies GPT
Jump to navigation
Jump to search
Solves the problem of "I want to play A&A but I don't want to read the rulebook". Solution: spin up an "AI Assistant" with a custom domain of knowledge concerning the board game.
- we discussed this when playing the game
- today it came out
- read [[1]]
- the data is here: https://axisallies.com/rules/axis-allies-rules-1942-2nd-edition.pdf
Work Notes
- Installed Python locally sans admin access https://plainenglish.io/blog/install-python-on-a-locked-down-pc-without-local-admin-37a440c42c12
- Created API Key https://platform.openai.com/api-keys
- added API key to environment variable
- run sample code. doesn't work.
- reboot for my environment variable to "stick"
- error 429 exceeded quota... find out that my account is out of credits or it expired because it is > 3 months old https://stackoverflow.com/questions/75898276/openai-chatgpt-gpt-3-5-api-error-429-you-exceeded-your-current-quota-please
- upgrade/buy credits https://platform.openai.com/account/billing/overview added $50 bucks.
- recreate API key
- reboot? nah, just had to refresh my path by closing command prompt and re-opening. tested by
echo %OPENAI_API_KEY%
- re-run
python openai-test.py
SUCCESS.
okay, now on to XY...