rag-implementation

Implement RAG systems with vector stores, embeddings, and retrieval pipelines.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/sixscripts-ai/ghostssh --skill rag-implementation-sixscripts-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-implementation
Source: https://github.com/sixscripts-ai/ghostssh/tree/main/skills/rag-implementation
Command: npx skills add https://github.com/sixscripts-ai/ghostssh --skill rag-implementation-sixscripts-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build Retrieval-Augmented Generation (RAG) systems to provide grounded, source-backed responses by linking LLMs to external knowledge sources.

Core Features & Use Cases

  • Integrates vector databases, embeddings, and retrieval strategies to ground AI outputs.
  • Supports document Q&A, knowledge-base querying, and domain-specific assistants over large text corpora with source citations.
  • Provides patterns, evaluation metrics, and best practices for production deployment.

Quick Start

Configure a basic RAG pipeline by selecting a corpus, embedding model, and vector store, then run queries against the indexed documents.

Frequently Asked Questions about rag-implementation

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

FAQPage Schema
How do I build a RAG pipeline for document Q&A over large text corpora?

To build a RAG pipeline for document Q&A, you select a corpus, an embedding model, and a vector store, then configure ingestion and chunking pipelines to index documents for source-backed querying.

What is retrieval-augmented generation and when do I need it for an LLM application?

Retrieval-augmented generation (RAG) links LLMs to external knowledge sources to provide grounded, source-backed responses. You need RAG when building domain-specific assistants or knowledge base integration requiring accurate citations.

Can I use semantic search and vector databases to ground LLM outputs with source citations?

Yes, you can ground LLM outputs by integrating vector databases and embeddings with retrieval strategies. This approach supports knowledge-base querying over large text corpora and provides responses with source citations.

What's the best way to evaluate groundedness in a retrieval-augmented generation system?

The best way to evaluate groundedness in a retrieval-augmented generation system is to apply the specific evaluation metrics and best practices provided for production deployment to measure the accuracy of source-backed responses.

Does a RAG system require reranking after performing initial document retrieval?

A RAG system includes reranking as part of the end-to-end workflow after performing initial document retrieval. Reranking refines the semantic search results to ensure the most relevant chunks are passed to the LLM.

What are the limitations of using basic embeddings for semantic search in domain-specific assistants?

Basic embeddings for semantic search may lack domain precision, requiring optimized chunking pipelines and reranking. Production deployment of domain-specific assistants also necessitates governance planning to manage retrieval accuracy.