Build AI agents, RAG chatbots, and AI search on a knowledge base from your own data.
Ragrails builds the knowledge base for you. It scrapes websites, extracts content from documents, and pulls in REST APIs, then chunks, embeds, stores, and retrieves it, so your AI agents and LLM answers from real, grounded, current information.
from ragrails import RagRailsrag = RagRails()# Ingest, chunk, embed, and store in one callrag.ingest( urls="https://example.com/docs", # scrape a website docs=["files/guide.pdf"], # parse local files api={"url": "https://api.example.com/faq"}, # fetch a REST API embedding={"provider": "voyage", "model": "voyage-3"}, storage={"vector_db": "qdrant", "collection": "docs", "url": "http://localhost:6333"},)
Mix any sources in one call, or use them on their own: