hark130 / jack-in-the-box

Connecting Jackbox games to the OpenAI API
GNU General Public License v3.0
1 stars 0 forks source link

jack-in-the-box

Jack in the Box (JITB): Connecting Jackbox Games to the OpenAI API in Python3

DETAILS

JITB uses this OpenAi API with the gpt-4o-mini model to generate content and a Google Chrome browser, by way of Selenium, to interact with the Jackbox Games.

Supported Jackbox Games

INSTRUCTIONS

  1. Install Python 3.10 (or later)
  2. Download and install Google Chrome
  3. Download a release wheel from releases
  4. pip install jitb-X.Y.Z-py3-none-any.whl
  5. Setup your OpenAI API Key
  6. Start a supported Jackbox Game
  7. Get one human signed in (JITB will not function as the VIP)
  8. jitb --user JITB --room <ROOM_CODE>
  9. Start the game

USAGE

jitb --help

OPTIONAL: Use the TMPDIR environment variable to control the debug log file location.