python -m graphrag.index --init --root ./ragtest issue
Most likely the input you are submitting is not utf-8 formatted due to the way you downloaded it. This package is meant to run on linux and there are some odd filesystem related issues like this that can crop up on Windows and MacOS where plain text is not truly plain text.
You can try something like this in powershell Invoke-WebRequest -Uri https://url/ -OutFile "C:\path\file" to download, although the better way would be to use WSL.
This issue have been solved , thanks a lot, you are really expert. keep in touch
I solved this same issue by changing book.txt's file property Ecoding to utf-8。
Amazing. I'm currently working on a fix to make sure everything is stored in utf-8.
Thabks for your updates