ofermend commited on
Commit
269b57e
1 Parent(s): d467496

Update query.py

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