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 Summary UI API. This application will post an audio file to the platform and obtain the Summary results via a pre-canned UI 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 Summary 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 URL for Summary UI
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 posturl.PostAudioURL(token, process.env.URL);
30
+
31
+
/*
32
+
Process Summary for the audio file
33
+
*/
34
+
var summary = await summaryui.SummaryAudioUI(token, process.env.URL, result.conversationId);
0 commit comments