curl -X POST 'http://127.0.0.1:1337/v1/chat/completions' -H "authorization: Bearer whatever" -H "content-type: application/json" -d "{
\"temperature\": 0.3,
\"model\": \"Meta-Llama-3.1-8B.Q5_1.gguf\",
\"messages\": [
{
\"role\": \"system\",
\"content\": [
{
\"type\": \"text\",
\"text\": \"Validate the following business information.\n\nAnswer in JSON using this schema:\n{\n address: {\n locality: string,\n // 2 characters long\n region: string,\n // must be 5 characters long\n postal: string,\n street: string,\n },\n name: string,\n // Format: 'Day(s) OpenTime-CloseTime', e.g., 'Mo-Fr 09:00-17:00'.\n // ensure the opening time is before the closing time.\n openingHours: string[],\n phone: string,\n fax: string,\n // must be valid email\n email: string,\n // valid url format\n website: string,\n}\n\nBUSINESS_INFO:\nhello world\"
}
]
}
],
\"stream\": true,
\"stream_options\": {
\"include_usage\": true
}
}"