Go to example tasks

Detect duplicate embedding spend

Find exact duplicate RAG chunks and excessive overlap, estimate wasted embedding tokens, and stop redundant vectors before indexing.

Try for free
RAG Dataset Linter
RAG Dataset Lintersebastian-actors/rag-dataset-linter
Gate
Action
Source type
Source ID
+9 fields
Text
Number
Boolean
List
Object

Input

Minimum tokens:5
Maximum tokens:2000
Near-duplicate similarity:0.95
Maximum adjacent overlap ratio:0.35
Inline records
chunkId:pricing-0+2
documentId:pricing+2
sourceUrl:https://example.com/pricing+2
chunkIndex:0+2
title:Pricing+2
headingPath
chunkText:Embedding duplicate chunks wastes tokens and creates redundant vectors that can crowd retrieval results.+2
Maximum chunks:1000

Output fields

Gate
Action
Source type
Source ID
Audited
Findings
Errors
Warnings
Exact duplicate rate
Near duplicate rate
Estimated wasted tokens
Truncated
Finished

How it works

Sign up on Apify or log in

The RAG Dataset Linter Actor is ready to run with the inputs already set for "Detect duplicate embedding spend". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Detect duplicate embedding spend" task

The RAG Dataset Linter Actor will start running based on the input automatically. You can also change all the input fields, like minimum tokens, maximum tokens, and more, to match your specific use case.

Receive the "Detect duplicate embedding spend" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as gate, action, source type, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Detect duplicate embedding spend" task via API.

Image

Integrate "Detect duplicate embedding spend" into your workflow

Connect "Detect duplicate embedding spend" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay