Skip to content
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

[8.x] [AI Assistant] Add scopes to AI assistant (#192611) #193306

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

This adds scopes to the Observability AI Assistant framework so we can
start consuming it in different places with different instructions and
functions available.

Instructions and functions become responsible for registering which
'scope' they apply to, and the assistant should be called with a scope
when chatting so that it can decide which functions are available and
which registered instructions to send to the LLM.

(cherry picked from commit a65e904)
@kibanamachine kibanamachine enabled auto-merge (squash) September 18, 2024 13:54
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Sep 18, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
observabilityAIAssistant 284 291 +7

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.5MB 3.5MB -24.0B
infra 1.6MB 1.6MB -6.0B
observabilityAIAssistant 17.6KB 17.7KB +100.0B
observabilityAIAssistantApp 154.3KB 154.4KB +20.0B
profiling 405.9KB 405.9KB -1.0B
total +89.0B

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
observabilityAIAssistant 27 28 +1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observabilityAIAssistant 46.0KB 46.1KB +86.0B
Unknown metric groups

API count

id before after diff
observabilityAIAssistant 286 293 +7

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @sphilipse

@kibanamachine kibanamachine merged commit a5100d9 into elastic:8.x Sep 18, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants