├── .gitignore ├── README.md ├── data ├── README.md ├── biogen.json ├── google_search.py ├── open_nq.json └── realtimeqa.json ├── llm_eval.py ├── main.py ├── requirements.txt ├── run.sh └── src ├── attack.py ├── dataset_utils.py ├── defense.py ├── helper.py ├── models.py └── prompt_template.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/README.md -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/data/README.md -------------------------------------------------------------------------------- /data/biogen.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/data/biogen.json -------------------------------------------------------------------------------- /data/google_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/data/google_search.py -------------------------------------------------------------------------------- /data/open_nq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/data/open_nq.json -------------------------------------------------------------------------------- /data/realtimeqa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/data/realtimeqa.json -------------------------------------------------------------------------------- /llm_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/llm_eval.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/run.sh -------------------------------------------------------------------------------- /src/attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/src/attack.py -------------------------------------------------------------------------------- /src/dataset_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/src/dataset_utils.py -------------------------------------------------------------------------------- /src/defense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/src/defense.py -------------------------------------------------------------------------------- /src/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/src/helper.py -------------------------------------------------------------------------------- /src/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/src/models.py -------------------------------------------------------------------------------- /src/prompt_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inspire-group/RobustRAG/HEAD/src/prompt_template.py --------------------------------------------------------------------------------