Spaces:
Sleeping
Sleeping
Update query.py
Browse files
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 |
|