Mevlana YalçınAI engineering

Yankı Verification Platform · v0.2.0 Core (MIT) + Cloud Preview

Deterministic quote-grounding & RAG verification.

Yankı verifies every quoted claim, character span and schema contract produced by a language model before it reaches an end user—solving Turkish and multilingual Unicode offset drift, cross-chunk RAG fabrication, and pre-inference safety.

In active development · Private previewyanki-core v0.2.0 · MIT

Hosted Cloud Gateway is currently in active development

Interactive browser prompt execution is intentionally disabled while we finalize multi-tenant policy streaming and audit storage with early design partners. Explore real deterministic engine traces below, deploy the open-source Python core (`yanki 0.2.0`, MIT) locally, or request private preview access.

System architecture

Four-stage deterministic verification pipeline

Stage 010.04 ms · 0 tokens

Pre-inference gate

Diacritic-normalized TR/EN safety & policy rules short-circuit high-risk inputs before any model call.

Stage 02vLLM · SGLang · API

Model runtime

Vendor-neutral generation over open-weight GPU clusters or commercial JSON-mode endpoints.

Stage 030.09 ms · fail-closed

Schema & <think> filter

Strips reasoning traces and markdown fences; enforces typed bounds and required fields.

Stage 040.14 ms · exact slice

1:1 span provenance

Maps folded codepoints back to [start_char, end_char) in retrieved chunks; strips ungrounded quotes.

Verified production traces (curated examples)

See how Yankı audits real model outputs.

Select a scenario below to inspect the source context, the raw unverified model draft, and Yankı's deterministic verification output. No live model call is made in the browser.

Regulated Banking Policy RAG (Turkish U+0130 Offset Preservation)

Python's native `'İSTANBUL'.lower()` expands U+0130 to 2 codepoints and shifts every subsequent slice by +1/+2 chars. Yankı's 1-to-1 codepoint folder recovers the exact `[0, 50)` source slice.

VERIFIED EXACT · 0.14 ms
01 · Retrieved source chunk (doc_id: bddk_2026_04)
doc_id = "bddk_2026_04"
source = (
  "İSTANBUL veri merkezinde tutulan birincil yedekler, "
  "her iş günü 23:00 itibarıyla Ankara bölgesine çoğaltılır."
)
02 · Unverified model draft (lowercased & diacritic-drifted quote)
{
  "answer": "Primary backups replicate nightly at 23:00 to Ankara.",
  "citations": [{
    "doc_id": "bddk_2026_04",
    "quote": "istanbul veri merkezinde tutulan birincil yedekler"
  }]
}
03 · Yankı deterministic audit output
{
  "grounded": true,
  "match_kind": "normalized_exact",
  "doc_id": "bddk_2026_04",
  "span": [0, 50],
  "verified_quote": "İSTANBUL veri merkezinde tutulan birincil yedekler",
  "latency_ms": 0.14
}

Where teams deploy Yankı

Built for high-trust, multilingual AI workflows.

01

Financial, legal & regulatory RAG

Guarantee that every compliance citation resolves to a verifiable character range in official statutes, contracts or policy filings—including Turkish and European diacritics.

02

Sovereign vLLM & SGLang gateways

Wrap open-weight models (`Qwen`, `Llama`, `Mistral`, `DeepSeek`) on dedicated GPUs with strict `<think>` stripping, JSON validation and citation auditing.

03

Customer-facing enterprise assistants

Eliminate fabricated policy quotes and enforce sub-millisecond deterministic guardrails before sensitive inputs ever leave your VPC.

04

CI/CD hallucination regression gates

Run `python -m yanki.eval --strict-thresholds` in GitHub Actions or Slurm batch jobs whenever prompts, chunking strategies or model checkpoints change.

Open-source core · Available today (MIT)

Inside the yanki 0.2.0 Python package.

While the hosted multi-tenant console is in development, the complete deterministic verification engine ships today as a clean, dependency-free Python 3.11+ library (`src/yanki/`) with full unit tests and GPU cluster recipes.

01 · yanki.normalize

Index-preserving Unicode folding

1-to-1 codepoint folding for Turkish `İ/ı` and diacritics (`ğ, ü, ş, ö, ç`) with explicit source offset arrays so normalized substring hits slice cleanly into raw documents.

02 · yanki.grounding

Single- & multi-source RAG citation audit

`verify_quote_grounding` and `verify_multi_source_citations` validate every model quote against retrieved chunk IDs, returning `[start_char, end_char)` provenance or stripping hallucinations.

03 · yanki.guardrails & schema

Pre-inference safety & <think>-aware JSON

Deterministic sub-millisecond safety short-circuit before LLM invocation, paired with strict typed JSON extraction that strips reasoning `<think>...</think>` traces safely.

04 · yanki.providers & hpc/

vLLM, SGLang, OpenAI-compatible & Slurm

Vendor-neutral zero-SDK evaluation client for OpenAI-compatible GPU servers (`vLLM`, `SGLang`) and HTTP APIs, shipped with `Apptainer` CUDA definitions and `Slurm` scripts.

Quickstart — install the open-source core, verify a Turkish Unicode span, and run the 24-case CI suite:
git clone https://github.com/mevlanayalcin/yanki.git && cd yanki
pip install -e ".[dev]"

# 1. Verify a Turkish quote span with U+0130 (İ/i) offset preservation
python3 -m yanki.cli verify \
  --source "İSTANBUL veri merkezinde tutulan birincil yedekler Ankara bölgesine çoğaltılır." \
  --quote "istanbul veri merkezinde tutulan birincil yedekler"

# 2. Run the 24-case TR/EN deterministic benchmark suite (offline CI gate)
python3 -m yanki.eval --offline --strict-thresholds

Reproducible benchmark suite

24/24 deterministic test cases across Turkish & English.

Executed automatically on every commit in GitHub Actions CI across Python 3.11 and 3.12 (`python -m yanki.eval --offline --strict-thresholds`).

Yankı v0.2.0 verification benchmark metrics (benchmarks/grounding_suite_tr_en.jsonl)
Verification dimensionAdversarial test coverageTarget thresholdMeasured result
Turkish İ/ı & diacritic span provenanceUppercase İ/I shifts, ASCII-typed Turkish, whitespace folding100.0%100.0% (Pass)
Hallucinated & paraphrased quote strippingSynonym rewrites, stitched clauses, fabricated spans100.0% stripped100.0% stripped
Multi-source RAG chunk attributionCross-chunk fabrication, cited doc_id mismatch, exact spans100.0%100.0% (Pass)
Pre-inference safety gate (TR + EN)Diacritic-free & inflected crisis phrases, benign controls100.0% recall / 0% FP100.0% / 0.0% FP
Reasoning <think> & malformed JSON resilienceReasoning <think> traces, markdown fences, out-of-range bounds100.0% fail-closed24 / 24 (100.0%)

Private preview · In active development

Request early access to Yankı Cloud.

We are onboarding a small cohort of engineering teams to test the hosted verification gateway, audit dashboard and multi-tenant policy engine. Leave your email for preview access, or deploy the MIT Python core today.

Used only for Yankı private-preview onboarding. Zero marketing blasts. · Privacy & KVKK ↗

Engineering & partnerships

Discuss an architecture audit or private preview access.

Tell us about your retrieval pipeline, target languages, runtime constraints and timeline. Enquiries go directly to the founder.