0.01
No commit activity in last 3 years
No release in over 3 years
Api-AI based bot ai
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 0.6
>= 12.0
~> 3.0

Runtime

~> 4.7
 Project Readme

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)