Skip to content

Commit 9d0cc61

Browse files
committed
SDK regeneration
1 parent 4b08cb1 commit 9d0cc61

Some content is hidden

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

47 files changed

+933
-4737
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/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/configs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ service:
664664
response:
665665
docs: Success
666666
type: text
667+
status-code: 200
667668
errors:
668669
- root.BadRequestError
669670
examples:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ service:
377377
response:
378378
docs: Success
379379
type: text
380+
status-code: 200
380381
errors:
381382
- root.BadRequestError
382383
examples:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ service:
430430
content-type: application/json
431431
response:
432432
docs: Success
433+
type: text
434+
status-code: 200
433435
errors:
434436
- root.BadRequestError
435437
examples:

0 commit comments

Comments
 (0)