Bafchat

⭐ — (3 endorsements) 📥 256 downloads 📌 v23.06.2 📅 6/17/2023
⚪ Last updated 2023

By Regular-Baf · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 6/14/2023 📅 Created: 6/17/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 🏆 #656 of 909 fabric mods in this game by downloads

📋 About This Mod

# Bafchat While there are already plenty of mods around which bring OpenAI's API into Minecraft, there hasn't yet been the same abundance of mods seeking to bring local LLMs into the game. Bafchat is here to save the day! Ask your new AI buddy questions, or maybe get some help when you've forgotten a command or crafting recipe. If your model can do it, Bafchat can do it too (provided you have the prompt correctly configured in Bafmod3Config.json). Also, OpenAI's API doesn't have unlimited free use, so once you run out of credits you have to pay. Bafchat is powered by LLMs hosted on your own computer (or local network), so you can experiment without worry of racking up charges. ## Default Configuration By default, Bafchat is pre-configured to work with (https://github.com/louisgv/local.ai), but I believe it should work with others such as those provided by Kobold and Oobabooga. The recommended model as of right now is (https://huggingface.co/rustformers/redpajama-3b-ggml/blob/main/RedPajama-INCITE-Chat-3B-v1-q4_0.bin) because it is a small model that processes prompts relatively fast on CPU, however as a trade-off, its responses leave much to be desired. **NOTE:** If you do elect to choose a different model, you will have to modify the prompting style in Bafmod3Config.json, otherwise you may get unexpected results. **OTHER NOTE:** When editing the prompt in Bafmod3Config.json, please ensure you keep the placeholder {{message}} in the prompt, placing it where you want your in-game messages to go in the template. ## Features * A mostly functional front-end for locally hosted APIs of large language models. * Use `/llm` to send a message to your model. * Modify the Bafmod3Config.json in-game! Just use `/bafmod set`, or if you mess it up you can use `/bafmod reset` to return it to default. * Prompts and API URL can be adjusted in the Bafmod3Config.json located in your .minecraft/config ### Requirements * A locally hosted API for an LLM * Fabric Kotlin * Fabric API * Fabric * Minecraft 1.20 and newer #### Slight issues * If the API is hosted on the same machine as your Minecraft server (which includes the client if playing singleplayer) and your computer isn't particularly powerful, your game may temporarily slow down while the prompt is processed. Using smaller, and quantised language models can help counteract this.

# Bafchat While there are already plenty of mods around which bring OpenAI's API into Minecraft, there hasn't yet been the same abundance of mods seeking to bring local LLMs into the game. Bafchat is here to save the day! Ask your new AI buddy questions, or maybe get some help when you've forgotten a command or crafting recipe. If your model can do it, Bafchat can do it too (provided you have the prompt correctly configured in Bafmod3Config.json).

Also, OpenAI's API doesn't have unlimited free use, so once you run out of credits you have to pay. Bafchat is powered by LLMs hosted on your own computer (or local network), so you can experiment without worry of racking up charges. ## Default Configuration By default, Bafchat is pre-configured to work with (https://github.com/louisgv/local.ai), but I believe it should work with others such as those provided by Kobold and Oobabooga. The recommended model as of right now is (https://huggingface.co/rustformers/redpajama-3b-ggml/blob/main/RedPajama-INCITE-Chat-3B-v1-q4_0.bin) because it is a small model that processes prompts relatively fast on CPU, however as a trade-off, its responses leave much to be desired.

NOTE: If you do elect to choose a different model, you will have to modify the prompting style in Bafmod3Config.json, otherwise you may get unexpected results.

OTHER NOTE: When editing the prompt in Bafmod3Config.json, please ensure you keep the placeholder {{message}} in the prompt, placing it where you want your in-game messages to go in the template. ## Features A mostly functional front-end for locally hosted APIs of large language models. Use `/llm` to send a message to your model. Modify the Bafmod3Config.json in-game! Just use `/bafmod set`, or if you mess it up you can use `/bafmod reset` to return it to default. Prompts and API URL can be adjusted in the Bafmod3Config.json located in your .minecraft/config ### Requirements A locally hosted API for an LLM Fabric Kotlin Fabric API Fabric Minecraft 1. 20 and newer #### Slight issues If the API is hosted on the same machine as your Minecraft server (which includes the client if playing singleplayer) and your computer isn't particularly powerful, your game may temporarily slow down while the prompt is processed. Using smaller, and quantised language models can help counteract this.

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Regular-Baf
Version
23.06.2
Downloads
256
Endorsements
3
Category
fabric
Created
6/17/2023
Updated
6/14/2023
Game Versions
1.20, 1.20.1
Tags
social, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Bafchat support?

The author lists 1.20, 1.20.1. Other versions may work but are untested by the author.

What is the latest version of Bafchat?

Version 23.06.2, published 2023-06-14 with 256 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by Regular-Baf 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods