🗣️ Core Dialog: Advanced NPC Talk AIBring 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 & DependenciesCore 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 & PerformanceSince AI models run locally, performance depends on the player's hardware.Minimum Specs (CPU):16 GB System RAMModern multi-core CPU (Intel Core i5 / AMD Ryzen 5 or better)Recommended Specs (GPU):NVIDIA GTX 1650 Ti (4 GB VRAM) or better16 GB System RAMUnity 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 LibrariesCore 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🔤 SentencePieceAll 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.🛠️ SupportNeed help with setup, bugs, or updates?Feel free to contact us anytime:📧 contact@ignitivelabs.net🌐 Discord - https://discord.gg/59cFVYavpdWe’re happy to assist you!






