ofermend commited on
Commit
2570f55
1 Parent(s): 39e2176

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +0 -3
query.py CHANGED
@@ -73,8 +73,6 @@ class VectaraQuery():
73
  return "Sorry, something went wrong in my brain. Please try again later."
74
 
75
  res = response.json()
76
- # print(f"DEBUG request body = {body}")
77
- # print(f"DEBUG response summary = {res['responseSet'][0]['summary']}")
78
 
79
  top_k = 10
80
  summary = res['responseSet'][0]['summary'][0]['text']
@@ -82,7 +80,6 @@ class VectaraQuery():
82
  docs = res['responseSet'][0]['document']
83
  chat = res['responseSet'][0]['summary'][0]['chat']
84
 
85
- print(f"Chat = {chat}")
86
  if chat['status'] != None:
87
  st_code = chat['status']
88
  print(f"Chat query failed with code {st_code}")
 
73
  return "Sorry, something went wrong in my brain. Please try again later."
74
 
75
  res = response.json()
 
 
76
 
77
  top_k = 10
78
  summary = res['responseSet'][0]['summary'][0]['text']
 
80
  docs = res['responseSet'][0]['document']
81
  chat = res['responseSet'][0]['summary'][0]['chat']
82
 
 
83
  if chat['status'] != None:
84
  st_code = chat['status']
85
  print(f"Chat query failed with code {st_code}")