How Embertold Keeps Its AI Dungeon Master Lore-Accurate (No Hallucinations)

One of the biggest risks of AI-generated storytelling is hallucination, the model making things up. In a game built on established universes, that's a deal-breaker. Here's how Embertold ensures every detail is grounded in real lore.
The Knowledge Base
Every universe in Embertold is backed by an indexed knowledge base. We take canonical source material and break it down into thousands of searchable chunks: characters, locations, events, factions, items, spells, and more. Each chunk is embedded and stored in a vector index, so it can be found by meaning, not just keyword matching. Ask about "the spider goddess" and the system finds information about Lolth even if those exact words don't appear in the source.
How the AI Uses Lore
When the Game Master needs to describe a location, introduce an NPC, or respond to a player's action, it can query the knowledge base mid-turn through a dedicated retrieval tool, up to five focused questions at once, run in parallel:
- Player enters a new location → the model queries lore about that location
- Player asks an NPC about history → the model retrieves relevant historical events
- Player encounters a faction → the model pulls faction details, motives, and relationships
The result is narration that's consistent with the universe's established canon. The Yawning Portal has the right owner. Waterdeep has the right political structure. The Underdark has the right ecology.
What About Creative Freedom?
Lore consistency doesn't mean rigidity. The model uses retrieved lore as a foundation, not a straitjacket. Your unique adventure can introduce original characters, create new situations, and tell stories that have never been told, as long as they're plausible within the established world.
Think of it like a human dungeon master who's read every sourcebook. (See how our AI Game Master works for the technical side.) They know the rules and the lore, but they also know when to improvise.
The Loremaster Connection
The same indexed knowledge that powers the Game Master also powers the Loremaster, our dedicated Q&A tool. Both query the same underlying source material, so what you learn from the Loremaster matches what the Game Master draws on in your adventure. There's a single source of truth.
Continuous Enrichment
As we add more source material to a universe's knowledge base, every adventure in that universe gets richer. More indexed lore means more detailed descriptions, more accurate NPC behavior, and more nuanced world-building.
The lore isn't just background. It's the engine that drives every story.
Related Posts

Waterdeep in Embertold: Explore the City of Splendors with an AI DM
Waterdeep is more than a backdrop, it's a living city with politics, secrets, and stories around every corner. Here's how Embertold brings it to life.

The Underdark: Play D&D's Deadliest Underground Setting with an AI DM
Beneath the surface lies the Underdark, a vast underground world of alien beauty, lethal danger, and civilizations that have never seen sunlight.

What Is an AI Loremaster? Ask Any Lore Question, Get a Cited Answer
The Loremaster knows every universe in Embertold. Ask any question and get an accurate, cited answer drawn from that world's indexed lore.