Sadiaa commited on
Commit
a45d0e3
·
verified ·
1 Parent(s): a2785f0

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -1
chatbot.py CHANGED
@@ -17,7 +17,7 @@ class Comsatsbot:
17
 
18
 
19
  # Initialize memory buffer and MongoDB connection
20
- self.memory = ConversationTokenBufferMemory(llm=self.llm, max_token_limit=3000, return_messages=True )
21
  self.chats_collection = chats_collection
22
  self.index_path = index_path
23
  self.hf = hf
 
17
 
18
 
19
  # Initialize memory buffer and MongoDB connection
20
+ self.memory = ConversationTokenBufferMemory(llm=self.llm, max_token_limit=3000 )
21
  self.chats_collection = chats_collection
22
  self.index_path = index_path
23
  self.hf = hf