[ML] Changes inference processor description (#197645)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
István Zoltán Szabó 2024-10-25 11:56:45 +02:00 committed by GitHub
parent 6e3bf7775e
commit 27a98aa9c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -56,13 +56,14 @@ const fieldsConfig: FieldsConfig = {
model_id: {
type: FIELD_TYPES.TEXT,
label: i18n.translate('xpack.ingestPipelines.pipelineEditor.inferenceForm.modelIDFieldLabel', {
defaultMessage: 'Model ID',
defaultMessage: 'Deployment, inference, or model ID',
}),
deserializer: String,
helpText: i18n.translate(
'xpack.ingestPipelines.pipelineEditor.inferenceForm.modelIDFieldHelpText',
{
defaultMessage: 'ID of the model to infer against.',
defaultMessage:
'ID of the deployment, the inference endpoint, or the model to infer against.',
}
),
validations: [
@ -71,7 +72,7 @@ const fieldsConfig: FieldsConfig = {
i18n.translate(
'xpack.ingestPipelines.pipelineEditor.inferenceForm.patternRequiredError',
{
defaultMessage: 'A model ID value is required.',
defaultMessage: 'A deployment, an inference, or a model ID value is required.',
}
)
),

View file

@ -572,7 +572,8 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = {
defaultMessage: 'Inference',
}),
typeDescription: i18n.translate('xpack.ingestPipelines.processors.description.inference', {
defaultMessage: 'Uses a trained model to infer against incoming data.',
defaultMessage:
'Uses an inference endpoint or a trained model to infer against incoming data.',
}),
getDefaultDescription: ({
model_id: modelId,