Simplify AI model prompts for image description and translation.

This commit is contained in:
almazlar
2026-02-07 22:41:23 +03:00
parent df2c75dbe4
commit 6f8efbb1db

View File

@@ -198,7 +198,7 @@
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: "moondream",
prompt: "Describe this image concisely but accurately in English.",
prompt: "Describe this image.",
images: [base64Image],
stream: false
})
@@ -234,7 +234,7 @@
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
model: "llama3.2",
prompt: `Translate the following description into natural Turkish. Only output the translation: "${rawDescription}"`,
prompt: `Translate the following description into Turkish. "${rawDescription}"`,
stream: false
})
});