-
Notifications
You must be signed in to change notification settings - Fork 83
Use AI to detect intent of user when using Slack app mention #1031
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
Merged
spastorelli
merged 16 commits into
steeve/add-ingest-conv-slack-integration
from
steeve/add-ingest-conv-app-mention-slack
Nov 7, 2025
Merged
Use AI to detect intent of user when using Slack app mention #1031
spastorelli
merged 16 commits into
steeve/add-ingest-conv-slack-integration
from
steeve/add-ingest-conv-app-mention-slack
Nov 7, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 170181a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
bfce4aa to
364090f
Compare
commit: |
29bf0c0 to
c4b67a6
Compare
76eb895 to
198136b
Compare
SamyPesse
approved these changes
Nov 6, 2025
89c0640 to
d09877c
Compare
f9a4bbf
into
steeve/add-ingest-conv-slack-integration
12 checks passed
spastorelli
added a commit
that referenced
this pull request
Nov 7, 2025
* Add conversations:ingest scope to manifest * Move actions/tasks related types to specific file * Add utils to retrieve Slack thread and parse convo permalinks * Add shortcut & command handling for conversation ingestion * Fix message sending and improve message copy * Improve notification message when conv is ingested from permalink * Fix subcommand text parsing * Add changeset * review: call ingestion API directly from exec thread instead of using task * review: add comment to getActionNameAndType * review: Add comments to ingest actions params * review: remove gitbook ingest command handler for now * Use AI to detect intent of user when using Slack app mention (#1031) * Add training script and classifier * Add gitignore * Fix format * Fix typing * Use OpenAI model to infer intent instead of a classifier * Improve prompts and return assitant response when asking for clarification * Make API key env var Slack specific * Set assistant status to provide the user with waiting message * Add SLACK_OPENAI_API_KEY env var to turbo.json * Remove log * Additional perf improvement * Add changeset * Add SLACK_OPENAI_API_KEY env var to workflows * review: use op for secrets and clean up missed files * Re-add bun.lock after rebasing * Add bun.lock * Feature flag conversations ingestion in Slack integration (#1043) * Feature flag conversation ingestion * Pull reflag secret from op * Use app URL based on intengration installation instead of hard coded one
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since we are adding ingestion of conversation of the Slack integration (in this PR) and need to support it in app mention as well. So we need a good way to detect the intent of the user invoking the Slack bot via app mention.
This PR aims at using OpenAI lightweight model to help with this.
Demo
Screen.Recording.2025-11-06.at.12.14.46.mov
Screen.Recording.2025-11-06.at.12.20.36.mov
Based on branch from #1030