This is an alternative server that uses OpenAI API instead of infinite craft's internal api.
- Install tampermonkey
- Go to https://github.com/YuraSuper2048/infinite-craft-gpt-server/raw/main/interceptor.user.js and install the userscript
- Clone the repository (make sure you have git installed in your system)
git clone https://github.com/YuraSuper2048/infinite-craft-gpt-server
cd infinite-craft-gpt-server
- Install the requirements
pip install -r requirements.txt
- Rename "config.toml.example" to "config.toml"
- Edit "config.toml" and put your OpenAI API key
- Run the server
uvicorn server:app
- Go to Infinite Craft and enjoy your GPT 4 enhanced infinite craft
GPT 4 is kinda too smart and it will do things that actually make sense, so its much harder to reach things
If you wanna "hard code" some result just put it into SYSTEM_PROMPT in server.py
I think the original used a fine tuned model so i assumed GPT 4 may be not the best at it but it works surprizingly well...