# Create the vector store
index = VectorStoreIndex(nodes)

retriever = index.as_retriever(similarity_top_k=30) # Change to whatever top_k you want