Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Backport This will backport the following commits from `main` to `8.15`: - [`BedrockChat` & `GeminiChat` (elastic#186809)](elastic#186809) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patryk Kopyciński","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-07-23T20:17:21Z","message":"`BedrockChat` & `GeminiChat` (elastic#186809)\n\n## Summary\r\n\r\nAdopted `BedrockChat` from `@langchain/community` package that adds\r\nsupport for tools calling\r\nhttps://js.langchain.com/v0.2/docs/integrations/chat/bedrock/\r\n\r\nAdopted `ChatGoogleGenerativeAI ` from `@langchain/google-genai` package\r\nthat adds support for tools calling\r\nhttps://js.langchain.com/v0.2/docs/integrations/chat/google_generativeai\r\n\r\nHidden behind FF:\r\n`--xpack.securitySolution.enableExperimental=[assistantBedrockChat]`\r\n\r\nAs of this PR `integration_assistant` is still going to use\r\n`ActionsClientSimpleChatModel`. After the FF will be enabled by default\r\nwe will switch `integration_assistant` to use new chat model.\r\n\r\nThank you @stephmilovic a ton 🙇\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Steph Milovic <[email protected]>\r\nCo-authored-by: Garrett Spong <[email protected]>","sha":"26dd61efa2784c5008efede5880f514926795fe1","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","ci:cloud-deploy","Team:Security Generative AI","v8.15.0","v8.16.0"],"number":186809,"url":"https://github.com/elastic/kibana/pull/186809","mergeCommit":{"message":"`BedrockChat` & `GeminiChat` (elastic#186809)\n\n## Summary\r\n\r\nAdopted `BedrockChat` from `@langchain/community` package that adds\r\nsupport for tools calling\r\nhttps://js.langchain.com/v0.2/docs/integrations/chat/bedrock/\r\n\r\nAdopted `ChatGoogleGenerativeAI ` from `@langchain/google-genai` package\r\nthat adds support for tools calling\r\nhttps://js.langchain.com/v0.2/docs/integrations/chat/google_generativeai\r\n\r\nHidden behind FF:\r\n`--xpack.securitySolution.enableExperimental=[assistantBedrockChat]`\r\n\r\nAs of this PR `integration_assistant` is still going to use\r\n`ActionsClientSimpleChatModel`. After the FF will be enabled by default\r\nwe will switch `integration_assistant` to use new chat model.\r\n\r\nThank you @stephmilovic a ton 🙇\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Steph Milovic <[email protected]>\r\nCo-authored-by: Garrett Spong <[email protected]>","sha":"26dd61efa2784c5008efede5880f514926795fe1"}},"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/186809","number":186809,"mergeCommit":{"message":"`BedrockChat` & `GeminiChat` (elastic#186809)\n\n## Summary\r\n\r\nAdopted `BedrockChat` from `@langchain/community` package that adds\r\nsupport for tools calling\r\nhttps://js.langchain.com/v0.2/docs/integrations/chat/bedrock/\r\n\r\nAdopted `ChatGoogleGenerativeAI ` from `@langchain/google-genai` package\r\nthat adds support for tools calling\r\nhttps://js.langchain.com/v0.2/docs/integrations/chat/google_generativeai\r\n\r\nHidden behind FF:\r\n`--xpack.securitySolution.enableExperimental=[assistantBedrockChat]`\r\n\r\nAs of this PR `integration_assistant` is still going to use\r\n`ActionsClientSimpleChatModel`. After the FF will be enabled by default\r\nwe will switch `integration_assistant` to use new chat model.\r\n\r\nThank you @stephmilovic a ton 🙇\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Steph Milovic <[email protected]>\r\nCo-authored-by: Garrett Spong <[email protected]>","sha":"26dd61efa2784c5008efede5880f514926795fe1"}}]}] BACKPORT--> --------- Co-authored-by: Patryk Kopyciński <[email protected]>
- Loading branch information