Update query.py
Browse files
query.py
CHANGED
@@ -90,7 +90,7 @@ class VectaraQuery():
|
|
90 |
|
91 |
try:
|
92 |
self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
|
93 |
-
|
94 |
print("I'm sorry. I am experiencing an error in Vectara API conversationId assignment")
|
95 |
|
96 |
pattern = r'\[\d{1,2}\]'
|
|
|
90 |
|
91 |
try:
|
92 |
self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
|
93 |
+
except (TypeError):
|
94 |
print("I'm sorry. I am experiencing an error in Vectara API conversationId assignment")
|
95 |
|
96 |
pattern = r'\[\d{1,2}\]'
|