Skip to content

Commit

Permalink
[ML] Changes UI info text for model test and model deployment (elasti…
Browse files Browse the repository at this point in the history
…c#161849)

## Summary

This PR amends the info text of the:
* language identification test flyout,
* model deployment modal.
  • Loading branch information
szabosteve authored and pull[bot] committed Nov 15, 2023
1 parent d39fa1d commit 11ec1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const DeploymentSetup: FC<DeploymentSetupProps> = ({
description={
<FormattedMessage
id="xpack.ml.trainedModels.modelsList.startDeployment.numbersOfAllocationsHelp"
defaultMessage="Increase to improve throughput of all requests."
defaultMessage="Increase to improve document ingest throughput."
/>
}
>
Expand Down Expand Up @@ -282,7 +282,7 @@ export const DeploymentSetup: FC<DeploymentSetupProps> = ({
description={
<FormattedMessage
id="xpack.ml.trainedModels.modelsList.startDeployment.threadsPerAllocationHelp"
defaultMessage="Increase to improve latency for each request."
defaultMessage="Increase to improve inference latency."
/>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export class LangIdentInference extends InferenceBase<TextClassificationResponse
);
protected info = [
i18n.translate('xpack.ml.trainedModels.testModelsFlyout.langIdent.info1', {
defaultMessage: 'Test how well the model identifies the language of your text.',
defaultMessage:
'Test how well the model identifies the language of your text. The model is more accurate with longer text.',
}),
];

Expand Down

0 comments on commit 11ec1e8

Please sign in to comment.