Open-source implementation of SAI (SimpleAI) in Go.
First, you need to install dependencies.
sudo apt install golang
sudo pacman -S go
emerge --ask dev-lang/go
Visit https://go.dev/doc/install
Then, you need to make neccessary configuration files. Run commands below in the cloned repo folder.
cd config && touch info.bot names.bot response.bot token.bot vocabulary.bot && cd ..
Now you can build your bot within command below
go build -o bot cmd/bot/main.go cmd/bot/formatting.go cmd/bot/vocman.go cmd/bot/config.go cmd/bot/fetchHandler.go cmd/bot/amnesiaHandler.go cmd/bot/<ENGINE NAME>.go
- StupidV1: A classic SimpleAI engine
- EmbeddingsV1: modified classic engine
Run it within
./bot
Ensure that your bot got neccesary permission for sending messages.