The community member is asking if there is a way to get multiple results from a query with llama_index, as the current engine.query() function returns a single response string. They are interested in getting the top k responses, where each entry in k is a potential result of the query.
In the comments, another community member suggests that the community member could try setting the temperature a little higher and querying a few times, which could be an interesting feature to add to llama_index. However, there is no explicitly marked answer to the original question.
Hi, Is there some way to get multiple results from a query with llama_index? Currently, engine.query() returns a single response string. What if I need the top k responses where each entry in k is a potential result of the query.