-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.ts
More file actions
54 lines (52 loc) · 1.27 KB
/
settings.ts
File metadata and controls
54 lines (52 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { SettingSchemaDesc } from '@logseq/libs/dist/LSPlugin';
const settings: SettingSchemaDesc[] = [
{
key: 'apiKey',
type: 'string',
title: 'API Key',
description: 'Your API Key from Deepgram. Get one at https://console.deepgram.com/project/_/api-keys',
default: '',
},
{
key: 'model',
type: 'string',
title: 'Transcription Model',
description: 'Model to use (e.g., nova-3, whisper-large). See https://developers.deepgram.com/docs/model for options.',
default: 'nova-3',
},
{
key: 'language',
type: 'enum',
title: 'Audio Language',
description: "Select the primary language of the audio or choose 'auto-detect'. See https://developers.deepgram.com/docs/models-languages-overview.",
default: 'auto-detect',
enumPicker: 'select',
enumChoices: [
'auto-detect',
'en',
'es',
'fr',
'de',
'it',
'pt',
'nl',
'hi',
'ja',
'zh',
'ko',
'ru',
'uk',
'sv',
'tr',
'id'
],
},
{
key: 'useCallout',
type: 'boolean',
title: 'Prefix transcription as callout',
description: 'When enabled, transcription will be formatted as a callout block with > prefixes',
default: true,
}
];
export default settings;