/ai-slackbot

This is an AI powered Slack chatbot. The chatbot uses an answer engine to converse with users in response to their messages.

Primary LanguageGoMIT LicenseMIT

AI Slackbot

GitHub GitHub GitHub issues GitHub GitHub Repo stars GitHub forks

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgements

About The Project

This is a Slack chatbot built with Golang and integrated with AI capabilities. The chatbot uses AI to understand and respond to user messages in a conversational manner. The code includes a Golang implementation of Slack's API for receiving and sending messages, as well as libraries for integrating with third-party AI services like wit-go, wolfram. Additionally, the repository includes documentation to help developers get started with building and deploying their own AI-powered Slack chatbots.

Getting Started

Installation

  1. First clone the repository.

    https://github.com/Pethum-Jeewantha/ai-slackbot.git

  2. Once cloned, open the repository from an IDE

  3. Make a .env file in the project root. Next, include the attributes below with values. Pre-configuring these tokens from relevant sources is necessary.

    • SLACK_APP_TOKEN
    • SLACK_BOT_TOKEN
    • WIT_AI_TOKEN
    • WOLFRAM_APP_ID
  4. Install any necessary dependencies using go get or another package manager.

  5. Run the project using go run ./main.go after the building is complete.

Usage

For programmers looking to utilize Golang to create a Slack chatbot with AI capabilities, this chatbot offers a ready-to-use option. The chatbot can comprehend user messages and have natural-sounding conversations with users thanks to the integration of AI. Offering a pre-built basis for creating AI-powered chatbots that can be customized to match their particular use case, this may save developers a lot of time and effort.

License

Copyright © 2023 - present Pethum Jeewantha. All rights reserved.

Licensed under the MIT license.

Contact

Pethum Jeewantha - Twitter - me@pethumjeewantha.com

Acknowledgements