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.
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:
- Python 3.10+
- Poetry
poetry install
Use firedust to create an AI assistant. See this example.
Create a new Slack app and note the signing secret and bot token. Get started here.
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.
poetry run python -m slackapp start
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.