ragas
ragas copied to clipboard
support IDBasedContextRecall and IDBasedContextPrecision metrics
For RAG test datasets with explicit Reference Context IDs (e.g., (https://huggingface.co/datasets/enelpol/rag-mini-bioasq)), direct comparison using the Reference Context IDs from the test dataset itself ensures clarity and accuracy.