Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def query_vectara(question):
|
|
29 |
"query": user_message,
|
30 |
"queryContext": "",
|
31 |
"start": 1,
|
32 |
-
"numResults":
|
33 |
"contextConfig": {
|
34 |
"charsBefore": 0,
|
35 |
"charsAfter": 0,
|
@@ -59,7 +59,7 @@ def query_vectara(question):
|
|
59 |
"summary": [
|
60 |
{
|
61 |
"maxSummarizedResults": 5,
|
62 |
-
"responseLang": "
|
63 |
"summarizerPromptName": "vectara-summary-ext-v1.2.0"
|
64 |
}
|
65 |
]
|
|
|
29 |
"query": user_message,
|
30 |
"queryContext": "",
|
31 |
"start": 1,
|
32 |
+
"numResults": 50,
|
33 |
"contextConfig": {
|
34 |
"charsBefore": 0,
|
35 |
"charsAfter": 0,
|
|
|
59 |
"summary": [
|
60 |
{
|
61 |
"maxSummarizedResults": 5,
|
62 |
+
"responseLang": "auto",
|
63 |
"summarizerPromptName": "vectara-summary-ext-v1.2.0"
|
64 |
}
|
65 |
]
|