created a data ingestion module.
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user