Skip to content

Releases: meetbryce/open-source-slack-ai

v0.5.1

11 Oct 19:43
Compare
Choose a tag to compare

Very minor adjustment to resolve an issue with typing compatibility in python 3.9 (which we still support).

v0.5.0

11 Oct 18:43
Compare
Choose a tag to compare

Breaking Changes

These breaking changes are minor, but we recommend updating your app configuration accordingly.

  • /tldr_extended now supports custom prompts and no longer supports "public". You should update your slash command configuration. We suggest adding "[optional: custom prompt]" as a usage hint.
  • /tldr_since now supports custom prompts, and you should update your slash command configuration. We suggest adding "[optional: custom prompt]" as a usage hint.

What's New

Introducing custom prompt support for /tldr_since and /tldr_extended! You can now add custom instructions by simply providing the prompt in the slash command, e.g., /tldr_since anonymize the summary. We're looking forward to hearing how this new feature gets used! When using a custom prompt, the summary message appends the custom prompt for convenient reference and reuse via copy & paste.

Shoutout to @gt5772b for feature request #13, who suggested this feature.

Screenshot 2024-10-11 at 11 38 06@2x
☝️ Here's an example use case from our test account.

Screenshot 2024-10-11 at 10 20 54@2x
☝️ Here's an example summary from our test account.

Minor Improvements

  • to make room for custom prompts, we've deprecated support for the "public" option in /tldr_extended. If you want it reintroduced as an additional command, you can submit a feature request (or upvote if someone beats you to it)
  • we've replaced manual logging with proper use of the logger throughout the codebase
  • summarizer.py has been refactored into a class for easier use and state management

Full Changelog: v0.4.1...v0.5.0

v0.4.1

06 Sep 04:39
Compare
Choose a tag to compare

What's Changed

  • Resolve bug caused by exceeding the character limit of Slack text blocks #15
  • Refactor decorators for better maintainability

v0.4.0

30 Aug 04:34
Compare
Choose a tag to compare

Breaking Changes

The function signatures of multiple handlers have changed. If you run your own serve using the open-source-slack-ai package, you'll need to update your usage accordingly.

What's Changed

  • feat: introduce @catch_errors_and_dm_user decorator for use in handlers (resolving #7)
  • feat: add support for proper logging
  • refactor: resolve inconsistencies in handler signatures
  • test: unit test to ensure handlers all inform the user if not in channel

Minor improvements

  • chore: add CORS middleware for future use
  • chore: standardize on Black formatting
  • chore: remove handle_slack_api_error_with_say() and its usage since our decorator handles it now
  • test: update test to better reflect real world payload

Full Changelog: v0.3.2...v0.4.0

v0.3.2

23 Aug 04:04
Compare
Choose a tag to compare

What's Changed

Resolve minor issue with incompatible type definitions for python 3.9

v0.3.1

23 Aug 00:22
Compare
Choose a tag to compare

Improvements

  • Resolves an issue where most errors failed to deliver an error message to the end user, and instead, because of a malformed slack block, all the user saw was invalid_blocks
  • Removed unnecessary IDE folders. Thanks @dansc0de
  • Better documented and restricted python versions. Thanks @renob. See #5

New Contributors

v0.3.0

19 Jun 22:32
Compare
Choose a tag to compare

Improvements

  • Adds /tldr_since channel-level summaries of all messages since a given point in time. ( Note: currently doesn't include thread replies.)
  • Added instructions and manifest.yaml to make Slack App creation nice and easy
  • Improved handling of cases where the app hadn't been added to the channel in which the user tried to use it

Breaking Changes

While nothing will break, to access the new /tldr_since command:

  • If you're updating to this version, you'll need to add the new slash command to your Slack App config (see manifest.json for config details)
  • If you're using the open-source-slack-ai package and running your own application code, you'll need to update your server to include the new endpoints added to slack_server.py

Screenshots

Screenshot 2024-06-19 at 18 24 37@2x

Screenshot 2024-06-19 at 18 24 43@2x

Full Changelog: v0.2.1...v0.3.0

v0.2.1

18 Jun 21:39
Compare
Choose a tag to compare

Improvements

  • Integrates user feedback mechanism that passes the data to LangSmith for analysis and use.

Breaking Changes

In order for the feedback mechanism to work, those using the open-source-slack-ai python package with their own application code will need to add the new endpoint(s) introduced in slack_server.py

Screenshots

Screenshot 2024-06-18 at 17 39 06

Full Changelog: v0.2.0...v0.2.1

v0.2.0

13 Jun 02:45
Compare
Choose a tag to compare

Improvements

This minor version bump marks a switch from direct calls to OpenAI to using LangChain and LangSmith. This will lead to many additional features over time and support for out-of-the-box tracing, cost tracking, and analytics using LangSmith!

Full Changelog: v0.1.3...v0.2.0

Breaking Changes

  • New expected environment variables. Please update based on example.env.

v0.1.2

10 Jun 21:01
Compare
Choose a tag to compare

Properly mark dev dependencies as dev dependencies