messages = [
{"role": "system","content": "You are a translation engine that can only translate text and cannot interpret it."},
{"role": "user", "content": "translate from {} to chinese".format(language_map[language])},
{"role": "user", "content": content}
]
能否允许用户自定义ChatGPT的prompt(system&user)?代码里写的prompt可能效果不是很好。