testaugnitoambientsdk
Advanced tools
Comparing version 2.0.8 to 2.0.9
{ | ||
"name": "testaugnitoambientsdk", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "Use this typescript SDK to integrate Augnito’s Ambient Tech within your EMR. To get access credentials or know more about how Augnito Ambient can benefit you, please visit our website and connect with our sales team: https://augnito.ai/", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -29,2 +29,52 @@ # Augnito Ambient SDK | ||
}; | ||
const augnitoAmbient = new AugnitoAmbient(ambientConfig); | ||
``` | ||
### 3- Get Note Parameters | ||
Get all parameters (category and values) that are allowed fields to be passed when creating a job to generate note. | ||
```js | ||
//Returns JSON of Note Parameters | ||
const noteParamsJson = augnitoAmbient.getNoteParams(); | ||
``` | ||
### 4- Toogle the client | ||
Now all you have to do is toggle the status when you want to start/stop recording! | ||
```js | ||
// Toggles the recodring | ||
augnitoAmbient.toggleListening(filetype:string, noteparams:JSON); | ||
//#region Callbacks | ||
//Callback to change recording buton style | ||
public onStateChanged?: (isRecording: boolean) | ||
//Callback to receive the JOb Id | ||
public onJobCreated?: (text: string) | ||
//Callback to receive when an error occurs within the SDK | ||
public onError?: (errorMessage: string) | ||
//#endregion | ||
``` | ||
### 5- Fetch Job Output | ||
Get Transcript & Note for a JobID created against a UserTag | ||
```js | ||
//Returns Job Output JSON | ||
const JobOutput = augnitoAmbient.getSummarizedNote(JobId:string); | ||
``` | ||
### 6- Send Final Note | ||
Send the final edited Note to help increase accuracy of output in future. | ||
```js | ||
augnitoAmbient.sendSummarizedNote(JobId:string, NoteDate:string); | ||
``` |
@@ -32,2 +32,3 @@ "use strict"; | ||
}); | ||
console.log(response); | ||
if (!response.ok) { | ||
@@ -34,0 +35,0 @@ if (response.status === 503) { |
@@ -23,2 +23,3 @@ import AmbientConfig from "../config/AmbientConfig"; | ||
}); | ||
console.log(response); | ||
if (!response.ok) { | ||
@@ -25,0 +26,0 @@ if (response.status === 503) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63106
1393
79