-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
104 lines (81 loc) · 3.19 KB
/
Copy path.env.example
File metadata and controls
104 lines (81 loc) · 3.19 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# =============================================================================
# Agentic Reliability Framework - Environment Configuration
# v3: Added RAG Graph, MCP Server, and Learning Loop features
# =============================================================================
# === Hugging Face API Configuration ===
HF_API_KEY=your_huggingface_api_key_here
HF_API_URL=https://router.huggingface.co/hf-inference/v1/completions
# === System Configuration ===
MAX_EVENTS_STORED=1000
FAISS_BATCH_SIZE=10
FAISS_SAVE_INTERVAL_SECONDS=30
VECTOR_DIM=384
# === Business Metrics ===
BASE_REVENUE_PER_MINUTE=100.0
BASE_USERS=1000
# === Rate Limiting ===
MAX_REQUESTS_PER_MINUTE=60
MAX_REQUESTS_PER_HOUR=500
# === Logging ===
LOG_LEVEL=INFO
# === Thresholds ===
LATENCY_WARNING=150.0
LATENCY_CRITICAL=300.0
LATENCY_EXTREME=500.0
# =============================================================================
# v3 RAG Graph Features (Phase 1: RAG Graph Foundation)
# =============================================================================
# Enable RAG Graph for historical incident retrieval
RAG_ENABLED=false
# RAG Graph configuration
RAG_SIMILARITY_THRESHOLD=0.3
RAG_MAX_INCIDENT_NODES=1000
RAG_MAX_OUTCOME_NODES=5000
RAG_CACHE_SIZE=100
# =============================================================================
# v3 MCP Server Features (Phase 2: Execution Boundary)
# =============================================================================
# MCP Server execution mode: advisory, approval, or autonomous
MCP_MODE=advisory
# Enable MCP Server for execution boundaries
MCP_ENABLED=false
# MCP Server network configuration
MCP_HOST=localhost
MCP_PORT=8000
# =============================================================================
# v3 Learning Loop Features (Phase 3: Continuous Improvement)
# =============================================================================
# Enable learning from historical outcomes
LEARNING_ENABLED=false
# Minimum data points before applying learned patterns
LEARNING_MIN_DATA_POINTS=10
# =============================================================================
# Performance & Demo Configuration
# =============================================================================
# Agent timeout in seconds
AGENT_TIMEOUT_SECONDS=5
# Cache expiry time in minutes
CACHE_EXPIRY_MINUTES=15
# Enable demo mode with pre-configured scenarios
DEMO_MODE=false
# =============================================================================
# Error Rate Thresholds
# =============================================================================
ERROR_RATE_WARNING=0.05
ERROR_RATE_HIGH=0.15
ERROR_RATE_CRITICAL=0.30
# =============================================================================
# Resource Utilization Thresholds
# =============================================================================
CPU_WARNING=0.8
CPU_CRITICAL=0.9
MEMORY_WARNING=0.8
MEMORY_CRITICAL=0.9
# =============================================================================
# Forecasting Constants
# =============================================================================
SLOPE_THRESHOLD_INCREASING=5.0
SLOPE_THRESHOLD_DECREASING=-2.0
FORECAST_MIN_DATA_POINTS=5
FORECAST_LOOKAHEAD_MINUTES=15
HISTORY_WINDOW=50