GenAI Lib
A library for the Ai Station mod that pulls in non-Minecraft libraries such as google-genai, okhttp3, okio, kotlin-stdlib, and jackson.
介绍
GenAI Lib – Gemini Integration Library
This library provides a clean, shaded implementation of the com.google.genai client for the NeoForge ecosystem. It solves common “Dependency Hell” issues by bundling all required transitive dependencies that are missing from vanilla Minecraft.
Includes:
Google GenAI SDK (Gemini)
OkHttp 4.x & Okio
Jackson (Core, Databind, JSR310, JDK8)
Kotlin Standard Library
Use this library to easily integrate LLM capabilities into your own projects without worrying about shading configuration or classpath conflicts.
Open source project.
Link : https://github.com/BlackHole888YT/GenAiLib
Video [RU]:
常见问题
GenAI Lib 支持哪些 Minecraft 版本?
GenAI Lib 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
GenAI Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
BlackHole888YT 的其他作品
查看全部 →ApothEnchantmentMenu.java – Apotheosis + EnigmaticLegacy (ENCHANTER_PEARL) FIX
修复 Enigmatic Legacy 的 Enchanter's Pearl 与 Apotheosis 配合时无法正常工作的问题。
AutoCycling [for EasyVillagers]
这个附属模组可自动刷新村民交易:按下交易重置按钮后,它会替你重新抽取交易,适用于 Easy Villagers 交易方块和普通村民。
AME BugFix
Bug FIx for Astral Mekanism & Energistics
Apotheosis DescHelper
This mod speeds up progression in Apotheosis by adding descriptions for some items
评论
登录后评论和评分