Skip to content

tuhinspatra/tyro-zulip-bot

Repository files navigation

tryo Bot logo

version 1.1 PRs Welcome License MIT

Open Source Love

Fun and fruitful AI bot for zulip chat.

tyro is a educational bot built on the zulip platform, powered by Google's dialogflow NLU, packed with simple AI games and dozens of other weird abilities.

Note: Dialogflow Intent matching is not implemented for all commands but can be done.

Get Started

You need to setup a google service account for the Dialogflow API to work. Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the downloaded json file.

If you are behind a proxy and get service limit exceeded error set the https_proxy same as http_proxy.

  • Go to your Zulip account and add a bot. Use Generic bot as the bot type.

  • Download the bot's zuliprc configuration file to your computer.

  • Download the zulip_bots Python package to your computer using pip install zulip_bots.

  • Start the bot process on your computer. Run zulip-run-bot ~/path/to/botname.py --config-file ~/path/to/zuliprc.

  • Check the output of the command. It should include the following line:

INFO:root:starting message handling...
Congrats! Your bot is running.

To talk with the bot, at-mention its name, like @**bot-name**.

Screenshots

AI Smalltalk

Engage in general human talk.

Smalltalk

Explain

Ask the bot to explain. Explain

Evaluate

Evaluate chain of mathermatical equations. evaluate

code

Get your code output. Code

Personal Instagram quiz

Code based on your instagram pictures and AI. Instaquiz

Quiz

Quiz

Facts

Confirm a fact. Facts

Contests

Contests

Stackoverflow

Stackoverflow

Contributors

License

MIT

Certain resources(icons, images, etc) require attribution.

Copyright (c) 2018-present, Team SacredHacks.

About

Fun and fruitful AI bot for zulip chat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages