Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1016 Bytes

README.md

File metadata and controls

43 lines (24 loc) · 1016 Bytes

Optimizing RAG Models for Enterprise-Grade Accuracy: Advanced Techniques and Best Practices

Advanced RAG practices.

Setup Instructions

Python 3.10.2

Create a Virtual Environment

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.

Install Requirements

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.

Debug

error with the installing the pytrec_eval for general pip install pytrec_eval

for mac cvangysel/pytrec_eval#20