nomic-ai / gpt4all

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
https://nomic.ai/gpt4all
MIT License
69.45k stars 7.6k forks source link

Local docs not support Chinese #1240

Open louis-gg opened 1 year ago

louis-gg commented 1 year ago

System Info

GPT4ALL v2.4.13 ,windows11,chatclient

Information

Related Components

Reproduction

Steps: 1、set the local docs path which contain Chinese document; 2、Input the Chinese document words; 3、The local docs plugin does not enable. My setting : image

when I try it in English ,it works: image

Then I try to find the reason ,I find that :Chinese docs are Garbled codes.But English docs are well. image image

Expected behavior

Local docs plugin works in Chinese docs.

louis-gg commented 1 year ago

I solved it like this: image

cvcuiwei commented 1 year ago

我也用中文,之后试试你的方法

louis-gg commented 1 year ago

我也用中文,之后试试你的方法

我发现这样修改后,可以读取PDF,但是word,ppt读取不了了。 这个东西对中文的支持度大打折扣。 可以使用chatglm,支持度比较好。