question
: The question asked by the usercontext
: Information retrieved to answer the questionreranked_context
: The context generated from the original context using the reranking algorithm
How to use it?
By default, we are using GPT 3.5 Turbo for evaluations. If you want to use a different model, check out this tutorial.
A higher context reranking score reflects that reranked context is more efficient in answering the question as compared to the original context.
How it works?
We evaluate context reranking by determining which of the following three cases apply for the given task data:- The reranking of the original context is highly effective in generating the reranked context for the given question.
- The reranking of the original context is somewhat effective in generating the reranked context for the given question.
- The reranking of the original context is not very effective in generating the reranked context for the given question.