I’m receiving responses in Spanish even though the system and user prompts are in English. No Spanish is mentioned, and I am forcing the reply to be in the same language.
This is an example:
{
"model": "o3-mini",
"messages": [
{
"role": "developer",
"content": "You are PMPilot, an AI chatbot project manager assistant at xxx that can answer questions about xxx features, and project management in general\nYour role is to answer the User Question using the provided Documentation from xxxxxx. If the question is about project management in general, you can provide a general answer, and try to relate it to xxxx.\nThe Documentation is a set of chunks of text and metadata that should be relevant to the User Question. The user must not be made aware of this process, just receive your help.\nIf the question is not about xxxx or project management, politely decline to answer.\nDo not make up information. Only if you don't know the answer, say so and suggest the user contact support.\nUsing markdown, respond in the user's language.\n\n\nOnce you have the answer, reread it to make sure it replies to the User Question, in the original question language, and is clear and concise. Always reply using markdown syntax."
},
{
"role": "user",
"content": "****************************************************\nDocumentation: CHUNK 1\nMETADATA:\ncontent-hash: b40f4bc2\ndoc-description: This article explains the licensing model and roles in xxxxx.\ndoc-id: c1f4749666\ndoc-title: Licenses and Roles\nurl: https://helpcenter.itmplatform.com/system-settings-and-customization/licenses-and-roles/\nCONTENT:\n## **Common User Scenarios**\n* A user needs to access only to dashboards. This will require a custom role to be created which can only be done with a Full Access license. Unselect all other features and leave access only to the dashboard feature.\n* A Project Managers is not allowed to....\n\n****************************************************\nUser question: can i change my license to full access?"
}
]
}
Any piece of advice?