-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Security Solution] AI settings #184678
[Security Solution] AI settings #184678
Conversation
}; | ||
setConversationSettings({ | ||
...conversationSettings, | ||
[updatedConversation.id || updatedConversation.title]: updatedConversation, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setSelectedConversation( | ||
// conversationSettings has title as key, sometime has id as key | ||
conversationSettings[selectedConversation.id] || | ||
conversationSettings[selectedConversation.title] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YulNaumenko Is this the do with the existing issue?
conversationSettings has title as key, sometime has id as key
onSelectedConversationChange({ | ||
...newSelectedConversation, | ||
id: newSelectedConversation.id || newSelectedConversation.title, | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id can be title sometimes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before
Screen.Recording.2024-06-17.at.11.19.17.mov
After
Screen.Recording.2024-06-21.at.21.19.50.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YulNaumenko, thoughts on persisting all the base conversations on initial conversation request that way we can get rid of all this extra title vs id logic? I don't like side-effects on a GET, but can't think of a different way of handling this than what we're doing now, which has been a source of bugs requiring conditional checks like this.
http={http} | ||
isDisabled={isDisabled} | ||
isFlyoutMode={isFlyoutMode} | ||
selectedConversation={selectedConversationWithApiConfig} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding api config to the selected conversation to fix the scenario: conversation not updated when changing a prompt.
In this video, I updated data quality dashboard
conversation with system prompt xxx
, but it wasn't saved.
Screen.Recording.2024-06-21.at.22.29.19.mov
buildkite test this |
buildkite test this |
buildkite test this |
buildkite test this |
/ci |
...kages/kbn-elastic-assistant/impl/connectorland/connector_settings_management/translations.ts
Outdated
Show resolved
Hide resolved
...bn-elastic-assistant/impl/assistant/conversations/conversation_settings_management/index.tsx
Outdated
Show resolved
Hide resolved
...stic-assistant/impl/assistant/conversations/conversation_settings_management/translations.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bojanasan, any reason we didn't make the Conversation Title
editable in the flyout?
Right now it's just used as the flyout title and not an actual editable field, so the only way to change the title is to select the conversation in the assistant and then click the title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spong I wasn't sure if it was helpful to have it in the table because I'm expecting that the workflow of defining the prompt would be happening in the AI Chat UI (during conversation) as the user is testing the prompt. Additionally the length would impact row height significantly. Do you think that the user will be needing to see the description here? Relevant figma comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was your comment meant for the other thread linked in figma? (I responded there as well).
This is about making the Title of the conversation editable in the conversation details flyout.
...bn-elastic-assistant/impl/assistant/conversations/conversation_settings_management/index.tsx
Outdated
Show resolved
Hide resolved
...bn-elastic-assistant/impl/assistant/conversations/conversation_settings_management/index.tsx
Outdated
Show resolved
Hide resolved
...nt/impl/assistant/conversations/conversation_settings_management/use_conversations_table.tsx
Outdated
Show resolved
Hide resolved
...nt/impl/assistant/conversations/conversation_settings_management/use_conversations_table.tsx
Show resolved
Hide resolved
...sistant/impl/assistant/common/components/assistant_settings_management/row_actions/index.tsx
Outdated
Show resolved
Hide resolved
...bn-elastic-assistant/impl/assistant/conversations/conversation_settings_management/index.tsx
Show resolved
Hide resolved
...stant/impl/assistant/prompt_editor/system_prompt/system_prompt_settings_management/index.tsx
Show resolved
Hide resolved
<RowActions<SystemPromptTableItem> | ||
rowItem={prompt} | ||
onEdit={onEditActionClicked} | ||
onDelete={isDeletable ? onDeleteActionClicked : undefined} | ||
isDeletable={isDeletable} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with the other comment on actions, should we just show them since there are only ever two instead of adding another click into the popover?
const pagination = useMemo( | ||
() => ({ | ||
pageIndex: DEFAULT_PAGE_INDEX, | ||
pageSize: DEFAULT_PAGE_SIZE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In quick prompts table and system prompts table, I checked with @bojanasan to give it a bigger default page size as currently new item is added to the bottom of the list and we do not have timestamp to sort on.
...bn-elastic-assistant/impl/assistant/conversations/conversation_settings_management/index.tsx
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
History
To update your PR or re-run it, just comment with: |
...ck/packages/kbn-elastic-assistant/impl/connectorland/connector_settings_management/index.tsx
Show resolved
Hide resolved
...ant/impl/assistant/quick_prompts/quick_prompt_settings_management/use_quick_prompt_table.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked out, tested locally, and performed a high-level code review -- LGTM!
Thank you so much @angorayc for all your efforts here. It has really come together in unifying our Assistant Settings views 🙂
Looks like you've addressed most of my comments, with the remainder being mostly design related, which I think we can iterate on going forward, so looks good to me! Thanks again!
## Summary Code clean up for my previous PR: 1. #184678 (comment) - Remove additional props. 2. Add `Created on` column for quick prompt and system prompt table 3. Wording change: #184678 (comment) - Rename column title. **Landing page:** <img width="1282" alt="Screenshot 2024-07-09 at 19 07 34" src="https://github.com/elastic/kibana/assets/6295984/20366ee7-497f-412c-9690-953af9f6992b"> **Knowledge base:** <img width="2552" alt="Screenshot 2024-07-15 at 15 32 40" src="https://github.com/user-attachments/assets/1d651042-b187-4c08-b55d-c58c1104fd1b"> **Evaluation:** <img width="2560" alt="Screenshot 2024-07-15 at 15 34 04" src="https://github.com/user-attachments/assets/31855fe6-e5dd-462d-9c06-2fee2554361a"> <img width="2556" alt="Screenshot 2024-07-09 at 19 38 06" src="https://github.com/elastic/kibana/assets/6295984/15be4f36-261b-4652-8d4f-be8e7d14676a"> **Anonymization:** <img width="2551" alt="Screenshot 2024-07-15 at 15 32 33" src="https://github.com/user-attachments/assets/27688bb5-851e-46fc-8f75-9700ce7a248a"> **Quick prompts:** <img width="2559" alt="Screenshot 2024-07-15 at 15 30 30" src="https://github.com/user-attachments/assets/e00c39a0-fb12-46f1-bb2a-bdf5c5bd49d2"> <img width="2557" alt="Screenshot 2024-07-09 at 19 27 18" src="https://github.com/elastic/kibana/assets/6295984/b581fc46-003b-4363-9c16-22534eb1d71e"> **System prompts:** <img width="2557" alt="Screenshot 2024-07-15 at 15 30 11" src="https://github.com/user-attachments/assets/95fd4fca-5041-40b7-b500-efc192166be0"> <img width="2558" alt="Screenshot 2024-07-09 at 19 10 36" src="https://github.com/elastic/kibana/assets/6295984/a701391a-978f-4684-a2ea-f72a5f572217"> **Conversations:** <img width="2553" alt="Screenshot 2024-07-15 at 15 30 01" src="https://github.com/user-attachments/assets/3411beb8-4775-4ba7-8b3e-c4111497eed2"> <img width="2554" alt="Screenshot 2024-07-09 at 21 33 37" src="https://github.com/elastic/kibana/assets/6295984/fbe2ee80-ba20-41b6-b224-3e317dc1c20e"> Connectors: <img width="2558" alt="Screenshot 2024-07-09 at 19 09 15" src="https://github.com/elastic/kibana/assets/6295984/c711ce09-65c0-45b3-90c1-a9019d35093c"> [Design](https://www.figma.com/design/BMvpY9EhcPIaoOS7LSrkL0/[8.15]-GenAI-Security-Assistant-Settings%3A-Stack-Management-Pages?node-id=51-25207&t=JHlgCm0sCYsl8WCM-0) ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
## Summary Code clean up for my previous PR: 1. elastic#184678 (comment) - Remove additional props. 2. Add `Created on` column for quick prompt and system prompt table 3. Wording change: elastic#184678 (comment) - Rename column title. **Landing page:** <img width="1282" alt="Screenshot 2024-07-09 at 19 07 34" src="https://github.com/elastic/kibana/assets/6295984/20366ee7-497f-412c-9690-953af9f6992b"> **Knowledge base:** <img width="2552" alt="Screenshot 2024-07-15 at 15 32 40" src="https://github.com/user-attachments/assets/1d651042-b187-4c08-b55d-c58c1104fd1b"> **Evaluation:** <img width="2560" alt="Screenshot 2024-07-15 at 15 34 04" src="https://github.com/user-attachments/assets/31855fe6-e5dd-462d-9c06-2fee2554361a"> <img width="2556" alt="Screenshot 2024-07-09 at 19 38 06" src="https://github.com/elastic/kibana/assets/6295984/15be4f36-261b-4652-8d4f-be8e7d14676a"> **Anonymization:** <img width="2551" alt="Screenshot 2024-07-15 at 15 32 33" src="https://github.com/user-attachments/assets/27688bb5-851e-46fc-8f75-9700ce7a248a"> **Quick prompts:** <img width="2559" alt="Screenshot 2024-07-15 at 15 30 30" src="https://github.com/user-attachments/assets/e00c39a0-fb12-46f1-bb2a-bdf5c5bd49d2"> <img width="2557" alt="Screenshot 2024-07-09 at 19 27 18" src="https://github.com/elastic/kibana/assets/6295984/b581fc46-003b-4363-9c16-22534eb1d71e"> **System prompts:** <img width="2557" alt="Screenshot 2024-07-15 at 15 30 11" src="https://github.com/user-attachments/assets/95fd4fca-5041-40b7-b500-efc192166be0"> <img width="2558" alt="Screenshot 2024-07-09 at 19 10 36" src="https://github.com/elastic/kibana/assets/6295984/a701391a-978f-4684-a2ea-f72a5f572217"> **Conversations:** <img width="2553" alt="Screenshot 2024-07-15 at 15 30 01" src="https://github.com/user-attachments/assets/3411beb8-4775-4ba7-8b3e-c4111497eed2"> <img width="2554" alt="Screenshot 2024-07-09 at 21 33 37" src="https://github.com/elastic/kibana/assets/6295984/fbe2ee80-ba20-41b6-b224-3e317dc1c20e"> Connectors: <img width="2558" alt="Screenshot 2024-07-09 at 19 09 15" src="https://github.com/elastic/kibana/assets/6295984/c711ce09-65c0-45b3-90c1-a9019d35093c"> [Design](https://www.figma.com/design/BMvpY9EhcPIaoOS7LSrkL0/[8.15]-GenAI-Security-Assistant-Settings%3A-Stack-Management-Pages?node-id=51-25207&t=JHlgCm0sCYsl8WCM-0) ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 60ba001)
) # Backport This will backport the following commits from `main` to `8.15`: - [[Security Assistant] Clean up AI settings tabs (#187705)](#187705) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Angela Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-17T12:14:21Z","message":"[Security Assistant] Clean up AI settings tabs (#187705)\n\n## Summary\r\n\r\nCode clean up for my previous PR:\r\n1. https://github.com/elastic/kibana/pull/184678#discussion_r1657851993\r\n- Remove additional props.\r\n2. Add `Created on` column for quick prompt and system prompt table\r\n3. Wording change:\r\nhttps://github.com//pull/184678#discussion_r1661034797 -\r\nRename column title.\r\n\r\n**Landing page:**\r\n<img width=\"1282\" alt=\"Screenshot 2024-07-09 at 19 07 34\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/20366ee7-497f-412c-9690-953af9f6992b\">\r\n\r\n**Knowledge base:**\r\n<img width=\"2552\" alt=\"Screenshot 2024-07-15 at 15 32 40\"\r\nsrc=\"https://github.com/user-attachments/assets/1d651042-b187-4c08-b55d-c58c1104fd1b\">\r\n\r\n**Evaluation:**\r\n<img width=\"2560\" alt=\"Screenshot 2024-07-15 at 15 34 04\"\r\nsrc=\"https://github.com/user-attachments/assets/31855fe6-e5dd-462d-9c06-2fee2554361a\">\r\n\r\n<img width=\"2556\" alt=\"Screenshot 2024-07-09 at 19 38 06\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/15be4f36-261b-4652-8d4f-be8e7d14676a\">\r\n\r\n**Anonymization:**\r\n<img width=\"2551\" alt=\"Screenshot 2024-07-15 at 15 32 33\"\r\nsrc=\"https://github.com/user-attachments/assets/27688bb5-851e-46fc-8f75-9700ce7a248a\">\r\n\r\n**Quick prompts:**\r\n<img width=\"2559\" alt=\"Screenshot 2024-07-15 at 15 30 30\"\r\nsrc=\"https://github.com/user-attachments/assets/e00c39a0-fb12-46f1-bb2a-bdf5c5bd49d2\">\r\n\r\n<img width=\"2557\" alt=\"Screenshot 2024-07-09 at 19 27 18\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/b581fc46-003b-4363-9c16-22534eb1d71e\">\r\n\r\n**System prompts:**\r\n<img width=\"2557\" alt=\"Screenshot 2024-07-15 at 15 30 11\"\r\nsrc=\"https://github.com/user-attachments/assets/95fd4fca-5041-40b7-b500-efc192166be0\">\r\n\r\n<img width=\"2558\" alt=\"Screenshot 2024-07-09 at 19 10 36\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/a701391a-978f-4684-a2ea-f72a5f572217\">\r\n\r\n**Conversations:**\r\n<img width=\"2553\" alt=\"Screenshot 2024-07-15 at 15 30 01\"\r\nsrc=\"https://github.com/user-attachments/assets/3411beb8-4775-4ba7-8b3e-c4111497eed2\">\r\n\r\n<img width=\"2554\" alt=\"Screenshot 2024-07-09 at 21 33 37\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/fbe2ee80-ba20-41b6-b224-3e317dc1c20e\">\r\n\r\nConnectors:\r\n<img width=\"2558\" alt=\"Screenshot 2024-07-09 at 19 09 15\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/c711ce09-65c0-45b3-90c1-a9019d35093c\">\r\n\r\n\r\n\r\n\r\n[Design](https://www.figma.com/design/BMvpY9EhcPIaoOS7LSrkL0/[8.15]-GenAI-Security-Assistant-Settings%3A-Stack-Management-Pages?node-id=51-25207&t=JHlgCm0sCYsl8WCM-0)\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"60ba001b1f01a0b5df0f2d79e96ca69c155dbaf7","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.15.0","v8.16.0"],"number":187705,"url":"https://github.com/elastic/kibana/pull/187705","mergeCommit":{"message":"[Security Assistant] Clean up AI settings tabs (#187705)\n\n## Summary\r\n\r\nCode clean up for my previous PR:\r\n1. https://github.com/elastic/kibana/pull/184678#discussion_r1657851993\r\n- Remove additional props.\r\n2. Add `Created on` column for quick prompt and system prompt table\r\n3. Wording change:\r\nhttps://github.com//pull/184678#discussion_r1661034797 -\r\nRename column title.\r\n\r\n**Landing page:**\r\n<img width=\"1282\" alt=\"Screenshot 2024-07-09 at 19 07 34\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/20366ee7-497f-412c-9690-953af9f6992b\">\r\n\r\n**Knowledge base:**\r\n<img width=\"2552\" alt=\"Screenshot 2024-07-15 at 15 32 40\"\r\nsrc=\"https://github.com/user-attachments/assets/1d651042-b187-4c08-b55d-c58c1104fd1b\">\r\n\r\n**Evaluation:**\r\n<img width=\"2560\" alt=\"Screenshot 2024-07-15 at 15 34 04\"\r\nsrc=\"https://github.com/user-attachments/assets/31855fe6-e5dd-462d-9c06-2fee2554361a\">\r\n\r\n<img width=\"2556\" alt=\"Screenshot 2024-07-09 at 19 38 06\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/15be4f36-261b-4652-8d4f-be8e7d14676a\">\r\n\r\n**Anonymization:**\r\n<img width=\"2551\" alt=\"Screenshot 2024-07-15 at 15 32 33\"\r\nsrc=\"https://github.com/user-attachments/assets/27688bb5-851e-46fc-8f75-9700ce7a248a\">\r\n\r\n**Quick prompts:**\r\n<img width=\"2559\" alt=\"Screenshot 2024-07-15 at 15 30 30\"\r\nsrc=\"https://github.com/user-attachments/assets/e00c39a0-fb12-46f1-bb2a-bdf5c5bd49d2\">\r\n\r\n<img width=\"2557\" alt=\"Screenshot 2024-07-09 at 19 27 18\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/b581fc46-003b-4363-9c16-22534eb1d71e\">\r\n\r\n**System prompts:**\r\n<img width=\"2557\" alt=\"Screenshot 2024-07-15 at 15 30 11\"\r\nsrc=\"https://github.com/user-attachments/assets/95fd4fca-5041-40b7-b500-efc192166be0\">\r\n\r\n<img width=\"2558\" alt=\"Screenshot 2024-07-09 at 19 10 36\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/a701391a-978f-4684-a2ea-f72a5f572217\">\r\n\r\n**Conversations:**\r\n<img width=\"2553\" alt=\"Screenshot 2024-07-15 at 15 30 01\"\r\nsrc=\"https://github.com/user-attachments/assets/3411beb8-4775-4ba7-8b3e-c4111497eed2\">\r\n\r\n<img width=\"2554\" alt=\"Screenshot 2024-07-09 at 21 33 37\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/fbe2ee80-ba20-41b6-b224-3e317dc1c20e\">\r\n\r\nConnectors:\r\n<img width=\"2558\" alt=\"Screenshot 2024-07-09 at 19 09 15\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/c711ce09-65c0-45b3-90c1-a9019d35093c\">\r\n\r\n\r\n\r\n\r\n[Design](https://www.figma.com/design/BMvpY9EhcPIaoOS7LSrkL0/[8.15]-GenAI-Security-Assistant-Settings%3A-Stack-Management-Pages?node-id=51-25207&t=JHlgCm0sCYsl8WCM-0)\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"60ba001b1f01a0b5df0f2d79e96ca69c155dbaf7"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/187705","number":187705,"mergeCommit":{"message":"[Security Assistant] Clean up AI settings tabs (#187705)\n\n## Summary\r\n\r\nCode clean up for my previous PR:\r\n1. https://github.com/elastic/kibana/pull/184678#discussion_r1657851993\r\n- Remove additional props.\r\n2. Add `Created on` column for quick prompt and system prompt table\r\n3. Wording change:\r\nhttps://github.com//pull/184678#discussion_r1661034797 -\r\nRename column title.\r\n\r\n**Landing page:**\r\n<img width=\"1282\" alt=\"Screenshot 2024-07-09 at 19 07 34\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/20366ee7-497f-412c-9690-953af9f6992b\">\r\n\r\n**Knowledge base:**\r\n<img width=\"2552\" alt=\"Screenshot 2024-07-15 at 15 32 40\"\r\nsrc=\"https://github.com/user-attachments/assets/1d651042-b187-4c08-b55d-c58c1104fd1b\">\r\n\r\n**Evaluation:**\r\n<img width=\"2560\" alt=\"Screenshot 2024-07-15 at 15 34 04\"\r\nsrc=\"https://github.com/user-attachments/assets/31855fe6-e5dd-462d-9c06-2fee2554361a\">\r\n\r\n<img width=\"2556\" alt=\"Screenshot 2024-07-09 at 19 38 06\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/15be4f36-261b-4652-8d4f-be8e7d14676a\">\r\n\r\n**Anonymization:**\r\n<img width=\"2551\" alt=\"Screenshot 2024-07-15 at 15 32 33\"\r\nsrc=\"https://github.com/user-attachments/assets/27688bb5-851e-46fc-8f75-9700ce7a248a\">\r\n\r\n**Quick prompts:**\r\n<img width=\"2559\" alt=\"Screenshot 2024-07-15 at 15 30 30\"\r\nsrc=\"https://github.com/user-attachments/assets/e00c39a0-fb12-46f1-bb2a-bdf5c5bd49d2\">\r\n\r\n<img width=\"2557\" alt=\"Screenshot 2024-07-09 at 19 27 18\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/b581fc46-003b-4363-9c16-22534eb1d71e\">\r\n\r\n**System prompts:**\r\n<img width=\"2557\" alt=\"Screenshot 2024-07-15 at 15 30 11\"\r\nsrc=\"https://github.com/user-attachments/assets/95fd4fca-5041-40b7-b500-efc192166be0\">\r\n\r\n<img width=\"2558\" alt=\"Screenshot 2024-07-09 at 19 10 36\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/a701391a-978f-4684-a2ea-f72a5f572217\">\r\n\r\n**Conversations:**\r\n<img width=\"2553\" alt=\"Screenshot 2024-07-15 at 15 30 01\"\r\nsrc=\"https://github.com/user-attachments/assets/3411beb8-4775-4ba7-8b3e-c4111497eed2\">\r\n\r\n<img width=\"2554\" alt=\"Screenshot 2024-07-09 at 21 33 37\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/fbe2ee80-ba20-41b6-b224-3e317dc1c20e\">\r\n\r\nConnectors:\r\n<img width=\"2558\" alt=\"Screenshot 2024-07-09 at 19 09 15\"\r\nsrc=\"https://github.com/elastic/kibana/assets/6295984/c711ce09-65c0-45b3-90c1-a9019d35093c\">\r\n\r\n\r\n\r\n\r\n[Design](https://www.figma.com/design/BMvpY9EhcPIaoOS7LSrkL0/[8.15]-GenAI-Security-Assistant-Settings%3A-Stack-Management-Pages?node-id=51-25207&t=JHlgCm0sCYsl8WCM-0)\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"60ba001b1f01a0b5df0f2d79e96ca69c155dbaf7"}}]}] BACKPORT-->
Summary
https://github.com/elastic/security-team/issues/9222
Knowledge base:
#186847
Checklist
Delete any items that are not applicable to this PR.