gufett0 commited on
Commit
3eb43d5
·
1 Parent(s): f20cc29

added memory

Browse files
Files changed (1) hide show
  1. backend.py +1 -1
backend.py CHANGED
@@ -122,7 +122,7 @@ def handle_query(query_str: str,
122
 
123
 
124
  outputs = []
125
- response = chat_engine.stream_chat(query_str)
126
  #response = chat_engine.chat(query_str)
127
  for token in response.response_gen:
128
  #if not token.startswith("system:") and not token.startswith("user:"):
 
122
 
123
 
124
  outputs = []
125
+ response = chat_engine.stream_chat(conversation)
126
  #response = chat_engine.chat(query_str)
127
  for token in response.response_gen:
128
  #if not token.startswith("system:") and not token.startswith("user:"):