mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
~This PR still needs work (tests, mainly), so keeping it in draft for now, but feel free to take it for a spin.~ Implements Bedrock support, specifically for the Claude models. Architecturally, this introduces LLM adapters: one for OpenAI (which is what we already have), and one for Bedrock/Claude. The Bedrock/Claude adapter does the following things: - parses data from a SerDe (an AWS concept IIUC) stream using `@smithy/eventstream-serde-node`. - Converts function requests and results into XML and back (to some extent) - some slight changes to existing functionality to achieve _some_ kind of baseline performance with Bedrock + Claude. Generally, GPT seems better at implicit tasks. Claude needs explicit tasks, otherwise it will take things too literally. For instance, I had to use a function for generating a title because Claude was too eager to add explanations. For the `classify_esql` function, I had to add extra instructions to stop it from requesting information that is not there. It is prone to generating invalid XML. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
images | ||
alert-action-settings.asciidoc | ||
apm-settings.asciidoc | ||
banners-settings.asciidoc | ||
cases-settings.asciidoc | ||
enterprise-search-settings.asciidoc | ||
fleet-settings.asciidoc | ||
general-infra-logs-ui-settings.asciidoc | ||
i18n-settings.asciidoc | ||
infrastructure-ui-settings.asciidoc | ||
logging-settings.asciidoc | ||
logs-ui-settings.asciidoc | ||
monitoring-settings.asciidoc | ||
reporting-settings.asciidoc | ||
search-sessions-settings.asciidoc | ||
security-settings.asciidoc | ||
spaces-settings.asciidoc | ||
task-manager-settings.asciidoc | ||
telemetry-settings.asciidoc | ||
url-drilldown-settings.asciidoc |