mitulagr2 commited on
Commit
35f7fe0
1 Parent(s): 0fbf3f1
Files changed (1) hide show
  1. app/rag.py +2 -2
app/rag.py CHANGED
@@ -78,8 +78,8 @@ class ChatPDF:
78
  logger.info("enumerating text_chunks")
79
  for idx, text_chunk in enumerate(self.text_chunks):
80
  node = TextNode(text=text_chunk)
81
- src_doc = docs[self.doc_ids[idx]]
82
- node.metadata = src_doc.metadata
83
  self.nodes.append(node)
84
 
85
  logger.info("enumerating nodes")
 
78
  logger.info("enumerating text_chunks")
79
  for idx, text_chunk in enumerate(self.text_chunks):
80
  node = TextNode(text=text_chunk)
81
+ # src_doc = docs[self.doc_ids[idx]]
82
+ # node.metadata = src_doc.metadata
83
  self.nodes.append(node)
84
 
85
  logger.info("enumerating nodes")