workspace-v1/projects/trading-platform/apps/llm-agent/.env.example
rckrdmrd 66161b1566 feat: Workspace-v1 complete migration with NEXUS v3.4
Sistema NEXUS v3.4 migrado con:

Estructura principal:
- core/orchestration: Sistema SIMCO + CAPVED (27 directivas, 28 perfiles)
- core/catalog: Catalogo de funcionalidades reutilizables
- shared/knowledge-base: Base de conocimiento compartida
- devtools/scripts: Herramientas de desarrollo
- control-plane/registries: Control de servicios y CI/CD
- orchestration/: Configuracion de orquestacion de agentes

Proyectos incluidos (11):
- gamilit (submodule -> GitHub)
- trading-platform (OrbiquanTIA)
- erp-suite con 5 verticales:
  - erp-core, construccion, vidrio-templado
  - mecanicas-diesel, retail, clinicas
- betting-analytics
- inmobiliaria-analytics
- platform_marketing_content
- pos-micro, erp-basico

Configuracion:
- .gitignore completo para Node.js/Python/Docker
- gamilit como submodule (git@github.com:rckrdmrd/gamilit-workspace.git)
- Sistema de puertos estandarizado (3005-3199)

Generated with NEXUS v3.4 Migration System
EPIC-010: Configuracion Git y Repositorios
2026-01-04 03:37:42 -06:00

71 lines
1.8 KiB
Plaintext

# LLM Agent Service Configuration
# OrbiQuant IA Trading Platform
# Service Configuration
SERVICE_NAME=llm-agent
ENVIRONMENT=development
DEBUG=true
# API Configuration
API_HOST=0.0.0.0
API_PORT=3085
# LLM Provider Configuration
# Options: ollama (local GPU), claude (cloud), openai (cloud)
LLM_PROVIDER=ollama
# Ollama Configuration (for local GPU inference)
OLLAMA_BASE_URL=http://localhost:11434
LLM_MODEL=llama3:8b
# Available models: llama3:8b, llama3:70b, mistral:7b, mixtral:8x7b
# Anthropic/Claude Configuration (optional fallback)
# ANTHROPIC_API_KEY=your_anthropic_api_key_here
CLAUDE_MODEL=claude-3-5-sonnet-20241022
# LLM Generation Settings
MAX_TOKENS=2048
TEMPERATURE=0.7
# Service URLs
BACKEND_URL=http://localhost:3081
DATA_SERVICE_URL=http://localhost:3084
ML_ENGINE_URL=http://localhost:3083
# Database Configuration
DATABASE_URL=postgresql://orbiquant:your_password@localhost:5432/orbiquant_trading
DATABASE_POOL_SIZE=10
DATABASE_MAX_OVERFLOW=20
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
REDIS_CACHE_TTL=3600
# Vector DB Configuration (ChromaDB)
CHROMA_PERSIST_DIRECTORY=./chroma_db
CHROMA_COLLECTION_NAME=trading_knowledge
# Logging Configuration
LOG_LEVEL=INFO
LOG_FORMAT=json
# RAG Configuration
ENABLE_RAG=true
EMBEDDING_MODEL=text-embedding-3-small
MAX_CONTEXT_DOCUMENTS=5
# ============================================
# MT4/MetaAPI Configuration
# Get your token at: https://metaapi.cloud
# ============================================
METAAPI_TOKEN=
METAAPI_ACCOUNT_ID=
# ============================================
# Auto-Trading Configuration
# ============================================
AUTO_TRADE_CHECK_INTERVAL=5
AUTO_TRADE_MIN_CONFIDENCE=0.7
AUTO_TRADE_MAX_RISK_PERCENT=1.0
AUTO_TRADE_PAPER_MODE=true