fix: default OCR prompt to markdown output

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.
This commit is contained in:
mstfyldz
2026-08-11 10:28:19 +03:00
parent 97ec7cd7f8
commit a6c1eabaad
+1 -1
View File
@@ -184,7 +184,7 @@ export async function callOllamaVisionOcr(
messages: [
{
role: 'user',
content: opts.prompt || '<image>\nFree OCR.',
content: opts.prompt || '<image>\nConvert the document to markdown.',
images: [imageBase64],
},
],