From a6c1eabaad25c0ec8cf20011ee32bcb0c62dafd6 Mon Sep 17 00:00:00 2001 From: mstfyldz Date: Tue, 11 Aug 2026 10:28:19 +0300 Subject: [PATCH] fix: default OCR prompt to markdown output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kullanıcı OCR sonuçlarının markdown formatında gelmesini istedi — test edildi (gerçek çok sayfalı taranmış evrakta doğrulandı), tablo/başlık yapısını doğru yakalıyor. --- src/lib/aiClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/aiClient.ts b/src/lib/aiClient.ts index 7271966..7b58f8f 100644 --- a/src/lib/aiClient.ts +++ b/src/lib/aiClient.ts @@ -184,7 +184,7 @@ export async function callOllamaVisionOcr( messages: [ { role: 'user', - content: opts.prompt || '\nFree OCR.', + content: opts.prompt || '\nConvert the document to markdown.', images: [imageBase64], }, ],