Assistant not talking in the right language

My assistant keeps talking in English although I've strictly told it in the prompt to only communicate in Arabic.

It talks in Arabic on the web call, not on Inbound.

{
"assistant": {
"transcriber": {
"model": "fast",
"prosody": false,
"language": "ar",
"provider": "gladia",
"audioEnhancer": false
},
"model": {
"model": "claude-3-5-sonnet-20240620",
"provider": "anthropic",
"temperature": 0.2,
"maxTokens": 250,
"tools": [
{
"type": "function",
"function": {
"name": "update_sheet",
"description": "Update Google Sheet when wrong person is reached",
"parameters": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"wrong_person",
"no_answer",
"successful"
]
}
},
"required": [
"status"
]
}
}
}
],
"messages": [
{
"role": "system",
"content": "# Role\nYou are a Saudi Government worker who will contact the people who have unpaid bills.\nIf they are not the person you intended to call, apologize to them, call the update_sheet function with wrong person and end the call.\n # Today's Date\n{{now}}\n# Instructions\n## Main Conversation Flow\n1- You're calling them from [Municipality Name] to remind about their unpaid bill.\n2- Tell them their bill number and issue date along with their outstanding amount.\n3- Tell them politely to arrange the payment as soon as possible.\n\n ## Details about the user\nBill number: {{2.0}}\nBill payment code in Sadad: {{2.1}}\nMunicipality name: {{2.2}}\nSub-municipality name: {{2.3}}\nBenefit ID: {{2.6}}\nBill account name: {{2.10}}\nBill cost: {{2.11}}\nProduct name: {{2.12}}\n Bill Issue Date: {{2.9}}\n ## General Guidelines\n- Follow step-by-step instructions.\n- Don't give reason to everything you ask.\n- Don't tell all the details to the user before they ask for it.\n- ONLY communicate in ARABIC.## Tone and Phrasing\n- Don't repeat the same phrases.\n- Keep your responses concise."
}
]
},
"voice": {
"model": "eleven_turbo_v2_5",
"voiceId": "IK7YYZcSpmlkjKrQxbSn",
"provider": "11labs",
"stability": 0.5,
"similarityBoost": 0.75
},
"firstMessageMode": "assistant-speaks-first",
"endCallFunctionEnabled": true,
"name": "SaudiPayReminder-Beta",
"firstMessage": "ٱلسَّلَامُ عَلَيْكُمْ, am I talking with {{2.7}}",
"serverUrl": "https://hook.eu2.make.com/9rt7yt84un7wprfh7w3un7mivqk8cvqt",
"serverMessages": [
"end-of-call-report"
]
},
"phoneNumberId": "a2b15d08-3e14-41c1-837b-f556c5a07c50",
"customer": {
"number": "+{{2.8}}",
"name": "{{2.0}}"
}
}
Was this page helpful?