Advanced RAG practices.
Python 3.10.2
To create a virtual environment, run the following command:
python -m venv myenv
This will create a new virtual environment named myenv in your current directory.
Activate the Virtual Environment To activate the virtual environment, run the following command:
source myenv/bin/activate
On Windows, use the following command:
myenv\Scripts\activate
You should now see the name of the virtual environment printed on your command line, indicating that it is active.
To install the required packages, run the following command:
pip install -r requirements.txt
This will install all the packages listed in the requirements.txt file.
error with the installing the pytrec_eval
for general
pip install pytrec_eval
for mac cvangysel/pytrec_eval#20