Releases: meetbryce/open-source-slack-ai
v0.5.1
v0.5.0
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.
☝️ Here's an example use case from our test account.
☝️ 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
v0.4.0
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
v0.3.1
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
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 toslack_server.py
Screenshots
Full Changelog: v0.2.1...v0.3.0
v0.2.1
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
Full Changelog: v0.2.0...v0.2.1
v0.2.0
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
.