Sales Trainer v0.1: corporate sales-training simulator (Flask+Vue, 15 personas, chat simulator, judge, analytics)
- Auth/roles (no self-reg), admin user provision, JWT - Analyze: sales kit + initial pain-fit from form/upload - Persona generator: 15 personas (5/tier) w/ pain variety, negotiation, init mode, channel, latent/revealable, wrong_text special - Chat simulator: per-mode initiation, one-shot, hidden signals, judge-LLM debrief+coaching - Trainee loop: win/lose board, weak-areas, user-generated personas - Admin analytics; EN+TH Vue SPA served by Flask - Deploy: Dockerfile, docker-compose, README, eng-log + HANDOFF - Tests (mock LLM): m0/m1/routes/e2e all pass
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# ===== Sales Trainer configuration =====
|
||||
# Copy to .env for docker-compose / deployment.
|
||||
|
||||
# --- LLM (OpenAI / DeepSeek / any OpenAI-compatible) ---
|
||||
# provider: deepseek | openai | custom (custom => set LLM_BASE_URL + LLM_MODEL_NAME)
|
||||
LLM_PROVIDER=deepseek
|
||||
LLM_BASE_URL=
|
||||
LLM_MODEL_NAME=deepseek-chat
|
||||
LLM_API_KEY=replace_me
|
||||
|
||||
# --- Auth ---
|
||||
# REQUIRED: use a long random value in production
|
||||
JWT_SECRET=change_this_secret_to_a_long_random_string
|
||||
JWT_EXPIRES_HOURS=24
|
||||
|
||||
# --- Runtime ---
|
||||
FLASK_HOST=0.0.0.0
|
||||
FLASK_PORT=5001
|
||||
FLASK_DEBUG=0
|
||||
DATA_DIR=./data
|
||||
UPLOAD_MAX_MB=15
|
||||
Reference in New Issue
Block a user