Skip to content

Commit ae7a075

Browse files
committed
readme updated for setting up .env
1 parent 76eebe1 commit ae7a075

File tree

2 files changed

+25
-20
lines changed

2 files changed

+25
-20
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ AZURE_OPENAI_API_VERSION=
1818
AZURE_OPENAI_ENDPOINT=
1919
AZURE_OPENAI_API_KEY=
2020
AZURE_OPENAI_DEPLOYMENT=
21+
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=
22+
AZURE_OPENAI_CHAT_DEPLOYMENT=
2123

2224
# container variables
2325
KEYCLOAK_HOST=keycloak

README.md

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ A flexible, extensible, and reproducible framework for evaluating LLM workflows,
4747

4848
LLM-Eval is an open-source toolkit designed to evaluate large language model workflows, applications, retrieval-augmented generation pipelines, and standalone models. Whether you're developing a conversational agent, a summarization service, or a RAG-based search tool, LLM-Eval provides a clear, reproducible framework to test and compare performance across providers, metrics, and datasets.
4949

50-
*Key benefits include:* end-to-end evaluation of real-world applications, reproducible reports, and an extensible platform for custom metrics and datasets.
50+
_Key benefits include:_ end-to-end evaluation of real-world applications, reproducible reports, and an extensible platform for custom metrics and datasets.
5151

5252
## Getting Started
5353

@@ -76,11 +76,14 @@ To run LLM-Eval locally (for evaluation and usage, not development), use our pre
7676
# Edit .env to add your API keys and secrets as needed
7777
```
7878

79-
**Required:** Generate the encryption keys set to `CHANGEME` with the respective commands commented next to them in `.env`
79+
**Required:**
80+
81+
- 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=`
8083

8184
3. **Enable host networking in docker desktop (for macos users):**
8285

83-
Go to `Settings -> Resources -> Network` and check `Enable host networking`, without this step on macos, the frontend wouldn't be reachable on localhost.
86+
Go to `Settings -> Resources -> Network` and check `Enable host networking`, without this step on macos, the frontend wouldn't be reachable on localhost.
8487

8588
4. **Start the stack:**
8689

@@ -93,9 +96,9 @@ To run LLM-Eval locally (for evaluation and usage, not development), use our pre
9396
- Web UI: [http://localhost:3000](http://localhost:3000) (Default login: `username`:`password`)
9497
- API: [http://localhost:8070/docs](http://localhost:8070/docs)
9598

96-
8. **Login using default user**:
99+
6. **Login using default user**:
97100

98-
Default user for llmeval username: `username`, password: `password`.
101+
Default user for llmeval username: `username`, password: `password`.
99102

100103
To stop the app:
101104

@@ -145,23 +148,23 @@ poetry self add poetry-plugin-shell
145148

146149
3. **Comment the following in .env**
147150

148-
from
151+
from
149152

150-
```bash
151-
# container variables
152-
KEYCLOAK_HOST=keycloak
153-
CELERY_BROKER_HOST=rabbit-mq
154-
PG_HOST=eval-db
155-
```
153+
```bash
154+
# container variables
155+
KEYCLOAK_HOST=keycloak
156+
CELERY_BROKER_HOST=rabbit-mq
157+
PG_HOST=eval-db
158+
```
156159

157-
to
160+
to
158161

159-
```bash
160-
# container variables
161-
# KEYCLOAK_HOST=keycloak
162-
# CELERY_BROKER_HOST=rabbit-mq
163-
# PG_HOST=eval-db
164-
```
162+
```bash
163+
# container variables
164+
# KEYCLOAK_HOST=keycloak
165+
# CELERY_BROKER_HOST=rabbit-mq
166+
# PG_HOST=eval-db
167+
```
165168

166169
4. **Start databases and other services:**
167170

@@ -193,7 +196,7 @@ poetry self add poetry-plugin-shell
193196

194197
8. **Login using default user**:
195198

196-
Default user for llmeval username: `username`, password: `password`.
199+
Default user for llmeval username: `username`, password: `password`.
197200

198201
#### Keycloak Setup (Optional if you want to override defaults)
199202

0 commit comments

Comments
 (0)