Installation is quite simple, just place FredGPT.jar in your plugins folder and boot up minecraft server.
Once you boot up server, head to newly created FredGPT folder and edit config.yml. If you'd like to keep initial settings, then you only have change openai-api-key to your API Key. You can find it here -
https://platform.openai.com/account/api-keys
After you change api key, restart the server and you're ready to go. Initially Fred is located at
x: 116
y: 72
z: -81
world: world
With 50 blocks listen radius. Once you get in range, just say his name and he will start listening to you. He will listen to your chat messages without needing to call his name afterwards.