# AI Service Schema
# AI model integration with RAG and MCP services

{
  AiServiceConfig = {
    server | {
      host | String,
      port | Number,
      workers | Number | optional,
    },

    rag | {
      enabled | Bool,
      rag_service_url | String | optional,
      timeout | Number | optional,
    },

    mcp | {
      enabled | Bool,
      mcp_service_url | String | optional,
      timeout | Number | optional,
    },

    dag | {
      max_concurrent_tasks | Number | optional,
      task_timeout | Number | optional,
      retry_attempts | Number | optional,
    },

    monitoring | {
      enabled | Bool | default = false,
    } | optional,

    logging | {
      level | String | default = "info",
    } | optional,
  },
}
