
ChatLab v1.1 now comes with DeepSeek R1 locally running on-device!ChatLab is an LLM powered Unity editor extension designed for creating in-game dialogues with branching logic.LINKSThe documentation page is dynamic as we are adding more functionality (faster LLMs working on various types of hardware, more templates, multiparty/group settings and self branching conversations).Website and Support | DocumentationFEATURES💥 Jumpstart Your CreativityGet started in no time with 7 professionally designed templates. Whether you're a beginner or a pro, these templates are the perfect launchpad for your project.💬 Dynamic Branching ConversationsBring your stories to life! Create interactive dialogues with multiple outcomes and endless possibilities. No more one-size-fits-all endings.🌟 Incredibly Easy to UseWith a lightweight and approachable design, our user interface is as friendly as it gets—no overwhelming menus, just pure productivity.✨ Run Local ModelsPower your conversations offline with support for local LLMs for added speed and privacy.Models included in ChatLab- Phi-3 mini INT4 Quantization- DeepSeek R1 1.5B (INT4 Quantization)✨ Seamless OpenAI IntegrationPlug in OpenAI models effortlessly and take your storytelling to the next level.✨ Language Conversion Made SimpleAutomatically adapt dialogues for different languages - perfect for global projects.💾 Save & Load with EaseNever lose progress! Your dialogue trees and chat logs are auto-restored, and linear chats stay compatible with dialogue trees for ultimate flexibility.🗄️Sleek, Creative UIA UI designed to make you want to create. The perfect mix of node-based flow and modern design principles keeps your workspace visually engaging and streamlined.EDITOR🔧 Character-Centric DesignManage characters with a profile system. Add, switch, and customize character roles, names, and descriptions.🌐 Dialogue Trees, SimplifiedBuild branching conversation paths visually using a dynamic, node-based interface. Create multiple dialogue outcomes, alternate responses, and flexible decision chains with a few simple clicks.⚡ Generate and Expand with AIWith growing number of responses, you may require assistance filling up the entire tree. In a linear conversation with 10 turns, you'd need to write out 10 dialogues. However, if you introduce choices in which a player is given 4 choices each, you'd have to write out 2729 dialogues*, hence we introduce the LLM powered auto reply system to save you the hassle.* Developers use merging and dialogue reuse to counter this issue.With ChatLab, you can automatically populate dialogue choices with AI-generated replies!Select a node and hit "Generate Reply" or "Generate N Options" for fast branching conversations.🛠 Interactive Contextual ToolsEach node is packed with easy-to-access options:Switch roles or characters within conversationsColor coded nodes are easy on the eyesAll fields are editable Edit all parts of the node💾 Integrated Chat LogsSwitch effortlessly between Dialogue Tree and Chat Log views to follow conversation flow in linear or branching formats. Reverse compatibility means your linear chat logs convert smoothly into trees*.*This does not happen the other way around.✨ Powerful LLM Settings PanelAccess LLM configurations directly in the editor:Enable local or OpenAI-powered LLMsAdjust settings like temperature and max tokens to fine-tune response lengthSave and load models instantly for flexible performance🖼 Drag, Zoom, and Create with EaseMove seamlessly through your dialogue structures with mouse-based navigation:Drag with Alt or mouse buttonsZoom in and out to view the big picture or focus on fine detailsDEPENDENCIESThis tool requires no external dependencies.PIPELINES SUPPORTEDBuilt-In: Out of the boxURP / HDRP / SRP: 1 Material needs to be converted to the default Sprite DiffuseLIMITATIONSSince this tool is still under development, there are a few limitations:- Currently, using ChatGPT during development is faster than using the local LLM (Phi3 and DeepSeek R1). Tested on i5, i7 and i9 CPU - minimum ~Phi3 (2 tok/sec), ~DeepSeek R1 (5-10 tok/sec).- The local LLM sometimes forgets details due to the context window being at about 4-16k tokens. The local LLMs also runs on CPU only for now. As the models are ONNX format, they can run on any platform and OS that is supported by ONNX. A GPU inference is possible, but it does not come with ChatLab out of the box.- [Solved, we support Unity 6 now with Newtonsoft JSON] We are working on Unity 6 integration. It will likely require an extra dependency - Newtonsoft JSON- Currently, DeepSeek works in Demo Scenes, Builds, Runtime but is not enabled by default in the editor to help in writing dialogues. Phi-3 can can help in writing dialogues inside the Editor Window along with ChatGPT.- DeepSeek R1 is Quantized with INT4 in this asset. This could mean a lower accuracy. Also, The version of DeepSeek offered is 1.5B param.- Known Issue with DeepSeek R1 - if text is getting generated and the Unity stop button is clicked, Unity may crash. To safely exit, please stop the generation by clicking on the stop generation button and then click on the Unity stop button.- DeepSeek is not a conversational model per se, it thinks out loud, so that can be a bit distracting. Please feel free to modify the ChatTemplate for DeepSeek to tweak it.