rag-dev

Solid

Use when building knowledge bases, ingesting documents, running semantic search, or adding LLM-synthesized Q&A over private content with Butterbase RAG

AI & Automation 424 stars 40 forks Updated today MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Butterbase RAG (Retrieval-Augmented Generation) Two tools cover the entire RAG surface: - **`manage_rag_content`** — collections, document ingestion, status polling, deletion - **`rag_query`** — semantic search, optional LLM synthesis Documents are ingested asynchronously: text or files become embeddings stored in pgvector, and queries do a similarity search at runtime. --- ## 1. The mental model ``` Collection Documents Chunks ────────── ────────── ────── "product-faq" ──────────────► doc_1 (PDF) ───────────► chunk 1, 2, 3... doc_2 (text) ──────────► chunk 4, 5... doc_3 (markdown) ──────► chunk 6... ``` A **collection** holds documents; a **document** is split into **chunks** and embedded; **`rag_query`** searches by cosine similarity across chunks within a collection. `chunk_size` and `chunk_overlap` are set **once at collection creation** and immutable — to change them, delete and recreate the collection. --- ## 2. End-to-end workflow ``` ┌────────────────────────────────────────────┐ │ 1. create_collection (once per knowledge) │ ├────────────────────────────────────────────┤ │ 2. ingest_document (text OR storage_object)│ ├────────────────────────────────────────────┤ │ 3. poll get_document_status until "ready" │ ├────────────────────────────────────────────┤ │ 4. rag_query (with or without s...

Details

Author
butterbase-ai
Repository
butterbase-ai/butterbase-skills
Created
1 months ago
Last Updated
today
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category