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

augnitosdk

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

augnitosdk

AugnitoSDK lets you make use of the Speech Recognition AI. You can edit, format and complete reports at the speed of human speech, with the best-in-class accuracy

  • 0.0.7
  • npm
  • Socket score

Version published
Weekly downloads
2.4K
decreased by-7.45%
Maintainers
1
Weekly downloads
 
Created
Source

Augnito Speech SDK

You’ve found the Augnito Speech SDK! You can use Augnito SDK to make use of the Speech Recognition AI. You can edit, format and complete reports at the speed of human speech, with the best-in-class accuracy. Now use your personal templates and short forms from any workstation whether you are in office, or at home or in the journey in between.

Set up Augnito SDK.

Install the library in your project

npm install augnitosdk

Create the configuration file and instantiate Augnito Client

import { Augnito, AugnitoConfig, AugnitoAPIServer } from 'augnitosdk';

const augnitoConfig: AugnitoConfig = {
  server: AugnitoAPIServer.INDIA,
  accountCode: 'XXXXXXXXXXXXXXXXXXXXXX',
  accessKey: 'XXXXXXXXXXXXXXXXXXXXXX',
  userTag: 'user123',
  sourceApp: 'MyAppName',
  lmId: '38',
  enableLogs: false
};

const augnito = new Augnito(augnitoConfig);

Now all you have to do is toggle the status when you want to connect/disconnect!

// Toggles the Speech API connection
augnito.toggleListening();

That's all!

Mobile Application

Whether you want to use the Augnito App as your microphone, or you want to develop your own app, we got you covered.

All you have to do is initialize the mobile configuration. The SDK will generate a value that you need to use to generate a QR code which should be scanned in the App.

import { AugnitoMobileConfig } from 'augnitosdk';

const mobileConfig: AugnitoMobileConfig = {
  enableLogs: false
};
const augnitoMobile = augnito.initMobileClient(mobileConfig);

const code = augnito.getQRCode();

Augnito - Callbacks

NameSignatureDescription
onPartialResult(text: string) => voidPartial Result generated from the server
onFinalResult(finalText: Partial<Recipe>) => booleanA final result is called when text has been processed by the Speech Server. Returns true to stop the processing in the SDK
onCommandResult(command: Partial<Recipe>) => booleanA command generated from the server. Returns true to stop the processing in the SDK
onStateChanged(isConnected: boolean) => voidCallback to indicate the status of the connection has changed.
onSessionEvent(data: AugnitoSocketResponse) => voidCallback to intercept Session Events
onIdleMic() => voidCallback when the Mic is idle for 5 minutes

Augnito Mobile - Callbacks

NameSignatureDescription
onConnectionRequest() => voidCallback when a mobile client is requesting to connect
onMobileScan() => voidCallback when a mobile client has scanned the QR Code

Keywords

FAQs

Package last updated on 14 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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