ppsingh commited on
Commit
b87a19f
1 Parent(s): ea98bff

Update auditqa/doc_process.py

Browse files
Files changed (1) hide show
  1. auditqa/doc_process.py +1 -0
auditqa/doc_process.py CHANGED
@@ -62,6 +62,7 @@ def process_pdf():
62
  doc.metadata["source"] = category
63
  doc.metadata["subtype"] = subtype
64
  doc.metadata["year"] = file[-4:]
 
65
 
66
  all_documents[category].append(doc_processed)
67
 
 
62
  doc.metadata["source"] = category
63
  doc.metadata["subtype"] = subtype
64
  doc.metadata["year"] = file[-4:]
65
+ doc.metadata["filename"] = file
66
 
67
  all_documents[category].append(doc_processed)
68