Repository navigation
encoding format of input data for the indexing process #541
Replies: 1 comment
|
Yes, the byte encoding matters independently of the file extension. A file named For UTF-8 files, make that explicit in your input configuration: input:
type: text
encoding: utf-8If the files were saved with a UTF-8 BOM, A quick check without running indexing is: from pathlib import Path
text = Path('input/example.txt').read_text(encoding='utf-8')
print(text[:200])In current GraphRAG, Without the actual exception, encoding is only one possible cause. Please include the GraphRAG version and the first relevant traceback; an authentication, model, or input-schema error wouldn't be fixed by changing encoding. |
Uh oh!
There was an error while loading. Please reload this page.
i dont talk about the extension, i am wondering about the encoding format of the text files as input does it really matter ? i ve got problems in the indexing ??
All reactions