Spaces:
Running
Running
Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -19,7 +19,7 @@ class Comsatsbot:
|
|
19 |
"llama-3.1-70b-versatile",
|
20 |
"llama3-70b-8192"
|
21 |
]
|
22 |
-
self.memory =
|
23 |
self.chats_collection = chats_collection
|
24 |
self.index_path = index_path
|
25 |
self.hf = hf
|
|
|
19 |
"llama-3.1-70b-versatile",
|
20 |
"llama3-70b-8192"
|
21 |
]
|
22 |
+
self.memory = ConversationBufferMemory(llm=self.llm, max_token_limit=3000)
|
23 |
self.chats_collection = chats_collection
|
24 |
self.index_path = index_path
|
25 |
self.hf = hf
|