Skip to content

Commit c838c0b

Browse files
🌿 Fern Regeneration -- June 6, 2025 (#299)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: twitchard <[email protected]>
1 parent a7ea66e commit c838c0b

Some content is hidden

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

42 files changed

+963
-1259
lines changed

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

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ types:
4646
inflections and tones to the text based on the user’s expressions and
4747
the context of the conversation. The synthesized audio is streamed
4848
back to the user as an [Assistant
49-
Message](/reference/empathic-voice-interface-evi/chat/chat#receive.Assistant%20Message.type).
49+
Message](/reference/empathic-voice-interface-evi/chat/chat#receive.AssistantMessage.type).
5050
type:
5151
type: literal<"assistant_input">
5252
docs: >-
@@ -68,7 +68,7 @@ types:
6868
docs: >-
6969
Indicates if this message was inserted into the conversation as text
7070
from an [Assistant Input
71-
message](/reference/empathic-voice-interface-evi/chat/chat#send.Assistant%20Input.text).
71+
message](/reference/empathic-voice-interface-evi/chat/chat#send.AssistantInput.text).
7272
id:
7373
type: optional<string>
7474
docs: >-
@@ -443,7 +443,7 @@ types:
443443
444444
Once this message is sent, EVI will not respond until a [Resume
445445
Assistant
446-
message](/reference/empathic-voice-interface-evi/chat/chat#send.Resume%20Assistant%20Message.type)
446+
message](/reference/empathic-voice-interface-evi/chat/chat#send.ResumeAssistantMessage.type)
447447
is sent. When paused, EVI won’t respond, but transcriptions of your
448448
audio inputs will still be recorded.
449449
source:
@@ -710,9 +710,9 @@ types:
710710
docs: >-
711711
Indicates whether a response to the tool call is required from the
712712
developer, either in the form of a [Tool Response
713-
message](/reference/empathic-voice-interface-evi/chat/chat#send.Tool%20Response%20Message.type)
713+
message](/reference/empathic-voice-interface-evi/chat/chat#send.ToolResponseMessage.type)
714714
or a [Tool Error
715-
message](/reference/empathic-voice-interface-evi/chat/chat#send.Tool%20Error%20Message.type).
715+
message](/reference/empathic-voice-interface-evi/chat/chat#send.ToolErrorMessage.type).
716716
tool_call_id:
717717
type: string
718718
docs: >-
@@ -773,7 +773,7 @@ types:
773773
invocation, ensuring that the Tool Error message is linked to the
774774
appropriate tool call request. The specified `tool_call_id` must match
775775
the one received in the [Tool Call
776-
message](/reference/empathic-voice-interface-evi/chat/chat#receive.Tool%20Call%20Message.type).
776+
message](/reference/empathic-voice-interface-evi/chat/chat#receive.ToolCallMessage.type).
777777
tool_type:
778778
type: optional<ToolType>
779779
docs: >-
@@ -787,7 +787,7 @@ types:
787787
788788
789789
Upon receiving a [Tool Call
790-
message](/reference/empathic-voice-interface-evi/chat/chat#receive.Tool%20Call%20Message.type)
790+
message](/reference/empathic-voice-interface-evi/chat/chat#receive.ToolCallMessage.type)
791791
and failing to invoke the function, this message is sent to notify EVI
792792
of the tool's failure.
793793
source:
@@ -815,7 +815,7 @@ types:
815815
invocation, ensuring that the correct response is linked to the
816816
appropriate request. The specified `tool_call_id` must match the one
817817
received in the [Tool Call
818-
message](/reference/empathic-voice-interface-evi/chat/chat#receive.Tool%20Call%20Message.tool_call_id).
818+
message](/reference/empathic-voice-interface-evi/chat/chat#receive.ToolCallMessage.tool_call_id).
819819
tool_name:
820820
type: optional<string>
821821
docs: >-
@@ -825,7 +825,7 @@ types:
825825
Include this optional field to help the supplemental LLM identify
826826
which tool generated the response. The specified `tool_name` must
827827
match the one received in the [Tool Call
828-
message](/reference/empathic-voice-interface-evi/chat/chat#receive.Tool%20Call%20Message.type).
828+
message](/reference/empathic-voice-interface-evi/chat/chat#receive.ToolCallMessage.type).
829829
tool_type:
830830
type: optional<ToolType>
831831
docs: >-
@@ -839,7 +839,7 @@ types:
839839
840840
841841
Upon receiving a [Tool Call
842-
message](/reference/empathic-voice-interface-evi/chat/chat#receive.Tool%20Call%20Message.type)
842+
message](/reference/empathic-voice-interface-evi/chat/chat#receive.ToolCallMessage.type)
843843
and successfully invoking the function, this message is sent to convey
844844
the result of the function call back to EVI.
845845
source:
@@ -853,7 +853,7 @@ types:
853853
UserInput:
854854
docs: >-
855855
User text to insert into the conversation. Text sent through a User Input
856-
message is treated as the users speech to EVI. EVI processes this input
856+
message is treated as the user's speech to EVI. EVI processes this input
857857
and provides a corresponding response.
858858
859859
@@ -922,7 +922,7 @@ types:
922922
docs: >-
923923
Indicates if this message was inserted into the conversation as text
924924
from a [User
925-
Input](/reference/empathic-voice-interface-evi/chat/chat#send.User%20Input.text)
925+
Input](/reference/empathic-voice-interface-evi/chat/chat#send.UserInput.text)
926926
message.
927927
interim:
928928
type: boolean
@@ -934,7 +934,7 @@ types:
934934
context. Interim messages are useful to detect if the user is
935935
interrupting during audio playback on the client. Even without a
936936
finalized transcription, along with
937-
[UserInterrupt](/reference/empathic-voice-interface-evi/chat/chat#receive.User%20Interruption.type)
937+
[UserInterrupt](/reference/empathic-voice-interface-evi/chat/chat#receive.UserInterruption.type)
938938
messages, interim `UserMessages` are useful for detecting if the user
939939
is interrupting during audio playback on the client, signaling to stop
940940
playback in your application. Interim `UserMessages` will only be
@@ -960,9 +960,9 @@ types:
960960
This message contains both a transcript of the user’s input and the
961961
expression measurement predictions if the input was sent as an [Audio
962962
Input
963-
message](/reference/empathic-voice-interface-evi/chat/chat#send.Audio%20Input.type).
963+
message](/reference/empathic-voice-interface-evi/chat/chat#send.AudioInput.type).
964964
Expression measurement predictions are not provided for a [User Input
965-
message](/reference/empathic-voice-interface-evi/chat/chat#send.User%20Input.type),
965+
message](/reference/empathic-voice-interface-evi/chat/chat#send.UserInput.type),
966966
as the prosody model relies on audio input and cannot process text
967967
alone.
968968
source:
@@ -981,21 +981,6 @@ types:
981981
- type: ToolErrorMessage
982982
source:
983983
openapi: evi-asyncapi.json
984-
TtsInput:
985-
properties:
986-
type: optional<literal<"tts">>
987-
source:
988-
openapi: evi-asyncapi.json
989-
TextInput:
990-
properties:
991-
type: optional<literal<"text_input">>
992-
source:
993-
openapi: evi-asyncapi.json
994-
FunctionCallResponseInput:
995-
properties:
996-
type: optional<literal<"function_call_response">>
997-
source:
998-
openapi: evi-asyncapi.json
999984
HTTPValidationError:
1000985
properties:
1001986
detail:
@@ -3204,12 +3189,6 @@ types:
32043189
minutes).
32053190
source:
32063191
openapi: evi-openapi.json
3207-
PostedPromptSpec:
3208-
docs: A Prompt associated with this Config.
3209-
properties:
3210-
version: optional<unknown>
3211-
source:
3212-
openapi: evi-openapi.json
32133192
PostedVoiceProvider:
32143193
enum:
32153194
- HUME_AI

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

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@ channel:
4747
4848
Include this parameter to apply a specific version of an EVI
4949
configuration. If omitted, the latest version will be applied.
50+
enable_context_injection:
51+
type: optional<boolean>
52+
default: true
53+
docs: >-
54+
A flag to enable context injection. Set this query parameter to true to
55+
have EVI inject context into the conversation. This is useful for
56+
scenarios where you want to provide additional information to EVI to
57+
help it better understand the user's request.
58+
event_limit:
59+
type: optional<integer>
60+
docs: >-
61+
The maximum number of chat events to return from chat history. By
62+
default, the system returns up to 300 events (100 events per page × 3
63+
pages). Set this parameter to a smaller value to limit the number of
64+
events returned.
5065
resumed_chat_group_id:
5166
type: optional<string>
5267
docs: >-
@@ -72,7 +87,7 @@ channel:
7287
7388
7489
- [Chat
75-
Metadata](/reference/empathic-voice-interface-evi/chat/chat#receive.Chat%20Metadata.type):
90+
Metadata](/reference/empathic-voice-interface-evi/chat/chat#receive.ChatMetadata.type):
7691
Upon establishing a WebSocket connection with EVI, the user receives a
7792
Chat Metadata message. This message contains a `chat_group_id`, which
7893
can be used to resume conversations within this chat group in future
@@ -98,9 +113,9 @@ channel:
98113
A flag to enable verbose transcription. Set this query parameter to
99114
`true` to have unfinalized user transcripts be sent to the client as
100115
interim UserMessage messages. The
101-
[interim](/reference/empathic-voice-interface-evi/chat/chat#receive.User%20Message.interim)
116+
[interim](/reference/empathic-voice-interface-evi/chat/chat#receive.UserMessage.interim)
102117
field on a
103-
[UserMessage](/reference/empathic-voice-interface-evi/chat/chat#receive.User%20Message.type)
118+
[UserMessage](/reference/empathic-voice-interface-evi/chat/chat#receive.UserMessage.type)
104119
denotes whether the message is "interim" or "final."
105120
api_key:
106121
type: optional<string>

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ service:
2020
query-parameters:
2121
page_number:
2222
type: optional<integer>
23+
default: 0
2324
docs: >-
2425
Specifies the page number to retrieve, enabling pagination.
2526
@@ -111,6 +112,7 @@ service:
111112
up to 10 items. Defaults to 10.
112113
page_number:
113114
type: optional<integer>
115+
default: 0
114116
docs: >-
115117
Specifies the page number to retrieve, enabling pagination.
116118
@@ -193,6 +195,7 @@ service:
193195
up to 10 items. Defaults to 10.
194196
page_number:
195197
type: optional<integer>
198+
default: 0
196199
docs: >-
197200
Specifies the page number to retrieve, enabling pagination.
198201
@@ -561,16 +564,7 @@ service:
561564
query-parameters:
562565
page_number:
563566
type: optional<integer>
564-
docs: >-
565-
Specifies the maximum number of results to include per page,
566-
enabling pagination. The value must be between 1 and 100,
567-
inclusive.
568-
569-
570-
For example, if `page_size` is set to 10, each page will include
571-
up to 10 items. Defaults to 10.
572-
page_size:
573-
type: optional<integer>
567+
default: 0
574568
docs: >-
575569
Specifies the page number to retrieve, enabling pagination.
576570
@@ -580,6 +574,16 @@ service:
580574
if `page_size` is 10), setting `page_number` to 1 retrieves the
581575
second page (items 10-19), and so on. Defaults to 0, which
582576
retrieves the first page.
577+
page_size:
578+
type: optional<integer>
579+
docs: >-
580+
Specifies the maximum number of results to include per page,
581+
enabling pagination. The value must be between 1 and 100,
582+
inclusive.
583+
584+
585+
For example, if `page_size` is set to 10, each page will include
586+
up to 10 items. Defaults to 10.
583587
ascending_order:
584588
type: optional<boolean>
585589
docs: >-

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ imports:
22
root: __package__.yml
33
webhooks:
44
chatEnded:
5+
audiences: []
56
method: POST
67
display-name: Chat Ended
78
headers: {}
@@ -17,6 +18,7 @@ webhooks:
1718
event_name: chat_ended
1819
docs: Sent when an EVI chat ends.
1920
chatStarted:
21+
audiences: []
2022
method: POST
2123
display-name: Chat Started
2224
headers: {}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ service:
2020
query-parameters:
2121
page_number:
2222
type: optional<integer>
23+
default: 0
2324
docs: >-
2425
Specifies the page number to retrieve, enabling pagination.
2526
@@ -110,6 +111,7 @@ service:
110111
up to 10 items. Defaults to 10.
111112
page_number:
112113
type: optional<integer>
114+
default: 0
113115
docs: >-
114116
Specifies the page number to retrieve, enabling pagination.
115117

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ service:
2626
query-parameters:
2727
page_number:
2828
type: optional<integer>
29+
default: 0
2930
docs: >-
3031
Specifies the page number to retrieve, enabling pagination.
3132
@@ -333,6 +334,7 @@ service:
333334
query-parameters:
334335
page_number:
335336
type: optional<integer>
337+
default: 0
336338
docs: >-
337339
Specifies the page number to retrieve, enabling pagination.
338340

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ service:
2626
query-parameters:
2727
page_number:
2828
type: optional<integer>
29+
default: 0
2930
docs: >-
3031
Specifies the page number to retrieve, enabling pagination.
3132

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ service:
2626
query-parameters:
2727
page_number:
2828
type: optional<integer>
29+
default: 0
2930
docs: >-
3031
Specifies the page number to retrieve, enabling pagination.
3132
@@ -194,6 +195,7 @@ service:
194195
query-parameters:
195196
page_number:
196197
type: optional<integer>
198+
default: 0
197199
docs: >-
198200
Specifies the page number to retrieve, enabling pagination.
199201

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ service:
2727
query-parameters:
2828
page_number:
2929
type: optional<integer>
30+
default: 0
3031
docs: >-
3132
Specifies the page number to retrieve, enabling pagination.
3233
@@ -225,6 +226,7 @@ service:
225226
query-parameters:
226227
page_number:
227228
type: optional<integer>
229+
default: 0
228230
docs: >-
229231
Specifies the page number to retrieve, enabling pagination.
230232

0 commit comments

Comments
 (0)