Samet SARIYILDIZ

Mr. Samet SARIYILDIZ

Republic of Turkey Ministry of Agriculture and Forestry, Ankara, Turkey (Türkiye)
orcid

Research Focus & Metrics

Academic Career Length

1Year (2026-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
1 October 2026 in Preprints.org
Verified
Preprint
Open access
PDF file
Samet SARIYILDIZSamet SARIYILDIZ
Samet SARIYILDIZ
MYMustafa Yağcı
Mustafa Yağcı
Large language models (LLMs) hallucinate, limiting their trustworthy use in zero-error-tolerance domains such as law. We present a layout-aware, hybrid retrieval-augmented generation (RAG) system for answering questions over the Turkish Official Gazette, the most binding source in the Turkish legal system. The pipeline uses IBM Docling for hierarchical layout analysis, preserving the article-paragraph-subparagraph hierarchy and table integrity of 30 Official Gazette issues (July 2025), and indexes content in PostgreSQL/pgvector with a local multilingual embedding model combined with a lexical index, keeping retrieval under local data sovereignty; response synthesis is delegated to claude-sonnet-5 under a citation-constrained prompt. On 33 original legal queries, the system answered 17/33 with a 4.2% hallucination rate (groundedness = 0.958), 81.8% citation accuracy, and Hit-Rate@8 = 0.786, versus only 1/33 for a zero-shot baseline. A component ablation (n = 25) showed layout-aware parsing and hybrid retrieval jointly raising Hit-Rate@8 from 61.6% to 100.0% while cutting hallucination from 15.4% to 0.0%. An independent legal-expert review rated 30/33 responses fully correct and all 33 validly cited. These results show that combining local, layout-aware retrieval with cloud-based generation can bring hallucination in Turkish question answering below the 17-33% band reported for leading commercial legal-AI tools.

25 October 2026 in Applied Sciences
Verified
Journal Article
Open access
PDF file
Samet SARIYILDIZSamet SARIYILDIZ
Samet SARIYILDIZ
MYMustafa Yağcı
Mustafa Yağcı
Large language models (LLMs) hallucinate, which limits their use in domains with little tolerance for error, such as law. We present a layout-aware hybrid retrieval-augmented generation (RAG) system for answering questions over 30 issues of the Turkish Official Gazette published in July 2025. The pipeline uses IBM Docling for hierarchical layout analysis and indexes content in PostgreSQL/pgvector with a local multilingual embedding model combined with a lexical index; response synthesis is delegated to claude-sonnet-5 under a citation-constrained prompt. On 33 questions written by the first author, the system answered 17 and declined 16 (coverage 51.5%). Among the answered questions, the hallucination rate was 4.2%, and citation accuracy was 81.8% (n = 11); Hit-Rate@8 was 0.786 on the 14 questions with labeled evidence. A zero-shot baseline gave a verifiable answer to one of 33 questions. In a retrieval ablation, replacing flat PDF text extraction with Docling raised Hit-Rate@8 from 0.21 to 0.79, whereas structural chunking and hybrid retrieval showed no consistent additional gain. A single legal expert rated 30 of 33 responses fully correct. Because the evaluation set is small, covers one month, and was rated by one expert, the results are exploratory and apply to this corpus.