Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 827f4d3
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Voxa Chatbase for Alexa Skills | ||
============================== | ||
|
||
[![Build Status](https://travis-ci.org/mediarain/voxa-chatbase.svg?branch=master)](https://travis-ci.org/mediarain/voxa-chatbase) | ||
[![Coverage Status](https://coveralls.io/repos/github/mediarain/voxa-chatbase/badge.svg?branch=master)](https://coveralls.io/github/mediarain/voxa-chatbase?branch=master) | ||
|
||
A [Chatbase](https://www.npmjs.com/package/@google/chatbase) plugin for building Alexa Skills with [voxa](https://mediarain.github.io/voxa/) | ||
|
||
Installation | ||
------------- | ||
|
||
Just install from [npm](https://www.npmjs.com/package/voxa-chatbase) | ||
|
||
```bash | ||
npm install --save voxa-chatbase | ||
``` | ||
|
||
Usage | ||
------ | ||
|
||
```javascript | ||
|
||
const Voxa = require('voxa'); | ||
const voxaChatbase = require('voxa-chatbase'); | ||
|
||
const skill = new Voxa(voxaOptions); | ||
|
||
const chatbaseConfig = { | ||
apiKey: '<chatbase apiKey>', | ||
ignoreUsers: [], // a list of users to ignore | ||
suppressSending: false, // A flag to supress sending hits. | ||
}; | ||
|
||
voxaChatbase(skill, chatbaseConfig); | ||
``` |