What Ragrails gives you
Install
Quick Path
This example builds asupport collection from one document, searches it, then asks a grounded chat question. The sample source says: “Customers can request a refund within 30 days of purchase.”
Source Types
Use one source type or combine several in the sameingest() call.
SDK defaults live in
RagRails(...); CLI defaults live in .ragrails.toml; REST requests pass configuration in each request body.Where To Go Next
Quickstart
Build a working knowledge base and chat flow quickly.
How RAG Works
Learn the pipeline terms before tuning them.
Pipeline Overview
See extraction, chunking, embedding, storing, retrieval, chat, and maintenance together.
Capabilities
Turn on reranking, rewriting, quality controls, streaming, resilient ingestion, and tools.
Use Cases
Pick a strong sample: support agent, docs assistant, internal KB, AI search, or API copilot.
Walkthroughs
Follow source-specific setup paths for websites, documents, APIs, or REST hosting.
Interfaces
Common Production Steps
- Add Reranking when search results are relevant but poorly ordered.
- Add Query Rewriting for follow-up questions.
- Add Chat Tuning before exposing answers to users.
- Add Streaming for long crawls or responsive chat UIs.
- Add Knowledge Base Maintenance so changed and deleted source content stays in sync.

