@fugood/bricks-project 2.25.0-beta.33 → 2.25.0-beta.34
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.
|
@@ -955,10 +955,12 @@ export const templateActionNameMap = {
|
|
|
955
955
|
GENERATOR_APPLE_STT_TRANSCRIBE_FILE: {
|
|
956
956
|
fileUrl: 'GENERATOR_APPLE_STT_FILE_URL',
|
|
957
957
|
language: 'GENERATOR_APPLE_STT_LANGUAGE',
|
|
958
|
+
contextualStrings: 'GENERATOR_APPLE_STT_CONTEXTUAL_STRINGS',
|
|
958
959
|
},
|
|
959
960
|
GENERATOR_APPLE_STT_TRANSCRIBE_DATA: {
|
|
960
961
|
data: 'GENERATOR_APPLE_STT_DATA',
|
|
961
962
|
language: 'GENERATOR_APPLE_STT_LANGUAGE',
|
|
963
|
+
contextualStrings: 'GENERATOR_APPLE_STT_CONTEXTUAL_STRINGS',
|
|
962
964
|
},
|
|
963
965
|
},
|
|
964
966
|
GENERATOR_APPLE_TTS: {
|
package/package.json
CHANGED
package/package.json.bak
CHANGED
|
@@ -41,6 +41,11 @@ export type GeneratorAppleSTTActionTranscribeFile = ActionWithParams & {
|
|
|
41
41
|
value?: string | DataLink | EventProperty
|
|
42
42
|
mapping?: string
|
|
43
43
|
}
|
|
44
|
+
| {
|
|
45
|
+
input: 'contextualStrings'
|
|
46
|
+
value?: Array<any> | DataLink | EventProperty
|
|
47
|
+
mapping?: string
|
|
48
|
+
}
|
|
44
49
|
>
|
|
45
50
|
}
|
|
46
51
|
|
|
@@ -58,6 +63,11 @@ export type GeneratorAppleSTTActionTranscribeData = ActionWithParams & {
|
|
|
58
63
|
value?: string | DataLink | EventProperty
|
|
59
64
|
mapping?: string
|
|
60
65
|
}
|
|
66
|
+
| {
|
|
67
|
+
input: 'contextualStrings'
|
|
68
|
+
value?: Array<any> | DataLink | EventProperty
|
|
69
|
+
mapping?: string
|
|
70
|
+
}
|
|
61
71
|
>
|
|
62
72
|
}
|
|
63
73
|
|
|
@@ -72,6 +82,7 @@ Default property:
|
|
|
72
82
|
{
|
|
73
83
|
"init": false,
|
|
74
84
|
"language": "en-US",
|
|
85
|
+
"contextualStrings": [],
|
|
75
86
|
"enablePartialResults": true
|
|
76
87
|
}
|
|
77
88
|
*/
|
|
@@ -80,6 +91,13 @@ Default property:
|
|
|
80
91
|
init?: boolean | DataLink
|
|
81
92
|
/* Language/locale for recognition (e.g., 'en-US') */
|
|
82
93
|
language?: string | DataLink
|
|
94
|
+
/* Phrases that should be recognized, even if they are not in the system vocabulary. */
|
|
95
|
+
contextualStrings?:
|
|
96
|
+
| Array<string | DataLink>
|
|
97
|
+
| DataLink
|
|
98
|
+
| Record<string, Array<string | DataLink> | DataLink>
|
|
99
|
+
| DataLink
|
|
100
|
+
| DataLink
|
|
83
101
|
/* Enable partial results during transcription */
|
|
84
102
|
enablePartialResults?: boolean | DataLink
|
|
85
103
|
/* The file URL or path to be transcribed */
|