Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Build a RAG collection from local files, end to end.
pip install "ragrails[voyage,qdrant]" docker run -p 6333:6333 qdrant/qdrant
from ragrails import RagRails rag = RagRails() result = rag.ingest( docs={"folder": "files/docs/"}, embedding={"provider": "voyage", "model": "voyage-3"}, storage={"vector_db": "qdrant", "collection": "docs", "url": "http://localhost:6333"}, ) print(f"Stored {result.stored} chunks from {result.sources} documents")
result = rag.query( "What does the guide cover?", embedding={"provider": "voyage", "model": "voyage-3"}, retrieval={"vector_db": "qdrant", "collection": "docs", "url": "http://localhost:6333", "top_k": 5}, )