rag-architect

Design RAG systems with chunking, embeddings, vector stores, and hybrid search.

Updated Jun 16, 2026
One-click install
npx skills add https://github.com/Design-System-ET/genexus-dev-opencode --skill rag-architect-design-system-et
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-architect
Source: https://github.com/Design-System-ET/genexus-dev-opencode/tree/main/skills/rag-architect
Command: npx skills add https://github.com/Design-System-ET/genexus-dev-opencode --skill rag-architect-design-system-et

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langchain, openai, qdrant-client, rank_bm25, cohere, ragas, datasets, tiktoken, sentence-transformers, scikit-learn, numpy, transformers, torch, and includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of building reliable Retrieval-Augmented Generation (RAG) systems by providing a structured, modular framework for document ingestion, retrieval, and evaluation.

Core Features & Use Cases

  • Pipeline Design: Orchestrates the entire RAG lifecycle from chunking strategies to hybrid search implementation.
  • Quality Assurance: Provides built-in checkpoints and evaluation metrics to ensure retrieval precision and recall.
  • Use Case: When building a knowledge-grounded AI application, use this Skill to select the optimal embedding model, design a hybrid search pipeline, and validate retrieval quality before deploying to production.

Quick Start

Use the rag-architect skill to design a hybrid search pipeline for a new vector database implementation.

Frequently Asked Questions about rag-architect

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

FAQPage Schema
How do I design a hybrid search pipeline for a RAG system?

To design a hybrid search pipeline for a RAG system, you combine semantic vector search using embeddings with keyword matching using BM25, then apply a reranking model to improve retrieval precision. This ensures both semantic context and exact keyword matches are captured.

What is the best way to evaluate retrieval quality in a RAG application?

Evaluating retrieval quality in a RAG application involves measuring precision and recall using dedicated evaluation frameworks like ragas. It provides built-in checkpoints and metrics to validate that your document retrieval pipeline returns accurate and relevant context before production deployment.

How do I chunk documents and generate embeddings for vector search?

Chunking documents and generating embeddings for vector search involves splitting text into manageable segments and using embedding models like sentence-transformers to convert chunks into vector representations. These vectors are then stored in a configured vector store like Qdrant for scalable indexing.

Does langchain work well with qdrant-client for building scalable indexing?

Yes, langchain works seamlessly with qdrant-client to build scalable indexing for RAG systems. This integration supports idempotent ingestion, allowing you to orchestrate the entire document ingestion and retrieval lifecycle while maintaining reliable vector store configurations.

When do I need reranking in my semantic search pipeline?

You need reranking in your semantic search pipeline when initial retrieval results from hybrid search require reordering to prioritize the most relevant context. Applying reranking with models like Cohere significantly enhances retrieval precision for knowledge-grounded AI applications.

What are the limitations of using only vector search for document retrieval?

Using only vector search for document retrieval limits exact keyword matching capabilities, which is problematic for queries requiring specific terms. A hybrid search pipeline combining vector search with BM25 keyword retrieval overcomes this constraint, ensuring robust context augmentation.