[8.x] [Obs AI Assistant] Fix KB bulk import UI example (#214970) (#214987)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Fix KB bulk import UI example
(#214970)](https://github.com/elastic/kibana/pull/214970)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-03-18T14:34:21Z","message":"[Obs
AI Assistant] Fix KB bulk import UI example (#214970)\n\nCloses
https://github.com/elastic/kibana/issues/214849\n\n## Summary\n\nThe KB
bulk import UI example has a missing property `title`.\nThis PR adds the
missing property so that the users know which format is\nexpected when
bulk
importing.\n\n\n![image](https://github.com/user-attachments/assets/38466e7d-d87d-4680-8675-327237357999)\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"69e8dcf59bd91aaa79f3c85490e6181c747455ac","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Obs
AI
Assistant","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[Obs
AI Assistant] Fix KB bulk import UI
example","number":214970,"url":"https://github.com/elastic/kibana/pull/214970","mergeCommit":{"message":"[Obs
AI Assistant] Fix KB bulk import UI example (#214970)\n\nCloses
https://github.com/elastic/kibana/issues/214849\n\n## Summary\n\nThe KB
bulk import UI example has a missing property `title`.\nThis PR adds the
missing property so that the users know which format is\nexpected when
bulk
importing.\n\n\n![image](https://github.com/user-attachments/assets/38466e7d-d87d-4680-8675-327237357999)\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"69e8dcf59bd91aaa79f3c85490e6181c747455ac"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/214970","number":214970,"mergeCommit":{"message":"[Obs
AI Assistant] Fix KB bulk import UI example (#214970)\n\nCloses
https://github.com/elastic/kibana/issues/214849\n\n## Summary\n\nThe KB
bulk import UI example has a missing property `title`.\nThis PR adds the
missing property so that the users know which format is\nexpected when
bulk
importing.\n\n\n![image](https://github.com/user-attachments/assets/38466e7d-d87d-4680-8675-327237357999)\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"69e8dcf59bd91aaa79f3c85490e6181c747455ac"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <viduni.wickramarachchi@elastic.co>
This commit is contained in:
Kibana Machine 2025-03-18 21:28:32 +01:00 committed by GitHub
parent 82cf9ad05d
commit b761e45265
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -138,6 +138,7 @@ export function KnowledgeBaseBulkImportFlyout({ onClose }: { onClose: () => void
<EuiCodeBlock isCopyable paddingSize="s">
{`{
"id": "a_unique_human_readable_id",
"title": "Title of item",
"text": "Contents of item",
}
`}