Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,6 +170,10 @@ top_k = st.number_input("Top K Results", min_value=1, max_value=50, value=10)
|
|
| 170 |
if st.button("Query Vectara"):
|
| 171 |
config = {
|
| 172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
"lambda_val": lambda_val,
|
| 174 |
"top_k": top_k,
|
| 175 |
}
|
|
|
|
| 170 |
if st.button("Query Vectara"):
|
| 171 |
config = {
|
| 172 |
|
| 173 |
+
"api_key": os.environ.get("VECTARA_API_KEY", ""),
|
| 174 |
+
"customer_id": os.environ.get("VECTARA_CUSTOMER_ID", ""),
|
| 175 |
+
"corpus_id": os.environ.get("VECTARA_CORPUS_ID", ""),
|
| 176 |
+
|
| 177 |
"lambda_val": lambda_val,
|
| 178 |
"top_k": top_k,
|
| 179 |
}
|