Skip to content

Commit 1163822

Browse files
🌿 Fern Regeneration -- February 26, 2025 (#236)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: twitchard <[email protected]>
1 parent 270694e commit 1163822

Some content is hidden

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

71 files changed

+4342
-1923
lines changed

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

Lines changed: 87 additions & 26 deletions
Large diffs are not rendered by default.

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
channel:
22
path: /v0/evi/chat
3+
url: prod
34
auth: false
45
query-parameters:
56
config_id:
@@ -11,7 +12,7 @@ channel:
1112
Include this ID in your connection request to equip EVI with the Prompt,
1213
Language Model, Voice, and Tools associated with the specified
1314
configuration. If omitted, EVI will apply [default configuration
14-
settings](/docs/empathic-voice-interface-evi/configuration#default-configuration).
15+
settings](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#default-configuration).
1516
1617
1718
For help obtaining this ID, see our [Configuration
@@ -76,6 +77,7 @@ channel:
7677
list of all available chat groups.
7778
verbose_transcription:
7879
type: optional<boolean>
80+
default: false
7981
docs: >-
8082
A flag to enable verbose transcription. Set this query parameter to
8183
`true` to have unfinalized user transcripts be sent to the client as
@@ -86,6 +88,7 @@ channel:
8688
denotes whether the message is "interim" or "final."
8789
access_token:
8890
type: optional<string>
91+
default: ''
8992
docs: >-
9093
Access token used for authenticating the client. If not provided, an
9194
`api_key` must be provided to authenticate.
@@ -100,6 +103,7 @@ channel:
100103
Guide](/docs/introduction/api-key#authentication-strategies).
101104
api_key:
102105
type: optional<string>
106+
default: ''
103107
docs: >-
104108
API key used for authenticating the client. If not provided, an
105109
`access_token` must be provided to authenticate.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ service:
5757
response:
5858
docs: Success
5959
type: root.ReturnPagedChatGroups
60+
status-code: 200
6061
errors:
6162
- root.BadRequestError
6263
examples:
@@ -127,6 +128,7 @@ service:
127128
response:
128129
docs: Success
129130
type: root.ReturnChatGroupPagedChats
131+
status-code: 200
130132
errors:
131133
- root.BadRequestError
132134
examples:
@@ -153,6 +155,8 @@ service:
153155
start_timestamp: 1712334213647
154156
end_timestamp: 1712334332571
155157
event_count: 0
158+
metadata: null
159+
config: null
156160
active: false
157161
list-chat-group-events:
158162
path: /v0/evi/chat_groups/{id}/events
@@ -203,6 +207,7 @@ service:
203207
response:
204208
docs: Success
205209
type: root.ReturnChatGroupPagedEvents
210+
status-code: 200
206211
errors:
207212
- root.BadRequestError
208213
examples:
@@ -580,6 +585,7 @@ service:
580585
response:
581586
docs: Success
582587
type: root.ReturnChatGroupPagedAudioReconstructions
588+
status-code: 200
583589
errors:
584590
- root.BadRequestError
585591
examples:
Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
imports:
22
root: __package__.yml
33
webhooks:
4-
chatWebhook:
4+
chatEnded:
55
method: POST
6-
display-name: Chat Webhook
6+
display-name: Chat Ended
77
headers: {}
8-
payload: root.WebhookEvent
8+
payload: root.WebhookEventChatEnded
99
examples:
1010
- payload:
11-
chat_group_id: chat_group_id
12-
chat_id: chat_id
13-
start_time: 1
11+
chat_group_id: 9fc18597-3567-42d5-94d6-935bde84bf2f
12+
chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
13+
config_id: 1b60e1a0-cc59-424a-8d2c-189d354db3f3
14+
event_name: chat_ended
15+
end_time: 1716244958546
16+
duration_seconds: 180
17+
end_reason: USER_ENDED
18+
docs: Sent when an EVI chat ends.
19+
chatStarted:
20+
method: POST
21+
display-name: Chat Started
22+
headers: {}
23+
payload: root.WebhookEventChatStarted
24+
examples:
25+
- payload:
26+
chat_group_id: 9fc18597-3567-42d5-94d6-935bde84bf2f
27+
chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
28+
config_id: 1b60e1a0-cc59-424a-8d2c-189d354db3f3
29+
event_name: chat_started
30+
start_time: 1716244940648
1431
chat_start_type: new_chat_group
15-
docs: >-
16-
Webhook events are JSON payloads to your server during an EVI chat. You
17-
can subscribe to specific events, and set which URLs should be notified in
18-
the
19-
[Config](/reference/empathic-voice-interface-evi/configs/create-config#request.body.webhooks)
20-
resource. Read the [Webhook
21-
Guide](/docs/empathic-voice-interface-evi/webhooks) for more information.
32+
docs: Sent when an EVI chat is started.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ service:
5555
response:
5656
docs: Success
5757
type: root.ReturnPagedChats
58+
status-code: 200
5859
errors:
5960
- root.BadRequestError
6061
examples:
@@ -129,6 +130,7 @@ service:
129130
response:
130131
docs: Success
131132
type: root.ReturnChatPagedEvents
133+
status-code: 200
132134
errors:
133135
- root.BadRequestError
134136
examples:
@@ -482,6 +484,7 @@ service:
482484
response:
483485
docs: Success
484486
type: root.ReturnChatAudioReconstruction
487+
status-code: 200
485488
errors:
486489
- root.BadRequestError
487490
examples:

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ service:
5454
response:
5555
docs: Success
5656
type: root.ReturnPagedConfigs
57+
status-code: 200
5758
errors:
5859
- root.BadRequestError
5960
examples:
@@ -159,7 +160,7 @@ service:
159160
Specifies the EVI version to use. Use `"1"` for version 1, or
160161
`"2"` for the latest enhanced version. For a detailed comparison
161162
of the two versions, refer to our
162-
[guide](/docs/empathic-voice-interface-evi/evi-2).
163+
[guide](/docs/empathic-voice-interface-evi/configuration/evi-version).
163164
name:
164165
type: string
165166
docs: Name applied to all versions of a particular Config.
@@ -205,6 +206,7 @@ service:
205206
response:
206207
docs: Created
207208
type: root.ReturnConfig
209+
status-code: 201
208210
errors:
209211
- root.BadRequestError
210212
examples:
@@ -353,6 +355,7 @@ service:
353355
response:
354356
docs: Success
355357
type: root.ReturnPagedConfigs
358+
status-code: 200
356359
errors:
357360
- root.BadRequestError
358361
examples:
@@ -501,6 +504,7 @@ service:
501504
response:
502505
docs: Created
503506
type: root.ReturnConfig
507+
status-code: 201
504508
errors:
505509
- root.BadRequestError
506510
examples:
@@ -697,6 +701,7 @@ service:
697701
response:
698702
docs: Success
699703
type: root.ReturnConfig
704+
status-code: 200
700705
errors:
701706
- root.BadRequestError
702707
examples:
@@ -857,6 +862,7 @@ service:
857862
response:
858863
docs: Success
859864
type: root.ReturnConfig
865+
status-code: 200
860866
errors:
861867
- root.BadRequestError
862868
examples:

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

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ service:
1212
Fetches a paginated list of **Custom Voices**.
1313
1414
15-
Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
16-
for details on creating a custom voice.
15+
Refer to our [voices
16+
guide](/docs/empathic-voice-interface-evi/configuration/voices) for
17+
details on creating a custom voice.
1718
source:
1819
openapi: stenographer-openapi.json
1920
display-name: List custom voices
@@ -47,6 +48,7 @@ service:
4748
response:
4849
docs: Success
4950
type: root.ReturnPagedCustomVoices
51+
status-code: 200
5052
errors:
5153
- root.BadRequestError
5254
examples:
@@ -73,8 +75,9 @@ service:
7375
configuration](/reference/empathic-voice-interface-evi/configs/create-config).
7476
7577
76-
Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
77-
for details on creating a custom voice.
78+
Refer to our [voices
79+
guide](/docs/empathic-voice-interface-evi/configuration/voices) for
80+
details on creating a custom voice.
7881
source:
7982
openapi: stenographer-openapi.json
8083
display-name: Create custom voice
@@ -84,6 +87,7 @@ service:
8487
response:
8588
docs: Created
8689
type: root.ReturnCustomVoice
90+
status-code: 201
8791
errors:
8892
- root.BadRequestError
8993
examples:
@@ -119,8 +123,9 @@ service:
119123
Fetches a specific **Custom Voice** by ID.
120124
121125
122-
Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
123-
for details on creating a custom voice.
126+
Refer to our [voices
127+
guide](/docs/empathic-voice-interface-evi/configuration/voices) for
128+
details on creating a custom voice.
124129
source:
125130
openapi: stenographer-openapi.json
126131
path-parameters:
@@ -131,6 +136,7 @@ service:
131136
response:
132137
docs: Success
133138
type: root.ReturnCustomVoice
139+
status-code: 200
134140
errors:
135141
- root.BadRequestError
136142
examples:
@@ -165,8 +171,9 @@ service:
165171
Voice**.
166172
167173
168-
Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
169-
for details on creating a custom voice.
174+
Refer to our [voices
175+
guide](/docs/empathic-voice-interface-evi/configuration/voices) for
176+
details on creating a custom voice.
170177
source:
171178
openapi: stenographer-openapi.json
172179
path-parameters:
@@ -180,6 +187,7 @@ service:
180187
response:
181188
docs: Created
182189
type: root.ReturnCustomVoice
190+
status-code: 201
183191
errors:
184192
- root.BadRequestError
185193
examples:
@@ -217,8 +225,9 @@ service:
217225
Deletes a **Custom Voice** and its versions.
218226
219227
220-
Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
221-
for details on creating a custom voice.
228+
Refer to our [voices
229+
guide](/docs/empathic-voice-interface-evi/configuration/voices) for
230+
details on creating a custom voice.
222231
source:
223232
openapi: stenographer-openapi.json
224233
path-parameters:
@@ -239,8 +248,9 @@ service:
239248
Updates the name of a **Custom Voice**.
240249
241250
242-
Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
243-
for details on creating a custom voice.
251+
Refer to our [voices
252+
guide](/docs/empathic-voice-interface-evi/configuration/voices) for
253+
details on creating a custom voice.
244254
source:
245255
openapi: stenographer-openapi.json
246256
path-parameters:
@@ -262,6 +272,7 @@ service:
262272
response:
263273
docs: Success
264274
type: text
275+
status-code: 200
265276
errors:
266277
- root.BadRequestError
267278
source:

0 commit comments

Comments
 (0)