castorini / rank_llm

Repository for prompt-decoding using LLMs (GPT3.5, GPT4, Vicuna, and Zephyr)
http://rankllm.ai
Apache License 2.0
273 stars 35 forks source link

Fix loading api keys #83

Closed sahel-sh closed 5 months ago

sahel-sh commented 5 months ago

This cl:

1- takes api key into its own module 2- changes the rank_gpt demo and retrieve_and_rerank modules to use this new module