@alan-ai/alan-sdk-web

Alan Web SDK: a lightweight JavaScript library for adding a voice experience to your website or web application

Usage no npm install needed!

<script type="module">
  import alanAiAlanSdkWeb from 'https://cdn.skypack.dev/@alan-ai/alan-sdk-web';
</script>

README

Alan voice assistant SDK for Web

Alan PlatformAlan StudioDocsFAQBlogTwitter

npm GitHub release (latest by date) CircleCI

Quickly add voice to your app or website. Create a voice assistant or build a multimodal interface with two input modes — speech and gestures — working in sync.

Alan is a Voice AI Platform

Alan is a conversational voice AI platform that lets you create an intelligent voice assistant for your app. It offers all necessary tools to design, embed and host your conversational experiences:

Alan Studio

A web portal where you can write, test and manage dialog scenarios for your voice assistant or chatbot.

Alan Client SDKs

With Alan Client SDKs, you can quickly embed Alan's voice to your app.

Alan Cloud

Alan's AI-backend that maintains voice deployments and accomplishes all Spoken Language Understanding (SLU) and Natural Language Processing (NLP) tasks.

To get more details on how Alan works, see Alan Platform.

Why Alan?

  • No or minimum changes to your UI: To voice enable your app, you only need to get the Alan Client SDK and drop it to your app.
  • Serverless environment: No need to plan for, deploy and maintain any infrastructure or speech components. Alan does all maintenance and voice processing tasks on behalf of your app.
  • On-the-fly updates: All changes to the dialogs become available immediately.
  • Voice flow testing and analytics: Alan Studio provides advanced tools for testing your dialog flows and getting the analytics data on users' interactions, all in the same console.

How to start

To add voice a web app or page:

  1. Sign up for Alan Studio to build voice scripts in JavaScript and test them.

  2. Use the Alan Web SDK to embed the Alan button to your app or page. For details, see Alan AI documentation for the necessary framework:

Check out our demo.

Downloads

Example apps

In the Examples folder, you can find example web apps created with:

  • React
  • Angular
  • Vue
  • Ember
  • Electron

To launch the app, follow the instructions in the README file inside the example app folder. Then press the Alan button and try interacting with Alan.

Other platforms

You may also want to try Alan Client SDKs for the following platforms:

Have questions?

If you have any questions or something is missing in the documentation: