Skip to content

unizhu/Azure-OpenAI-Reranker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure OpenAI API ReRank vs Colbert Rerank

Introduction

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

Sample Screenshots

sample

References

rag-reranking-gpt-colbert.ipynb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages