Knowledge Base
The Knowledge Base is Alfheim's worldview management center for recording, retrieving, and validating all setting information in your game world. It includes two AI-assisted features: Huginn semantic search and Mimir consistency checking.
Feature Overview
- Creation, categorization, and editing of knowledge entries
- Rich text editing in Markdown format
- Huginn: Semantic-based intelligent search
- Mimir: AI-driven consistency checking
- Tag classification and organization
- Image resource attachment
Three Work Tabs
Edit
Creation and editing of knowledge entries.
Huginn
Semantic search tool for quickly retrieving knowledge base content.
Mimir
Consistency checking tool for discovering contradictions and issues in settings.
Knowledge Entry Management
Creating Entries
- Click New Entry in the Edit tab.
- Enter the entry title.
- Select a category.
- Start writing content.
Editing Content
Knowledge entries are written in Markdown format and support:
- Heading levels
- Text formatting such as bold, italic
- Lists and tables
- Image embedding
- Links
Categories
Assign categories to knowledge entries for organization and retrieval. Common categories include locations, factions, items, lore, rules, etc.—you can customize categories according to your game world's needs.
Tags
In addition to categories, you can add tags to entries for more granular labeling.
Images
Knowledge entries support attaching image resources. You can import reference images to visually present setting content.
Huginn Semantic Search
Huginn is the knowledge base's intelligent search feature, based on semantic understanding rather than simple keyword matching.
How to Use
- Switch to the Huginn tab.
- Enter your question or key description in the search box.
- Huginn will return the most semantically relevant knowledge entries.
- Click search results to jump to the corresponding entry for viewing or editing.
Difference from Keyword Search
Traditional search can only match exact keywords. Huginn understands the meaning of queries; even when knowledge entries don't contain the exact same words, it can find relevant content. For example, when searching "Who are the king's enemies," Huginn can return entries that describe hostile relationships with the king.
Indexing
When using Huginn for the first time or after significant changes to knowledge base content, you may need to rebuild the index to ensure search result accuracy.
Mimir Consistency Checking
Mimir is an AI-driven tool for checking whether settings in the knowledge base contain contradictions or inconsistencies.
How to Use
- Switch to the Mimir tab.
- Start the consistency check.
- Mimir will analyze all knowledge entries and list discovered issues.
Issue List
Check results are displayed in list form; each issue includes:
- Severity: Importance level of the issue.
- Category: Domain the issue belongs to.
- Description: Specific explanation of the issue.
- Status: Whether it has been addressed.
Handling Issues
For each issue discovered by Mimir, you can:
- View details
- Mark as fixed
- Ignore (if you consider it not an actual issue)
Saving Check Sessions
Check results can be saved for later review, so you don't need to run a full check every time.
Prerequisites
Huginn and Mimir features require AI provider configuration to use. Please complete the relevant setup in AI Settings first.
Tips
- It is recommended to start building the knowledge base early in the project and keep it updated as creation progresses.
- Huginn is especially suitable for large projects—when there are many knowledge entries, semantic search is much more efficient than browsing one by one.
- Running Mimir checks regularly can help discover setting contradictions before they accumulate.
- Knowledge entry content can be referenced by the story system and character system to maintain setting consistency.