Spaces:
Runtime error
Runtime error
Update query.py
Browse files
query.py
CHANGED
@@ -80,8 +80,7 @@ class VectaraQuery():
|
|
80 |
docs = res['responseSet'][0]['document']
|
81 |
chat = res['responseSet'][0]['summary'][0]['chat']
|
82 |
|
83 |
-
if chat['status'] != None:
|
84 |
-
print("Chat status issue")
|
85 |
# # chat['status'] = # I have no idea what to put here hahaha
|
86 |
# st_code = chat['status']
|
87 |
# print(f"Chat query failed with code {st_code}")
|
|
|
80 |
docs = res['responseSet'][0]['document']
|
81 |
chat = res['responseSet'][0]['summary'][0]['chat']
|
82 |
|
83 |
+
# if chat['status'] != None:
|
|
|
84 |
# # chat['status'] = # I have no idea what to put here hahaha
|
85 |
# st_code = chat['status']
|
86 |
# print(f"Chat query failed with code {st_code}")
|