Platform Marketing Content: - Add PaginationParams, PaginationMeta, PaginatedResponse interfaces - Fix JwtAuthGuard import paths (common/guards instead of modules/auth) - Add missing fields to CRM interfaces (address, keywords, features, benefits) - Install @nestjs/throttler dependency ERP Suite - Construccion: - Create tsconfig.node.json for web frontend - Add vite-env.d.ts for Vite types - Fix implicit return errors in Express controllers - Prefix unused parameters with underscore ERP Suite - ERP Core: - Export PoolClient type from database config - Fix invoice type comparison (customer/supplier vs out_invoice) - Refactor base.service.ts query handling for proper type inference - Rename Role type to RoleType to avoid conflict with entity - Fix ProtectedRoute to use role?.name instead of roles array ERP Suite - POS Micro: - Add vite-env.d.ts for Vite types - Fix Sale property names (discountAmount, changeAmount) - Export TodaySummary interface from sales service All projects now pass npm install and npm run build successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
56 lines
1.3 KiB
Plaintext
56 lines
1.3 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
|