Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 357 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 357 Bytes

an unofficial implementation of paper "Query Rewriting via Large Language Models"

  1. pip install -r requirement.txt
  2. pealse download longformer in huggenface to enable the embedding moodule.(using download.py in prepare file)
  3. set the databse configuration in postgres.json/mysql.json in config_file
  4. set the openai api key in pipeline_module/gpt.py