Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ if uploaded_file:
|
|
109 |
|
110 |
# Create a query engine
|
111 |
llama_index = VectorStoreIndex(nodes)
|
112 |
-
query_engine = llama_index.as_query_engine(similarity_top_k=
|
113 |
|
114 |
# Query input for LlamaIndex
|
115 |
query = st.text_input("Ask a question about your data (LlamaIndex):")
|
|
|
109 |
|
110 |
# Create a query engine
|
111 |
llama_index = VectorStoreIndex(nodes)
|
112 |
+
query_engine = llama_index.as_query_engine(similarity_top_k=3)
|
113 |
|
114 |
# Query input for LlamaIndex
|
115 |
query = st.text_input("Ask a question about your data (LlamaIndex):")
|