Skip to content

Commit

Permalink
[ML] Changes inference processor description (#197645)
Browse files Browse the repository at this point in the history
Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
szabosteve and kibanamachine authored Oct 25, 2024
1 parent 6e3bf77 commit 27a98aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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.',
}
)
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 27a98aa

Please sign in to comment.