ofermend commited on
Commit
d344d9e
1 Parent(s): da9200a

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +2 -0
query.py CHANGED
@@ -87,6 +87,8 @@ class VectaraQuery():
87
  self.conv_id = None
88
  return 'Sorry, Vectara chat turns exceeds plan limit.'
89
  return 'Sorry, something went wrong in my brain. Please try again later.'
 
 
90
 
91
  self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
92
 
 
87
  self.conv_id = None
88
  return 'Sorry, Vectara chat turns exceeds plan limit.'
89
  return 'Sorry, something went wrong in my brain. Please try again later.'
90
+ else:
91
+ return 'Sorry, I experienced a problem and could not get chat status.'
92
 
93
  self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
94