Skip to content

Commit b7f3b83

Browse files
(feat): Release 0.8.6
1 parent 56a6283 commit b7f3b83

File tree

78 files changed

+3093
-2284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3093
-2284
lines changed

.mock/definition/empathic-voice/__package__.yml

+35-34
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ types:
4949
type: string
5050
docs: Name applied to all versions of a particular Tool.
5151
created_on:
52-
type: integer
52+
type: long
5353
docs: >-
5454
Time at which the Tool was created. Measured in seconds since the Unix
5555
epoch.
5656
modified_on:
57-
type: integer
57+
type: long
5858
docs: >-
5959
Time at which the Tool was last modified. Measured in seconds since
6060
the Unix epoch.
@@ -119,12 +119,12 @@ types:
119119
type: string
120120
docs: Name applied to all versions of a particular Prompt.
121121
created_on:
122-
type: integer
122+
type: long
123123
docs: >-
124124
Time at which the Prompt was created. Measured in seconds since the
125125
Unix epoch.
126126
modified_on:
127-
type: integer
127+
type: long
128128
docs: >-
129129
Time at which the Prompt was last modified. Measured in seconds since
130130
the Unix epoch.
@@ -155,15 +155,15 @@ types:
155155
type: string
156156
docs: The voice the custom voice is based off of.
157157
speech_rate_multiplier:
158-
type: optional<double>
158+
type: optional<float>
159159
docs: The speech rate multiplier for this custom voice.
160160
parameter_model:
161161
type: string
162162
docs: >-
163163
The name of the parameter model used to define which attributes are
164164
used by `parameters`.
165165
parameters:
166-
type: optional<map<string, optional<double>>>
166+
type: optional<map<string, optional<float>>>
167167
docs: Voice specification for a Config.
168168
ReturnCustomVoice:
169169
docs: A custom voice specification returned from the server
@@ -182,16 +182,16 @@ types:
182182
String with the name of the voice to use. Maximum length of 75
183183
characters. Will be converted to all-uppercase.
184184
created_on:
185-
type: integer
185+
type: long
186186
docs: The timestamp when the first version of this prompt was created.
187187
modified_on:
188-
type: integer
188+
type: long
189189
docs: The timestamp when this version of the prompt was created.
190190
base_voice:
191191
type: string
192192
docs: The voice the custom voice is based off of.
193193
speech_rate_multiplier:
194-
type: optional<double>
194+
type: optional<float>
195195
docs: The speech rate multiplier for this custom voice.
196196
parameter_model:
197197
type: string
@@ -200,7 +200,7 @@ types:
200200
used by `parameters`.
201201
parameters:
202202
docs: Voice specification for a Config.
203-
type: map<string, double>
203+
type: map<string, float>
204204
PostedBuiltinTool:
205205
docs: A configuration of a built-in tool to be posted to the server
206206
properties:
@@ -299,7 +299,7 @@ types:
299299
type: optional<string>
300300
docs: String that specifies the language model to use with `model_provider`.
301301
temperature:
302-
type: optional<double>
302+
type: optional<float>
303303
docs: >-
304304
The model temperature, with values between 0 to 1 (inclusive).
305305
@@ -505,12 +505,12 @@ types:
505505
type: optional<string>
506506
docs: Name applied to all versions of a particular Config.
507507
created_on:
508-
type: optional<integer>
508+
type: optional<long>
509509
docs: >-
510510
Time at which the Config was created. Measured in seconds since the
511511
Unix epoch.
512512
modified_on:
513-
type: optional<integer>
513+
type: optional<long>
514514
docs: >-
515515
Time at which the Config was last modified. Measured in seconds since
516516
the Unix epoch.
@@ -631,7 +631,7 @@ types:
631631
type: optional<string>
632632
docs: String that specifies the language model to use with `model_provider`.
633633
temperature:
634-
type: optional<double>
634+
type: optional<float>
635635
docs: >-
636636
The model temperature, with values between 0 to 1 (inclusive).
637637
@@ -879,17 +879,17 @@ types:
879879
880880
- `ERROR`: The chat ended unexpectedly due to an error.
881881
start_timestamp:
882-
type: integer
882+
type: long
883883
docs: >-
884884
Time at which the Chat started. Measured in seconds since the Unix
885885
epoch.
886886
end_timestamp:
887-
type: optional<integer>
887+
type: optional<long>
888888
docs: >-
889889
Time at which the Chat ended. Measured in seconds since the Unix
890890
epoch.
891891
event_count:
892-
type: optional<integer>
892+
type: optional<long>
893893
docs: The total number of events currently in this chat.
894894
metadata:
895895
type: optional<string>
@@ -1027,7 +1027,7 @@ types:
10271027
type: string
10281028
docs: Identifier for the Chat this event occurred in. Formatted as a UUID.
10291029
timestamp:
1030-
type: integer
1030+
type: long
10311031
docs: >-
10321032
Time at which the Chat Event occurred. Measured in seconds since the
10331033
Unix epoch.
@@ -1172,12 +1172,12 @@ types:
11721172
11731173
- `ERROR`: The chat ended unexpectedly due to an error.
11741174
start_timestamp:
1175-
type: integer
1175+
type: long
11761176
docs: >-
11771177
Time at which the Chat started. Measured in seconds since the Unix
11781178
epoch.
11791179
end_timestamp:
1180-
type: optional<integer>
1180+
type: optional<long>
11811181
docs: >-
11821182
Time at which the Chat ended. Measured in seconds since the Unix
11831183
epoch.
@@ -1222,7 +1222,7 @@ types:
12221222
docs: A description of current chat chat sessions for a user
12231223
properties:
12241224
timestamp:
1225-
type: integer
1225+
type: long
12261226
docs: >-
12271227
The timestamp for when chat status was measured. Formatted as a Unix
12281228
epoch milliseconds.
@@ -1256,12 +1256,12 @@ types:
12561256
Identifier for the Chat Group. Any Chat resumed from this Chat Group
12571257
will have the same `chat_group_id`. Formatted as a UUID.
12581258
first_start_timestamp:
1259-
type: integer
1259+
type: long
12601260
docs: >-
12611261
Time at which the first Chat in this Chat Group was created. Measured
12621262
in seconds since the Unix epoch.
12631263
most_recent_start_timestamp:
1264-
type: integer
1264+
type: long
12651265
docs: >-
12661266
Time at which the most recent Chat in this Chat Group was created.
12671267
Measured in seconds since the Unix epoch.
@@ -1336,12 +1336,12 @@ types:
13361336
Identifier for the chat group. Any chat resumed from this chat will
13371337
have the same chat_group_id. Formatted as a UUID.
13381338
first_start_timestamp:
1339-
type: integer
1339+
type: long
13401340
docs: >-
13411341
The timestamp when the first chat in this chat group started,
13421342
formatted as a Unix epoch milliseconds.
13431343
most_recent_start_timestamp:
1344-
type: integer
1344+
type: long
13451345
docs: >-
13461346
The timestamp when the most recent chat in this chat group started,
13471347
formatted as a Unix epoch milliseconds.
@@ -1487,17 +1487,17 @@ types:
14871487
Base64 encoded audio input to insert into the conversation.
14881488
14891489
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.
14961493
14971494
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.
15011501
BuiltInTool:
15021502
type: literal<"web_search">
15031503
docs: >-
@@ -2263,6 +2263,7 @@ types:
22632263
JsonMessage:
22642264
discriminated: false
22652265
union:
2266+
- AssistantEnd
22662267
- AssistantMessage
22672268
- ChatMetadata
22682269
- WebSocketError

0 commit comments

Comments
 (0)