| # Copy this file to .env and edit as needed. | |
| # You do NOT have to create .env — the app runs without it (see RUN_LOCALLY.md). | |
| # ---------- Required for local dev (no Hugging Face login) ---------- | |
| # Sets your "username" so data is stored under data/users/<MOCK_USER>/ | |
| MOCK_USER=localuser | |
| # ---------- Required for artifact generation (report, quiz, podcast transcript) ---------- | |
| # Get a key at https://aistudio.google.com/apikey | |
| # GEMINI_API_KEY=your_gemini_api_key_here | |
| # GEMINI_MODEL=gemini-1.5-flash | |
| # ---------- Optional: Hugging Face (better RAG + LLM for chat) ---------- | |
| # Get a token at https://huggingface.co/settings/tokens | |
| # HF_TOKEN= | |
| # ---------- Optional: Override models ---------- | |
| # HF_LLM_MODEL=HuggingFaceH4/zephyr-7b-beta | |
| # HF_EMBED_MODEL=sentence-transformers/all-MiniLM-L6-v2 | |
| # HF_TTS_MODEL= | |
| # ---------- Optional: RAG tuning ---------- | |
| # CHUNK_SIZE=1000 | |
| # CHUNK_OVERLAP=200 | |
| # TOP_K=5 | |
| # MMR_LAMBDA=0.7 | |
| # ---------- Optional: Where to store data ---------- | |
| # DATA_ROOT=data | |