New advertisers: 50% off your first month with code FIRSTMONTHSee slots

End-to-end RAG build guide covering chunking, embeddings, vector storage, and retrieval for document Q&A systems.

skills.sh installs
3.9K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full pipeline: document loading, cleaning, chunking, embedding generation, vector store ingestion, and retrieval with prompt injection
  • Includes a vector database selection table (Pinecone, Milvus, Weaviate, Qdrant, Chroma, FAISS) and an embedding model table with use-case guidance
  • Provides Java examples for metadata-filtered retrieval, multi-source retrieval with reranking, and retrieval with chat memory
  • Enforces security guardrails such as no hardcoded credentials, content filtering before LLM calls, and source allowlists for documents

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill rag -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

RAG Implementation

Build Retrieval-Augmented Generation systems that extend AI capabilities with external knowledge sources.

Overview

This skill covers: document processing, embedding generation, vector storage, retrieval configuration, and RAG pipeline implementation.

When to Use

  • Building Q&A systems over proprietary documents
  • Creating chatbots with factual information from knowledge bases
  • Implementing semantic search with natural language queries
  • Reducing hallucinations with grounded, sourced responses
  • Building documentation assistants and research tools
  • Enabling AI systems to access domain-specific knowledge

Instructions

Step 1: Choose Vector Database

Select based on your requirements:

RequirementRecommended
Production scalabilityPinecone, Milvus
Open-sourceWeaviate, Qdrant
Local developmentChroma, FAISS
Hybrid searchWeaviate with BM25

Step 2: Select Embedding Model

Use CaseModel
General purposetext-embedding-ada-002
Fast and lightweightall-MiniLM-L6-v2
Multilinguale5-large-v2
Best performancebge-large-en-v1.5

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
AI Agents & LLM Apps, Java & JVM
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 95