mckaywrigley / chatbot-ui

Come join the best place on the internet to learn AI skills. Use code "chatbotui" for an extra 20% off.
https://JoinTakeoff.com
MIT License
28.53k stars 7.94k forks source link

[Bug] '��' in responses for Chinese/Japanese/Korean requests #1171

Closed haotian-liu closed 8 months ago

haotian-liu commented 9 months ago

Related to #1147, but it happens to pure chat queries as well. Solving this may solve #1147 as well.

Reference prompts to reproduce (Chinese/Japanese/Korean) 写一篇1000字关于人类与AI的议论文 人間とAIに関する1000字の論文を書いてください。 인간과 AI에 관한 1000자 논의 글을 쓰세요.

image image
gijigae commented 9 months ago

Thanks for raising the issue! What is your setup for Chatbot UI? I have two environments; one is hosted in Vercel and the other is deployed locally. For me, the issue you reported only occurs in former.

haotian-liu commented 9 months ago

@gijigae nice catch! it's on vercel (and with the online supabase). not sure which one is the cause.

gijigae commented 8 months ago

My local environment is connected to the Supabase web service. Thus, the issue would be something to do with the way Vercel is hosted. I will try to deploy Chatbot UI into another hosting service and will report back in case the issue persists.

xycjscs commented 8 months ago

Same problem on the Vercel. No idea how to debug.

xycjscs commented 8 months ago

Moved project to Netlify, this problem avoided. I will keep looking on this issue, hope it could be solved. some reference https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/507

mckaywrigley commented 8 months ago

Combo of an OpenAI/Vercel issue.

xycjscs commented 8 months ago

brothers, it is a bug. Problem has been solved. I will make a pull request quickly. Chinese/Japanese/Korean can keep following this project with Vercel deployment and avoid compatible problems at Netlify.