CoreDialog – Local NPC Talk AI
NVIDIA GTX 1650 Ti (4 GB VRAM) or better ... iOS: Coming Soon! Included Content & Demo Scenes The Shopkeeper: Demonstrates RAG-powered inventory search, contextual recommendations, and ...
by Ignitive Labs
Price History +
Engine Compatibility & Prerequisites:
- Unity Version: 6000.3 LTS or newer.
- Platform Support: Local execution optimized for Windows (x64) with CUDA-capable GPUs.
- Render Pipelines: Independent (Built-in, URP, and HDRP).
Core AI Architecture & Models:
- Large Language Model (LLM): Powered by LLamaSharp (C# wrapper for llama.cpp). Runs purely on the GPU. Recommended models: Qwen 2.5/3 4B or Mistral 7B in GGUF format with Q4 quantization (like Q4_K_M).
- Speech-to-Text (STT): Powered by Whisper.net. Runs locally on GPU with CPU fallback. Requires native DLLs: whisper.dll, ggmw.dll, ggmw-cpu.dll, and ggmw-base.dll.
- Text-to-Speech (TTS): Powered by Piper TTS running locally on the CPU (using Microsoft.ML.OnnxRuntime).
- Voice Cloning: Includes voice cloning support. Requires a 5-second sample audio clip (.wav) to clone and speak.
Real-world Latency Benchmarks (Tested on Intel Core i7 CPU & NVIDIA GTX 1650 Ti (4GB Mobile GPU)):
- STT (Whisper) GPU: ~400 ms
- STT (Whisper) CPU: ~1.2 seconds (1200 ms)
- LLM Inference: ~400 ms (GPU, first-token generation latency)
- TTS (Piper): ~700 ms (CPU)
🗣️ Core Dialog: Advanced NPC Talk AI
Bring your Unity projects to life with Core Dialog, a fully local, zero-API AI communication framework. Designed for seamless Unity integration, it enables NPCs to listen, think, speak, remember, and perform actions in real time—all completely offline. 🧠⚡
Powered by Speech-to-Text (STT), Large Language Models (LLM), Retrieval-Augmented Generation (RAG), and Text-to-Speech (TTS), Core Dialog delivers context-aware conversations with low latency and zero cloud costs. NPCs can understand the world around them, retrieve relevant knowledge, interact with inventories, and trigger gameplay actions naturally.
⚙️ Technical Specifications & Dependencies
Core Dialog is built on robust open-source AI frameworks and includes the required precompiled libraries for native Unity integration.
- 🦙 Large Language Model (LLM): Powered by LLamaSharp (llama.cpp). Supports GGUF models such as Llama, Mistral, Gemma, Phi, Qwen, and more, with CPU and GPU acceleration.
- 🎙️ Speech-to-Text (STT): Uses Whisper.net (whisper.cpp) for fast, accurate local speech recognition directly from the Unity Microphone.
- 🔊 Text-to-Speech (TTS): Powered by PocketTTS with Microsoft ONNX Runtime, providing fast local speech synthesis and 5-second voice cloning.
- 📚 Retrieval-Augmented Generation (RAG): Retrieve only relevant information from game lore, quests, nearby objects, inventories, or custom knowledge bases, improving response accuracy while keeping prompts efficient.
✨ Core Features
- 🚫🌐 Fully Offline AI: No API keys, internet connection, or subscription fees. Everything runs locally on the player's device.
- ⌨️🎤 Dual Input Modes: Supports both text input and Voice Activity Detection (VAD) for natural voice conversations.
- 🌍 RAG-Powered World & Inventory Awareness: NPCs intelligently retrieve relevant information about nearby objects, player status, quests, inventory items, or custom game data to provide accurate, context-aware responses and recommendations.
- ⚡ LLM Action System: Let NPCs perform gameplay actions during conversations, such as opening shops, buying or selling items, giving quests, triggering Unity Events, playing animations, or executing your own custom C# functions.
- ❤️😡 Relationship & Memory System: Track variables like Trust, Friendship, or Anger to create conversations and behaviors that evolve over time.
- 👥 Voice Cloning: Generate unique NPC voices instantly from a single 5-second .wav sample.
💻 Hardware Requirements & Performance
Since AI models run locally, performance depends on the player's hardware.
- Minimum Specs (CPU):
- 16 GB System RAM
- Modern multi-core CPU (Intel Core i5 / AMD Ryzen 5 or better)
- Recommended Specs (GPU):
- NVIDIA GTX 1650 Ti (4 GB VRAM) or better
- 16 GB System RAM
Unity Compatibility: Unity 6000.3 LTS or newer.
- 🖥️ Supported Platforms
- 🪟 Windows (x64): CPU & GPU hardware acceleration
- 🍎 macOS: Intel and Apple Silicon (M1/M2/M3)
- 🤖 Android: Native ARM64 support
- 📱 iOS: Coming Soon!
📦 Included Content & Demo Scenes
- 🏪 The Shopkeeper: Demonstrates RAG-powered inventory search, contextual recommendations, and AI-driven buying/selling.
- 💕 The Romantic Companion: Showcases relationship variables, conversational memory, and evolving dialogue.
- ⚔️ The Hostile Enemy: Demonstrates emotional state changes, hostility triggers, and action execution based on player interactions.
- 🤖 General Chatbot & Voice: A clean demo of the complete offline STT → LLM → TTS pipeline.
- 🧪 Voice Cloning Sandbox: Quickly test and generate custom NPC voices using short audio samples.
📄 Third-Party Libraries
Core Dialog includes all required third-party libraries for seamless setup, along with their respective license files.
Included libraries include:
- 🦙 LLamaSharp (C# wrapper)
- 🦙 llama.cpp
- 🎙️ Whisper.net
- 🎙️ whisper.cpp
- 🔊 Microsoft ONNX Runtime
- 🔤 PocketTTS
- 🔤 SentencePiece
All third-party libraries remain under their respective open-source licenses (primarily MIT and Apache 2.0). Full license texts and attributions are included with the package.
🛠️ Support
- Need help with setup, bugs, or updates?
- Feel free to contact us anytime:
- 📧 contact@ignitivelabs.net
- 🌐 Discord - https://discord.gg/59cFVYavpd
We’re happy to assist you!