21 lines
803 B
Bash
Executable File
21 lines
803 B
Bash
Executable File
curl -X POST http://localhost:11434/api/chat \
|
||
-H 'Content-Type: application/json' \
|
||
-d '{
|
||
"model": "qwen3:latest",
|
||
"messages": [
|
||
{
|
||
"role": "user",
|
||
"content": "Translate [\"megy a kutyam hasa\"] to English, then output only 3–5 comma-separated veterinary-related keywords derived strictly from [\"megy a kutyam hasa\"]. example output [\"keyword1\",\"keyword2\"] No other text, no extra punctuation, no explanations, no quotes, no formatting."
|
||
}
|
||
],
|
||
"stream": false,
|
||
"format": {
|
||
"type": "object",
|
||
"properties": {
|
||
"translate": { "type": "string" },
|
||
"keyword": { "type": "array", "items": { "type": "string" } },
|
||
"animal": { "type": "string" }
|
||
},
|
||
"required": ["translate", "keyword", "animal"]
|
||
}
|
||
}' |