I am building a story-writing tool using LLMs, but the model keeps making up details that conflict with the established lore. How do you deal with hallucinations in creative writing apps? I want to give the model a consistent memory of the world without needing to feed the entire history in every single prompt. Is there a memory pattern for agents that works well for long-form creative content?
The question