Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testaugnitoambientsdk

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testaugnitoambientsdk - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

2

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc