# AI Service Default Configuration # Pattern: 3-Layer Config (flat notation + | default) let ai_schema = import "../ai-service.ncl" in let base_ai_service = { # Server Configuration server.host | default = "127.0.0.1", server.port | default = 9092, server.workers | default = 4, # RAG Integration rag.enabled | default = false, rag.rag_service_url | default = "http://localhost:9092", rag.timeout | default = 30000, # MCP Integration mcp.enabled | default = false, mcp.mcp_service_url | default = "http://localhost:3000", mcp.timeout | default = 30000, # DAG Workflow Configuration dag.max_concurrent_tasks | default = 3, dag.task_timeout | default = 300000, dag.retry_attempts | default = 3, # Monitoring Configuration monitoring.enabled | default = false, # Logging Configuration logging.level | default = "info", # Docker Build Configuration (no | default to override schema) build.package = "ai-service", build.binary = "provisioning-ai-service", build.port = 9092, build.features = [], build.extra_runtime_pkgs = [], } in { # Base configuration with all defaults ai_service = base_ai_service | ai_schema.AiServiceConfig, }