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

New LLM feature: Starred events to forensic report (stored as a Story) #3332

Open
wants to merge 84 commits into
base: master
Choose a base branch
from

Conversation

itsmvd
Copy link
Collaborator

@itsmvd itsmvd commented Mar 11, 2025

This PR adds a new LLM-powered feature to automatically generate forensic reports (stored as a Story) from starred events.

  • Adds a "Generate forensic report" button that appears when starred events filter is active
  • Processes starred events through an LLM provider to create a forensic analysis report
  • Stores the generated report as a Story
  • Implements metrics for tracking events processed and stories created
  • Limits initial implementation to 1000 starred events per report (will be expanded once we add max_token_count tracking for LLM providers)

New button in EventList.vue (only visible when viewing starred events)
image

Example LLM generated report from starred events
image

@itsmvd itsmvd marked this pull request as ready for review March 11, 2025 16:46
@itsmvd
Copy link
Collaborator Author

itsmvd commented Mar 11, 2025

Two notes:

@jaegeral
Copy link
Collaborator

comment from the sideline, I believe keeping the limit to 1000 events is plenty, even if we increase the possible number to use for llm in general, having somewhat of a limit here could be just fine.

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.

3 participants