const response = await fetch('/submit_job', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "text",
"messages": [
{
"role": "text",
"content": "text"
}
],
"temperature": 0
}),
});
const data = await response.json();