DrishtiSharma commited on
Commit
5c44ec8
·
verified ·
1 Parent(s): c11181e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=2)
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):")