这个简单的客户端模组允许你在不离开游戏的情况下调用 ChatGPT。它默认将你的问题视为与 Minecraft 相关,因此是一个实用的 Minecraft 助手!
使用方法
-
前往 OpenAI 的网站 并获取一个 API 密钥。请务必将此 API 密钥保存在安全的地方,因为它只会显示一次。
-
打开模组的配置文件(Mod Menu 同样适用),并在对应字段中输入 API 密钥。另一个选项允许你更改 AI 所使用的 模型。默认值为 gpt-4o-mini,因为它是成本最低的选项。你可以将其更改为 gpt-4o 以获得更昂贵但更准确的回复(无论选择哪个模型,AI 都可能犯一些错误)。请注意,最新的 ChatGPT 模型训练数据截止至 2023 年 10 月,仅比 1.20.2 版本发布晚一个月,这意味着它不了解任何高于 1.20.2 的 Minecraft 版本的信息。
-
进入任意世界并使用 /ai prompt <提示>(使用 /ai chat <提示> 让 AI 记住你所说的内容)向 ChatGPT 提问任何问题。要获取当前手持物品的信息,请使用 /ai info hand。要获取所瞄准的方块或实体的信息,请使用 /ai info looking。
已知问题
- 在等待 AI 生成回复时,游戏会卡住。(发现者:我)(可能无法修复)
This simple client-sided mod allows you to prompt ChatGPT without leaving your game. It always assumes you are talking about Minecraft, making it a useful Minecraft assistant!
How to use it
- Go to OpenAI's website and obtain an API key. Make sure to keep this API key somewhere safe because it will only show you the key once.
- Go into the config file for the mod (Mod Menu works too) and enter the API key into its respective field. The other option lets you change what model the AI uses.
gpt-4o-mini is the default because it is the cheapest one. You can change this to gpt-4o for more expensive but accurate responses (no matter what model you choose, the AI may get some things wrong). Keep in mind that with the most recent models, ChatGPT is trained up to October 2023, just a month after 1.20.2 was released, meaning that it does not know anything about Minecraft versions newer than 1.20.2.
- Enter any world and use
/ai prompt <prompt> (use /ai chat <prompt> to have the AI remember what you said) to ask ChatGPT anything. To get information on the current held item, use /ai info hand. For information about the targeted block or entity, use /ai info looking.
Known issues
- Game freezes when prompting the AI until the response is done generating. (found by: me) (probably unfixable)
评论 0
登录后参与评分
还没有评论,来抢沙发吧