该文档涉及的组件

    部署Pipeline模型(DeployPipelineModelBatchOp)

    Java 类名:org.alinklab.operator.batch.sink.DeployPipelineModelBatchOp

    Python 类名:DeployPipelineModelBatchOp

    功能介绍

    部署Pipeline模型

    参数说明

    名称 中文名称 描述 类型 是否必须? 取值范围 默认值
    myLabPredictionName 预测服务名称 预测服务名称 String
    inputConfigJson 输入数据列的详细配置 输入数据列的详细配置 String null
    inputSchemaStr 输入数据的Schema 输入数据的Schema。格式为“colname coltype[, colname2, coltype2[, …]]”,例如“f0 string, f1 bigint, f2 double” String null
    modelFilePath 模型的文件路径 模型的文件路径 String null
    overwriteSink 是否覆写已有数据 是否覆写已有数据 Boolean false
    singleOutputColFormat 预测输出的单独数据列格式 预测输出的单独数据列格式 PredOutputColFormat JSON_UTF8, HTML_UTF8, TEXT_UTF8, BYTE_ARRAY, IMAGE_PNG, IMAGE_JPEG, AUDIO_MP3, AUDIO_WAV, AUDIO_AAC null
    singleOutputColName 预测输出的单独数据列名称 预测输出的单独数据列名称 String null

    代码示例

    Java 代码