Skip to content

A basic slack bot that can answer questions on general knowledge

Notifications You must be signed in to change notification settings

Anwarul-Azim/GK_SlackBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GK SlackBot

GK SlackBot is a simple slack bot written in Go that can answer any question on general knowledge written in English. It uses Wit as the chatbot framework and Wolfram Alpha API for NLP model.

Installation

In order to use this chat bot, you need,

  • A slack workspace
  • A slackbot installed in that workspace with necessary (message read/write) permissions
  • An wit app with "wolfram_search_query" selected as intent
  • Access to wolfram api (app created in developers portal

After completing these prerequisites, get four tokens/ids and set those in the .env file. These are, slack app token, slack bot token, wit ai token and wolfram app id. Also, install all the third party libraries in your directory (check Acknowledgement).

Now the program is ready to fetch question from the bot, prepare the answer and send that again to the bot.

Acknowledgement

Instructions from this freeCodeCamp tutorial was followed for designing this bot.

Used third party libraries are -

The README is created using stackedit.

About

A basic slack bot that can answer questions on general knowledge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published