generated from camel.apache.org/component
163 lines
5.3 KiB
JSON
163 lines
5.3 KiB
JSON
{
|
|
"component": {
|
|
"kind": "component",
|
|
"name": "kserve",
|
|
"title": "KServe",
|
|
"description": "Provide access to AI model servers with the KServe standard to run inference with remote models",
|
|
"deprecated": false,
|
|
"firstVersion": "4.10.0",
|
|
"label": "ai",
|
|
"javaType": "org.apache.camel.component.kserve.KServeComponent",
|
|
"supportLevel": "Preview",
|
|
"groupId": "org.apache.camel",
|
|
"artifactId": "camel-kserve",
|
|
"version": "4.10.2",
|
|
"scheme": "kserve",
|
|
"extendsScheme": "",
|
|
"syntax": "kserve:api",
|
|
"async": false,
|
|
"api": false,
|
|
"consumerOnly": false,
|
|
"producerOnly": true,
|
|
"lenientProperties": false,
|
|
"browsable": false,
|
|
"remote": true
|
|
},
|
|
"headers": {
|
|
"CamelKServeModelName": {
|
|
"index": 0,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The name of the model used for inference.",
|
|
"constantName": "org.apache.camel.component.kserve.KServeConstants#MODEL_NAME"
|
|
},
|
|
"CamelKServeModelVersion": {
|
|
"index": 1,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The version of the model used for inference.",
|
|
"constantName": "org.apache.camel.component.kserve.KServeConstants#MODEL_VERSION"
|
|
}
|
|
},
|
|
"properties": {
|
|
"api": {
|
|
"index": 0,
|
|
"kind": "path",
|
|
"displayName": "Api",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"infer",
|
|
"model/ready",
|
|
"model/metadata",
|
|
"server/ready",
|
|
"server/live",
|
|
"server/metadata"
|
|
],
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The KServe API"
|
|
},
|
|
"modelName": {
|
|
"index": 1,
|
|
"kind": "parameter",
|
|
"displayName": "Model Name",
|
|
"group": "common",
|
|
"label": "common",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.kserve.KServeConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The name of the model used for inference."
|
|
},
|
|
"modelVersion": {
|
|
"index": 2,
|
|
"kind": "parameter",
|
|
"displayName": "Model Version",
|
|
"group": "common",
|
|
"label": "common",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.kserve.KServeConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The version of the model used for inference."
|
|
},
|
|
"target": {
|
|
"index": 3,
|
|
"kind": "parameter",
|
|
"displayName": "Target",
|
|
"group": "common",
|
|
"label": "common",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "localhost:8001",
|
|
"configurationClass": "org.apache.camel.component.kserve.KServeConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The target URI of the client. See: https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder%28java.lang.String,io.grpc.ChannelCredentials%29"
|
|
},
|
|
"lazyStartProducer": {
|
|
"index": 4,
|
|
"kind": "parameter",
|
|
"displayName": "Lazy Start Producer",
|
|
"group": "producer (advanced)",
|
|
"label": "producer,advanced",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
|
},
|
|
"credentials": {
|
|
"index": 5,
|
|
"kind": "parameter",
|
|
"displayName": "Credentials",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "io.grpc.ChannelCredentials",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.kserve.KServeConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The credentials of the client."
|
|
}
|
|
}
|
|
} |