Simplify AI model prompts for image description and translation.
This commit is contained in:
@@ -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
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user