chat lib
ModApache-2.0

chat lib

a api mod that helps to chat with ai

79
Downloads
2
Followers
6 months ago
Updated
📦
1
Versions

📖About chat lib

ChatLib - Minecraft AI Chat Library

A Fabric mod library providing AI chat functionality for Minecraft mods. Integrates with local Ollama service to enable intelligent dialogue capabilities.

Features

  • Local AI chat integration
  • Multi-version compatibility
  • Simple API interface
  • Asynchronous non-blocking calls

Requirements

  • Minecraft 1.20.1+
  • Fabric Loader
  • Local Ollama service

Quick Start

  1. Install and start Ollama
  2. Download model: ollama pull tinyllama
  3. Place this mod in mods folder

For Developers

AIClient client = new AIClient();
client.sendChatRequest("tinyllama", "Hello")
    .thenAccept(response -> {
        // Handle AI response
    });

License

Apache License 2.0