Skip to content

Commit

Permalink
load API_TYPE etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkiyomaru committed Feb 9, 2024
1 parent 724d208 commit cda14bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llm_judge/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
load_dotenv()
openai.api_key = os.getenv("OPENAI_API_KEY")
openai.organization = os.getenv("OPENAI_ORGANIZATION")
openai.api_type = os.getenv("OPENAI_API_TYPE")
openai.api_base = os.getenv("OPENAI_API_BASE")
openai.api_version = os.getenv("OPENAI_API_VERSION")

# Data paths
JP_BENCH_DIR = Path(__file__).resolve().parent.parent / "data" / "jp_bench"
Expand Down

0 comments on commit cda14bd

Please sign in to comment.