mayooear / gpt4-pdf-chatbot-langchain

GPT4 & LangChain Chatbot for large PDF docs
https://www.youtube.com/watch?v=ih9PBGVVOO4
14.95k stars 3.02k forks source link

Add Traditional Chinese language support #352

Open j796160836 opened 1 year ago

j796160836 commented 1 year ago

Inspired by #340 ( thanks to atorber )

Edit response prompt let LLM to response Traditional Chinese.

Aincvy commented 1 year ago

I tried it, Simplified Chinese works

j796160836 commented 1 month ago

If request is Simplified Chinese, the whole response will be Simplified Chinese. If edit the prompt to Traditional Chinese, the response will be Traditional Chinese.

So I separate two kind of Chinese, zh_tw and zh_cn, let user can choose want they want.