KruxAI/ragbuilder
A toolkit that automatically optimizes Retrieval-Augmented Generation configurations using Bayesian hyperparameter tuning and pre-defined RAG templates.

RagBuilder is a Python toolkit for creating production-ready RAG pipelines. It performs automated hyperparameter optimization on chunking strategies, chunk sizes, and other RAG parameters using Bayesian optimization, evaluating configurations against test datasets to identify the best setup. The toolkit includes state-of-the-art RAG templates such as graph retrievers and contextual chunkers, and supports direct access to vectorstore, retriever, and generator components with API deployment capabilities.