From b5d329d7e448ee553a58fd1f5abb0052b0650406 Mon Sep 17 00:00:00 2001 From: almazlar Date: Sun, 8 Feb 2026 00:03:33 +0300 Subject: [PATCH] feat: Switch to `translategemma:4b` model, refine translation prompt, and add temperature option for improved translation. --- index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1e15584..887536f 100644 --- a/index.html +++ b/index.html @@ -266,8 +266,11 @@ method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ - model: "gpt-oss", - prompt: `Translate the following description into Turkish. "${rawDescription}"`, + model: "translategemma:4b", // Burayı yeni indirdiğin modelle değiştir + prompt: `Act as a professional English-to-Turkish translator. Translate the following text into natural, fluent Turkish. Output ONLY the translation: "${rawDescription}"`, + options: { + temperature: 0.3 // Daha tutarlı ve ciddi çeviri için düşürdük + }, stream: false }) });