LumiChat AI

Fluxo World Info do SillyTavern

Guia de Lorebook SillyTavern: World Info e gatilhos

Configure chaves, scan depth, budget e escopo do Lorebook(World Info) no SillyTavern para inserir apenas o lore relevante.

Autor: LumiChat AI TeamPublicado:

Leitura de 12 minutos

Resposta rápida

O que este guia explica

No SillyTavern, Lorebook é chamado de World Info. Quando uma key aparece no contexto escaneado, o content da entry entra no prompt. Comece com uma entry curta e standalone, uma key distinta e scan depth estreito; teste no-key, exact key, case, whole-word, budget e binding em oito turnos.

  • O que o Lorebook faz
  • Como criar keys previsíveis
  • Configurações que mudam activation

Personagens em destaque

Três personagens mudam a cada atualização; o vídeo tem prioridade e, quando não existe, mostramos a imagem do personagem.

Rainha de clube em Ginza

Sato Akari

Personagem elegante de Tóquio, com respostas calorosas e ritualizadas para quem busca companhia emocional refinada.

EleganteRitualCompanhia
Começar chat
Kageyama Maki

Exorcista onmyoji

Kageyama Maki

Mistério de Kyoto, proteção e rituais sobrenaturais criam uma trama imediata.

OnmyojiMistérioProteção
Começar chat
Elara Voss

Princesa elfa do gelo

Elara Voss

Reservada no início e recompensadora depois, para intriga de corte e romance lento.

FantasiaRealezaSlow burn
Começar chat
Biblioteca real LumiChat usada para explicar Lorebook e World Info do SillyTavern

Quem busca SillyTavern Lorebook quer saber activation, scan, insertion e scope. Este guia complementa o Janitor Lorebook guide, o Janitor export guide e o character card guide, sem repetir suas tarefas.

O que o Lorebook faz

Lorebook, World Info e World Info file são a mesma mecânica geral: entries que entram no prompt quando keys aparecem no contexto recente. O model lê content; key e comment são controls. World Info adiciona contexto, mas não garante reprodução de fatos. Separe identity, scene state e world facts opcionais.

LayerJobCommon mistake
Character cardStable identity and scenarioPutting every temporary event here
World Info entryAdd lore when a key appearsUsing broad keys that fire everywhere
Chat LoreFacts for one conversationExpecting it to follow every chat
Persona LoreFacts about the user roleTreating it as character memory

Como criar keys previsíveis

Use keys distintivas, não palavras comuns. Lugares, factions e nomes completos reduzem falsos positivos. Secondary keys devem expressar condição. Regex é possível, mas exige testes de erro. Toda key precisa de uma mensagem que ativa e outra que não ativa.

Key typeExampleWhat to check
Primary keyAster HarborExact spelling and expected trigger
Multiple keysharbor council, councilWhether the shorter key overfires
Secondary keyA faction plus a locationSelective logic and matching mode
Regex keyA documented JavaScript regexEscaping, flags and false positives

Configurações que mudam activation

Scan depth, budget, case, whole-word, position, order, probability e recursion mudam o resultado. Comece com 2–4 turns e budget pequeno. Constant deve ser raro. Em idiomas sem espaços, whole-word merece cuidado.

SettingWhat it controlsSafer first value
Scan depthHow many recent messages are scanned2–4 turns while debugging
Context budgetMaximum World Info tokensSmall enough to leave story room
Case sensitivityWhether letter case must matchOff unless a key is ambiguous
Match whole wordsPrevents partial-word matchesOn for English single-word keys
Insertion orderRelative placement of entriesKeep defaults until behavior is known

Comece por uma entry

Faça um book pequeno com uma entry standalone. Não dependa do label ou key para explicar o conteúdo. Guarde backup JSON e changelog. Só faça bulk import depois de uma entry representativa passar.

  1. Create or open the World Info file.
  2. Add one concise entry with one distinctive key.
  3. Save, open a disposable chat and mention the key once.
  4. Inspect the generated prompt or activation indicator.
  5. Add a second entry only after the first behaves correctly.
  6. Keep a JSON backup before bulk edits.

Escolha Character, Chat, Persona ou Global

Character Lore acompanha um character, Chat Lore fica em uma branch, Persona Lore segue o user role e Global é compartilhado de propósito. Use o menor scope para reduzir vazamento e facilitar debug.

ScopeActivation boundaryBest use
Character LoreEvery chat with one characterCanon facts tied to that character
Chat LoreOne chat or branchTemporary campaign state
Persona LoreEvery chat using one personaUser role, profession or identity
Global World InfoAny selected chatReusable setting intentionally shared

Teste World Info em oito turnos

Repita oito turnos após criar, importar ou mudar: no-key, exact key, case, partial word, duas keys, secondary condition, scene change e reopen. Registre activation, posição, tokens e coerência.

TurnMessage patternExpected result
1No key mentionedNon-constant entry stays out
2Exact primary keyTarget entry activates
3Different caseMatches configured case behavior
4Partial wordWhole-word rule behaves as chosen
5Two keys in one messageOrder and budget remain coherent
6Secondary condition onlySelective logic prevents overfiring
7Scene change, key repeatedEntry returns without duplicate prose
8Reopen the same chatBinding and saved state persist

Corrija trigger ausente ou excessivo

Siga activation→insertion→generation. Confira spelling, enabled, binding e scan depth; para overfire, estreite key, desligue constant e revise recursion. Para content truncado, divida por conceito. O Janitor export guide cobre conversão; para chat direto use a LumiChat library.

SymptomCheck firstSmallest fix
Entry never activatesKey, enabled state, scan depthUse one distinctive key and two-turn scan
Entry activates on every messageBroad key or constant=trueNarrow the key or disable constant
Lore appears too latePosition or insertion orderMove it to the intended context slot
Imported text is truncatedToken budget or long contentSplit into standalone concise entries
Character ignores the loreContent assumes the key label is visibleRepeat essential context in content
Results change after updateModel, preset or extension changedRecord the route and rerun the same test

Perguntas frequentes

Lorebook é World Info?

Sim, é o termo atual do SillyTavern para o sistema de lore dinâmico.

Como funcionam os gatilhos?

Uma key encontrada no contexto escaneado insere o content da entry.

Qual scan depth usar?

Comece com 2–4 turns recentes durante o debug.

Por que ativa demais?

Key ampla, constant ou recursion podem estar causando isso.

Character ou Chat Lore?

Character para fatos duráveis; Chat para uma branch.

World Info garante memória?

Não, apenas adiciona contexto.

Posso usar Regex?

Sim, com testes de falsos positivos.

LumiChat importa World Info?

É um serviço separado e não promete import direto.

Takahashi Nozomi

Continue no LumiChat

Escolha um personagem e comece a conversar

Explore personagens ativos, encontre a personalidade certa e entre no chat em segundos.

Entrar no chat