Solshine commited on
Commit
eaa9f0c
·
verified ·
1 Parent(s): 7509169

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +2 -2
query.py CHANGED
@@ -85,8 +85,8 @@ class VectaraQuery():
85
  print(f"Chat query failed with code {st_code}")
86
  if st_code == 'RESOURCE_EXHAUSTED':
87
  self.conv_id = None
88
- return 'Sorry, chat turns exceeds plan limit.'
89
- return "Sorry, I'm experiencing an error. Please report this and try again later."
90
 
91
  self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
92
 
 
85
  print(f"Chat query failed with code {st_code}")
86
  if st_code == 'RESOURCE_EXHAUSTED':
87
  self.conv_id = None
88
+ return 'Sorry, 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