Spaces:
Runtime error
Runtime error
Update query.py
Browse files
query.py
CHANGED
@@ -46,16 +46,16 @@ class VectaraQuery():
|
|
46 |
},
|
47 |
'rerankingConfig':
|
48 |
{
|
49 |
-
'rerankerId':
|
50 |
'mmrConfig': {
|
51 |
-
'diversityBias': 0.
|
52 |
}
|
53 |
},
|
54 |
'summary': [
|
55 |
{
|
56 |
'responseLang': 'eng',
|
57 |
-
'maxSummarizedResults':
|
58 |
-
'summarizerPromptName': 'vectara-experimental-summary-ext-2023-
|
59 |
'chat': {
|
60 |
'store': True,
|
61 |
'conversationId': self.conv_id
|
@@ -63,7 +63,7 @@ class VectaraQuery():
|
|
63 |
'debug': True,
|
64 |
}
|
65 |
]
|
66 |
-
}
|
67 |
]
|
68 |
}
|
69 |
|
|
|
46 |
},
|
47 |
'rerankingConfig':
|
48 |
{
|
49 |
+
'rerankerId': 272725718,
|
50 |
'mmrConfig': {
|
51 |
+
'diversityBias': 0.3
|
52 |
}
|
53 |
},
|
54 |
'summary': [
|
55 |
{
|
56 |
'responseLang': 'eng',
|
57 |
+
'maxSummarizedResults': 5,
|
58 |
+
'summarizerPromptName': 'vectara-experimental-summary-ext-2023-12-11-sml',
|
59 |
'chat': {
|
60 |
'store': True,
|
61 |
'conversationId': self.conv_id
|
|
|
63 |
'debug': True,
|
64 |
}
|
65 |
]
|
66 |
+
}
|
67 |
]
|
68 |
}
|
69 |
|