Hello all, Is there a way to print only the top k chunks based on user query using llama index?
As far as my understanding, llama index creates an embedding of the user query and finds the top most similar <similarity_top_k> chunks (using cosine similarity). Is there a way to print what these top k chunks are?
This gives the required answer. But, I don't want to query LLM to get response. I only need the most similar chunks. Is there any way to get that without doing - response = index.query(*)