OPSIE_0_79_SP_Pastel / env.example
rosspeili's picture
Upload 17 files
719d15c verified
# =============================================================================
# OPSIIE 0.3.79 XP Pastel - Environment Configuration Example
# =============================================================================
# Copy this file to .env and fill in your actual values
# DO NOT commit your actual .env file to version control
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# PostgreSQL database settings
DB_NAME=mnemonic_computer
DB_USER=your_postgres_username
DB_PASSWORD=your_postgres_password
DB_HOST=localhost
DB_PORT=5432
# Memory agent database (optional, can use same as above)
MEMORY_DB_NAME=memory_agent
MEMORY_DB_USER=your_postgres_username
MEMORY_DB_PASSWORD=your_postgres_password
MEMORY_DB_HOST=localhost
MEMORY_DB_PORT=5432
# =============================================================================
# AI MODEL APIs
# =============================================================================
# OpenAI API (for advanced AI features)
OPENAI_API_KEY=sk-your_openai_api_key_here
# Google AI API (for Gemini models)
GOOGLE_API_KEY=your_google_api_key_here
# Hugging Face API (for model access)
HUGGINGFACE_API_KEY=hf_your_huggingface_token_here
# ElevenLabs API (for voice synthesis)
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
# =============================================================================
# AGENT IDs & CONFIGURATION
# =============================================================================
# Nyx Assistant ID (for agentic network)
NYX_ASSISTANT_ID=your_nyx_assistant_id_here
# G1 Voice Live ID
G1_VOICE_LIVE=your_g1_voice_live_id_here
# Kronos Live ID
KRONOS_LIVE=your_kronos_live_id_here
# =============================================================================
# VOICE CONFIGURATION
# =============================================================================
# Voice IDs for different agents
VOICE_ID=your_primary_voice_id_here
NYX_VOICE_ID=your_nyx_voice_id_here
G1_VOICE_ID=your_g1_voice_id_here
# Voice settings
VOICE_MODEL=eleven_monolingual_v1
VOICE_STABILITY=0.5
VOICE_SIMILARITY_BOOST=0.75
# =============================================================================
# WEB3 & BLOCKCHAIN CONFIGURATION
# =============================================================================
# Agent private key (KEEP THIS SECURE!)
AGENT_PRIVATE_KEY=your_private_key_here
# RPC URLs for different networks
BASE_RPC_URL=https://mainnet.base.org
ETHEREUM_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/your_alchemy_key
POLYGON_RPC_URL=https://polygon-rpc.com
# Alternative RPC providers
ALCHEMY_API_KEY=your_alchemy_api_key_here
INFURA_API_KEY=your_infura_api_key_here
# Blockchain explorer API keys
ETHERSCAN_API_KEY=your_etherscan_api_key_here
POLYGONSCAN_API_KEY=your_polygonscan_api_key_here
BASESCAN_API_KEY=your_basescan_api_key_here
# =============================================================================
# EMAIL CONFIGURATION
# =============================================================================
# SMTP settings for email functionality
SENDER_EMAIL=your_email@gmail.com
SENDER_PASSWORD=your_app_password_here
# SMTP server settings
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USE_TLS=True
# IMAP settings for email retrieval
IMAP_SERVER=imap.gmail.com
IMAP_PORT=993
IMAP_USE_SSL=True
# =============================================================================
# SCIENTIFIC APIs
# =============================================================================
# NCBI email (required for BLAST searches)
NCBI_EMAIL=your_email@example.com
# UniProt API (optional)
UNIPROT_API_KEY=your_uniprot_api_key_here
# =============================================================================
# FINANCIAL APIs
# =============================================================================
# Yahoo Finance (usually doesn't need API key)
YAHOO_FINANCE_API_KEY=optional_yahoo_finance_key
# Alpha Vantage (for advanced financial data)
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_key_here
# CoinGecko API (usually doesn't need API key)
COINGECKO_API_KEY=optional_coingecko_key
# =============================================================================
# SYSTEM CONFIGURATION
# =============================================================================
# Environment settings
ENVIRONMENT=development
DEBUG=True
LOG_LEVEL=INFO
# File paths
USER_PHOTOS_PATH=./user_photos/
GENERATED_CONTENT_PATH=./generated/
MODEL_CACHE_PATH=./models/
# Performance settings
MAX_CONCURRENT_REQUESTS=5
REQUEST_TIMEOUT=30
RATE_LIMIT_DELAY=1.0
# =============================================================================
# SECURITY SETTINGS
# =============================================================================
# Encryption keys (generate secure random keys)
ENCRYPTION_KEY=your_32_character_encryption_key_here
JWT_SECRET_KEY=your_jwt_secret_key_here
# Session settings
SESSION_TIMEOUT=3600
MAX_LOGIN_ATTEMPTS=3
LOCKOUT_DURATION=900
# =============================================================================
# AI MODEL SETTINGS
# =============================================================================
# Ollama settings
OLLAMA_HOST=http://localhost:11434
OLLAMA_MODEL=llama3
# Hugging Face settings
HF_CACHE_DIR=./.cache/huggingface/
HF_OFFLINE_MODE=False
# Generation parameters
DEFAULT_IMAGE_SIZE=1024x1024
DEFAULT_VIDEO_FRAMES=24
DEFAULT_MUSIC_DURATION=30
# =============================================================================
# MONITORING & ANALYTICS
# =============================================================================
# Optional: Analytics and monitoring
ENABLE_ANALYTICS=False
ANALYTICS_API_KEY=your_analytics_key_here
# Logging configuration
LOG_FILE_PATH=./logs/opsie.log
LOG_MAX_SIZE=10MB
LOG_BACKUP_COUNT=5
# =============================================================================
# DEVELOPMENT SETTINGS
# =============================================================================
# Development mode settings
DEV_MODE=True
SKIP_FACIAL_RECOGNITION=False
SKIP_VOICE_AUTH=False
# Testing settings
TEST_MODE=False
MOCK_APIS=False
# =============================================================================
# CUSTOM CONFIGURATION
# =============================================================================
# Add any custom environment variables below
CUSTOM_SETTING_1=value1
CUSTOM_SETTING_2=value2
# =============================================================================
# END OF ENVIRONMENT CONFIGURATION
# =============================================================================