Knowledge Base
Knowledge Base is the Knowledge tab in the AI Copilot panel. It stores summaries of structural elements and extracted facts about the book. All of this is automatically passed into the chat context, helping the AI give more accurate answers.
AI Guide
At the top of the tab is the AI Guide text field. This is free-form text for the AI: writing style, world rules, naming conventions — anything you want. It is used as persistent context across every conversation in this book.
Book Analysis
Analysis generates summaries for every scene, chapter, and act — bottom-up. Before it runs, a dialog shows the approximate cost.
Run it: the Analyze book button in the "Analysis" section.
Progress is shown by phase: scenes → chapters → acts → book. When it finishes, a brief summary of the whole book appears in the "Book summary" card.
Viewing Summaries
Select any structural element (scene, chapter, act) — its summary opens in the Summary section.
The freshness indicator shows the summary's state:
- Up to date — content has not changed since generation
- Content changed — the scene was edited, the summary may be stale
- Edited — the summary was edited manually by the user
Regenerate one summary: the Regenerate button in the viewer. Regenerate every stale one: the Regenerate stale button at the bottom of the tab.
Summaries can be edited manually with the Edit button. Manual edits are overwritten on subsequent regeneration (a warning will appear).
Facts
Facts are structured data extracted automatically from scenes: characters, locations, items, events, concepts.
Run extraction: the Extract facts button in the "Facts" section.
Viewing and Filtering
The fact list can be filtered by status: All / Pending / Accepted / Rejected. Text search is in the search field above the list.
Each fact shows:
- Entity type (Character, Location, Item, etc.)
- Confidence as a percentage
- Source — the scene the fact was extracted from
Reviewing Facts
Facts with confidence below 85% are sent to manual review.
- Accept — the fact is confirmed and used in context
- Reject — the fact is ignored
Facts with 85% confidence and above are accepted automatically when there are no conflicts.
Conflicts
If the same fact appears in different scenes with contradictory values, it lands in the Conflicts section.
- Resolve — pick the canonical value from the list
- Ignore — mark the conflict as not significant
The unresolved-conflict counter is shown on the AI icon in the sidebar.
Stale Facts
If a scene was edited after the last extraction, related facts are marked stale. A warning with the count of changed scenes is also shown.
To refresh facts, run extraction again.
How Knowledge Is Used in Chat
On every request to the AI Copilot, the context includes:
- Book structure and metadata
- AI Guide
- Characters
- Scene summaries (within the token budget)
At the bottom of the chat input, the line "Knowledge: N tokens loaded" shows how much information is sent on each request.