ofermend commited on
Commit
3b56cfd
1 Parent(s): 5cebf82

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +2 -2
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']