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

[Obs AI Assistant] Chat history details in conversation list #207426

Merged

Conversation

viduni94
Copy link
Contributor

@viduni94 viduni94 commented Jan 21, 2025

Closes #176295

Summary

Categorizes the chat history based on lastUpdated date of the conversation.

Checklist

Screenshots

image

Screen recording

chat-history-details.mov

@viduni94 viduni94 added release_note:feature Makes this part of the condensed release notes Team:Obs AI Assistant Observability AI Assistant backport:version Backport to applied version labels v8.18.0 labels Jan 21, 2025
@viduni94 viduni94 self-assigned this Jan 21, 2025
@viduni94 viduni94 requested a review from a team January 21, 2025 18:34
@viduni94 viduni94 marked this pull request as ready for review January 21, 2025 19:10
@viduni94 viduni94 requested a review from a team as a code owner January 21, 2025 19:11
@elasticmachine
Copy link
Contributor

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

@viduni94
Copy link
Contributor Author

Hi @isaclfreire I've attached screenshots and a video of this feature. Let me know whether it looks okay or whether we need any changes. Thank you

cc: @teknogeek0

@neptunian
Copy link
Contributor

Looks great! 🎉

@viduni94 viduni94 added the ci:project-deploy-observability Create an Observability project label Jan 28, 2025
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@viduni94
Copy link
Contributor Author

/oblt-deploy

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observabilityAIAssistantApp 504 506 +2
observabilityAiAssistantManagement 382 384 +2
searchAssistant 262 264 +2
total +6

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
@kbn/ai-assistant 68 76 +8

Async chunks

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

id before after diff
observabilityAIAssistantApp 296.9KB 298.9KB +2.0KB
searchAssistant 162.7KB 164.7KB +2.0KB
total +3.9KB

Page load bundle

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

id before after diff
observabilityAIAssistantApp 14.8KB 14.8KB +55.0B
searchAssistant 4.8KB 4.8KB +55.0B
total +110.0B
Unknown metric groups

API count

id before after diff
@kbn/ai-assistant 68 76 +8

History

cc @viduni94

@viduni94 viduni94 merged commit 67cf170 into elastic:main Jan 28, 2025
10 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13017454088

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 28, 2025
…#207426)

Closes elastic#176295

## Summary

Categorizes the chat history based on `lastUpdated` date of the
conversation.

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [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)

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 67cf170)
@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 Jan 28, 2025
…207426) (#208605)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Obs AI Assistant] Chat history details in conversation list
(#207426)](#207426)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-28T18:50:18Z","message":"[Obs
AI Assistant] Chat history details in conversation list
(#207426)\n\nCloses
https://github.com/elastic/kibana/issues/176295\r\n\r\n##
Summary\r\n\r\nCategorizes the chat history based on `lastUpdated` date
of the\r\nconversation.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"67cf170a24c056b743b5fae229ff05f86913cb3d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["v9.0.0","release_note:feature","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v8.18.0"],"title":"[Obs
AI Assistant] Chat history details in conversation
list","number":207426,"url":"https://github.com/elastic/kibana/pull/207426","mergeCommit":{"message":"[Obs
AI Assistant] Chat history details in conversation list
(#207426)\n\nCloses
https://github.com/elastic/kibana/issues/176295\r\n\r\n##
Summary\r\n\r\nCategorizes the chat history based on `lastUpdated` date
of the\r\nconversation.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"67cf170a24c056b743b5fae229ff05f86913cb3d"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207426","number":207426,"mergeCommit":{"message":"[Obs
AI Assistant] Chat history details in conversation list
(#207426)\n\nCloses
https://github.com/elastic/kibana/issues/176295\r\n\r\n##
Summary\r\n\r\nCategorizes the chat history based on `lastUpdated` date
of the\r\nconversation.\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"67cf170a24c056b743b5fae229ff05f86913cb3d"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.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 ci:project-deploy-observability Create an Observability project release_note:feature Makes this part of the condensed release notes Team:Obs AI Assistant Observability AI Assistant v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Obs AI Assistant] Categorize conversations per time period in ConversationList
5 participants