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,
|
@@ -41,7 +41,7 @@ def query_vectara(question):
|
|
41 |
"rerankingConfig": {
|
42 |
"rerankerId": 272725718,
|
43 |
"mmrConfig": {
|
44 |
-
"diversityBias": 0.
|
45 |
}
|
46 |
},
|
47 |
"corpusKey": [
|
|
|
29 |
"query": user_message,
|
30 |
"queryContext": "",
|
31 |
"start": 1,
|
32 |
+
"numResults": 25,
|
33 |
"contextConfig": {
|
34 |
"charsBefore": 0,
|
35 |
"charsAfter": 0,
|
|
|
41 |
"rerankingConfig": {
|
42 |
"rerankerId": 272725718,
|
43 |
"mmrConfig": {
|
44 |
+
"diversityBias": 0.35
|
45 |
}
|
46 |
},
|
47 |
"corpusKey": [
|