ai-data-engineering

Build RAG pipelines, embedding generation, and feature stores for AI systems.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill ai-data-engineering-masermediagroup-stack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ai-data-engineering
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/ai-data-engineering
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill ai-data-engineering-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langchain, langchain-core, langchain-openai, langchain-voyageai, langchain-qdrant, qdrant-client, ragas, datasets, feast, dagster, dagster-webserver, lakefs-client, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve? Building production data infrastructure for AI/ML systems requires coordinating chunking, embedding generation, vector storage, retrieval, and evaluation, which is error-prone without established architecture patterns and quality metrics. ## Core Features & Use Cases - RAG Pipeline Architecture: Implements the 5-stage RAG pipeline (ingestion, indexing, retrieval, generation, evaluation) with LangChain, Qdrant, and Voyage AI embeddings. - RAGAS Evaluation: Measures faithfulness, answer relevancy, context precision, and context recall with executable evaluation scripts. - Feature Stores & Orchestration: Sets up Feast feature stores, Dagster/Prefect/Airflow orchestration, and LakeFS data versioning. - Use Case: Chunk a document corpus at 512 tokens with 50-token overlap, embed with Voyage AI voyage-3, store in Qdrant, and evaluate retrieval quality with RAGAS before deploying a streaming RAG API. ## Quick Start Set up a basic RAG pipeline by chunking my documents, generating embeddings, and running a RAGAS evaluation on my test dataset.

Frequently Asked Questions about ai-data-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a RAG pipeline with LangChain?▼

Build a RAG pipeline by chunking documents at 512 tokens with 50-token overlap, embedding them with Voyage AI voyage-3, storing vectors in Qdrant, and connecting a retriever to a ChatPromptTemplate chain. The skill provides a working basic_rag.py example and streaming variants.

What chunk size should I use for RAG document chunking?▼

Use 512 tokens with 50-100 tokens of overlap as the default for most RAG systems. Smaller chunks lose context while larger chunks include irrelevant content; code and markdown content benefit from language-aware or header-aware splitters.

Voyage AI vs OpenAI embeddings for retrieval quality?▼

Voyage AI voyage-3 scores 69.0 on MTEB, about 9.7% better than OpenAI text-embedding-3-large, making it the choice for production quality. OpenAI text-embedding-3-small costs roughly five times less and suits development or cost-sensitive workloads.

How do I evaluate RAG pipeline quality with RAGAS?▼

Run the evaluate_rag.py script with a JSON dataset containing question, answer, contexts, and ground_truth fields. It computes faithfulness, answer relevancy, context precision, and context recall, flagging scores below thresholds like 0.8 faithfulness.

Why is my RAG retrieval quality poor?▼

Poor retrieval usually stems from wrong chunk sizes, missing overlap, or weak embedding models. Try 512-token chunks with 50-token overlap, switch to hybrid search combining vector and BM25, or add Cohere re-ranking to improve precision.

Can I mix different embedding models in one vector collection?▼

No, never mix embedding models in the same collection because vector spaces are incompatible. When changing models, delete the collection and re-embed all documents with the new model before re-indexing.