Before running the code, make sure to install the necessary libraries by executing the following command:
pip install -r requirements.txt
To reproduce all the experiments from the paper, run the following script:
./script.sh
Alternatively, you can execute individual experiments with the following command:
python3 bula_process/multiple_choice.py config/paper/right_questions/rag/mistral.yaml
RagPharma is distributed under the MIT License, which means you can use it for your projects, modify it, and even redistribute it, all subject to the terms of the license.
Please note that RagPharma is for informational purposes only and should not be considered a substitute for professional medical advice. Always consult with a healthcare professional for any medical concerns or decisions.