ppsingh commited on
Commit
a8235cb
·
1 Parent(s): 07a01c3
auditqa/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/__init__.cpython-310.pyc and b/auditqa/__pycache__/__init__.cpython-310.pyc differ
 
auditqa/__pycache__/process_chunks.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/process_chunks.cpython-310.pyc and b/auditqa/__pycache__/process_chunks.cpython-310.pyc differ
 
auditqa/__pycache__/reader.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/reader.cpython-310.pyc and b/auditqa/__pycache__/reader.cpython-310.pyc differ
 
auditqa/__pycache__/reports.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/reports.cpython-310.pyc and b/auditqa/__pycache__/reports.cpython-310.pyc differ
 
auditqa/__pycache__/retriever.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/retriever.cpython-310.pyc and b/auditqa/__pycache__/retriever.cpython-310.pyc differ
 
auditqa/__pycache__/sample_questions.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/sample_questions.cpython-310.pyc and b/auditqa/__pycache__/sample_questions.cpython-310.pyc differ
 
auditqa/__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/auditqa/__pycache__/utils.cpython-310.pyc and b/auditqa/__pycache__/utils.cpython-310.pyc differ
 
auditqa/process_chunks.py CHANGED
@@ -142,7 +142,7 @@ def load_new_chunks():
142
  all_documents.append(Document(page_content= str(doc['content']),
143
  metadata={"source": files.loc[i,'category'],
144
  "subtype":os.path.splitext(files.loc[i,'filename'])[0],
145
- "year":files.loc[i,'year'],
146
  "filename":files.loc[0,'filename'],
147
  "page":doc['metadata']['page'],
148
  "headings":doc['metadata']['headings']}))
 
142
  all_documents.append(Document(page_content= str(doc['content']),
143
  metadata={"source": files.loc[i,'category'],
144
  "subtype":os.path.splitext(files.loc[i,'filename'])[0],
145
+ "year":str(files.loc[i,'year']),
146
  "filename":files.loc[0,'filename'],
147
  "page":doc['metadata']['page'],
148
  "headings":doc['metadata']['headings']}))