Find answers from the community

Updated 3 months ago

Hi! I could not figure out where do I

Hi! I could not figure out where do I declare top_k argument in RAG?

Plain Text
query_engine = index.as_query_engine(similarity_top_k=1)
response = query_engine.query("query")


Is this correct?
W
1 comment
Yes, it is correct
Add a reply
Sign up and join the conversation on Discord