raw
parameter to disable templating. Also note that raw mode will not return a context.curl --location --request POST 'http://localhost:11434/api/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"prompt": "string",
"raw": true,
"stream": true
}'
{}