Skip to content

ion2088/firedust-slack

Repository files navigation

Slack AI Assistant

A straightforward implementation of a Slack app connected to a firedust AI assistant. It supports group chats, direct messages, and learns the channel's message history when added to a group. Conversations are private within groups and with individual users. The assistant has persistent memory and recalls relevant information to respond effectively. To customize the assistant and add data to its memory, see examples here.

Quickstart

0. Overview

Deploy the assistant on Slack quickly using firedust's capabilities. Follow this example for a quick setup.

To deploy the app on your server, follow the steps below:

1. Prerequisites

2. Install Dependencies

poetry install

3. Create an assistant

Use firedust to create an AI assistant. See this example.

4. Create a Slack App

Create a new Slack app and note the signing secret and bot token. Get started here.

5. Environment Variables

Configure the following environment variables:

  • FIREDUST_API_KEY: Your Firedust API key.
  • ASSISTANT_NAME: The name of your AI assistant.
  • SLACK_SIGNING_SECRET: Your Slack app's signing secret.
  • SLACK_BOT_TOKEN: Your Slack app's bot token.

6. Run the App

poetry run python -m slackapp start

Features

Add To Channels: Invite the assistant to your channels and interact in a group by @mentioning it in messages. It learns the message history and can recall old messages if relevant. All conversations remain private to the specific channel.

Direct Messages: Interact with the assistant via direct messages in Slack. These conversations are as well confidential.

Train On Your Data: Enhance the assistant's memory with specialized data for more accurate responses. For examples on adding data to the assistant's memory, see here: firedust examples.

About

A simple AI assistant connected to Slack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published