You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple main-style sample application using Symbl's Async API. This application will post an audio file to the platform and obtain the ActionItem results when they become available.
4
+
5
+
## Getting started
6
+
7
+
Open `.env` file and add your APP_ID, APP_SECRET, SUMMARY_EMAIL. You can get APP_ID and APP_SECRET from [https://platform.symbl.ai](https://platform.symbl.ai)
8
+
9
+
Most of the heavy lifting is done in the `common` library which you can read about its plumbing [here](../../common/README.md).
10
+
11
+
## Async Conversation Processing
12
+
13
+
Obtaining intelligence on ActionItems using the Async API is pretty straight forward, the steps are:
14
+
15
+
1. Login
16
+
2. Post the audio file and wait for the Symbl platform to process it
17
+
3. Retrieve the ActionItems
18
+
19
+
```
20
+
async function main() {
21
+
/*
22
+
Login and get token
23
+
*/
24
+
var token = await common.Login();
25
+
26
+
/*
27
+
Post the audio file to the Symbl platform
28
+
*/
29
+
var result = await post.Post(token, "All_I_Really_Want.mp3");
30
+
31
+
/*
32
+
Process ActionItems for the audio file
33
+
*/
34
+
var actionItems = await intelligence.ActionItems(token, result.conversationId);
This is a simple main-style sample application using Symbl's Async API. This application will post an audio file to the platform and obtain the Analytics results when they become available.
4
+
5
+
## Getting started
6
+
7
+
Open `.env` file and add your APP_ID, APP_SECRET, SUMMARY_EMAIL. You can get APP_ID and APP_SECRET from [https://platform.symbl.ai](https://platform.symbl.ai)
8
+
9
+
Most of the heavy lifting is done in the `common` library which you can read about its plumbing [here](../../common/README.md).
10
+
11
+
## Async Conversation Processing
12
+
13
+
Obtaining intelligence on Analytics using the Async API is pretty straight forward, the steps are:
14
+
15
+
1. Login
16
+
2. Post the audio file and wait for the Symbl platform to process it
17
+
3. Retrieve the Analytics
18
+
19
+
```
20
+
async function main() {
21
+
/*
22
+
Login and get token
23
+
*/
24
+
var token = await common.Login();
25
+
26
+
/*
27
+
Post the audio file to the Symbl platform
28
+
*/
29
+
var result = await post.Post(token, "All_I_Really_Want.mp3");
30
+
31
+
/*
32
+
Process Analytics for the audio file
33
+
*/
34
+
var analytics = await intelligence.Analytics(token, result.conversationId);
This is a simple main-style sample application using Symbl's Async API. This application will post an audio file to the platform and obtain the Entities results when they become available.
4
+
5
+
## Getting started
6
+
7
+
Open `.env` file and add your APP_ID, APP_SECRET, SUMMARY_EMAIL. You can get APP_ID and APP_SECRET from [https://platform.symbl.ai](https://platform.symbl.ai)
8
+
9
+
Most of the heavy lifting is done in the `common` library which you can read about its plumbing [here](../../common/README.md).
10
+
11
+
## Async Conversation Processing
12
+
13
+
Obtaining intelligence on Entities using the Async API is pretty straight forward, the steps are:
14
+
15
+
1. Login
16
+
2. Post the audio file and wait for the Symbl platform to process it
17
+
3. Retrieve the Entities
18
+
19
+
```
20
+
async function main() {
21
+
/*
22
+
Login and get token
23
+
*/
24
+
var token = await common.Login();
25
+
26
+
/*
27
+
Post the audio file to the Symbl platform
28
+
*/
29
+
var result = await post.Post(token, "All_I_Really_Want.mp3");
30
+
31
+
/*
32
+
Process Entities for the audio file
33
+
*/
34
+
var entities = await intelligence.Entities(token, result.conversationId);
This is a simple main-style sample application using Symbl's Async API. This application will post an audio file to the platform and obtain the FollowUp results when they become available.
4
+
5
+
## Getting started
6
+
7
+
Open `.env` file and add your APP_ID, APP_SECRET, SUMMARY_EMAIL. You can get APP_ID and APP_SECRET from [https://platform.symbl.ai](https://platform.symbl.ai)
8
+
9
+
Most of the heavy lifting is done in the `common` library which you can read about its plumbing [here](../../common/README.md).
10
+
11
+
## Async Conversation Processing
12
+
13
+
Obtaining intelligence on FollowUps using the Async API is pretty straight forward, the steps are:
14
+
15
+
1. Login
16
+
2. Post the audio file and wait for the Symbl platform to process it
17
+
3. Retrieve the FollowUps
18
+
19
+
```
20
+
async function main() {
21
+
/*
22
+
Login and get token
23
+
*/
24
+
var token = await common.Login();
25
+
26
+
/*
27
+
Post the audio file to the Symbl platform
28
+
*/
29
+
var result = await post.Post(token, "All_I_Really_Want.mp3");
30
+
31
+
/*
32
+
Process FollowUps for the audio file
33
+
*/
34
+
var followUps = await intelligence.FollowUps(token, result.conversationId);
0 commit comments