Framework Architecture
- Dataset Generation - Create synthetic question-answer pairs from your documents
- Search Space - Define the hyperparameter space to explore
- BO Input Encoder - Encode the RAG hyperparameter from and to pytorch tensors
- Sampler - Sampling choices from search space using SOBOL sampler by default
- RAG Manager - Orchestrate component loading and configuration sampling
- Evaluation - Measure performance across multiple metrics
- Optimization - Find optimal configurations using Bayesian Optimization