CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity
This is the repo for paper: CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity.
conda create -n CoFE python=3.11
conda activate CoFE
pip install -r requirements.txt
python run_pipeline.py config/parse_and_chunk.json
python run_pipeline.py config/search_and_eval_search.json`
python run_pipeline.py config/gen_response_and_eval_response.json
If you want to construct evaluation data using custom documents, please refer to the following process.
python ./data_generation/query_generation.py
python ./data_generation/keyword_generation.py
If you found this work useful, consider citing our paper as followed:
@article{liu2024cofe,
title={CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity},
author={Liu, Jintao and Ding, Ruixue and Zhang, Linhao and Xie, Pengjun and Huang, Fie},
journal={arXiv preprint arXiv:2410.12248},
year={2024}
}