@alan-ai/alan-sdk-web 1.8.25 → 1.8.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Alan voice assistant SDK for Web
1
+ # Alan AI: In-app voice assistant SDK for Web
2
2
 
3
3
  [Alan Platform](https://alan.app/) • [Alan Studio](https://studio.alan.app/register) • [Docs](https://alan.app/docs) • [FAQ](https://alan.app/docs/usage/additional/faq) •
4
4
  [Blog](https://alan.app/blog/) • [Twitter](https://twitter.com/alanvoiceai)
@@ -8,49 +8,49 @@
8
8
  [![CircleCI](https://circleci.com/gh/alan-ai/alan-sdk-web.svg?style=shield)](https://circleci.com/gh/alan-ai/alan-sdk-web)
9
9
 
10
10
 
11
- 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.
11
+ Quickly add voice to your app with the Alan Platform. Create an in-app voice assistant to enable human-like conversations and provide a personalized voice experience for every user.
12
12
 
13
- <img src="https://alan.app/voice/images/github/tablet-tasks.gif" height="325px" align="right"/>
13
+ <img src="https://storage.googleapis.com/alan-public-images/github/tablet-tasks.gif" height="325px" align="right"/>
14
14
 
15
15
 
16
16
  ## Alan is a Voice AI Platform
17
17
 
18
- 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:
18
+ 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 voice solutions:
19
19
 
20
20
  #### Alan Studio
21
- A web portal where you can write, test and manage dialog scenarios for your voice assistant or chatbot.
21
+ A powerful web-based IDE where you can write, test and debug dialog scenarios for your voice assistant or chatbot.
22
22
 
23
23
  #### Alan Client SDKs
24
24
 
25
- With Alan Client SDKs, you can quickly embed Alan's voice to your app.
25
+ Alan's lightweight SDKs to quickly embed a voice assistant to your app.
26
26
 
27
27
  #### Alan Cloud
28
28
 
29
- Alan's AI-backend that maintains voice deployments and accomplishes all Spoken Language Understanding (SLU) and Natural Language Processing (NLP) tasks.
29
+ Alan's AI-backend powered by the industry’s best Automatic Speech Recognition (ASR), Natural Language Understanding (NLU) and Speech Synthesis. The Alan Cloud provisions and handles the infrastructure required to maintain your voice deployments and perform all the voice processing tasks.
30
30
 
31
31
  To get more details on how Alan works, see <a href="https://alan.app/platform" target="_blank">Alan Platform</a>.
32
32
 
33
33
  ## Why Alan?
34
34
 
35
35
  * **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.
36
- * **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.
36
+ * **Serverless environment**: No need to plan for, deploy and maintain any infrastructure or speech components - the Alan Platform does the bulk of the work.
37
37
  * **On-the-fly updates**: All changes to the dialogs become available immediately.
38
38
  * **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.
39
39
 
40
40
 
41
41
  ## How to start
42
42
 
43
- To add voice a web app or page:
43
+ To create a voice assistant for your web app or page:
44
44
 
45
45
  1. <a href="https://studio.alan.app/register" target="_blank">Sign up for Alan Studio</a> to build voice scripts in JavaScript and test them.
46
- 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:
47
-
48
- * <img src="https://alan.app/assets/about/js.svg" height="35px" align="center" style="border:0px"/> <a href="https://alan.app/docs/client-api/web/vanilla" target="_blank">JavaScript</a>
49
- * <img src="https://alan.app/assets/about/react.svg" height="35px" align="center" style="border:0px"/> <a href="https://alan.app/docs/client-api/web/react" target="_blank">React</a>
50
- * <img src="https://alan.app/assets/about/angular.svg" height="35px" align="center" style="border:0px"/> <a href="https://alan.app/docs/client-api/web/angular" target="_blank">Angular</a>
51
- * <img src="https://alan.app/assets/about/vue.svg" height="35px" align="center" style="border:0px"/> <a href="https://alan.app/docs/client-api/web/vue" target="_blank">Vue</a>
52
- * <img src="https://alan.app/assets/about/ember.svg" height="35px" align="center" style="border:0px"/> <a href="https://alan.app/docs/client-api/web/ember" target="_blank">Ember</a>
53
- * <img src="https://alan.app/assets/about/electron.svg" height="35px" align="center" style="border:0px"/> <a href="https://alan.app/docs/client-api/web/electron" target="_blank">Electron</a>
46
+ 2. Use the Alan Web SDK to embed a voice assistant to your app or page. For details, see Alan AI documentation for the necessary framework:
47
+
48
+ * <a href="https://alan.app/docs/client-api/web/vanilla" target="_blank">JavaScript</a>
49
+ * <a href="https://alan.app/docs/client-api/web/react" target="_blank">React</a>
50
+ * <a href="https://alan.app/docs/client-api/web/angular" target="_blank">Angular</a>
51
+ * <a href="https://alan.app/docs/client-api/web/vue" target="_blank">Vue</a>
52
+ * <a href="https://alan.app/docs/client-api/web/ember" target="_blank">Ember</a>
53
+ * <a href="https://alan.app/docs/client-api/web/electron" target="_blank">Electron</a>
54
54
 
55
55
 
56
56
  Check out our <a href="https://alan-ai.github.io/alan-sdk-web/" target="_blank">demo</a>.
@@ -7,6 +7,7 @@ export interface AlanButtonOptions {
7
7
  top?: number | string;
8
8
  position?: string;
9
9
  pinned?: boolean;
10
+ showOverlayOnMicPermissionPrompt?: boolean;
10
11
  zIndex?: number;
11
12
  onCommand?(commandData: object): void;
12
13
  onEvent?(event: object): void;