1.0.2 • Published 12 months ago
@dytesdk/ai-client v1.0.2
Table of Contents
About The Project
This package provides audio transcriptions in various languages.
Built With
Getting Started
Prerequisites
- npm
- A backend server URL, running https://github.com/dyte-in/google-transcription/tree/main/server
Installation
npm i @dytesdk/google-transcription
Usage
A speech object can be created using DyteGoogleSpeechRecognition
class.
import DyteGoogleSpeechRecognition from '@dytesdk/google-transcription';
const speech = new DyteGoogleSpeechRecognition({
meeting,
target: 'hi',
source: 'en-US',
baseUrl: <backend-url>,
});
speech.on('transcription', async (data) => {
// ... do something with transcription
// console.log(speech.transcriptions);
});
speech.transcribe();
Contributing
We really appreciate contributions in the form of bug reports and feature suggestions. Help us make Dyte better with your valuable contributions on our forum 🙂.
License
All rights reserved. © Dyte Inc.