created a data ingestion module.

This commit is contained in:
timothyafolami
2024-08-07 18:03:15 +01:00
parent 8e6acc7cf8
commit 228fffefd8
7 changed files with 43 additions and 3 deletions
-2
View File
@@ -79,8 +79,6 @@ def load_pdf_document(document_path):
raise ValueError(f"Error loading -- {document_path}")
# A general function that loads textual documents
def load_document(document_path):
if document_path.endswith(".pdf"):