[Security Assistant] Enable InferenceChatModel by default#227856
[Security Assistant] Enable InferenceChatModel by default#227856stephmilovic merged 2 commits intoelastic:mainfrom
InferenceChatModel by default#227856Conversation
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
run docs-build |
⏳ Build in-progress
History
|
spong
left a comment
There was a problem hiding this comment.
Checked out, tested all relevant models locally, verifying traces, and also tested the old code path with FF disabled. Pair reviewed eval traces against the last weekly run with @stephmilovic and everything looks good! Thanks for enabling and getting everything ready to move on over to the inference plugin here Steph! 🎉 LGTM! 👍
Note: We did see some regressions with the KnowledgeBaseRetrievalTool, however upon further investigation this was already present with the existing ActionsClientChatModels, so we tested further and were able to resolve with some prompt updates, so those updates will following shortly.
|
Starting backport for target branches: 8.19, 9.1 https://github.com/elastic/kibana/actions/runs/16306304502 |
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…227856) (cherry picked from commit 63bde26) # Conflicts: # api_docs/kbn_elastic_assistant_common.devdocs.json # x-pack/platform/packages/shared/kbn-elastic-assistant-common/constants.ts # x-pack/solutions/security/plugins/elastic_assistant/server/routes/evaluate/post_evaluate.ts # x-pack/solutions/security/plugins/elastic_assistant/server/routes/post_actions_connector_execute.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…27856) (#228113) # Backport This will backport the following commits from `main` to `9.1`: - [[Security Assistant] Enable `InferenceChatModel` by default (#227856)](#227856) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-07-15T23:11:15Z","message":"[Security Assistant] Enable `InferenceChatModel` by default (#227856)","sha":"63bde264707b4dcdbe06e4c06cb8136ee2cfea37","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","ci:cloud-deploy","Team:Security Generative AI","backport:version","v9.1.0","v8.19.0","ci:security-genai-run-evals","v9.2.0"],"title":"[Security Assistant] Enable `InferenceChatModel` by default","number":227856,"url":"https://github.com/elastic/kibana/pull/227856","mergeCommit":{"message":"[Security Assistant] Enable `InferenceChatModel` by default (#227856)","sha":"63bde264707b4dcdbe06e4c06cb8136ee2cfea37"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227856","number":227856,"mergeCommit":{"message":"[Security Assistant] Enable `InferenceChatModel` by default (#227856)","sha":"63bde264707b4dcdbe06e4c06cb8136ee2cfea37"}}]}] BACKPORT--> Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…227856) (#228114) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Assistant] Enable `InferenceChatModel` by default (#227856)](#227856) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2025-07-15T23:11:15Z","message":"[Security Assistant] Enable `InferenceChatModel` by default (#227856)","sha":"63bde264707b4dcdbe06e4c06cb8136ee2cfea37","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","ci:cloud-deploy","Team:Security Generative AI","backport:version","v9.1.0","v8.19.0","ci:security-genai-run-evals","v9.2.0"],"title":"[Security Assistant] Enable `InferenceChatModel` by default","number":227856,"url":"https://github.com/elastic/kibana/pull/227856","mergeCommit":{"message":"[Security Assistant] Enable `InferenceChatModel` by default (#227856)","sha":"63bde264707b4dcdbe06e4c06cb8136ee2cfea37"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/228113","number":228113,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227856","number":227856,"mergeCommit":{"message":"[Security Assistant] Enable `InferenceChatModel` by default (#227856)","sha":"63bde264707b4dcdbe06e4c06cb8136ee2cfea37"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
Updates the feature flag to disable rather than enable
InferenceChatModel. This meansInferenceChatModelis the default chat model, and the feature flag will disable and revert us back to the former chat models (ActionsClientChatBedrockConverse,ActionsClientChatOpenAI,ActionsClientChatVertexAI). The feature flag look like this:Testing
InferenceChatModel