Skip to content

Commit 9903410

Browse files
committed
better understandability of azure keys setup for catalog generation in readme
1 parent b253f2e commit 9903410

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.env.example

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ EVALUATION_RUN_ASYNC=True
1414
EVALUATION_SHOW_INDICATOR=True
1515
EVALUATION_PARALLEL_TEST_CASES=1
1616

17-
AZURE_OPENAI_API_VERSION=
18-
AZURE_OPENAI_ENDPOINT=
19-
AZURE_OPENAI_API_KEY=
20-
AZURE_OPENAI_DEPLOYMENT=
21-
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=
17+
# required for catalog generation
18+
AZURE_OPENAI_ENDPOINT=CHANGEME
19+
AZURE_OPENAI_API_KEY=CHANGE
20+
AZURE_OPENAI_API_VERSION=2024-02-01
21+
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-large
22+
23+
# only for cli relevant
2224
AZURE_OPENAI_CHAT_DEPLOYMENT=
2325

2426
# change if you are using external services

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To run LLM-Eval locally (for evaluation and usage, not development), use our pre
7979
**Required:**
8080

8181
- Generate the encryption keys set to `CHANGEME` with the respective commands commented next to them in `.env`
82-
- Don't forget to set azure openai keys and the `AZURE_OPENAI_EMBEDDING_DEPLOYMENT=`
82+
- Don't forget to set azure openai keys and the `AZURE_OPENAI_EMBEDDING_DEPLOYMENT=`, without these the catalog generation will fail.
8383

8484
3. **Enable host networking in docker desktop (for macos users):**
8585

0 commit comments

Comments
 (0)