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

Add slack channel context aggregator #31

Merged
merged 7 commits into from
Jan 17, 2025
Merged

Add slack channel context aggregator #31

merged 7 commits into from
Jan 17, 2025

Conversation

schobele
Copy link
Collaborator

This pull request introduces a new Slack channel aggregator to the ContextAggregator system, along with associated utilities. The most important changes include the addition of the slackChannelAggregator, updates to the ContextAggregator to incorporate this new aggregator, and the creation of utility functions for handling Slack messages.

Slack Channel Aggregator:

Slack Message Utilities:

  • src/slackbot/channel-summary.ts: Implemented the generateChannelSummary function to generate summaries of Slack channel messages based on a given prompt.
  • src/slackbot/utils.ts: Added utility functions for fetching historical Slack messages, converting Slack timestamps, and extracting text from Slack message elements. [1] [2]

Tests and Configuration:

Minor Fixes:

@schobele schobele requested a review from jan-osch January 16, 2025 15:21
Copy link
Member

@jan-osch jan-osch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jan-osch jan-osch merged commit 68c837c into main Jan 17, 2025
1 check passed
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.

2 participants