mitulagr2 commited on
Commit
f1f7ba4
·
1 Parent(s): 0ab62fb
Files changed (1) hide show
  1. app/rag.py +1 -1
app/rag.py CHANGED
@@ -109,7 +109,7 @@ class ChatPDF:
109
  return streaming_response
110
 
111
  def clear(self):
112
- self.client.delete(collection_name="rag_documents", ids=self.doc_ids, points_selector=self.doc_ids)
113
  self.pdf_count = 0
114
  self.text_chunks = []
115
  self.doc_ids = []
 
109
  return streaming_response
110
 
111
  def clear(self):
112
+ self.client.delete(collection_name="rag_documents", points_selector=self.doc_ids)
113
  self.pdf_count = 0
114
  self.text_chunks = []
115
  self.doc_ids = []