-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (53 loc) · 2.02 KB
/
.env.example
File metadata and controls
68 lines (53 loc) · 2.02 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# RED_CORE Environment Configuration
# Copy this file to .env and fill in your API keys
# ===== REQUIRED API KEYS =====
# OpenAI API key (for GPT models)
OPENAI_API_KEY=your_openai_api_key_here
# Anthropic API key (for Claude models)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Google API key (for Gemini models)
GOOGLE_API_KEY=your_google_api_key_here
# ===== OPTIONAL API KEYS (Additional Providers) =====
# XAI API key (for Grok models - uncensored approach)
XAI_API_KEY=your_xai_api_key_here
# DeepSeek API key (for Chinese AI models with strong coding)
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# Mistral AI API key (for European AI models with function calling)
MISTRAL_API_KEY=your_mistral_api_key_here
# Cohere API key (for enterprise RAG models)
COHERE_API_KEY=your_cohere_api_key_here
# Together AI API key (for latest open models)
TOGETHER_API_KEY=your_together_api_key_here
# ===== OPTIONAL CONFIGURATION =====
# Default experiment settings
DEFAULT_TEMPERATURE=0.7
DEFAULT_MODE=audit
DEFAULT_EXPERIMENT_CODE=RRS
# Drift analysis thresholds
DRIFT_SCORE_THRESHOLD=0.7
DRIFT_SPIKE_COUNT_THRESHOLD=2
DRIFT_ANALYSIS_THRESHOLD=0.20
# Local model settings (if using llama.cpp)
LOCAL_MODEL_PATH=/path/to/your/local/model.gguf
DEFAULT_CONTEXT_SIZE=4096
DEFAULT_GPU_LAYERS=0
DEFAULT_LLAMA_VERBOSE=false
# Logging configuration
ENABLE_LOG_HASHING=true
LOG_DIR=experiments/guardrail_decay/logs/
# ===== GETTING API KEYS =====
# Required providers:
# OpenAI: https://platform.openai.com/api-keys
# Anthropic: https://console.anthropic.com/
# Google: https://ai.google.dev/pricing
# Optional providers (for diverse AI perspectives):
# XAI: https://console.x.ai/
# DeepSeek: https://platform.deepseek.com/
# Mistral: https://console.mistral.ai/
# Cohere: https://dashboard.cohere.ai/
# Together AI: https://api.together.xyz/
# ===== SECURITY NOTES =====
# - Never commit .env files to version control
# - Keep API keys secure and rotate them regularly
# - Use separate keys for development vs production
# - Monitor your usage and set billing limits