RAG experimentation tool using Azure AI Search
Top 98.2% on sourcepulse
The RAG Experiment Accelerator is a tool for researchers, data scientists, and developers to streamline the experimentation and evaluation of Retrieval-Augmented Generation (RAG) systems, specifically leveraging Azure AI Search and Azure OpenAI. It automates the process of testing various search parameters, query strategies, and response quality, generating detailed reports and visualizations to identify optimal configurations.
How It Works
This tool employs a config-driven approach, allowing users to define experiments by specifying ranges for search engine parameters, query sets, and evaluation metrics. It integrates with Azure AI Search, Azure Machine Learning, and Azure OpenAI, supporting multiple search types (text, vector, hybrid) and advanced features like sub-querying and LLM-based re-ranking. A custom document loader enhances data ingestion by intelligently formatting tables and excluding irrelevant content.
Quick Start & Requirements
pip install .
after setting up a conda environment.azd provision
) or Azure CLI. Configuration involves updating .env
and config.json
files.Highlighted Details
Maintenance & Community
This is a Microsoft-maintained project. Contributions are welcome via pull requests after signing a Contributor License Agreement.
Licensing & Compatibility
The project is licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
The solution has been tested with GPT 3.5 Turbo; compatibility with other Azure OpenAI models requires further testing. Sampling is currently only supported locally, not on distributed AML compute clusters. Some evaluation metrics are not semantic-aware, and LLM-based metrics are non-deterministic.
3 months ago
1+ week