AcademyWorkflowsData and reporting

Evaluation metric example: RAG document relevance

  • Recommendedour rating
  • 2,022views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

evaluation-metric-example-rag-document-relevance.json

Loading the file...

AI automation

Want this workflow running in your company?

A template is the start. We adapt automations like this to your tools, handle the exceptions, and test and monitor them so they hold up under real load.

  • Free 20-minute call to look at your process
  • Connected to the tools you already use
  • Tested, monitored and documented

We have not written a full description for this item yet. The text below comes from its authors.

AI evaluation in n8n This is a template for n8n's evaluation feature. Evaluation is a technique for getting confidence that your AI workflow performs reliably, by running a test dataset containing different inputs through the workflow. By calculating a metric (score) for each input, you can see where the workflow is performing well and where it isn't. How it works This template shows how to calcul

Connects

Google Sheets · AI Agent · Embeddings OpenAI · OpenAI Chat Model · Recursive Character Text Splitter · Simple Vector Store · Default Data Loader · OpenAI · Evaluation