ofermend commited on
Commit
ee0fd94
1 Parent(s): f38d5f2

Update query.py

Browse files
Files changed (1) hide show
  1. query.py +1 -1
query.py CHANGED
@@ -68,7 +68,7 @@ class VectaraQuery():
68
  summary = res['responseSet'][0]['summary'][0]['text']
69
  responses = res['responseSet'][0]['response']
70
  docs = res['responseSet'][0]['document']
71
- self.conv_id = summary[0]['chat']['conversationId']
72
  pattern = r'\[\d{1,2}\]'
73
  matches = [match.span() for match in re.finditer(pattern, summary)]
74
 
 
68
  summary = res['responseSet'][0]['summary'][0]['text']
69
  responses = res['responseSet'][0]['response']
70
  docs = res['responseSet'][0]['document']
71
+ self.conv_id = res['responseSet'][0]['summary'][0]['chat']['conversationId']
72
  pattern = r'\[\d{1,2}\]'
73
  matches = [match.span() for match in re.finditer(pattern, summary)]
74