-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Error loading file llm-vectors-unstructured\data\asciidoc\courses\llm-fundamentals\modules\1-introduction\lessons\1-neo4j-and-genai\lesson.adoc
text = f.read()
^^^^^^^^
UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 2604: illegal multibyte sequence
This error occurred while learning the neo4j graph academy course
This was an issue related to document loader encoding
i solved it by adding the code "loader.loader_cls = lambda path: TextLoader(path, encoding='utf-8')" after "loader = DirectoryLoader(COURSES_PATH, glob="**/lesson.adoc", loader_cls=TextLoader)"
i hope this helps
Metadata
Metadata
Assignees
Labels
No labels