Aan de slagBegin gratis

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.

Deze oefening maakt deel uit van de cursus

Graph RAG with LangChain and Neo4j

Bekijk cursus

Oefeninstructies

  • Evaluate cypher_dataset using the list of metrics (metrics) to calculate the content-precision without reference and the noise sensitivity.

Interactieve oefening met praktijkervaring

Probeer deze oefening door deze voorbeeldcode aan te vullen.

# Evaluate the retrieval
cypher_scores = ____(
	____=cypher_dataset,
	____=metrics,
)

print(cypher_scores)
Code bewerken en uitvoeren