1.Clone this repo.
2.Change the values in the .env
file to your own values.
mv .env.example .env
3.Install dependencies using the following command:
conda create -c conda-forge -n azure-openai-reranker python streamlit langchain chromadb transformers torch langchain-chroma langchain-community pypdf langchain-openai python-dotenv tiktoken
4.For MacOS, you may use the following command:
conda install pytorch torchvision torchaudio -c pytorch-nightly
5.Run the App
conda activate azure-openai-reranker
streamlit run app.py