From 75e06c913b81d84cb48baf529e1c624a1591390d Mon Sep 17 00:00:00 2001 From: Adam Voliva Date: Mon, 18 Apr 2022 08:20:14 -0700 Subject: [PATCH] Update introduction.md (#489) --- docs/web-sdk/introduction.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/web-sdk/introduction.md b/docs/web-sdk/introduction.md index 84dab0df..28e8d5be 100644 --- a/docs/web-sdk/introduction.md +++ b/docs/web-sdk/introduction.md @@ -50,7 +50,7 @@ npm i @symblai/symbl-web-sdk ### CDN -You can also import the file into your HTML appliaction using our CDN.\ +You can also import the file into your HTML appliaction using our CDN. #### Versioned CDN @@ -178,7 +178,7 @@ try { await connection.stopProcessing(); // Closes the WebSocket connection. - connection.disconect(); + connection.disconnect(); } catch(e) { // Handle errors here. } @@ -217,7 +217,7 @@ try { await symbl.wait(60000);; // Closes the WebSocket connection. - connection.disconect(); + connection.disconnect(); } catch(e) { // Handle errors here. } @@ -277,7 +277,7 @@ try { await connection.stopProcessing(); // Closes the WebSocket connection. - connection.disconect(); + connection.disconnect(); } catch(e) { // Handle errors here. } @@ -344,7 +344,7 @@ try { await connection.stopProcessing(); // Closes the WebSocket connection. - connection.disconect(); + connection.disconnect(); } catch(e) { // Handle errors here. } @@ -388,7 +388,7 @@ You can pass any of the following connection configuration parameters: Field | Required | Supported Value | Description ---------- | ------- | ------- | ------- -```id``` | Optional* | Should match this regex: `/^[\da-z]{64,128}$/i` | The ID for the current session. *If not provided, a UUID will be generated for you. +```id``` | Optional* | Should match this regex: `/^[a-zA-Z0-9-]{6,64}$/` | The ID for the current session. *If not provided, a UUID will be generated for you. ```insightTypes``` | Optional | action_item, question | Types of insights to return. If not provided, no insights will be returned. ```customVocabulary``` | Optional | List of String | An array of strings containing vocabulary specific to your company, products, or phrases. ```config``` | Optional | Find the supported value [here](#config) | Configuration for this request. [See the config section below for more details](#config). @@ -531,7 +531,7 @@ Field | Required | Supported Value ## Events / Callbacks -Both the conection and audio stream objects have an [`on`](#startprocessingoptions-streamingapiconnectionconfig) method which can be used to subscribe to events and perform callbacks. +Both the connection and audio stream objects have an [`on`](#startprocessingoptions-streamingapiconnectionconfig) method which can be used to subscribe to events and perform callbacks. ### Connection Events @@ -1417,3 +1417,4 @@ In this version of the Web SDK, a few Known Issues have been observed. You can s - [Getting Live Transcripts and Conversation Intelligence](/docs/web-sdk/web-sdk-getting-live-transcripts/) - [Sending external Audio Streams](/docs/web-sdk/web-sdk-sending-external-audio-streams/) - [Updating Audio Source Mid-Stream](/docs/web-sdk/web-sdk-updating-audio-streams/) +