@@ -49,12 +49,12 @@ types:
49
49
type : string
50
50
docs : Name applied to all versions of a particular Tool.
51
51
created_on :
52
- type : integer
52
+ type : long
53
53
docs : >-
54
54
Time at which the Tool was created. Measured in seconds since the Unix
55
55
epoch.
56
56
modified_on :
57
- type : integer
57
+ type : long
58
58
docs : >-
59
59
Time at which the Tool was last modified. Measured in seconds since
60
60
the Unix epoch.
@@ -119,12 +119,12 @@ types:
119
119
type : string
120
120
docs : Name applied to all versions of a particular Prompt.
121
121
created_on :
122
- type : integer
122
+ type : long
123
123
docs : >-
124
124
Time at which the Prompt was created. Measured in seconds since the
125
125
Unix epoch.
126
126
modified_on :
127
- type : integer
127
+ type : long
128
128
docs : >-
129
129
Time at which the Prompt was last modified. Measured in seconds since
130
130
the Unix epoch.
@@ -155,15 +155,15 @@ types:
155
155
type : string
156
156
docs : The voice the custom voice is based off of.
157
157
speech_rate_multiplier :
158
- type : optional<double >
158
+ type : optional<float >
159
159
docs : The speech rate multiplier for this custom voice.
160
160
parameter_model :
161
161
type : string
162
162
docs : >-
163
163
The name of the parameter model used to define which attributes are
164
164
used by `parameters`.
165
165
parameters :
166
- type : optional<map<string, optional<double >>>
166
+ type : optional<map<string, optional<float >>>
167
167
docs : Voice specification for a Config.
168
168
ReturnCustomVoice :
169
169
docs : A custom voice specification returned from the server
@@ -182,16 +182,16 @@ types:
182
182
String with the name of the voice to use. Maximum length of 75
183
183
characters. Will be converted to all-uppercase.
184
184
created_on :
185
- type : integer
185
+ type : long
186
186
docs : The timestamp when the first version of this prompt was created.
187
187
modified_on :
188
- type : integer
188
+ type : long
189
189
docs : The timestamp when this version of the prompt was created.
190
190
base_voice :
191
191
type : string
192
192
docs : The voice the custom voice is based off of.
193
193
speech_rate_multiplier :
194
- type : optional<double >
194
+ type : optional<float >
195
195
docs : The speech rate multiplier for this custom voice.
196
196
parameter_model :
197
197
type : string
@@ -200,7 +200,7 @@ types:
200
200
used by `parameters`.
201
201
parameters :
202
202
docs : Voice specification for a Config.
203
- type : map<string, double >
203
+ type : map<string, float >
204
204
PostedBuiltinTool :
205
205
docs : A configuration of a built-in tool to be posted to the server
206
206
properties :
@@ -299,7 +299,7 @@ types:
299
299
type : optional<string>
300
300
docs : String that specifies the language model to use with `model_provider`.
301
301
temperature :
302
- type : optional<double >
302
+ type : optional<float >
303
303
docs : >-
304
304
The model temperature, with values between 0 to 1 (inclusive).
305
305
@@ -505,12 +505,12 @@ types:
505
505
type : optional<string>
506
506
docs : Name applied to all versions of a particular Config.
507
507
created_on :
508
- type : optional<integer >
508
+ type : optional<long >
509
509
docs : >-
510
510
Time at which the Config was created. Measured in seconds since the
511
511
Unix epoch.
512
512
modified_on :
513
- type : optional<integer >
513
+ type : optional<long >
514
514
docs : >-
515
515
Time at which the Config was last modified. Measured in seconds since
516
516
the Unix epoch.
@@ -631,7 +631,7 @@ types:
631
631
type : optional<string>
632
632
docs : String that specifies the language model to use with `model_provider`.
633
633
temperature :
634
- type : optional<double >
634
+ type : optional<float >
635
635
docs : >-
636
636
The model temperature, with values between 0 to 1 (inclusive).
637
637
@@ -879,17 +879,17 @@ types:
879
879
880
880
- `ERROR`: The chat ended unexpectedly due to an error.
881
881
start_timestamp :
882
- type : integer
882
+ type : long
883
883
docs : >-
884
884
Time at which the Chat started. Measured in seconds since the Unix
885
885
epoch.
886
886
end_timestamp :
887
- type : optional<integer >
887
+ type : optional<long >
888
888
docs : >-
889
889
Time at which the Chat ended. Measured in seconds since the Unix
890
890
epoch.
891
891
event_count :
892
- type : optional<integer >
892
+ type : optional<long >
893
893
docs : The total number of events currently in this chat.
894
894
metadata :
895
895
type : optional<string>
@@ -1027,7 +1027,7 @@ types:
1027
1027
type : string
1028
1028
docs : Identifier for the Chat this event occurred in. Formatted as a UUID.
1029
1029
timestamp :
1030
- type : integer
1030
+ type : long
1031
1031
docs : >-
1032
1032
Time at which the Chat Event occurred. Measured in seconds since the
1033
1033
Unix epoch.
@@ -1172,12 +1172,12 @@ types:
1172
1172
1173
1173
- `ERROR`: The chat ended unexpectedly due to an error.
1174
1174
start_timestamp :
1175
- type : integer
1175
+ type : long
1176
1176
docs : >-
1177
1177
Time at which the Chat started. Measured in seconds since the Unix
1178
1178
epoch.
1179
1179
end_timestamp :
1180
- type : optional<integer >
1180
+ type : optional<long >
1181
1181
docs : >-
1182
1182
Time at which the Chat ended. Measured in seconds since the Unix
1183
1183
epoch.
@@ -1222,7 +1222,7 @@ types:
1222
1222
docs : A description of current chat chat sessions for a user
1223
1223
properties :
1224
1224
timestamp :
1225
- type : integer
1225
+ type : long
1226
1226
docs : >-
1227
1227
The timestamp for when chat status was measured. Formatted as a Unix
1228
1228
epoch milliseconds.
@@ -1256,12 +1256,12 @@ types:
1256
1256
Identifier for the Chat Group. Any Chat resumed from this Chat Group
1257
1257
will have the same `chat_group_id`. Formatted as a UUID.
1258
1258
first_start_timestamp :
1259
- type : integer
1259
+ type : long
1260
1260
docs : >-
1261
1261
Time at which the first Chat in this Chat Group was created. Measured
1262
1262
in seconds since the Unix epoch.
1263
1263
most_recent_start_timestamp :
1264
- type : integer
1264
+ type : long
1265
1265
docs : >-
1266
1266
Time at which the most recent Chat in this Chat Group was created.
1267
1267
Measured in seconds since the Unix epoch.
@@ -1336,12 +1336,12 @@ types:
1336
1336
Identifier for the chat group. Any chat resumed from this chat will
1337
1337
have the same chat_group_id. Formatted as a UUID.
1338
1338
first_start_timestamp :
1339
- type : integer
1339
+ type : long
1340
1340
docs : >-
1341
1341
The timestamp when the first chat in this chat group started,
1342
1342
formatted as a Unix epoch milliseconds.
1343
1343
most_recent_start_timestamp :
1344
- type : integer
1344
+ type : long
1345
1345
docs : >-
1346
1346
The timestamp when the most recent chat in this chat group started,
1347
1347
formatted as a Unix epoch milliseconds.
@@ -1487,17 +1487,17 @@ types:
1487
1487
Base64 encoded audio input to insert into the conversation.
1488
1488
1489
1489
1490
- The audio input must be captured and transmitted to EVI as a
1491
- continuous stream, with the audio data sent in small chunks for better
1492
- transcription quality. When capturing audio through the browser, we
1493
- recommend recording the audio in 100ms intervals and adjusting from
1494
- there to determine if smaller or larger chunks are needed. These
1495
- chunks should be continuously sent to EVI as Audio Input messages.
1490
+ The content of an Audio Input message is treated as the user’s speech
1491
+ to EVI and must be streamed continuously. Pre-recorded audio files are
1492
+ not supported.
1496
1493
1497
1494
1498
- The content of an Audio Input message is treated as the user’s speech
1499
- to EVI. EVI processes the audio, conducts expression measurement using
1500
- the prosody model, and responds accordingly.
1495
+ For optimal transcription quality, the audio data should be
1496
+ transmitted in small chunks.
1497
+
1498
+
1499
+ Hume recommends streaming audio with a buffer window of 20
1500
+ milliseconds (ms), or 100 milliseconds (ms) for web applications.
1501
1501
BuiltInTool :
1502
1502
type : literal<"web_search">
1503
1503
docs : >-
@@ -2263,6 +2263,7 @@ types:
2263
2263
JsonMessage :
2264
2264
discriminated : false
2265
2265
union :
2266
+ - AssistantEnd
2266
2267
- AssistantMessage
2267
2268
- ChatMetadata
2268
2269
- WebSocketError
0 commit comments