Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 Fern Regeneration -- September 19, 2024 #182

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 112 additions & 19 deletions .mock/definition/empathic-voice/__package__.yml

Large diffs are not rendered by default.

54 changes: 36 additions & 18 deletions .mock/definition/empathic-voice/chat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,28 +119,46 @@ types:
SubscribeEvent:
discriminated: false
union:
- root.AssistantEnd
- root.AssistantMessage
- root.AudioOutput
- root.ChatMetadata
- root.WebSocketError
- root.UserInterruption
- root.UserMessage
- root.ToolCallMessage
- root.ToolResponseMessage
- root.ToolErrorMessage
- display-name: AssistantEnd
type: root.AssistantEnd
- display-name: AssistantMessage
type: root.AssistantMessage
- display-name: AudioOutput
type: root.AudioOutput
- display-name: ChatMetadata
type: root.ChatMetadata
- display-name: Error
type: root.WebSocketError
- display-name: UserInterruption
type: root.UserInterruption
- display-name: UserMessage
type: root.UserMessage
- display-name: ToolCallMessage
type: root.ToolCallMessage
- display-name: ToolResponseMessage
type: root.ToolResponseMessage
- display-name: ToolErrorMessage
type: root.ToolErrorMessage
source:
openapi: assistant-asyncapi.json
PublishEvent:
discriminated: false
union:
- root.AudioInput
- root.SessionSettings
- root.UserInput
- root.AssistantInput
- root.ToolResponseMessage
- root.ToolErrorMessage
- root.PauseAssistantMessage
- root.ResumeAssistantMessage
- display-name: AudioInput
type: root.AudioInput
- display-name: SessionSettings
type: root.SessionSettings
- display-name: UserInput
type: root.UserInput
- display-name: AssistantInput
type: root.AssistantInput
- display-name: ToolResponseMessage
type: root.ToolResponseMessage
- display-name: ToolErrorMessage
type: root.ToolErrorMessage
- display-name: PauseAssistantMessage
type: root.PauseAssistantMessage
- display-name: ResumeAssistantMessage
type: root.ResumeAssistantMessage
source:
openapi: assistant-asyncapi.json
4 changes: 4 additions & 0 deletions .mock/definition/empathic-voice/chatGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ service:
path: /v0/evi/chat_groups
method: GET
auth: true
docs: Fetches a paginated list of **Chat Groups**.
display-name: List chat_groups
request:
name: ChatGroupsListChatGroupsRequest
Expand Down Expand Up @@ -77,6 +78,9 @@ service:
path: /v0/evi/chat_groups/{id}/events
method: GET
auth: true
docs: >-
Fetches a paginated list of **Chat** events associated with a **Chat
Group**.
path-parameters:
id:
type: string
Expand Down
2 changes: 2 additions & 0 deletions .mock/definition/empathic-voice/chats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ service:
path: /v0/evi/chats
method: GET
auth: true
docs: Fetches a paginated list of **Chats**.
pagination:
offset: $request.page_number
results: $response.chats_page
Expand Down Expand Up @@ -75,6 +76,7 @@ service:
path: /v0/evi/chats/{id}
method: GET
auth: true
docs: Fetches a paginated list of **Chat** events.
pagination:
offset: $request.page_number
results: $response.events_page
Expand Down
63 changes: 63 additions & 0 deletions .mock/definition/empathic-voice/configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ service:
path: /v0/evi/configs
method: GET
auth: true
docs: >-
Fetches a paginated list of **Configs**.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
display-name: List configs
request:
name: ConfigsListConfigsRequest
Expand Down Expand Up @@ -124,6 +131,13 @@ service:
path: /v0/evi/configs
method: POST
auth: true
docs: >-
Creates a **Config** which can be applied to EVI.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
display-name: Create config
request:
name: PostedConfig
Expand Down Expand Up @@ -272,6 +286,13 @@ service:
path: /v0/evi/configs/{id}
method: GET
auth: true
docs: >-
Fetches a list of a **Config's** versions.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand Down Expand Up @@ -388,6 +409,13 @@ service:
path: /v0/evi/configs/{id}
method: POST
auth: true
docs: >-
Updates a **Config** by creating a new version of the **Config**.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand Down Expand Up @@ -538,6 +566,13 @@ service:
path: /v0/evi/configs/{id}
method: DELETE
auth: true
docs: >-
Deletes a **Config** and its versions.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand All @@ -552,6 +587,13 @@ service:
path: /v0/evi/configs/{id}
method: PATCH
auth: true
docs: >-
Updates the name of a **Config**.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand All @@ -578,6 +620,13 @@ service:
path: /v0/evi/configs/{id}/version/{version}
method: GET
auth: true
docs: >-
Fetches a specified version of a **Config**.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand Down Expand Up @@ -676,6 +725,13 @@ service:
path: /v0/evi/configs/{id}/version/{version}
method: DELETE
auth: true
docs: >-
Deletes a specified version of a **Config**.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand Down Expand Up @@ -706,6 +762,13 @@ service:
path: /v0/evi/configs/{id}/version/{version}
method: PATCH
auth: true
docs: >-
Updates the description of a **Config**.


For more details on configuration options and how to configure EVI, see
our [configuration
guide](/docs/empathic-voice-interface-evi/configuration).
path-parameters:
id:
type: string
Expand Down
52 changes: 45 additions & 7 deletions .mock/definition/empathic-voice/customVoices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ service:
auth: false
base-path: ''
endpoints:
getReturnCustomVoicesForUser:
list-custom-voices:
path: /v0/evi/custom_voices
method: GET
auth: true
docs: >-
Fetches a paginated list of **Custom Voices**.


Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
for details on creating a custom voice.
display-name: List custom voices
request:
name: GetReturnCustomVoicesForUserRequest
name: CustomVoicesListCustomVoicesRequest
query-parameters:
page_number:
type: optional<integer>
Expand Down Expand Up @@ -56,10 +62,17 @@ service:
base_voice: ITO
parameter_model: 20240715-4parameter
parameters: {}
createNewCustomVoice:
create-custom-voice:
path: /v0/evi/custom_voices
method: POST
auth: true
docs: >-
Creates a **Custom Voice** that can be added to an [EVI
configuration](/reference/empathic-voice-interface-evi/configs/create-config).


Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
for details on creating a custom voice.
display-name: Create custom voice
request:
body: root.PostedCustomVoice
Expand Down Expand Up @@ -87,10 +100,16 @@ service:
huskiness: 1
nasality: 1
pitch: 1
getReturnCustomVoiceByCustomVoiceId:
get-custom-voice:
path: /v0/evi/custom_voices/{id}
method: GET
auth: true
docs: >-
Fetches a specific **Custom Voice** by ID.


Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
for details on creating a custom voice.
path-parameters:
id:
type: string
Expand Down Expand Up @@ -118,10 +137,17 @@ service:
huskiness: 1
nasality: 1
pitch: 1
addNewCustomVoiceVersion:
create-custom-voice-version:
path: /v0/evi/custom_voices/{id}
method: POST
auth: true
docs: >-
Updates a **Custom Voice** by creating a new version of the **Custom
Voice**.


Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
for details on creating a custom voice.
path-parameters:
id:
type: string
Expand Down Expand Up @@ -155,10 +181,16 @@ service:
huskiness: 1
nasality: 1
pitch: 1
deleteCustomVoice:
delete-custom-voice:
path: /v0/evi/custom_voices/{id}
method: DELETE
auth: true
docs: >-
Deletes a **Custom Voice** and its versions.


Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
for details on creating a custom voice.
path-parameters:
id:
type: string
Expand All @@ -169,10 +201,16 @@ service:
examples:
- path-parameters:
id: id
updateCustomVoiceName:
update-custom-voice-name:
path: /v0/evi/custom_voices/{id}
method: PATCH
auth: true
docs: >-
Updates the name of a **Custom Voice**.


Refer to our [voices guide](/docs/empathic-voice-interface-evi/voices)
for details on creating a custom voice.
path-parameters:
id:
type: string
Expand Down
Loading
Loading