hanzla commited on
Commit
382f4c2
1 Parent(s): ecb91c8
Files changed (1) hide show
  1. src/pdfchatbot.py +4 -4
src/pdfchatbot.py CHANGED
@@ -33,11 +33,11 @@ class PDFChatBot:
33
  self.model = None
34
  self.pipeline = None
35
  self.chain = None
36
- self.chunk_size = None
37
- self.overlap_percentage = None
38
- self.max_chunks_in_context = None
39
  self.current_context = None
40
- self.model_temperatue = None
41
  self.format_seperator="""\n\n--\n\n"""
42
  self.pipe = None
43
  #self.chunk_size_slider = chunk_size_slider
 
33
  self.model = None
34
  self.pipeline = None
35
  self.chain = None
36
+ self.chunk_size = 512
37
+ self.overlap_percentage = 50
38
+ self.max_chunks_in_context = 2
39
  self.current_context = None
40
+ self.model_temperatue = 0.5
41
  self.format_seperator="""\n\n--\n\n"""
42
  self.pipe = None
43
  #self.chunk_size_slider = chunk_size_slider