
CurseForge >>> GitHub >>> Instruction
Arichat 是一款适用于 1.12.2 Forge 和 1.20.4 Fabric 的 Minecraft 模组
通过 Agnai 网站的无头自动化(Headless Automation),为 Minecraft 添加 AI 角色扮演功能
以下是两部分内容:描述、说明
(网站提供翻译版本)
Description
Arichat - 一款旨在将 Minecraft 与连接了 AI 的网站相连接的模组。
(在当前版本的模组中,该网站为 Agnai,它连接了其前端界面,从而简化了与不同 AI 模型(如角色扮演模型)的工作交互)。
简而言之,该模组为 Minecraft 的功能添加了与人工智能的角色扮演互动。
通过创建角色卡并将其上传至网站,你将能够在 Minecraft 内与其进行交流。
将该模组与其他模组配合使用,你将能够在游戏中创建角色的实体表现形式,而其行为将由 Arichat 基于神经网络来构建。
重要的是要认识到,Arichat 并非神经网络模型本身,而是一个连接器。
角色的质量取决于你选择/购买的模型,以及你如何编写角色设定/方案/剧本。
如果用复杂的方式描述这个过程,大致如下:Agnai 是神经模型的外壳,而 Arichat 则为这个神经模型外壳构建了 Minecraft 外壳。简化后的描述:向 Minecraft 中添加 AI 角色。
在使用模组前,请阅读使用说明部分
Warning: Arichat 测试模组,用于展示功能。作者很可能不会对该模组进行更新和支持。
然而,不必沮丧,我将在说明中详细告知一切。如果你运行该模组,你将能够自行搞定
Instructions
Arichat 使用“测试自动化”,因此程序将由驱动程序驱动浏览器运行
我先明确列出一些显而易见的限制:你需要互联网
- 你需要一个浏览器(如果 Arichat 在你的浏览器上无法正常工作,作者建议安装 Chrome)。
- 如果出现错误,驱动程序极有可能作为进程挂起。在这种情况下,你可以通过任务管理器找到并禁用它
- 如果一切正常运行,受管理的浏览器将存储诸如:网站数据、主题、扩展等数据
由于许多网站包含广告,作者建议在首次启动时安装免费的 adBlock Plus 扩展
理论上,如果你使用没有外壳的浏览器,广告不应干扰程序,但存在它们可能产生干扰的可能性。
自动化是如何工作的?当你启动客户端时,模组会开始为你的浏览器下载 webdriver,随后将其启动。
你将打开一个“干净”的浏览器,你可以像正常使用浏览器一样使用它,但它完全由自动化程序控制。
访问网站、点击按钮、填写字段、从网站获取数据。重要的是,对我们可见的浏览器外壳对于程序来说并非必需
当你希望从开发阶段转向测试阶段时,应在模组配置中启用无头模式(headless),然后重启游戏。
这样,程序与浏览器之间的交互对你而言将是不可见的。
好了,现在我们对 Arichat 的功能有了简单的理解。把它想象成你在游戏中通过浏览器进行操作。
旁白:模组配置中有一个 chatmod 参数,如果激活,你将能够通过聊天和命令与角色进行交互。
然而,最初该模组是为 Minecraft 地图制作者创建的,这意味着假设你将通过脚本来使用它
(脚本示例见后文)

CurseForge >>> GitHub >>> Instruction
Arichat is a Minecraft mod for 1.12.2 forge and 1.20.4 fabric
Adds AI-RolePlay to Minecraft via Headless Automation of Agnai website
The following are 2 blocks: Description, Instruction
(The translation is available on the website)
Description
Arichat - a mod whose task is to connect Minecraft with a site connected to AI.
(On the current version of the mod, this site - Agnai, which has connects its frontend interface, which simplifies the work with different with AI models, such as role model).
To put it simplistically, the mod adds Role-Play with Artificial Intelligence to the functionality of Minecraft
By creating a character card, uploading it to the site, you will be able to communicate with it within minecraft.
Using this mod in conjunction with others, you will be able to create a physical representation of the character in the game, and his behavior will be built with the help of Arichat, and therefore based on a neural network.
It is important to realize that Arichat is not a neural network model, but a connector.
The quality of the character will depend on which model you choose/purchase, and how you prescribe the character/schemes/scenarios.
If you describe the process in a complicated way, it goes like this: Agnai is a shell over the neuro-model, and Aricat makes a minecraft shell for the shell for the neuro-model. Simplified description: adding Ai characters to minecraft.
Please read the usage section before using the mod
Warning: Arichat test mod to demonstrate features. Updates and support for the mod from the author will most likely be missing.
However, do not be upset, in the instructions I will tell you everything in detail. If you run the mod at all, you will be able to figure it out
Instructions
Arichat uses “test automation”, so the program will be driver-browser driven
I'll outline the obvious limitations right away:You need internet
- You need a browser (The author recommends installing Chrome if Arichat does not work with your browser).
- In case of an error, there is a high probability that the driver will hang as a process. In that case, you can find it via Task Manager to disable it
- If everything is working correctly, the managed browser will store data such as: site data, themes, extensions
Since, many sites have ads in them, the author recommends installing the free adBlock Plus extension at the first startup
If you use the browser without a shell, ads should not interfere with the program in theory, however, there is a possibility that they will.
How does the automation work? When you start the client, the mod starts downloading a webdriver for your browser, after which it will be launched.
You will have a “clean” browser open, you can use it like normal browsers, however, it is completely controlled by the automation program.
Going to the site, clicking on buttons, filling in fields, getting data from the site. The important thing is that the browser shell visible to us is not mandatory for the program
When you want to move from development to testing, you should enable headless in the mod config, and then restart the game.
This way the interaction between the program and the browser will be invisible to you.
Okay, now we have a simple understanding of what Arichat does. Think of it as if you were working with a browser through the game.
Digression: there is a chatmod parameter in the mod config, if it is active you will be able to interact with characters via chat and commands.
However, originally the mod was created for the creators of minecraft maps, which means that assumes that you will work with it through scripts
(Examples of scripts later)
评论 0
登录后参与评分
还没有评论,来抢沙发吧