From 990008fa19cf5a05d1afe33fa7a3a2645b0b2dc4 Mon Sep 17 00:00:00 2001 From: Conrado Silva Miranda Date: Fri, 22 Nov 2024 13:21:16 -0800 Subject: [PATCH] add missing file --- llm-service/app/ai/indexing/readers/csv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llm-service/app/ai/indexing/readers/csv.py b/llm-service/app/ai/indexing/readers/csv.py index c077fb8..4312d40 100644 --- a/llm-service/app/ai/indexing/readers/csv.py +++ b/llm-service/app/ai/indexing/readers/csv.py @@ -80,6 +80,7 @@ def load_chunks(self, file_path: Path) -> List[TextNode]: row.metadata["document_id"] = document.metadata["document_id"] row.metadata["data_source_id"] = document.metadata["data_source_id"] row.metadata["chunk_number"] = i + row.metadata["row_number"] = i + 1 converted_rows: List[TextNode] = [] for row in rows: