File size: 6,900 Bytes
719d15c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# =============================================================================
# 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
# =============================================================================