@jambonz/schema 0.4.12 → 0.4.13

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.
@@ -5,10 +5,21 @@
5
5
  "description": "Google Speech-to-Text specific options. Only applies when recognizer vendor is 'google'.",
6
6
  "type": "object",
7
7
  "properties": {
8
+ "mode": {
9
+ "type": "string",
10
+ "enum": ["VERBATIM", "SMART"],
11
+ "description": "Gemini transcription style; applies only to the gemini models. VERBATIM transcribes as spoken; SMART cleans up disfluencies and applies formatting."
12
+ },
13
+ "customVocabulary": {
14
+ "type": "array",
15
+ "items": {"type": "string"},
16
+ "maxItems": 1000,
17
+ "description": "Up to 1000 terms, acronyms, brand names or proper nouns to bias recognition towards; applies only to the gemini models."
18
+ },
8
19
  "serviceVersion": {
9
20
  "type": "string",
10
21
  "enum": ["v1", "v2"],
11
- "description": "Google Speech-to-Text API version."
22
+ "description": "Cloud Speech-to-Text API version. Ignored by the gemini models, which are a different API."
12
23
  },
13
24
  "recognizerId": {
14
25
  "type": "string",
@@ -16,7 +27,7 @@
16
27
  },
17
28
  "parentPath": {
18
29
  "type": "string",
19
- "description": "Parent resource path for the Google Speech recognizer (v2 only), e.g. 'projects/{project}/locations/{location}'."
30
+ "description": "Parent resource path for the Cloud Speech-to-Text v2 recognizer resource, e.g. 'projects/{project}/locations/{location}'. A location other than global also routes the request to that region's endpoint."
20
31
  },
21
32
  "speechStartTimeoutMs": {
22
33
  "type": "number",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/schema",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "JSON Schema definitions and validation for jambonz verb applications",
5
5
  "main": "index.js",
6
6
  "scripts": {