rag

Installation
SKILL.md

Knowledge Retrieval (RAG)

Retrieval-Augmented Generation (RAG) connects an LLM to your data. Since LLMs have a cutoff date and don't know your private documents, RAG solves this by first searching for relevant information in a database and then pasting it into the prompt context. This grounds the answer in facts and reduces hallucinations.

When to Use

  • Domain-Specific QA: Answering questions about internal documentation, legal contracts, or medical records.
  • Dynamic Data: When the information changes frequently (news, stock analysis).
  • Verifiability: When the answer must cite sources ("According to policy document A...").
  • Cost: To avoid fine-tuning models on new data, which is expensive and slow.

Use Cases

  • Enterprise Search: "How do I reset my VPN password?" (Searches IT Wiki).
  • Legal Analysis: "Summarize the liability clause in this contract." (Searches contract PDF).
  • Customer Support: "What is my order status?" (Searches Order Database).

Implementation Pattern

Related skills

More from lauraflorentin/skills-marketplace

Installs
1
First Seen
12 days ago