2026-01-08 09:55:37 +00:00
|
|
|
# AI Service Schema
|
|
|
|
|
# AI model integration with RAG and MCP services
|
|
|
|
|
|
2026-05-12 02:23:01 +01:00
|
|
|
let constraints = import "schemas/platform/common/constraints.ncl" in
|
|
|
|
|
let docker_build_schema = import "schemas/platform/docker-build.ncl" in
|
|
|
|
|
|
2026-01-08 09:55:37 +00:00
|
|
|
{
|
|
|
|
|
AiServiceConfig = {
|
|
|
|
|
server | {
|
|
|
|
|
host | String,
|
2026-05-12 02:23:01 +01:00
|
|
|
port | Number | constraints.port_high,
|
2026-01-08 09:55:37 +00:00
|
|
|
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,
|
2026-05-12 02:23:01 +01:00
|
|
|
|
|
|
|
|
# Docker build configuration
|
|
|
|
|
build | docker_build_schema.DockerBuildConfig | optional,
|
2026-01-08 09:55:37 +00:00
|
|
|
},
|
|
|
|
|
}
|