Input
Receive an open natural-language question from the user.
Source-aware historical dialogue using retrieval and persona constraints
A conversational AI product designed to provide historically grounded interaction through curated retrieval, explicit persona boundaries and controlled generation workflows.
Open project
Language models can produce fluent historical dialogue while still introducing unsupported claims, anachronisms or inconsistent persona behavior.
This project evaluates a controlled workflow in which retrieved context and explicit behavioral constraints are treated as first-class system components.
The workflow separates user input, contextual grounding and final response generation to make failures easier to identify and correct.
Receive an open natural-language question from the user.
Retrieve relevant passages and apply persona, scope and style constraints.
Produce a response conditioned on both the source context and behavioral rules.


1. User-query preprocessing 2. Retrieval of relevant historical passages 3. Assembly of persona and behavioral constraints 4. Language-model response generation 5. Post-generation style and scope checks
The system prompt defines role, temporal boundaries, response style and uncertainty behavior. The model is instructed to avoid unsupported extrapolation and to remain transparent when the source material is insufficient.
A curated corpus is searched before generation so that relevant historical context can be injected into the model input.
More complex requests can be processed as a deterministic multi-step workflow that retrieves, validates and then generates a final response.
The application does not claim to reproduce or speak with the authority of a historical individual. It is an exploratory interface for engaging with historical material.
Generated interpretations must remain clearly distinguishable from direct quotations and verified primary-source content.