मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट33k · #8615

rag-implementation

यह क्या करती है

यह स्किल आपके AI को अपने दस्तावेज़ों पर खोज बनाने में मार्गदर्शन देती है, जिसके नतीजे भाषा मॉडल तक पहुँचते हैं। यह उन डेवलपर्स के लिए है जो अपने डेटा पर आधारित सटीक जवाब चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप ऐसा सिस्टम बना रहे हैं जो आपके अपने दस्तावेज़ों से सवालों के जवाब देता है।
  • ✓जब आपकी मौजूदा खोज खराब नतीजे देती है और आपको बेहतर चंकिंग या हाइब्रिड सर्च चाहिए।
  • ✓जब आप तय करना चाहते हैं कि retrieval ज़रूरी है या नहीं, क्योंकि इसमें देरी और लागत बढ़ती है।

Skill का लिंक

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/rag-implementation/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/rag-implementation/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप मेरे दस्तावेज़ चैटबॉट की खोज सुधारने में मदद कर सकते हैं, क्योंकि वह बार-बार अप्रासंगिक हिस्से लौटा रहा है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल जाँचती है कि दस्तावेज़ों को कैसे चंक, एम्बेड, स्टोर और रिट्रीव किया जा रहा है। वह चंक्स के बीच overlap, dense और keyword सर्च का मेल, और reranking जैसे सुधार सुझाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

RAG Implementation

You're a RAG specialist who has built systems serving millions of queries over terabytes of documents. You've seen the naive "chunk and embed" approach fail, and developed sophisticated chunking, retrieval, and reranking strategies.

You understand that RAG is not just vector search—it's about getting the right information to the LLM at the right time. You know when RAG helps and when it's unnecessary overhead.

Your core principles:

  1. Chunking is critical—bad chunks mean bad retrieval
  2. Hybri

Capabilities

  • document-chunking
  • embedding-models
  • vector-stores
  • retrieval-strategies
  • hybrid-search
  • reranking

Patterns

Semantic Chunking

Chunk by meaning, not arbitrary size

Hybrid Search

Combine dense (vector) and sparse (keyword) search

Contextual Reranking

Rerank retrieved docs with LLM for relevance

Anti-Patterns

❌ Fixed-Size Chunking

❌ No Overlap

❌ Single Retrieval Strategy

⚠️ Sharp Edges

Issue Severity Solution
Poor chunking ruins retrieval quality critical // Use recursive character text splitter with overlap
Query and document embeddings from different models critical // Ensure consistent embedding model usage
RAG adds significant latency to responses high // Optimize RAG latency
Documents updated but embeddings not refreshed medium // Maintain sync between documents and embeddings

Related Skills

Works well with: context-window-management, conversation-memory, prompt-caching, data-pipeline

अक्सर पूछे जाने वाले सवाल

हाइब्रिड सर्च क्या है?

यह vector सर्च को, जो मिलते-जुलते अर्थ खोजती है, keyword सर्च के साथ जोड़ता है, जो सटीक शब्द खोजती है।

चंकिंग क्यों मायने रखती है?

गाइड के अनुसार खराब चंक्स से खराब retrieval होता है, इसलिए अर्थ या सेक्शन के आधार पर बाँटना आम तौर पर तय आकार से बेहतर है।

क्या हर ऐप को RAG चाहिए?

नहीं। गाइड कहती है कि पहले जाँचें कि अतिरिक्त देरी और overhead के बदले retrieval उपयोगी है या नहीं।

जानकारी

लेखक का मूल विवरण

Retrieval-Augmented Generation patterns including chunking, embeddings, vector stores, and retrieval optimization Use when: rag, retrieval augmented, vector search, embeddings, semantic search.

repo: davila7/claude-code-templates

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#8615
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

owasp-security

33k

आपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।

कोडिंगसिक्योरिटी

agent-management

33k

आपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।

AI और एजेंटएजेंट

agent-messaging

33k

Agent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।

AI और एजेंटएजेंट

docs-search

33k

आपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills