Skip to content

Commit

Permalink
Review feedback: index name input description
Browse files Browse the repository at this point in the history
  • Loading branch information
e40pud committed Nov 4, 2024
1 parent 190bcb2 commit 4f43284
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export const IndexEntryEditor: React.FC<Props> = React.memo(
fullWidth
isInvalid={isMissingIndex}
error={isMissingIndex && <>{i18n.MISSING_INDEX_ERROR}</>}
helpText={i18n.ENTRY_INDEX_NAME_INPUT_DESCRIPTION}
>
<EuiComboBox
data-test-subj="index-combobox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,14 @@ export const ENTRY_INDEX_NAME_INPUT_LABEL = i18n.translate(
}
);

export const ENTRY_INDEX_NAME_INPUT_DESCRIPTION = i18n.translate(
'xpack.elasticAssistant.assistant.settings.knowledgeBaseSettingsManagement.entryIndexNameInputDescription',
{
defaultMessage:
'Indices will only be available to select from this drop down list if they contain a semantic_text field. Please refer to the documentation for more information on configuring an index for use as a custom knowledge source.',
}
);

export const ENTRY_FIELD_INPUT_LABEL = i18n.translate(
'xpack.elasticAssistant.assistant.settings.knowledgeBaseSettingsManagement.entryFieldInputLabel',
{
Expand Down

0 comments on commit 4f43284

Please sign in to comment.