Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graphrag_sdk/document_loaders/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, path: str, rows_per_document: int = 500):
self.rows_per_document = rows_per_document

def load(self) -> Iterator[Document]:
with open(self.path, "r") as f:
with open(self.path, "r", encoding='utf-8') as f:
reader = csv.reader(f)
rows = [row for row in reader]
num_rows = len(rows)
Expand Down