Update query.py
Browse files
query.py
CHANGED
@@ -37,7 +37,7 @@ class VectaraQuery():
|
|
37 |
{
|
38 |
'query': query_str,
|
39 |
'start': 0,
|
40 |
-
'numResults':
|
41 |
'corpusKey': corpora_key_list,
|
42 |
'context_config': {
|
43 |
'sentences_before': 2,
|
@@ -48,7 +48,8 @@ class VectaraQuery():
|
|
48 |
'summary': [
|
49 |
{
|
50 |
'responseLang': 'eng',
|
51 |
-
'maxSummarizedResults':
|
|
|
52 |
'chat': {
|
53 |
'store': True,
|
54 |
'conversationId': self.conv_id
|
|
|
37 |
{
|
38 |
'query': query_str,
|
39 |
'start': 0,
|
40 |
+
'numResults': 10,
|
41 |
'corpusKey': corpora_key_list,
|
42 |
'context_config': {
|
43 |
'sentences_before': 2,
|
|
|
48 |
'summary': [
|
49 |
{
|
50 |
'responseLang': 'eng',
|
51 |
+
'maxSummarizedResults': 7,
|
52 |
+
'summarizerPromptName': 'vectara-experimental-summary-ext-2023-10-23-med',
|
53 |
'chat': {
|
54 |
'store': True,
|
55 |
'conversationId': self.conv_id
|