Releases: deepgram/deepgram-js-sdk
Releases · deepgram/deepgram-js-sdk
v1.1.0
Added
-
Prerecorded transcription responses can now be used to generate WebVTT and SRT caption files. Example:
const response = await deepgram.transcription.preRecorded( { url: "URL_TO_FILE" }, { punctuate: true, utterances: true, } ); const webVTT = response.toWebVTT(); const SRT = response.toSRT();
The utterances feature is required to use this functionality.
1.0.3
Added
- In addition to a Url and Buffer,
trascricription.preRecorded
now accepts a
ReadStream as a source of the file to transcribe.
Updated
- Removed a console log that occurred when an HTTP request ended
v1.0.2
Added
deepgram.projects.update
will now update a project- Prerecorded transcription responses now include utterances
Updated
- The project type has been modified to the following:
{
project_id: string;
name?: string;
company?: string;
};
- The key type has been modified to the following:
{
api_key_id: string;
key?: string;
comment: string;
created: string;
scopes: Array<string>;
};
- The usage request type has been modified to the following:
{
request_id: string;
created: string;
path: string;
accessor: string;
response?: UsageRequestDetail | UsageRequestMessage;
callback?: UsageCallback;
};
v1.0.1
Fixed
- Fixed issue with live transcription auth
v1.0.0
Added
Live transcription
deepgram.transcription.live
now manages a websocket connection to Deepgram's API
for live transcription
Projects
deepgram.projects
allows listing projects or getting a specific project from
your Deepgram account
Updated
Pre-recorded transcription
deepgram.batch
has been moved todeepgram.transcription.preRecorded
- Type of
source
parameter of pre-recorded transcriptions has changed. You can now
send one of two types of objects:{ url: YOUR_FILES_URL }
or
{ buffer: BUFFER_OF_YOUR_FILE, mimetype: FILES_MIME_TYPE }
API Key management
- All
deepgram.keys
methods now require aprojectId
. deepgram.keys.create
now requires an additional parameterscopes
. This is a
string array specifying the scopes available to the newly created API key
v0.6.5
Updated README to denote alpha status
v0.6.4
0.6.4 release
v0.6.3
Update package.json
v0.6.2
Update package.json
v0.6.1
Fixing build package