LumiChat AI

Janitor AI Lorebook 模板

Janitor AI Lorebook 模板(2026):关键词与示例

用主关键词、条件、独立内容、优先级和8轮测试,建立精简可维护的 Janitor AI Lorebook 模板。 适合新手上手和后续排错。

作者: LumiChat AI Team发布时间:

阅读约 11 分钟

快速回答

这篇指南主要讲什么

好用的 Janitor AI Lorebook 模板不靠堆字数。每条 entry 只负责一个主题,设置有区分度的关键词、独立 content 和明确触发条件。稳定身份放角色卡,变化事件放 Memory,Lorebook 只放按关键词调用的世界事实。先复制小模板,再跑8轮测试,最后按概念逐条增加。

  • Lorebook 模板应该解决什么
  • 每条 entry 必须有的4个字段
  • 设计不会乱触发的关键词

角色快速入口

每次刷新随机展示 3 个角色;有推广视频时优先播放视频,没有视频时显示角色图片,并保留角色介绍和聊天入口。

Lilith Moreau

吸血鬼伯爵

Lilith Moreau

古堡、礼仪和超自然秘密,适合优雅克制的慢热浪漫。

哥特吸血鬼优雅
开始聊天

职业电竞选手

宝儿

成都 AG 战队职业选手,比赛时冷静专注,私下更温柔克制。适合想体验酷飒、专注、带一点竞技感陪伴的用户。

电竞酷飒专注
开始聊天
Sebastian Laurent

奢华知己

Sebastian Laurent

精致、专注且直接,适合现代约会与势均力敌的关系场景。

现代自信浪漫
开始聊天
用于说明 Janitor AI Lorebook 模板工作流的真实 LumiChat 角色库

搜索 Janitor AI Lorebook template 的用户想要可修改的结构,而不是“代码越多效果越好”的承诺。本篇给出关键词、条件和 content 的小型可测试模板,补充 Janitor AI Lorebook 指南授权导出指南失效排查指南,不重复它们的主意图。

Lorebook 模板应该解决什么

Lorebook 模板是可重复的条目结构,不是提升人设的魔法。它适合地点、阵营、物品和事件等只在相关场景出现的世界事实。不应隐藏稳定身份、每轮都执行的规则或私有创作者内容。小模板比大型脚本更容易检查、迁移和排错。

Template goalPut it inAvoid
Stable character identityCharacter cardRepeating it in every lore entry
World fact on demandLorebook entryMaking every fact constant
Current relationship stateChat MemoryTreating it as permanent canon
Reply styleAdvanced PromptHiding it behind a keyword

每条 entry 必须有的4个字段

每条 entry 至少需要编辑器标签、主关键词、可选 secondary 条件和独立 content。启用、常驻、顺序、位置、概率和深度等字段应在理解后再加。非原创内容要保留来源和授权记录。

FieldWhat to writeQuality test
Title/commentA short editor labelYou can find it later
Primary keysDistinctive names or phrasesOne clear activation message
Secondary keysA real conditionIt prevents unrelated activation
ContentStandalone factsIt makes sense without the key label
Enabled/constantWhether it participatesIt fires only when intended

设计不会乱触发的关键词

优先使用罕见姓名或地点,不要用常见词。一个强关键词比十个近似词更容易测试。同义词只有自然且通过负向测试时才添加。Secondary 应收窄上下文,不能引入无关主题。Regex 不是必需,使用时要补充误触测试。

  1. Choose one rare primary key.
  2. Add one synonym only if users naturally type it.
  3. Keep secondary conditions separate.
  4. Test a negative control that should not activate.
  5. Narrow broad keys before increasing any token budget.

让 content 独立且可用

写 content 时假设模型看不到 key 标签:说明主题、关键事实、后果和适用范围。长历史按人物、地点和事件拆分。避免与角色卡冲突,也不要把可执行 Script 直接粘贴进普通 Lore 文本。

Weak contentWhy it failsBetter pattern
“The city is important.”No usable detailName the rule, place and consequence
A 1,000-word history dumpConsumes contextSplit by location, faction and event
Facts that depend on the key textModel may not see the keyRepeat essential context in content
A script pasted as proseIt will not executeKeep code in a supported script layer

一次只调一个设置

排错时从小扫描深度、预算和默认插入位置开始。调试阶段保持概率100%,避免随机性掩盖关键词问题,基线测试关闭递归。一次改一个设置,重新发送相同消息,并记录结果。

SettingBeginner choiceChange it when
Scan depth2–4 recent turnsOlder mentions must activate
Context budgetSmall, measurable capEntries are visibly truncated
Insertion positionDefaultThe model sees facts too late
Probability100% for testingYou intentionally want variation
RecursionOff for baselineLinked entries are deliberately designed

可复制的安全模板示例

下面示例使用虚构的港湾议会事实,可以替换成自己的世界。保留结构,再换成你有权使用的名称、关键词和 content。不要复制创作者关闭的条目,也不要把公开角色页面当作提取隐藏 Lorebook 的许可。

Title: Harbor Council
Primary keys: Aster Harbor, harbor council
Secondary condition: the council is being discussed
Content: Aster Harbor is governed by five council seats. A tie pauses new laws until the harbor bell is rung.
Use: add this entry only when the place or council matters to the current scene.

用8轮测试证明模板有效

每次重要修改后执行下面8轮:无关键词、精确词、同义词、条件、碰撞、场景变化、纠错和重新打开聊天。记录是否激活、插入位置、Token 和回复质量。合格模板只在需要时触发,其他时候保持安静。

TurnInputExpected result
1No keyEntry is absent unless constant
2Exact primary keyTarget entry activates
3SynonymOnly the intended synonym activates
4Wrong contextSecondary condition blocks it
5Two related keysBudget and order remain coherent
6Scene changeRelevant fact returns without a dump
7CorrectionNew scene truth overrides stale wording
8Reopen chatBinding and state persist

模板不能修复弱模型、登录故障、角色卡冲突或未经授权的来源。若你真正想直接和角色聊天而不是维护 Lorebook,可以试试 LumiChat 角色库。LumiChat 是独立平台,不会解锁 Janitor AI 内容。

常见问题

最好的 Janitor AI Lorebook 模板是什么?

使用能清楚定义关键词、条件、独立 content 并可测试的最短结构。

一条 entry 要放几个关键词?

先放一个独特关键词,只增加通过负向测试的自然同义词。

每条都要常驻吗?

不需要。常驻条目会每次消耗上下文,应尽量少用。

Lorebook content 放什么?

放按关键词调用的地点、阵营、物品和事件等世界事实。

为什么模板总是乱触发?

关键词太宽、开启常驻、扫描过深或递归可能造成过度激活。

可以把 Script 当模板吗?

Script 是独立层,普通 Lore 文本不会自动执行 JavaScript。

公开创作者模板可以复制吗?

只有创作者允许复用时才可以,公开可见不等于隐藏内容可提取。

LumiChat 能导入吗?

本篇不承诺直接导入,LumiChat 是独立托管角色聊天服务。

Lilith Moreau

继续体验

进入 LumiChat,开始真实角色聊天

浏览在线角色,选择适合你的人设与场景,立即开始对话。

进入聊天