
Today's prototype
PrototypeA question-answering prototype for policies
We have a prototype that answers Turkish questions about an uploaded policy or quote PDF. It runs entirely on local infrastructure: a small open-weight language model, a local embedding model and a self-hosted vector database. It calls no external AI service. It will be one of the reference points the research project compares against.
- Each PDF is validated, its text is extracted page by page and split into fixed-length, overlapping chunks tagged with page numbers. Each document is indexed under its own ID, so a question searches only that document.
- Retrieval is hybrid. For make, model, chassis, engine and plate details, and for questions on coverage limits, replacement car, deductible and glass damage, keyword and field matching runs first. Summary questions use the opening passages of the document; other questions use semantic similarity.
- For coverage-limit questions, when the document has amount lines, the language model does not write the answer. Coverage lines and amounts are taken directly from the document and returned as a list.
- Answers drawn from the document show their sources as 'Page N' badges in the chat, each carrying the file name. Retrieval, generation and total time are shown with the answer.
- Its limits are clear. It has been tried only on policy and quote PDFs with a text layer, and it does not accept scanned PDFs whose text cannot be read. It cites at page level; there is no clause-level citation yet. It also cannot abstain yet: when the context falls short, or the question is not about the document, it answers from general insurance knowledge without citing a source.

