Skip to content
/ openSAI Public

opensource implementation of SimpleAI(by izzy8799) in GO programming language

License

Notifications You must be signed in to change notification settings

z3nnix/openSAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSAI

Open-source implementation of SAI (SimpleAI) in Go.

Static Badge

Setup

First, you need to install dependencies.

In Debian-based (Ubuntu, etc.)

sudo apt install golang

In Arch-based (Manjaro, Artix, etc.)

sudo pacman -S go

In Gentoo-based

emerge --ask dev-lang/go

Other

Visit https://go.dev/doc/install

Post 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

Engine list

  • StupidV1: A classic SimpleAI engine
  • EmbeddingsV1: modified classic engine

Run it within

./bot

Ensure that your bot got neccesary permission for sending messages.

About

opensource implementation of SimpleAI(by izzy8799) in GO programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published