Document Relevance Evaluation for RAG Systems

Sold <10
The sale of this product is suspended.

The seller is blocked and sales of the product are suspended

Product description

# Evaluate document relevance from vector store for RAG system testing

This automation evaluates the relevance of documents retrieved from a vector store in response to a question using GPT-4o-mini. Data is loaded from Google Sheets, processed via LangChain components (text splitter, embeddings, in-memory vector store), and passed through an AI agent. Evaluation runs only when enabled, reducing API costs. The final relevance score (0 or 1) is stored for analysis.

## Who it´s for
- RAG system developers testing answer accuracy.
- Machine learning engineers evaluating retrieval quality in chatbots.
- Teams automating AI response quality metrics in n8n.
- Analysts using Google Sheets as a source of test data.

## What the automation does
- Loads question-document pairs from Google Sheets.
- Processes text via LangChain nodes: splitting, embeddings, in-memory vector storage.
- Evaluates relevance using GPT-4o-mini only when testing mode is active.
- Generates a binary metric (0 or 1) and stores the result.
- Triggered by chat messages, manual execution, or dataset row fetch.

## What´s included
- Ready-to-use n8n workflow.
- Logic for triggers and conditional evaluation mode.
- Integrations with Google Sheets, OpenAI, and LangChain vector store.
- Basic setup and adaptation guide.

## Requirements for setup
- n8n account with workflow execution access.
- Google account with Google Sheets API access.
- OpenAI API key with access to GPT-4o-mini.
- Access to a Google Sheet containing test questions and retrieved documents.

## Benefits and outcomes
- Automated retrieval quality measurement without manual review.
- Reduced evaluation costs via conditional execution.
- Scalable testing across hundreds of examples.
- Clear metric for improving RAG systems.
- Integration into existing AI testing pipelines.
- Support for repeatable experiments with different parameters.

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat

Main features

  • Content type File
  • Content description 42,49 kB
  • Updated on the site 14.01.2026

Reviews

No reviews yet

The sale of this product is suspended.

You viewed

All images, logos, and names of games, programs, and other products used are taken from public sources and are for informational purposes only. All trademarks, logos, names, and other intellectual property belong to their respective owners. Use of such images on the website does not imply any affiliation or connection with the copyright holders.