@activepieces/piece-deepgram 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +38 -0
- package/src/actions/create-summary.d.ts +6 -0
- package/src/actions/create-summary.js +74 -0
- package/src/actions/create-summary.js.map +1 -0
- package/src/actions/create-transcription.d.ts +6 -0
- package/src/actions/create-transcription.js +69 -0
- package/src/actions/create-transcription.js.map +1 -0
- package/src/actions/list-projects.d.ts +1 -0
- package/src/actions/list-projects.js +28 -0
- package/src/actions/list-projects.js.map +1 -0
- package/src/actions/text-to-speech.d.ts +5 -0
- package/src/actions/text-to-speech.js +70 -0
- package/src/actions/text-to-speech.js.map +1 -0
- package/src/common/auth.d.ts +1 -0
- package/src/common/auth.js +28 -0
- package/src/common/auth.js.map +1 -0
- package/src/common/constants.d.ts +13 -0
- package/src/common/constants.js +159 -0
- package/src/common/constants.js.map +1 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +39 -0
- package/src/index.js.map +1 -0
package/README.md
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@activepieces/piece-deepgram",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@ai-sdk/anthropic": "1.2.12",
|
|
6
|
+
"@ai-sdk/google": "1.2.19",
|
|
7
|
+
"@ai-sdk/openai": "1.3.22",
|
|
8
|
+
"@ai-sdk/replicate": "0.2.8",
|
|
9
|
+
"@sinclair/typebox": "0.34.11",
|
|
10
|
+
"ai": "4.3.16",
|
|
11
|
+
"axios": "1.8.3",
|
|
12
|
+
"axios-retry": "4.4.1",
|
|
13
|
+
"deepmerge-ts": "7.1.0",
|
|
14
|
+
"fast-glob": "3.3.3",
|
|
15
|
+
"mime-types": "2.1.35",
|
|
16
|
+
"nanoid": "3.3.8",
|
|
17
|
+
"semver": "7.6.0",
|
|
18
|
+
"zod": "3.25.48",
|
|
19
|
+
"@activepieces/pieces-common": "0.5.2",
|
|
20
|
+
"@activepieces/pieces-framework": "0.14.1",
|
|
21
|
+
"@activepieces/shared": "0.14.1",
|
|
22
|
+
"tslib": "1.14.1"
|
|
23
|
+
},
|
|
24
|
+
"overrides": {
|
|
25
|
+
"@tryfabric/martian": {
|
|
26
|
+
"@notionhq/client": "$@notionhq/client"
|
|
27
|
+
},
|
|
28
|
+
"vite": {
|
|
29
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"resolutions": {
|
|
33
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
34
|
+
},
|
|
35
|
+
"types": "./src/index.d.ts",
|
|
36
|
+
"main": "./src/index.js",
|
|
37
|
+
"type": "commonjs"
|
|
38
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const createSummaryAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
+
audioFile: import("@activepieces/pieces-framework").FileProperty<true>;
|
|
3
|
+
model: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
4
|
+
language: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
5
|
+
fallbackToTranscript: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createSummaryAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../common/auth");
|
|
7
|
+
const constants_1 = require("../common/constants");
|
|
8
|
+
const mime_types_1 = tslib_1.__importDefault(require("mime-types"));
|
|
9
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
10
|
+
exports.createSummaryAction = (0, pieces_framework_1.createAction)({
|
|
11
|
+
auth: auth_1.deepgramAuth,
|
|
12
|
+
name: 'create_summary',
|
|
13
|
+
displayName: 'Create Summary',
|
|
14
|
+
description: 'Produces a summary of the content from an audio file.',
|
|
15
|
+
props: {
|
|
16
|
+
audioFile: pieces_framework_1.Property.File({
|
|
17
|
+
displayName: 'Audio File',
|
|
18
|
+
required: true,
|
|
19
|
+
}),
|
|
20
|
+
model: pieces_framework_1.Property.StaticDropdown({
|
|
21
|
+
displayName: 'Model',
|
|
22
|
+
required: false,
|
|
23
|
+
options: {
|
|
24
|
+
options: constants_1.MODEL_OPTIONS,
|
|
25
|
+
},
|
|
26
|
+
}),
|
|
27
|
+
language: pieces_framework_1.Property.StaticDropdown({
|
|
28
|
+
displayName: 'Language',
|
|
29
|
+
required: false,
|
|
30
|
+
description: 'en',
|
|
31
|
+
options: {
|
|
32
|
+
disabled: false,
|
|
33
|
+
options: constants_1.LANG_OPTIONS,
|
|
34
|
+
},
|
|
35
|
+
}),
|
|
36
|
+
fallbackToTranscript: pieces_framework_1.Property.Checkbox({
|
|
37
|
+
displayName: 'Fallback to Full Transcript',
|
|
38
|
+
description: 'Return full transcript if summary is not available.',
|
|
39
|
+
required: false,
|
|
40
|
+
defaultValue: true,
|
|
41
|
+
}),
|
|
42
|
+
},
|
|
43
|
+
run(context) {
|
|
44
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
var _a, _b, _c, _d;
|
|
46
|
+
const { audioFile, model = 'nova', fallbackToTranscript, language, } = context.propsValue;
|
|
47
|
+
const mimeType = mime_types_1.default.lookup(audioFile.extension || '') || 'audio/wav';
|
|
48
|
+
const response = yield pieces_common_1.httpClient.sendRequest({
|
|
49
|
+
url: constants_1.BASE_URL + '/listen',
|
|
50
|
+
method: pieces_common_1.HttpMethod.POST,
|
|
51
|
+
headers: {
|
|
52
|
+
Authorization: `Token ${context.auth}`,
|
|
53
|
+
'Content-Type': mimeType,
|
|
54
|
+
},
|
|
55
|
+
body: audioFile.data,
|
|
56
|
+
responseType: 'json',
|
|
57
|
+
queryParams: {
|
|
58
|
+
model,
|
|
59
|
+
summarize: 'v2',
|
|
60
|
+
language: language || 'en',
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
if (response.body.results.summary) {
|
|
64
|
+
return response.body.results.summary;
|
|
65
|
+
}
|
|
66
|
+
if (fallbackToTranscript &&
|
|
67
|
+
((_d = (_c = (_b = (_a = response.body.results.channels) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.alternatives) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.transcript)) {
|
|
68
|
+
return response.body.results.channels[0].alternatives[0].transcript;
|
|
69
|
+
}
|
|
70
|
+
throw new Error('No summary or transcript available');
|
|
71
|
+
});
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
//# sourceMappingURL=create-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-summary.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/deepgram/src/actions/create-summary.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,yCAA8C;AAC9C,mDAA4E;AAC5E,oEAA8B;AAC9B,+DAAqE;AAExD,QAAA,mBAAmB,GAAG,IAAA,+BAAY,EAAC;IAC9C,IAAI,EAAE,mBAAY;IAClB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,uDAAuD;IACpE,KAAK,EAAE;QACL,SAAS,EAAE,2BAAQ,CAAC,IAAI,CAAC;YACvB,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC7B,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE;gBACP,OAAO,EAAE,yBAAa;aACvB;SACF,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC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AG,CAAC,CAAC,0CAAE,YAAY,0CAAG,CAAC,CAAC,0CAAE,UAAU,CAAA,EAClE,CAAC;gBACD,OAAO,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;YACtE,CAAC;YAED,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;QACxD,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const createTranscriptionCallbackAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
+
audioFile: import("@activepieces/pieces-framework").FileProperty<true>;
|
|
3
|
+
model: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
4
|
+
language: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
5
|
+
callbackUrl: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createTranscriptionCallbackAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../common/auth");
|
|
7
|
+
const constants_1 = require("../common/constants");
|
|
8
|
+
const mime_types_1 = tslib_1.__importDefault(require("mime-types"));
|
|
9
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
10
|
+
exports.createTranscriptionCallbackAction = (0, pieces_framework_1.createAction)({
|
|
11
|
+
auth: auth_1.deepgramAuth,
|
|
12
|
+
name: 'create_transcription_callback',
|
|
13
|
+
displayName: 'Create Transcription (Callback)',
|
|
14
|
+
description: 'Creates a transcription using a callback URL.',
|
|
15
|
+
props: {
|
|
16
|
+
audioFile: pieces_framework_1.Property.File({
|
|
17
|
+
displayName: 'Audio File',
|
|
18
|
+
required: true,
|
|
19
|
+
}),
|
|
20
|
+
model: pieces_framework_1.Property.StaticDropdown({
|
|
21
|
+
displayName: 'Model',
|
|
22
|
+
required: false,
|
|
23
|
+
options: {
|
|
24
|
+
options: constants_1.MODEL_OPTIONS,
|
|
25
|
+
},
|
|
26
|
+
}),
|
|
27
|
+
language: pieces_framework_1.Property.StaticDropdown({
|
|
28
|
+
displayName: 'Language',
|
|
29
|
+
required: false,
|
|
30
|
+
description: 'en',
|
|
31
|
+
options: {
|
|
32
|
+
disabled: false,
|
|
33
|
+
options: constants_1.LANG_OPTIONS,
|
|
34
|
+
},
|
|
35
|
+
}),
|
|
36
|
+
callbackUrl: pieces_framework_1.Property.ShortText({
|
|
37
|
+
displayName: 'Callback URL',
|
|
38
|
+
description: 'URL to receive the transcription when ready.',
|
|
39
|
+
required: true,
|
|
40
|
+
}),
|
|
41
|
+
},
|
|
42
|
+
run(context) {
|
|
43
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
const { audioFile, model = 'nova', callbackUrl, language, } = context.propsValue;
|
|
45
|
+
const mimeType = mime_types_1.default.lookup(audioFile.extension || '') || 'audio/wav';
|
|
46
|
+
const response = yield pieces_common_1.httpClient.sendRequest({
|
|
47
|
+
url: constants_1.BASE_URL + '/listen',
|
|
48
|
+
method: pieces_common_1.HttpMethod.POST,
|
|
49
|
+
headers: {
|
|
50
|
+
Authorization: `Token ${context.auth}`,
|
|
51
|
+
'Content-Type': mimeType,
|
|
52
|
+
},
|
|
53
|
+
body: audioFile.data,
|
|
54
|
+
responseType: 'json',
|
|
55
|
+
queryParams: {
|
|
56
|
+
model,
|
|
57
|
+
callback: callbackUrl,
|
|
58
|
+
language: language || 'en',
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
return {
|
|
62
|
+
requestId: response.body.request_id,
|
|
63
|
+
callbackUrl,
|
|
64
|
+
status: 'submitted',
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
//# sourceMappingURL=create-transcription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-transcription.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/deepgram/src/actions/create-transcription.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,yCAA8C;AAC9C,mDAA4E;AAC5E,oEAA8B;AAC9B,+DAAqE;AAExD,QAAA,iCAAiC,GAAG,IAAA,+BAAY,EAAC;IAC5D,IAAI,EAAE,mBAAY;IAClB,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE,+CAA+C;IAC5D,KAAK,EAAE;QACL,SAAS,EAAE,2BAAQ,CAAC,IAAI,CAAC;YACvB,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC7B,WAAW,EAAE,OAAO;YACpB,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE;gBACP,OAAO,EAAE,yBAAa;aACvB;SACF,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAChC,WAAW,EAAE,UAAU;YACvB,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE;gBACP,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,wBAAY;aACtB;SACF,CAAC;QACF,WAAW,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC9B,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,EACJ,SAAS,EACT,KAAK,GAAG,MAAM,EACd,WAAW,EACX,QAAQ,GACT,GAAG,OAAO,CAAC,UAAU,CAAC;YACvB,MAAM,QAAQ,GAAG,oBAAI,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,WAAW,CAAC;YAEvE,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC5C,GAAG,EAAE,oBAAQ,GAAG,SAAS;gBACzB,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,OAAO,EAAE;oBACP,aAAa,EAAE,SAAS,OAAO,CAAC,IAAI,EAAE;oBACtC,cAAc,EAAE,QAAQ;iBACzB;gBACD,IAAI,EAAE,SAAS,CAAC,IAAI;gBACpB,YAAY,EAAE,MAAM;gBACpB,WAAW,EAAE;oBACX,KAAK;oBACL,QAAQ,EAAE,WAAW;oBACrB,QAAQ,EAAE,QAAQ,IAAI,IAAI;iBAC3B;aACF,CAAC,CAAC;YAEH,OAAO;gBACL,SAAS,EAAE,QAAQ,CAAC,IAAI,CAAC,UAAU;gBACnC,WAAW;gBACX,MAAM,EAAE,WAAW;aACpB,CAAC;QACJ,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const listProjectsAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.listProjectsAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../common/auth");
|
|
7
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
8
|
+
const constants_1 = require("../common/constants");
|
|
9
|
+
exports.listProjectsAction = (0, pieces_framework_1.createAction)({
|
|
10
|
+
auth: auth_1.deepgramAuth,
|
|
11
|
+
name: 'list_projects',
|
|
12
|
+
displayName: 'List Projects',
|
|
13
|
+
description: 'Retrieves a list of all projects associated with the account.',
|
|
14
|
+
props: {},
|
|
15
|
+
run(context) {
|
|
16
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
17
|
+
const response = yield pieces_common_1.httpClient.sendRequest({
|
|
18
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
19
|
+
url: constants_1.BASE_URL + '/projects',
|
|
20
|
+
headers: {
|
|
21
|
+
Authorization: `Token ${context.auth}`,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
return response.body;
|
|
25
|
+
});
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=list-projects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/deepgram/src/actions/list-projects.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,yCAA8C;AAC9C,+DAAqE;AACrE,mDAA+C;AAElC,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,mBAAY;IAClB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,+DAA+D;IAC5E,KAAK,EAAE,EAAE;IACH,GAAG,CAAC,OAAO;;YACf,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC5C,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,oBAAQ,GAAG,WAAW;gBAC3B,OAAO,EAAE;oBACP,aAAa,EAAE,SAAS,OAAO,CAAC,IAAI,EAAE;iBACvC;aACF,CAAC,CAAC;YAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACvB,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const textToSpeechAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
+
text: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
3
|
+
model: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
4
|
+
encoding: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
5
|
+
}>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.textToSpeechAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../common/auth");
|
|
7
|
+
const constants_1 = require("../common/constants");
|
|
8
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
9
|
+
exports.textToSpeechAction = (0, pieces_framework_1.createAction)({
|
|
10
|
+
auth: auth_1.deepgramAuth,
|
|
11
|
+
name: 'text_to_speech',
|
|
12
|
+
displayName: 'Text to Speech',
|
|
13
|
+
description: 'Converts text to audio file.',
|
|
14
|
+
props: {
|
|
15
|
+
text: pieces_framework_1.Property.LongText({
|
|
16
|
+
displayName: 'Text',
|
|
17
|
+
required: true,
|
|
18
|
+
}),
|
|
19
|
+
model: pieces_framework_1.Property.StaticDropdown({
|
|
20
|
+
displayName: 'Voice',
|
|
21
|
+
required: true,
|
|
22
|
+
options: {
|
|
23
|
+
options: constants_1.TEXT_TO_SPEECH_MODELS,
|
|
24
|
+
},
|
|
25
|
+
}),
|
|
26
|
+
encoding: pieces_framework_1.Property.StaticDropdown({
|
|
27
|
+
displayName: 'Output Format',
|
|
28
|
+
required: false,
|
|
29
|
+
defaultValue: 'mp3',
|
|
30
|
+
options: {
|
|
31
|
+
disabled: false,
|
|
32
|
+
options: [
|
|
33
|
+
{ label: 'linear16', value: 'linear16' },
|
|
34
|
+
{ label: 'flac', value: 'flac' },
|
|
35
|
+
{ label: 'mulaw', value: 'mulaw' },
|
|
36
|
+
{ label: 'alaw', value: 'alaw' },
|
|
37
|
+
{ label: 'mp3', value: 'mp3' },
|
|
38
|
+
{ label: 'opus', value: 'opus' },
|
|
39
|
+
{ label: 'aac', value: 'aac' },
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
}),
|
|
43
|
+
},
|
|
44
|
+
run(context) {
|
|
45
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
const { text, model, encoding } = context.propsValue;
|
|
47
|
+
const response = yield pieces_common_1.httpClient.sendRequest({
|
|
48
|
+
method: pieces_common_1.HttpMethod.POST,
|
|
49
|
+
url: constants_1.BASE_URL + '/speak',
|
|
50
|
+
body: { text },
|
|
51
|
+
headers: {
|
|
52
|
+
Authorization: `Token ${context.auth}`,
|
|
53
|
+
'Content-Type': 'application/json',
|
|
54
|
+
},
|
|
55
|
+
queryParams: {
|
|
56
|
+
model,
|
|
57
|
+
encoding: encoding || 'mp3',
|
|
58
|
+
},
|
|
59
|
+
responseType: 'arraybuffer',
|
|
60
|
+
});
|
|
61
|
+
return {
|
|
62
|
+
file: yield context.files.write({
|
|
63
|
+
fileName: `audio.${encoding}`,
|
|
64
|
+
data: Buffer.from(response.body),
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
});
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
//# sourceMappingURL=text-to-speech.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-to-speech.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/deepgram/src/actions/text-to-speech.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,yCAA8C;AAC9C,mDAAsE;AACtE,+DAAqE;AAExD,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,mBAAY;IAClB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE;QACL,IAAI,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACtB,WAAW,EAAE,MAAM;YACnB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,K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,KAAK;iBAC5B;gBACD,YAAY,EAAE,aAAa;aAC5B,CAAC,CAAC;YAEH,OAAO;gBACL,IAAI,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;oBAC9B,QAAQ,EAAE,SAAS,QAAQ,EAAE;oBAC7B,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;iBACjC,CAAC;aACH,CAAC;QACJ,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const deepgramAuth: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deepgramAuth = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
6
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
7
|
+
const constants_1 = require("./constants");
|
|
8
|
+
exports.deepgramAuth = pieces_framework_1.PieceAuth.SecretText({
|
|
9
|
+
displayName: 'API Key',
|
|
10
|
+
required: true,
|
|
11
|
+
description: `You can obtain your API key from [Deepgram Console](https://console.deepgram.com/).`,
|
|
12
|
+
validate: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
|
|
13
|
+
try {
|
|
14
|
+
yield pieces_common_1.httpClient.sendRequest({
|
|
15
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
16
|
+
url: constants_1.BASE_URL + '/projects',
|
|
17
|
+
headers: {
|
|
18
|
+
Authorization: `Token ${auth}`,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
return { valid: true };
|
|
22
|
+
}
|
|
23
|
+
catch (e) {
|
|
24
|
+
return { valid: false, error: 'Invalid API key.' };
|
|
25
|
+
}
|
|
26
|
+
}),
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/deepgram/src/common/auth.ts"],"names":[],"mappings":";;;;AAAA,+DAAqE;AACrE,qEAA2D;AAC3D,2CAAuC;AAE1B,QAAA,YAAY,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC/C,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,qFAAqF;IAClG,QAAQ,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACvB,IAAI,CAAC;YACH,MAAM,0BAAU,CAAC,WAAW,CAAC;gBAC3B,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,oBAAQ,GAAG,WAAW;gBAC3B,OAAO,EAAE;oBACP,aAAa,EAAE,SAAS,IAAc,EAAE;iBACzC;aACF,CAAC,CAAC;YACH,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACzB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC;QACrD,CAAC;IACH,CAAC,CAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const BASE_URL = "https://api.deepgram.com/v1";
|
|
2
|
+
export declare const LANG_OPTIONS: {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const MODEL_OPTIONS: {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const TEXT_TO_SPEECH_MODELS: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEXT_TO_SPEECH_MODELS = exports.MODEL_OPTIONS = exports.LANG_OPTIONS = exports.BASE_URL = void 0;
|
|
4
|
+
exports.BASE_URL = 'https://api.deepgram.com/v1';
|
|
5
|
+
exports.LANG_OPTIONS = [
|
|
6
|
+
{ label: 'bg', value: 'bg' },
|
|
7
|
+
{ label: 'ca', value: 'ca' },
|
|
8
|
+
{ label: 'zh', value: 'zh' },
|
|
9
|
+
{ label: 'zh-CN', value: 'zh-CN' },
|
|
10
|
+
{ label: 'zh-TW', value: 'zh-TW' },
|
|
11
|
+
{ label: 'zh-HK', value: 'zh-HK' },
|
|
12
|
+
{ label: 'zh-Hans', value: 'zh-Hans' },
|
|
13
|
+
{ label: 'zh-Hant', value: 'zh-Hant' },
|
|
14
|
+
{ label: 'cs', value: 'cs' },
|
|
15
|
+
{ label: 'da', value: 'da' },
|
|
16
|
+
{ label: 'da-DK', value: 'da-DK' },
|
|
17
|
+
{ label: 'nl', value: 'nl' },
|
|
18
|
+
{ label: 'nl-BE', value: 'nl-BE' },
|
|
19
|
+
{ label: 'en', value: 'en' },
|
|
20
|
+
{ label: 'en-US', value: 'en-US' },
|
|
21
|
+
{ label: 'en-AU', value: 'en-AU' },
|
|
22
|
+
{ label: 'en-GB', value: 'en-GB' },
|
|
23
|
+
{ label: 'en-NZ', value: 'en-NZ' },
|
|
24
|
+
{ label: 'en-IN', value: 'en-IN' },
|
|
25
|
+
{ label: 'et', value: 'et' },
|
|
26
|
+
{ label: 'fi', value: 'fi' },
|
|
27
|
+
{ label: 'fr', value: 'fr' },
|
|
28
|
+
{ label: 'fr-CA', value: 'fr-CA' },
|
|
29
|
+
{ label: 'de', value: 'de' },
|
|
30
|
+
{ label: 'de-CH', value: 'de-CH' },
|
|
31
|
+
{ label: 'el', value: 'el' },
|
|
32
|
+
{ label: 'hi', value: 'hi' },
|
|
33
|
+
{ label: 'hi-Latn', value: 'hi-Latn' },
|
|
34
|
+
{ label: 'hu', value: 'hu' },
|
|
35
|
+
{ label: 'id', value: 'id' },
|
|
36
|
+
{ label: 'it', value: 'it' },
|
|
37
|
+
{ label: 'ja', value: 'ja' },
|
|
38
|
+
{ label: 'ko', value: 'ko' },
|
|
39
|
+
{ label: 'ko-KR', value: 'ko-KR' },
|
|
40
|
+
{ label: 'lv', value: 'lv' },
|
|
41
|
+
{ label: 'lt', value: 'lt' },
|
|
42
|
+
{ label: 'ms', value: 'ms' },
|
|
43
|
+
{ label: 'no', value: 'no' },
|
|
44
|
+
{ label: 'pl', value: 'pl' },
|
|
45
|
+
{ label: 'pt', value: 'pt' },
|
|
46
|
+
{ label: 'pt-BR', value: 'pt-BR' },
|
|
47
|
+
{ label: 'pt-PT', value: 'pt-PT' },
|
|
48
|
+
{ label: 'ro', value: 'ro' },
|
|
49
|
+
{ label: 'ru', value: 'ru' },
|
|
50
|
+
{ label: 'sk', value: 'sk' },
|
|
51
|
+
{ label: 'es', value: 'es' },
|
|
52
|
+
{ label: 'es-419', value: 'es-419' },
|
|
53
|
+
{ label: 'es-LATAM', value: 'es-LATAM' },
|
|
54
|
+
{ label: 'sv', value: 'sv' },
|
|
55
|
+
{ label: 'sv-SE', value: 'sv-SE' },
|
|
56
|
+
{ label: 'taq', value: 'taq' },
|
|
57
|
+
{ label: 'th', value: 'th' },
|
|
58
|
+
{ label: 'th-TH', value: 'th-TH' },
|
|
59
|
+
{ label: 'tr', value: 'tr' },
|
|
60
|
+
{ label: 'uk', value: 'uk' },
|
|
61
|
+
{ label: 'vi', value: 'vi' },
|
|
62
|
+
];
|
|
63
|
+
exports.MODEL_OPTIONS = [
|
|
64
|
+
{ label: 'nova-3', value: 'nova-3' },
|
|
65
|
+
{ label: 'nova-3-general', value: 'nova-3-general' },
|
|
66
|
+
{ label: 'nova-3-medical', value: 'nova-3-medical' },
|
|
67
|
+
{ label: 'nova-2', value: 'nova-2' },
|
|
68
|
+
{ label: 'nova-2-general', value: 'nova-2-general' },
|
|
69
|
+
{ label: 'nova-2-meeting', value: 'nova-2-meeting' },
|
|
70
|
+
{ label: 'nova-2-finance', value: 'nova-2-finance' },
|
|
71
|
+
{ label: 'nova-2-conversationalai', value: 'nova-2-conversationalai' },
|
|
72
|
+
{ label: 'nova-2-voicemail', value: 'nova-2-voicemail' },
|
|
73
|
+
{ label: 'nova-2-video', value: 'nova-2-video' },
|
|
74
|
+
{ label: 'nova-2-medical', value: 'nova-2-medical' },
|
|
75
|
+
{ label: 'nova-2-drivethru', value: 'nova-2-drivethru' },
|
|
76
|
+
{ label: 'nova-2-automotive', value: 'nova-2-automotive' },
|
|
77
|
+
{ label: 'nova', value: 'nova' },
|
|
78
|
+
{ label: 'nova-general', value: 'nova-general' },
|
|
79
|
+
{ label: 'nova-phonecall', value: 'nova-phonecall' },
|
|
80
|
+
{ label: 'nova-medical', value: 'nova-medical' },
|
|
81
|
+
{ label: 'enhanced', value: 'enhanced' },
|
|
82
|
+
{ label: 'enhanced-general', value: 'enhanced-general' },
|
|
83
|
+
{ label: 'enhanced-meeting', value: 'enhanced-meeting' },
|
|
84
|
+
{ label: 'enhanced-phonecall', value: 'enhanced-phonecall' },
|
|
85
|
+
{ label: 'enhanced-finance', value: 'enhanced-finance' },
|
|
86
|
+
{ label: 'base', value: 'base' },
|
|
87
|
+
{ label: 'meeting', value: 'meeting' },
|
|
88
|
+
{ label: 'phonecall', value: 'phonecall' },
|
|
89
|
+
{ label: 'finance', value: 'finance' },
|
|
90
|
+
{ label: 'conversationalai', value: 'conversationalai' },
|
|
91
|
+
{ label: 'voicemail', value: 'voicemail' },
|
|
92
|
+
{ label: 'video', value: 'video' },
|
|
93
|
+
];
|
|
94
|
+
exports.TEXT_TO_SPEECH_MODELS = [
|
|
95
|
+
{ label: 'aura-asteria-en', value: 'aura-asteria-en' },
|
|
96
|
+
{ label: 'aura-luna-en', value: 'aura-luna-en' },
|
|
97
|
+
{ label: 'aura-stella-en', value: 'aura-stella-en' },
|
|
98
|
+
{ label: 'aura-athena-en', value: 'aura-athena-en' },
|
|
99
|
+
{ label: 'aura-hera-en', value: 'aura-hera-en' },
|
|
100
|
+
{ label: 'aura-orion-en', value: 'aura-orion-en' },
|
|
101
|
+
{ label: 'aura-arcas-en', value: 'aura-arcas-en' },
|
|
102
|
+
{ label: 'aura-perseus-en', value: 'aura-perseus-en' },
|
|
103
|
+
{ label: 'aura-angus-en', value: 'aura-angus-en' },
|
|
104
|
+
{ label: 'aura-orpheus-en', value: 'aura-orpheus-en' },
|
|
105
|
+
{ label: 'aura-helios-en', value: 'aura-helios-en' },
|
|
106
|
+
{ label: 'aura-zeus-en', value: 'aura-zeus-en' },
|
|
107
|
+
{ label: 'aura-2-amalthea-en', value: 'aura-2-amalthea-en' },
|
|
108
|
+
{ label: 'aura-2-andromeda-en', value: 'aura-2-andromeda-en' },
|
|
109
|
+
{ label: 'aura-2-apollo-en', value: 'aura-2-apollo-en' },
|
|
110
|
+
{ label: 'aura-2-arcas-en', value: 'aura-2-arcas-en' },
|
|
111
|
+
{ label: 'aura-2-aries-en', value: 'aura-2-aries-en' },
|
|
112
|
+
{ label: 'aura-2-asteria-en', value: 'aura-2-asteria-en' },
|
|
113
|
+
{ label: 'aura-2-athena-en', value: 'aura-2-athena-en' },
|
|
114
|
+
{ label: 'aura-2-atlas-en', value: 'aura-2-atlas-en' },
|
|
115
|
+
{ label: 'aura-2-aurora-en', value: 'aura-2-aurora-en' },
|
|
116
|
+
{ label: 'aura-2-callista-en', value: 'aura-2-callista-en' },
|
|
117
|
+
{ label: 'aura-2-cordelia-en', value: 'aura-2-cordelia-en' },
|
|
118
|
+
{ label: 'aura-2-cora-en', value: 'aura-2-cora-en' },
|
|
119
|
+
{ label: 'aura-2-delia-en', value: 'aura-2-delia-en' },
|
|
120
|
+
{ label: 'aura-2-draco-en', value: 'aura-2-draco-en' },
|
|
121
|
+
{ label: 'aura-2-electra-en', value: 'aura-2-electra-en' },
|
|
122
|
+
{ label: 'aura-2-harmonia-en', value: 'aura-2-harmonia-en' },
|
|
123
|
+
{ label: 'aura-2-helena-en', value: 'aura-2-helena-en' },
|
|
124
|
+
{ label: 'aura-2-hera-en', value: 'aura-2-hera-en' },
|
|
125
|
+
{ label: 'aura-2-hermes-en', value: 'aura-2-hermes-en' },
|
|
126
|
+
{ label: 'aura-2-hyperion-en', value: 'aura-2-hyperion-en' },
|
|
127
|
+
{ label: 'aura-2-iris-en', value: 'aura-2-iris-en' },
|
|
128
|
+
{ label: 'aura-2-janus-en', value: 'aura-2-janus-en' },
|
|
129
|
+
{ label: 'aura-2-juno-en', value: 'aura-2-juno-en' },
|
|
130
|
+
{ label: 'aura-2-jupiter-en', value: 'aura-2-jupiter-en' },
|
|
131
|
+
{ label: 'aura-2-luna-en', value: 'aura-2-luna-en' },
|
|
132
|
+
{ label: 'aura-2-mars-en', value: 'aura-2-mars-en' },
|
|
133
|
+
{ label: 'aura-2-minerva-en', value: 'aura-2-minerva-en' },
|
|
134
|
+
{ label: 'aura-2-neptune-en', value: 'aura-2-neptune-en' },
|
|
135
|
+
{ label: 'aura-2-odysseus-en', value: 'aura-2-odysseus-en' },
|
|
136
|
+
{ label: 'aura-2-ophelia-en', value: 'aura-2-ophelia-en' },
|
|
137
|
+
{ label: 'aura-2-orion-en', value: 'aura-2-orion-en' },
|
|
138
|
+
{ label: 'aura-2-orpheus-en', value: 'aura-2-orpheus-en' },
|
|
139
|
+
{ label: 'aura-2-pandora-en', value: 'aura-2-pandora-en' },
|
|
140
|
+
{ label: 'aura-2-phoebe-en', value: 'aura-2-phoebe-en' },
|
|
141
|
+
{ label: 'aura-2-pluto-en', value: 'aura-2-pluto-en' },
|
|
142
|
+
{ label: 'aura-2-saturn-en', value: 'aura-2-saturn-en' },
|
|
143
|
+
{ label: 'aura-2-selene-en', value: 'aura-2-selene-en' },
|
|
144
|
+
{ label: 'aura-2-thalia-en', value: 'aura-2-thalia-en' },
|
|
145
|
+
{ label: 'aura-2-theia-en', value: 'aura-2-theia-en' },
|
|
146
|
+
{ label: 'aura-2-vesta-en', value: 'aura-2-vesta-en' },
|
|
147
|
+
{ label: 'aura-2-zeus-en', value: 'aura-2-zeus-en' },
|
|
148
|
+
{ label: 'aura-2-sirio-es', value: 'aura-2-sirio-es' },
|
|
149
|
+
{ label: 'aura-2-nestor-es', value: 'aura-2-nestor-es' },
|
|
150
|
+
{ label: 'aura-2-carina-es', value: 'aura-2-carina-es' },
|
|
151
|
+
{ label: 'aura-2-celeste-es', value: 'aura-2-celeste-es' },
|
|
152
|
+
{ label: 'aura-2-alvaro-es', value: 'aura-2-alvaro-es' },
|
|
153
|
+
{ label: 'aura-2-diana-es', value: 'aura-2-diana-es' },
|
|
154
|
+
{ label: 'aura-2-aquila-es', value: 'aura-2-aquila-es' },
|
|
155
|
+
{ label: 'aura-2-selena-es', value: 'aura-2-selena-es' },
|
|
156
|
+
{ label: 'aura-2-estrella-es', value: 'aura-2-estrella-es' },
|
|
157
|
+
{ label: 'aura-2-javier-es', value: 'aura-2-javier-es' },
|
|
158
|
+
];
|
|
159
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/deepgram/src/common/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,6BAA6B,CAAC;AAEzC,QAAA,YAAY,GAAG;IAC1B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;IAC5B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;IAC5B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;IAC5B,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAClC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAClC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAClC,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;I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,KAAK,EAAE,kBAAkB,EAAE;IACxD,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,iBAAiB,EAAE;IACtD,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;IACxD,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;IACxD,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC5D,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,kBAAkB,EAAE;CACzD,CAAC"}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const deepgramPiece: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").SecretTextProperty<true>>;
|
package/src/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deepgramPiece = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("./common/auth");
|
|
7
|
+
const create_summary_1 = require("./actions/create-summary");
|
|
8
|
+
const create_transcription_1 = require("./actions/create-transcription");
|
|
9
|
+
const list_projects_1 = require("./actions/list-projects");
|
|
10
|
+
const text_to_speech_1 = require("./actions/text-to-speech");
|
|
11
|
+
const shared_1 = require("@activepieces/shared");
|
|
12
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
13
|
+
const constants_1 = require("./common/constants");
|
|
14
|
+
exports.deepgramPiece = (0, pieces_framework_1.createPiece)({
|
|
15
|
+
displayName: 'Deepgram',
|
|
16
|
+
logoUrl: 'https://cdn.activepieces.com/pieces/deepgram.png',
|
|
17
|
+
description: 'Deepgram is an AI-powered speech recognition platform that provides real-time transcription, text-to-speech, and audio analysis capabilities.',
|
|
18
|
+
categories: [shared_1.PieceCategory.ARTIFICIAL_INTELLIGENCE],
|
|
19
|
+
minimumSupportedRelease: '0.30.0',
|
|
20
|
+
authors: ['Ani-4x', 'kishanprmr'],
|
|
21
|
+
auth: auth_1.deepgramAuth,
|
|
22
|
+
actions: [
|
|
23
|
+
create_summary_1.createSummaryAction,
|
|
24
|
+
create_transcription_1.createTranscriptionCallbackAction,
|
|
25
|
+
list_projects_1.listProjectsAction,
|
|
26
|
+
text_to_speech_1.textToSpeechAction,
|
|
27
|
+
(0, pieces_common_1.createCustomApiCallAction)({
|
|
28
|
+
auth: auth_1.deepgramAuth,
|
|
29
|
+
baseUrl: () => constants_1.BASE_URL,
|
|
30
|
+
authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
31
|
+
return {
|
|
32
|
+
Authorization: `Token ${auth}`,
|
|
33
|
+
};
|
|
34
|
+
}),
|
|
35
|
+
}),
|
|
36
|
+
],
|
|
37
|
+
triggers: [],
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/deepgram/src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA6D;AAC7D,wCAA6C;AAC7C,6DAA+D;AAC/D,yEAAmF;AACnF,2DAA6D;AAC7D,6DAA8D;AAC9D,iDAAqD;AACrD,+DAAwE;AACxE,kDAA8C;AAEjC,QAAA,aAAa,GAAG,IAAA,8BAAW,EAAC;IACvC,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,kDAAkD;IAC3D,WAAW,EACT,+IAA+I;IACjJ,UAAU,EAAE,CAAC,sBAAa,CAAC,uBAAuB,CAAC;IACnD,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC;IACjC,IAAI,EAAE,mBAAY;IAClB,OAAO,EAAE;QACP,oCAAmB;QACnB,wDAAiC;QACjC,kCAAkB;QAClB,mCAAkB;QAClB,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,mBAAY;YAClB,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAQ;YACvB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,OAAO;oBACL,aAAa,EAAE,SAAS,IAAI,EAAE;iBAC/B,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
|