Spaces:
Sleeping
Sleeping
| # -------------------------------------------------------------------- | |
| # 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= | |