Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ def query_vectara(question):
|
|
25 |
{
|
26 |
"query": user_message,
|
27 |
"queryContext": "",
|
28 |
-
"start":
|
29 |
-
"numResults":
|
30 |
"contextConfig": {
|
31 |
"charsBefore": 0,
|
32 |
"charsAfter": 0,
|
@@ -55,7 +55,7 @@ def query_vectara(question):
|
|
55 |
],
|
56 |
"summary": [
|
57 |
{
|
58 |
-
"maxSummarizedResults":
|
59 |
"responseLang": "eng",
|
60 |
"summarizerPromptName": "vectara-summary-ext-v1.2.0"
|
61 |
}
|
|
|
25 |
{
|
26 |
"query": user_message,
|
27 |
"queryContext": "",
|
28 |
+
"start": 1,
|
29 |
+
"numResults": 10,
|
30 |
"contextConfig": {
|
31 |
"charsBefore": 0,
|
32 |
"charsAfter": 0,
|
|
|
55 |
],
|
56 |
"summary": [
|
57 |
{
|
58 |
+
"maxSummarizedResults": 5,
|
59 |
"responseLang": "eng",
|
60 |
"summarizerPromptName": "vectara-summary-ext-v1.2.0"
|
61 |
}
|