ppsingh commited on
Commit
07a01c3
1 Parent(s): a9598e5
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/process_chunks.py CHANGED
@@ -139,7 +139,7 @@ def load_new_chunks():
139
  # add metadata information
140
 
141
  for doc in doc_processed:
142
- all_documents.append(Document(page_content= 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'],
 
139
  # add metadata information
140
 
141
  for doc in doc_processed:
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'],