1. Upload KoboldAI JSON

Technical Documentation: Mapping Backend Save States to Context Schemas

The migration from **KoboldAI** to **TextGenWebUI** (oobabooga) represents a move from a backend-focused session save to a modern local inference application. While KoboldAI's format is primarily designed to preserve the state of an inference model's context window, TextGenWebUI requires character data to be structured into specific context and greeting fields to drive model behavior efficiently.

1. Overcoming Session Fragmentation

KoboldAI JSON files (typically used in legacy backends or Lite frontends) use a relatively flat structure with keys like description and scenario. TextGenWebUI thrives when character logic is synthesized into its specific context blocks. Our conversion engine performs a "Semantic Alignment," merging the character's persona and scenario into a cohesive context monolith, ensuring that the behavioral instructions intended for KoboldAI models are correctly interpreted by the diverse range of LLMs supported within Oobabooga.

2. Optimizing for Oobabooga's Model Loader Ecosystem

TextGenWebUI is designed for the absolute depth of model orchestration, often running high-performance GGUF or EXL2 models. Standard KoboldAI saves are often optimized for smaller models with more limited context sensitivities. Our converter identifies the most high-impact traits within your Kobold save and priorities them in the resulting JSON, ensuring that your digital characters remain coherent and detailed without overwhelming the local LLM's memory, resulting in more relevant narrative responses.

3. Dialogue and Greeting Normalization

We extract the KoboldAI first_mes and map it directly to the TextGenWebUI greeting field. Furthermore, we reformat the dialogue examples (mes_example) into standardized patterns that maximize their influence on the character's speaking style. This is critical because Oobabooga's models interpret dialogue cues differently depending on the selected loader. By standardizing the output, we ensure a consistent speaking style regardless of the backend architecture you choose to use.

4. Privacy and the "Zero-Server" Advantage

Because character development represents a significant creative investment, we prioritize security. Our tool utilizes a "Zero-Server" architecture, where all JSON processing is handled by your browser's local JavaScript. Your character saves are never transmitted to our server or any third party. This provides a secure, private bridge for users who want to transition their creative assets to a more modern, local-first inference environment.

5. Identity Integrity and Metadata Generation

When you export to TextGenWebUI, our tool generates a standardized JSON file that is ready for instant use in your characters folder. This ensures that your legacy Kobold digital assets are integrated perfectly with the webui's library management features, facilitating easier organization and allowing you to leverage the full power of local model orchestration without losing the nuanced personalities you originally crafted.