AI routine for Lita-bot that uses the API-AI-Ruby gem
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
spec let's hope this works! Oct 26, 2016
templates
.gitignore
Gemfile let's hope this works! Oct 26, 2016
README.md
Rakefile
lita-api-ai.gemspec

README.md

lita-api-ai

This plugin uses the AI routine from http://api.ai to give your bot some personality

Installation

Add lita-api-ai to your Lita instance's Gemfile:

gem "lita-api-ai"

you may need to add "api-ai-ruby" to your Gemfile as well if it complains about being unable to load it.

Configuration

Add in the API key you generate at api.ai into your config.

config.handlers.api_ai.api_key = "XXXXXXXXXXXXXXXXXXXXXXXXX"

Usage

Start your bot up and start talking.

Based heavily on Lita-ai (thanks Tom)