Replies: 1 comment 2 replies
-
To retrieve documents that have not been evaluated yet and compute the ndcg, hit rate, and score, you can follow these steps:
This code will help you retrieve documents that have not been evaluated yet and compute the ndcg, hit rate, and score for your RAG system. For more detailed steps and explanations, you can refer to the Arize Phoenix: Quickstart - Retrieval tutorial [1][2][3][4][5]. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering an issue while attempting to retrieve unevaluated Documents from Phoenix. The documented methods evals['EVALUATOR'].score is None and evals['EVALUATOR'].label is None are not yielding the expected results. Additionally, DOCUMENT_SCORE = "document.score" doesn't seem to be effective for retrieving scores.
My objective is to efficiently retrieve the following metrics:
NDCG (Normalized Discounted Cumulative Gain)
Hit rate
Overall score
Here's the current implementation:
I've attempted to use the SpanQuery to retrieve the necessary data, but I'm unable to filter for unevaluated documents effectively. Has anyone encountered a similar issue or can suggest an optimal approach to achieve this?
Any insights on best practices for querying unevaluated documents and retrieving specific metrics in Phoenix would be greatly appreciated. Thank you in advance for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions