ofermend commited on
Commit
57fd6e4
1 Parent(s): f857120

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +1 -1
query.py CHANGED
@@ -154,7 +154,7 @@ class VectaraQuery():
154
  if line: # filter out keep-alive new lines
155
  data = json.loads(line.decode('utf-8'))
156
  res = data['result']
157
-
158
  if response_set is None:
159
  # grab next chunk and yield it as output
160
  summary = res.get('summary', None)
 
154
  if line: # filter out keep-alive new lines
155
  data = json.loads(line.decode('utf-8'))
156
  res = data['result']
157
+ response_set = res['responseSet']
158
  if response_set is None:
159
  # grab next chunk and yield it as output
160
  summary = res.get('summary', None)