Spaces:
Running
Running
github-actions
commited on
Commit
•
265d6cc
1
Parent(s):
e765e07
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:
|