andreyryabov / alan-sdk-cordova

Alan AI Cordova SDK adds a conversational voice assistant or chatbot to your app. Uses Natural Language Processing (NLP) and Automatic Speech Recognition (ASR) technologies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alan SDK Cordova component

How to install

1. Run npm i @alan-ai/cordova-plugin-alan-voice

2. Add Alan Button view to a template

    <alan-button id="alanBtnEl"
              #alanBtnEl
              alan-key="<YOUR_PROJECT_ID_FROM_ALAN_STUDIO>"></alan-button>

3. import alan button to your *.ts file and make a View Child

 import "@alan-ai/alan-button";
 
 @ViewChild('alanBtnEl') alanBtnComponent: ElementRef<HTMLAlanButtonElement>;

4. You are now ready to interact with Alan!

See more on Alan homepage

Other platforms:

About

Alan AI Cordova SDK adds a conversational voice assistant or chatbot to your app. Uses Natural Language Processing (NLP) and Automatic Speech Recognition (ASR) technologies.