Spaces:
Running
Running
File size: 3,545 Bytes
18efc55 88e835f 18efc55 1670330 |
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 |
# AgentGraph Environment Configuration Template
# Copy this file to .env and fill in your actual values
# =============================================================================
# π REQUIRED CONFIGURATION
# =============================================================================
# OpenAI API Configuration (REQUIRED for knowledge extraction)
OPENAI_API_KEY=sk-your-openai-api-key-here
OPENAI_MODEL_NAME=gpt-5-mini
# =============================================================================
# π§ OPTIONAL CONFIGURATION
# =============================================================================
# Azure OpenAI Configuration (Alternative to OpenAI)
# Uncomment and configure if using Azure OpenAI instead
# AZURE_API_KEY=your-azure-api-key
# AZURE_API_BASE=https://your-resource.openai.azure.com/
# AZURE_API_VERSION=2023-12-01-preview
# Anthropic Configuration (Optional)
# ANTHROPIC_API_KEY=your-anthropic-api-key
# =============================================================================
# π AI OBSERVABILITY PLATFORMS
# =============================================================================
# Langfuse Configuration (Optional - for AI monitoring)
# LANGFUSE_PUBLIC_KEY=pk_lf_your-public-key
# LANGFUSE_SECRET_KEY=sk_lf_your-secret-key
# LANGFUSE_HOST=https://cloud.langfuse.com
# LangSmith Configuration (Optional - for trace monitoring)
# LANGSMITH_API_KEY=your-langsmith-api-key
# LANGSMITH_PROJECT=your-project-name
# =============================================================================
# ποΈ DATABASE CONFIGURATION
# =============================================================================
# Database URI (SQLite by default, can use PostgreSQL/MySQL)
DB_URI=sqlite:///agent_monitoring.db
# PostgreSQL Example:
# DB_URI=postgresql://username:password@localhost:5432/agentgraph
# MySQL Example:
# DB_URI=mysql://username:password@localhost:3306/agentgraph
# =============================================================================
# π SERVER CONFIGURATION
# =============================================================================
# Server Settings
HOST=0.0.0.0
PORT=7860
LOG_LEVEL=INFO
# Python Path (usually set automatically)
PYTHONPATH=/app
# =============================================================================
# π SECURITY CONFIGURATION
# =============================================================================
# Encryption key for storing sensitive data (auto-generated if not set)
# ENCRYPTION_KEY=your-32-character-encryption-key
# =============================================================================
# π§ͺ DEVELOPMENT CONFIGURATION
# =============================================================================
# Development mode settings
# DEBUG=false
# RELOAD=false
# =============================================================================
# π PERFORMANCE CONFIGURATION
# =============================================================================
# Processing settings
# MAX_WORKERS=4
# BATCH_SIZE=10
# TIMEOUT_SECONDS=300
# =============================================================================
# π HUGGING FACE SPACES CONFIGURATION
# =============================================================================
# If deploying to Hugging Face Spaces, these are automatically set:
# SPACE_ID=your-username/space-name
# SPACE_HOST=https://your-username-space-name.hf.space
# Session Security (Optional - auto-generated if not set)
# SESSION_SECRET_KEY=your-secure-random-string-here
|