Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.16] [ML] Changes inference processor description (#197645) #197788

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -571,7 +571,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