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.✨ 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.- The local LLM sometimes forgets details due to the context window being at about 16k tokens.- We are working on Unity 6 integration. It will likely require an extra dependency - Newtonsoft JSON