Skip to content

Commit

Permalink
[8.16] [ML] Changes inference processor description (elastic#197645) (e…
Browse files Browse the repository at this point in the history
…lastic#197788)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Changes inference processor description
(elastic#197645)](elastic#197645)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-25T09:56:45Z","message":"[ML]
Changes inference processor description (elastic#197645)\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"27a98aa9c30b1ad6f1e620dc1be2e644481ab96d","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
Changes inference processor
description","number":197645,"url":"https://github.com/elastic/kibana/pull/197645","mergeCommit":{"message":"[ML]
Changes inference processor description (elastic#197645)\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"27a98aa9c30b1ad6f1e620dc1be2e644481ab96d"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197645","number":197645,"mergeCommit":{"message":"[ML]
Changes inference processor description (elastic#197645)\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"27a98aa9c30b1ad6f1e620dc1be2e644481ab96d"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: István Zoltán Szabó <[email protected]>
  • Loading branch information
kibanamachine and szabosteve authored Oct 25, 2024
1 parent ec2bae0 commit e5b0246
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 @@ -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

0 comments on commit e5b0246

Please sign in to comment.