Kom igångKom igång 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.

Den här övningen är en del av kursen

Graph RAG with LangChain and Neo4j

Visa kurs

Övningsinstruktioner

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

Interaktiv övning med praktiskt arbete

Testa den här övningen genom att slutföra den här exempelkoden.

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

print(cypher_scores)
Redigera och kör kod