-
Notifications
You must be signed in to change notification settings - Fork 625
feat: Activity Summarization #2675
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
base: develop
Are you sure you want to change the base?
Conversation
f8ff9d9 to
82938a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces Activity Summarization functionality for Helpdesk tickets using Otto (an AI service). The feature allows users to generate on-demand summaries of ticket activities, which are then displayed in the activity timeline.
- Adds Otto integration for AI-powered features with configurable settings
- Implements activity summarization with customizable guidelines and LLM selection
- Creates UI components for displaying summaries and managing Otto settings
Reviewed Changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| helpdesk/helpdesk/doctype/hd_ticket/api.py | Adds summaries to ticket activities retrieval |
| helpdesk/helpdesk/doctype/hd_settings/hd_settings.json | Adds Otto configuration fields to settings |
| helpdesk/api/otto/*.py | Core Otto integration modules for utils, types, and summarization |
| desk/src/types.ts | Adds Summary and SummaryActivity type definitions |
| desk/src/composables/otto.ts | Creates composable for Otto feature flags |
| desk/src/components/ticket/*.vue | Updates activity display to include summary components |
| desk/src/components/ticket-agent/*.vue | Adds summary box component and activity panel updates |
| desk/src/components/icons/*.vue | Adds new icons for summarization and bot features |
| desk/src/components/Settings/Otto/*.vue | Creates Otto settings configuration interface |
| desk/src/components/CommunicationArea.vue | Adds summarize button with real-time progress tracking |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
a7ba19f to
d3746bd
Compare
d3746bd to
49166b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
desk/src/components/Settings/Otto/Otto.vue:1
- TODO comment should be addressed or moved to a proper issue tracker for future implementation.
<template>
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
- use checkbox for sub-feature enable - update feature list design
- fix dirty state issues - add reset button for guidelines
What
Adds on demand Activity Summarization. Otto needs to be installed on the bench for it to work.
Future PR/Pending
This PR is 80% there, a few more things need to be done to improve the experience:
Monospace, markdown highlighted text input for the guidelines field.Scroll summary into view after generation, should be working rn, seems like a Helpdesk bug.Settings Section
Usage
Summary generated on demand when summarize is clicked:

Summary is added to the activity sequence:

Todo
Ritvik
Alan:
Closes: #2198