Skip to content
Discussion options

You must be logged in to vote

Yes, you can evaluate retrieval against manually labeled relevant IDs without calling a generation LLM.

1. Which metrics?

Metric What it measures
Recall@k The fraction of relevant items retrieved in the top k results
MRR@k The average reciprocal rank of the first relevant result across queries
Hit Rate@k Whether at least one relevant item appears in the top k results, averaged across queries

For your example:

  • Recall@3 = 0.5: one of the two relevant documents was retrieved.
  • RR@3 = 0.5: the first relevant result appears at rank 2.
  • Hit@3 = 1: at least one relevant document was found.

2. Node IDs or document IDs?

Choose the granularity that matches your labels:

  • Node-level: co…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nina7-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants