Spaces:
Runtime error
Runtime error
Update query.py
Browse files
query.py
CHANGED
@@ -97,7 +97,7 @@ class VectaraQuery():
|
|
97 |
print("BIG 1")
|
98 |
|
99 |
# Step 1b: Check for 'summary' within the first item
|
100 |
-
if len(
|
101 |
print("BIG 2")
|
102 |
|
103 |
# Step 1c: Check for 'chat' within the first summary
|
|
|
97 |
print("BIG 1")
|
98 |
|
99 |
# Step 1b: Check for 'summary' within the first item
|
100 |
+
if len(responseSet) > 0 and 'summary' in responseSet[0]:
|
101 |
print("BIG 2")
|
102 |
|
103 |
# Step 1c: Check for 'chat' within the first summary
|