Spaces:
Sleeping
Sleeping
Commit ·
890cea5
0
Parent(s):
chore: add .env.example with all required environment variables
Browse files- .env.example +19 -0
.env.example
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copy this to .env and fill in your values
|
| 2 |
+
# Never commit .env to git
|
| 3 |
+
|
| 4 |
+
# HuggingFace
|
| 5 |
+
HF_TOKEN=hf_your_token_here
|
| 6 |
+
API_BASE_URL=https://api-inference.huggingface.co/models
|
| 7 |
+
MODEL_NAME=mistralai/Mistral-7B-Instruct-v0.3
|
| 8 |
+
|
| 9 |
+
# Anthropic (used by P3's attack classifier as fallback)
|
| 10 |
+
ANTHROPIC_API_KEY=sk-ant-your_key_here
|
| 11 |
+
|
| 12 |
+
# Server
|
| 13 |
+
MAX_TURNS=10
|
| 14 |
+
DEBUG=false
|
| 15 |
+
DEFAULT_LLM_PROVIDER=huggingface
|
| 16 |
+
|
| 17 |
+
# Timeouts
|
| 18 |
+
LLM_TIMEOUT=30
|
| 19 |
+
LLM_MAX_RETRIES=3
|