RAGASuite is a Streamlit-based application to upload documents, run RAG pipelines, generate datasets, and evaluate RAG metrics such as context precision, context relevancy, and answer relevancy.
- Upload PDFs for document ingestion
- Select your LLM and RAG pipeline (Simple RAG or MultiQuery RAG)
- Generate synthetic or manual datasets
- Auto-generate answers using your selected RAG pipeline
- Evaluate with multiple metrics to assess pipeline performance
git clone https://github.com/fran-gen/ragasuite.git
cd ragasuitepoetry installpoetry shellExport your environment variables in your shell:
export OPENAI_API_KEY=your_openai_api_key_hereOr create a .env file:
OPENAI_API_KEY=your_openai_api_key_hereTo start the Streamlit app:
poetry run streamlit run app.py- Upload your document (PDF format).
- Choose an LLM (e.g.,
gpt-4o). - Select between
Simple RAGorMultiQuery RAG.
- Choose between synthetic or manual dataset generation.
- Click "Generate Dataset".
- Click "Generate answer" to let the pipeline produce responses.
- Select evaluation metrics: context precision, context relevancy, and answer relevancy.
- Click "Generate Evaluation" to get evaluation results in a table format.
- The app currently supports PDF input with a configurable file size limit.
- It is modular and can be extended with additional pipelines or custom metrics.