luneice

Results 14 comments of luneice

最新的版本代码逻辑变了,可以使用下面的方法修改 `graphrag/index/text_splitting/text_splitting.py` ```py ... import jieba ... def split_single_text_on_tokens(text: str, tokenizer: Tokenizer) -> list[str]: # """Split a single text and return chunks using the tokenizer.""" # result = [] #...

贴一些日志吧,在文件夹 `ragtest/output/202407xxxx/` 里面 Attach some logs, which can be found in `ragtest/output/202407xxxx/` folder.

``` 15:33:28,850 graphrag.index.input.text INFO found text files from input, found [('book.txt', {})] 15:33:28,855 graphrag.index.input.text WARNING Warning! Error loading file book.txt. Skipping... 15:33:28,855 graphrag.index.input.text INFO Found 1 files, loading 0 15:33:28,855...

> I have also used WSL/Ubuntu and Windows with no luck for either After deleting cache folder and output folder, I got same error every tries.