Skip to content

feat: implemented ai alert summaries generation#160

Open
Endowed992 wants to merge 1 commit into
MD-Creative-Production:mainfrom
Endowed992:AI
Open

feat: implemented ai alert summaries generation#160
Endowed992 wants to merge 1 commit into
MD-Creative-Production:mainfrom
Endowed992:AI

Conversation

@Endowed992

Copy link
Copy Markdown

Description

Alert summaries are now generated with a readable explanation, risk context, and actionable recommendations.

What changed

  • Added AlertSummaryService to build:
    • a human-readable summary,
    • a risk explanation, and
    • recommended actions
      in alert-summary.service.ts
  • Registered the AI module in ai.module.ts and imported it from app.module.ts
  • Extended notification payloads so summaries and recommendations can be shown in provider outputs:
    • notification-provider.interface.ts
    • discord.notification-provider.ts
    • telegram.notification-provider.ts
  • Added a regression test in alert-summary.service.spec.ts

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Related Issues

Fixes #139
Related to #

Changes Made

Testing

  • [x ] I have tested these changes locally
  • [x ] Tests pass locally (npm run test)
  • [ x] Linting passes (npm run lint)
  • [ x] Code is formatted (npm run format)
  • [ x] TypeScript builds successfully (npm run build)

Checklist

  • [ x] My code follows the style guidelines of this project
  • [ x] I have performed a self-review of my own code
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • [ x] I have made corresponding changes to the documentation
  • [ x] My changes generate no new warnings or errors
  • [ x] I have added tests that prove my fix is effective or that my feature works
  • [x ] New and existing unit tests passed with my changes

Screenshots (if applicable)

Additional Context

@mijinummi

Copy link
Copy Markdown
Collaborator

Hi @Endowed992 , thanks for your contributions, please kindly fix the remaining ci failures, please due ensure the all ci passed successfully. Well done for this effort you have put in so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📝 Generate AI Alert Summaries

2 participants