File size: 1,757 Bytes
9c68ba6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d8c3b18
 
 
9c68ba6
d8c3b18
 
9c68ba6
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# --------------------------------------------------------------------
# ER-MAP local-secrets template
# --------------------------------------------------------------------
# 1. Copy this file to `.env` (in the repo root, NOT inside ER_MAP/).
# 2. Fill in your real keys.
# 3. `.env` is git-ignored — it will never be committed.
#
# Both `ER_MAP/dashboard.py` and `ER_MAP/evaluate_baseline.py` load
# `.env` automatically at import time. Values already exported in the
# shell take precedence (so `setx GROQ_NURSE_API_KEY ...` still works).
# --------------------------------------------------------------------

# --- Groq API keys (one per logical role) ---
# Get them at https://console.groq.com/keys
# A single key in GROQ_API_KEY also works as a fallback if any role-
# specific key is missing.
GROQ_DOCTOR_API_KEY=
GROQ_NURSE_API_KEY=
GROQ_PATIENT_API_KEY=
GROQ_EMPATHY_JUDGE_API_KEY=
GROQ_MEDICAL_JUDGE_API_KEY=
# Optional shared fallback key
GROQ_API_KEY=

# --- Per-role models (override the in-code defaults if you want) ---
# Traffic-shaping: high-volume roleplay agents (Doctor/Nurse/Patient) on
# the 8B pool (500K TPD); only the two judges hit the smaller 70B pool
# (100K TPD) because their grading quality directly shapes the reward.
ERMAP_DOCTOR_MODEL=llama-3.1-8b-instant
ERMAP_NURSE_MODEL=llama-3.1-8b-instant
ERMAP_PATIENT_MODEL=llama-3.1-8b-instant
ERMAP_EMPATHY_JUDGE_MODEL=llama-3.3-70b-versatile
ERMAP_MEDICAL_JUDGE_MODEL=llama-3.3-70b-versatile

# --- ElevenLabs (UI voice) ---
# Get a key at https://elevenlabs.io/app/settings/api-keys
ELEVENLABS_API_KEY=

# --- Optional: Hugging Face Hub (for Kaggle checkpoint pushing) ---
# Only needed when training on Kaggle.
HF_TOKEN=

# --- Optional: Weights & Biases ---
WANDB_API_KEY=