Skip to content

Conversation

@viduni94
Copy link
Contributor

@viduni94 viduni94 commented Apr 7, 2025

Closes #215206

Summary

Removes direct function calling capabilities as this feature is not important anymore.

Before:

image

After:

image

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@viduni94 viduni94 added release_note:fix Team:Obs AI Assistant Observability AI Assistant backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Apr 7, 2025
@viduni94 viduni94 self-assigned this Apr 7, 2025
@viduni94 viduni94 marked this pull request as ready for review April 7, 2025 15:46
@viduni94 viduni94 requested review from a team as code owners April 7, 2025 15:46
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observabilityAIAssistantApp 439 438 -1
observabilityAiAssistantManagement 386 385 -1
searchAssistant 267 266 -1
total -3

Async chunks

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

id before after diff
observabilityAIAssistantApp 265.0KB 262.1KB -2.9KB
searchAssistant 158.9KB 156.0KB -2.9KB
total -5.9KB

Page load bundle

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

id before after diff
searchAssistant 5.4KB 5.4KB +3.0B

History

cc @viduni94

@viduni94 viduni94 merged commit a2e0bb1 into elastic:main Apr 8, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 8, 2025
…elastic#217359)

Closes elastic#215206

## Summary

Removes direct function calling capabilities as this feature is not
important anymore.

Before:

<img width="588" alt="image"
src="https://github.com/user-attachments/assets/5c4e3dfb-a8dd-420b-aa02-389a2d4f7b5c"
/>

After:

<img width="592" alt="image"
src="https://github.com/user-attachments/assets/97bea8d0-f1e9-43c7-a4df-42e094861879"
/>

### Checklist

- [ ] [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit a2e0bb1)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 8, 2025
… input (#217359) (#217560)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Remove direct function calling from the chat input
(#217359)](#217359)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-04-08T16:17:46Z","message":"[Obs
AI Assistant] Remove direct function calling from the chat input
(#217359)\n\nCloses
https://github.com/elastic/kibana/issues/215206\n\n## Summary\n\nRemoves
direct function calling capabilities as this feature is not\nimportant
anymore.\n\nBefore:\n\n<img width=\"588\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c4e3dfb-a8dd-420b-aa02-389a2d4f7b5c\"\n/>\n\nAfter:\n\n<img
width=\"592\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/97bea8d0-f1e9-43c7-a4df-42e094861879\"\n/>\n\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"a2e0bb1422895308ec7751db980f1f0e6b3b7264","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Obs
AI Assistant","backport:version","v9.1.0","v8.19.0"],"title":"[Obs AI
Assistant] Remove direct function calling from the chat
input","number":217359,"url":"https://github.com/elastic/kibana/pull/217359","mergeCommit":{"message":"[Obs
AI Assistant] Remove direct function calling from the chat input
(#217359)\n\nCloses
https://github.com/elastic/kibana/issues/215206\n\n## Summary\n\nRemoves
direct function calling capabilities as this feature is not\nimportant
anymore.\n\nBefore:\n\n<img width=\"588\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c4e3dfb-a8dd-420b-aa02-389a2d4f7b5c\"\n/>\n\nAfter:\n\n<img
width=\"592\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/97bea8d0-f1e9-43c7-a4df-42e094861879\"\n/>\n\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"a2e0bb1422895308ec7751db980f1f0e6b3b7264"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217359","number":217359,"mergeCommit":{"message":"[Obs
AI Assistant] Remove direct function calling from the chat input
(#217359)\n\nCloses
https://github.com/elastic/kibana/issues/215206\n\n## Summary\n\nRemoves
direct function calling capabilities as this feature is not\nimportant
anymore.\n\nBefore:\n\n<img width=\"588\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c4e3dfb-a8dd-420b-aa02-389a2d4f7b5c\"\n/>\n\nAfter:\n\n<img
width=\"592\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/97bea8d0-f1e9-43c7-a4df-42e094861879\"\n/>\n\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"a2e0bb1422895308ec7751db980f1f0e6b3b7264"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Viduni Wickramarachchi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:fix Team:Obs AI Assistant Observability AI Assistant v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Obs AI Assistant] Remove direct function calling from the Prompt Editor

4 participants