Ensure you have python 3.8
installed.
pip install -r requirements.txt
- Create
.env
file containing your OpenAI secret key as followsOPENAI_API_KEY=
- Download the intent embeddings to use
classify_intent.py
- Download the following models and place them in the mentioned folder:
- models/search
- models/defect
- models/refine
- Rename the defect and refine models as
pytorch_model.bin
- Download the CommitBERT weights folder, place it in
./commit_bert
, and rename it asweight
in root folder:
`python main.py`