-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution] Adds support for custom Security Assistant System…
…Prompts and Conversations (#159365) ## Summary <p align="center"> <img width="700" src="https://github.com/elastic/kibana/assets/2946766/3edf2101-718c-4716-80f6-c8377e66f0b9" /> </p> Adds the following new abilities to the Security Assistant: - Adds ability to create/delete custom SystemPrompts - Configurable `Name`, `Prompt`, `Default Conversations`, and `Default for New Conversations` - Introduces `System Prompt` setting within `Conversation Settings` - Adds ability to create/delete custom Conversations - Create conversation in-line within the Conversation selector by just typing the new conversation name and pressing enter - Applies configured SystemPrompt and default connector on conversation creation - Extracts `baseSystemPrompts` so they can be provided to the AssistantContextProvider on a per solution basis. The consolidates assistant dependency defaults to the `x-pack/plugins/security_solution/public/assistant/content` and `x-pack/packages/kbn-elastic-assistant/impl/content` directories respectively. - All Security SystemPrompts now organized in `BASE_SECURITY_SYSTEM_PROMPTS` - All Security Conversations organized in `BASE_SECURITY_CONVERSATIONS` See epic elastic/security-team#6775 (internal) for additional details. ### Checklist Delete any items that are not applicable to this PR. - [X] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [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
- Loading branch information
Showing
41 changed files
with
1,477 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.