Fix BOM in csv smoke

This commit is contained in:
Nathan Evans 2026-01-12 10:29:35 -08:00
parent ade3a6f77d
commit 89a5223249
2 changed files with 4 additions and 1 deletions

View File

@ -34,4 +34,6 @@ class CSVFileReader(StructuredFileReader):
file = await self._storage.get(path, encoding=self._encoding)
reader = csv.DictReader(file.splitlines())
return await self.process_data_columns(list(reader), path)
rows = list(reader)
print(rows)
return await self.process_data_columns(rows, path)

View File

@ -36,6 +36,7 @@ vector_store:
input:
type: csv
encoding: utf-8-sig
snapshots:
embeddings: true