UNPKG

@devilsdev/rag-pipeline-utils

Version:

A modular toolkit for building RAG (Retrieval-Augmented Generation) pipelines in Node.js

15 lines (14 loc) 644 B
[ { "prompt": "What is a vector database?", "expected": "A vector database is a system optimized for storing and retrieving data represented as vectors, often used in similarity search." }, { "prompt": "Explain what chunking means in RAG.", "expected": "Chunking is the process of splitting documents into smaller, manageable pieces for embedding and retrieval in a RAG pipeline." }, { "prompt": "What is the role of embedding in a RAG pipeline?", "expected": "Embeddings convert text into numerical vector form so they can be compared in a vector database during retrieval." } ]