your current location:首页 > news>How to modify the MINEGPT configuration file?[Mgpt] Minegpt Minecraft Game

How to modify the MINEGPT configuration file?[Mgpt] Minegpt Minecraft Game

2024-12-10 17:49:17|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

For example, the title is to teach you how to modify the configuration file of MINEGPT. This tutorial is only suitable for MINEGPT -.2.0.

First, install MINEGPT in the Fabric client folder of 1.19.2, and then start the game to generate the configuration file, the configuration folder (unwanted file isolation) is in ".minecraft/config"

But if you turn on the file isolation, the configuration folder will be in ".minecraft/Versions//config"

Then open the configuration folder, you will see the MINEGPT folder:

Open it, you will see the minegpt.json file and open it, but some people may not be able to open it. You can use the notepad with the system to open it, as shown in the figure:::: Figure::

What is the use of each configuration?

1. "API_LINK" This is the API address. You can write your API address. The default is the API address of OpenAI.

2. "API_KEY" This is the API key. You need to go to the openai official website to apply for API Key.

3. "Model" This is the AI ​​model. You can choose the model you need. The default is Da Vinci 3.

4. "MAX_TONEKS" is the maximum number of returned text, the default is 1024.

5. "N" how many times this answer.

6. "Ping" This is a network test, but it has not been written yet, so this configuration is useless.

After configuration, return to your game, and enter "/mgpt RELOAD" to reload your configuration.

Then you can enter "/ChatGPT " to chat with GPT, but note that you need you to connect to the Openai website. If you cannot connect the Openai website, you need to make an accelerator.