Spaces:
Running
Running
Update query.py
Browse files
query.py
CHANGED
@@ -66,8 +66,8 @@ class VectaraQuery():
|
|
66 |
return "Sorry, something went wrong in my brain. Please try again later."
|
67 |
|
68 |
res = response.json()
|
69 |
-
print(body)
|
70 |
-
print(res)
|
71 |
|
72 |
summary = res['responseSet'][0]['summary'][0]['text']
|
73 |
responses = res['responseSet'][0]['response']
|
|
|
66 |
return "Sorry, something went wrong in my brain. Please try again later."
|
67 |
|
68 |
res = response.json()
|
69 |
+
print(f"DEBUG request body = {body}")
|
70 |
+
print(f"DEBUG response summary = {res['responseSet'][0]['summary']}")
|
71 |
|
72 |
summary = res['responseSet'][0]['summary'][0]['text']
|
73 |
responses = res['responseSet'][0]['response']
|