feat: Switch to translategemma:4b model, refine translation prompt, and add temperature option for improved translation.
This commit is contained in:
@@ -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
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user