
Persona-controlled historical dialogue system using retrieval-augmented generation and advanced prompt engineering.
Download on Google Play StoreLarge language models are capable of fluent dialogue, but they tend to hallucinate, drift in persona, or mix modern opinions with historical narratives. This becomes especially problematic when representing real historical figures, where accuracy and contextual integrity matter.
The goal of this project was to explore whether careful system prompt design, retrieval augmentation, and structured reasoning could enable historically grounded conversations—while explicitly limiting speculation, anachronisms, and unsupported claims.
Rather than relying on free-form generation, the system emphasizes constraint and grounding as first-class design principles.
The user asks a natural-language question in an open conversational format.
Relevant historical context is retrieved from curated sources and injected into a structured system prompt that enforces persona and behavioral constraints.
The language model generates a response conditioned on both retrieved context and strict system-level rules.
To reduce hallucination and improve factual grounding, the system uses retrieval-augmented generation. User queries trigger a search over a curated corpus of historical texts, speeches, and writings attributed to or directly related to Atatürk.
For more complex interactions, the system can be orchestrated as a multi-step agentic workflow. Instead of a single prompt-response cycle, intermediate steps retrieve context, refine constraints, and only then generate a final answer.
This design mirrors how a human researcher might consult sources before answering, rather than responding immediately.
Despite strict controls, no conversational AI can fully replicate a historical individual. This system does not claim authenticity or authority; it is an exploratory interface for engaging with historical material.
Ethical considerations include avoiding political manipulation, ensuring transparency about AI limitations, and clearly communicating that responses are generated interpretations grounded in sources—not direct quotations unless explicitly stated.
Large language models are capable of fluent dialogue, but they tend to hallucinate, drift in persona, or mix modern opinions with historical narratives. This becomes especially problematic when representing real historical figures, where accuracy and contextual integrity matter.
The goal of this project was to explore whether careful system prompt design, retrieval augmentation, and structured reasoning could enable historically grounded conversations—while explicitly limiting speculation, anachronisms, and unsupported claims.
Rather than relying on free-form generation, the system emphasizes constraint and grounding as first-class design principles.
The user asks a natural-language question in an open conversational format.
Relevant historical context is retrieved from curated sources and injected into a structured system prompt that enforces persona and behavioral constraints.
The language model generates a response conditioned on both retrieved context and strict system-level rules.
Despite strict controls, no conversational AI can fully replicate a historical individual. This system does not claim authenticity or authority; it is an exploratory interface for engaging with historical material.
To reduce hallucination and improve factual grounding, the system uses retrieval-augmented generation. User queries trigger a search over a curated corpus of historical texts, speeches, and writings attributed to or directly related to Atatürk.
For more complex interactions, the system can be orchestrated as a multi-step agentic workflow. Instead of a single prompt-response cycle, intermediate steps retrieve context, refine constraints, and only then generate a final answer.
This design mirrors how a human researcher might consult sources before answering, rather than responding immediately.
Despite strict controls, no conversational AI can fully replicate a historical individual. This system does not claim authenticity or authority; it is an exploratory interface for engaging with historical material.
Ethical considerations include avoiding political manipulation, ensuring transparency about AI limitations, and clearly communicating that responses are generated interpretations grounded in sources—not direct quotations unless explicitly stated.