gufett0 commited on
Commit
198f863
·
1 Parent(s): b7aed3a

switched to chat engine

Browse files
Files changed (1) hide show
  1. backend.py +1 -1
backend.py CHANGED
@@ -105,7 +105,7 @@ def handle_query(query_str, chathistory):
105
  )
106
 
107
  response = chat_engine.chat(query_str)
108
- yield response
109
 
110
 
111
  except Exception as e:
 
105
  )
106
 
107
  response = chat_engine.chat(query_str)
108
+ yield response.response
109
 
110
 
111
  except Exception as e: