LumiChat AI

SillyTavern World Info workflow

SillyTavern Lorebookガイド:World Infoとtrigger

SillyTavernのLorebook(World Info)でkey、scan depth、budget、scopeを設定し、必要なloreだけをpromptへ入れる方法。

著者: LumiChat AI Team公開日:

12分で読める

クイック回答

このガイドでわかること

SillyTavernではLorebookをWorld Infoと呼びます。scanされたchat contextにkeyが一致するとentry contentがpromptへ入ります。短いstandalone entryとdistinctive key、狭いscan depthから始め、no-key、exact key、case、whole-word、budget、bindingを8ターンで確認します。

  • Lorebookがすること
  • 予測できるkey設計
  • activationを変える設定

おすすめキャラクター

更新するたびに3人をランダム表示。紹介動画があれば動画を優先し、なければキャラクター画像を表示します。

銀座クラブの女王

佐藤明里

東京・銀座を思わせる上品なキャラクター。丁寧で情緒のある返答を求める人に合います。

上品儀式感寄り添い
チャットを始める
Zahara Nyx

サバンナの狩人

Zahara Nyx

追跡とライバル関係を軸にした、野外アドベンチャー向け。

冒険ライバル野性
チャットを始める
Kaelith Amara

砂漠の星読み

Kaelith Amara

星空のテントを舞台に、旅と秘密をゆっくり進める物語向け。

砂漠温かい物語
チャットを始める
SillyTavern LorebookとWorld Infoの挙動を説明する実在LumiChat character library

SillyTavern Lorebook検索者はactivation、scan、insertion、scopeを知りたいのであり、用語だけを求めていません。Janitor Lorebook guideJanitor export guidecharacter card guideとは役割を分けます。

Lorebookがすること

SillyTavernのLorebook、World Info、World Info fileは、keyでpromptへdynamic insertionするentry collectionです。Modelが読むのはcontentで、keyやcommentはcontrolです。World Infoはcontextを増やしますが事実の再現を保証しません。Identity、scene state、optional world factsを分けます。

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

予測できるkey設計

Distinctiveで通常会話に当たりにくいkeyを選びます。Common wordより固有の場所、faction、full nameを使います。Secondary keyは条件にし、regexはfalse positiveをtestします。

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

activationを変える設定

Scan depth、budget、case、whole-word、position、order、probability、recursionが挙動を変えます。debug中は2–4 turnとsmall budget、constantは少なくします。Whitespaceのない言語ではwhole-wordに注意します。

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

一entryから始める

最初は小さなbookと一つのstandalone entryにします。Labelやkeyにcontentの説明を依存させず、JSON backupと変更記録を残します。代表entryが通るまでbulk importしません。

  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.

Character・Chat・Persona・Global scope

Character Loreは一character全chat、Chat Loreは一branch、Persona Loreはuser role、Globalは意図的な共有です。最小scopeが安全でdebugしやすく、standalone backupも残します。

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

8ターンテスト

作成・import・変更ごとに同じ8ターンを行います。No key、exact key、case、partial word、two keys、secondary condition、scene change、reopenを記録します。modelやpresetを変えたら新testです。

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

trigger不良の直し方

Activation、insertion、generationの順で確認します。Not fireはspelling、enabled、binding、scan depth、overfireはbroad key、constant、recursion、無視はstandalone content、truncateはsplitです。Janitor export guideがconversionを扱い、すぐchatしたい場合は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

よくある質問

LorebookはWorld Infoですか?

はい。SillyTavernの動的lorebookの呼び方です。

triggerの仕組みは?

scan contextにkeyがmatchするとcontentがpromptへ入ります。

scan depthは?

debugでは2–4 recent turnsから始めます。

頻繁にtriggerする理由は?

keyが広い、constant、recursionを確認します。

CharacterとChatの違いは?

Characterは全chat、Chatは一branchです。

事実を保証しますか?

いいえ。context追加であり出力保証ではありません。

Regex keyは?

使えますがfalse positiveを試します。

LumiChatへimport?

別hosted serviceで直接importは約束しません。

Zahara Nyx

LumiChat で続ける

キャラクターを選んで会話を始める

公開中のキャラクターから相性のよい人物と場面を選び、すぐにチャットできます。

チャットへ