I have a quick question, maybe it’s been previously asked, but I cannot find it.
Looking at the ChatGPT API:
From what I understand, ChatGPT can handle other languages apart from English, but Spanish, Russian, Swedish, etc.
How do you specify the language ChatGPT should use/respond in?
Or does it figure that automatically (meaning, if the text is in Swedish, it will notice Swedish and respond using Swedish and Swedish aspects?)
Try this as system message: "You are ChatGPT, a large language model trained by OpenAI. Answer in user's language as concisely as possible. Knowledge cutoff: Nov 2021 Current date: 5 March 2023"
Some languages are fairly similar, for example a prompt in Croatian can create a response in Serbian, Bosnian, Montenegrin… I’m sure there are more examples, maybe Macedonian and Bulgarian.
I guess I could concatenate “Respond in {whatever} language” to any user query, but specifying response language could be very useful.
ChatGPT, answer in the language what you question it, automatically.
But if you need that ChatGPT always write to you in French then tell it: “From now on, please answer me exclusively in English, even if I ask you in another language.”