it's so odd. when i call the funciton to translate the contents to Traditional Chinese openai gives me a bunch of unicodes, that i dont even understand
BUT, if i use playground on openai website to translate to Traditional Chinese, it works fine.
title = "U.S. Treasury Says DeFi Threatens National Security; MacOS Mystery Over Hidden Bitcoin White Paper"
completion = openai.ChatCompletion.create(
model="gpt-4",
messages=[
{"role": "system", "content": "you are a blockchain expert and financial trader"},
{"role": "user", "content": f"translate this content {n} to Traditional Chinese"},
]
)
result = completion.choices[0].message
print(result)
when i ask openai to translate to French or Swedish or others languange it works perfectly fine!
by the way, it works with GPT-3-turbo, but not GPT-3.5 and 4
have no idea what's wrong, please help