Evaluating context retrieval with Ragas
Now that you have prepared your dataset and selected your metrics, you are ready to run the evaluation!
The cypher_dataset and metrics list you created in the last exercise are still available.
Este ejercicio forma parte del curso
Graph RAG with LangChain and Neo4j
Instrucciones del ejercicio
- Evaluate
cypher_datasetusing the list of metrics (metrics) to calculate the content-precision without reference and the noise sensitivity.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Evaluate the retrieval
cypher_scores = ____(
____=cypher_dataset,
____=metrics,
)
print(cypher_scores)