github-actions
commited on
Commit
·
f7fffd5
1
Parent(s):
229097c
Sync updates from source repository
Browse files
query.py
CHANGED
|
@@ -73,10 +73,7 @@ class VectaraQuery():
|
|
| 73 |
|
| 74 |
res = response.json()
|
| 75 |
|
| 76 |
-
#top_k = 10
|
| 77 |
summary = res['responseSet'][0]['summary'][0]['text']
|
| 78 |
-
#responses = res['responseSet'][0]['response'][:top_k]
|
| 79 |
-
#docs = res['responseSet'][0]['document']
|
| 80 |
chat = res['responseSet'][0]['summary'][0].get('chat', None)
|
| 81 |
|
| 82 |
if chat and chat['status'] is not None:
|
|
|
|
| 73 |
|
| 74 |
res = response.json()
|
| 75 |
|
|
|
|
| 76 |
summary = res['responseSet'][0]['summary'][0]['text']
|
|
|
|
|
|
|
| 77 |
chat = res['responseSet'][0]['summary'][0].get('chat', None)
|
| 78 |
|
| 79 |
if chat and chat['status'] is not None:
|