Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,10 +23,10 @@ def make_query(query, retriever, top_k=10, include_values=True, include_metadata
|
|
| 23 |
try:
|
| 24 |
xc = st.session_state.index.query(
|
| 25 |
xq,
|
| 26 |
-
top_k=
|
| 27 |
-
include_values=
|
| 28 |
-
include_metadata=
|
| 29 |
-
filter=
|
| 30 |
)
|
| 31 |
matches = xc['matches']
|
| 32 |
break
|
|
|
|
| 23 |
try:
|
| 24 |
xc = st.session_state.index.query(
|
| 25 |
xq,
|
| 26 |
+
top_k=10,
|
| 27 |
+
include_values=True,
|
| 28 |
+
include_metadata=True,
|
| 29 |
+
filter=None
|
| 30 |
)
|
| 31 |
matches = xc['matches']
|
| 32 |
break
|