Use VESSL Service to create a Slack Summarizer Bot with Open-Source Llama 3
Your Apps
tab on the top right corner. Create a new app from scratch called “Summarizer” in your designated workspace.
Under the OAuth & Permissions
tab, scroll down to Scopes
and configure the necessary scopes (such as app_mentions:read, channels:history, channels:join, chat:write, im:history, remote_files:read, users:read) and click Install to Workspace
.
Bot User OAuth Token
under OAuth & Permissions
and the Signing Secret
under Basic Information > App Credentials
and save them somehwere secure, like the designated VESSL interface Settings > Secrets
.
llm-summarizer-slackbot
example.serve-llama.yaml
configuration and VESSL CLI using the following command.Service
tab, and you an now access the model through the provided endpoint.
New Service
in Service
. Then, navigate to the Revisions
tab within the service and press New Revision
.
run-app.yaml
from the cloned repository. You will see the exact file on the right. You can now directly edit the YAML file with the editor or edit with the UI.access-token
, slackbot-token
, and slack-signing-secret
).
LLAMA3_BASE_URL
and press Create
.
Slack Request URL
under Event Subscriptions
.Event Subscriptions
and save the changes.summarize
command for a summary, --limit
to specify the number of messages (default: 10), --help
for instructions, and --version
to check the app version.