hume 0.9.9 → 0.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +164 -19
- package/.mock/definition/empathic-voice/chat.yml +5 -1
- package/.mock/definition/empathic-voice/chatGroups.yml +6 -0
- package/.mock/definition/empathic-voice/chatWebhooks.yml +32 -0
- package/.mock/definition/empathic-voice/chats.yml +3 -0
- package/.mock/definition/empathic-voice/configs.yml +8 -1
- package/.mock/definition/empathic-voice/customVoices.yml +23 -12
- package/.mock/definition/empathic-voice/prompts.yml +29 -21
- package/.mock/definition/empathic-voice/tools.yml +34 -27
- package/.mock/definition/expression-measurement/batch/__package__.yml +23 -0
- package/.mock/definition/expression-measurement/stream/__package__.yml +0 -435
- package/.mock/definition/expression-measurement/v0StreamModels.yml +437 -0
- package/.mock/definition/tts/__package__.yml +394 -0
- package/.mock/definition/tts/voices.yml +47 -0
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
- package/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/api/resources/empathicVoice/types/Context.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
- package/api/resources/empathicVoice/types/WebhookEvent.d.ts +5 -0
- package/api/resources/empathicVoice/types/WebhookEvent.js +5 -0
- package/api/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/api/resources/empathicVoice/types/WebhookEventBase.js +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +18 -0
- package/api/resources/empathicVoice/types/WebhookEventChatEnded.js +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +8 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStartType.js +10 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +16 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStarted.js +5 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +12 -0
- package/api/resources/empathicVoice/types/WebhookEventChatStatus.js +14 -0
- package/api/resources/empathicVoice/types/index.d.ts +6 -0
- package/api/resources/empathicVoice/types/index.js +6 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/tts/client/Client.d.ts +86 -0
- package/api/resources/tts/client/Client.js +218 -0
- package/api/resources/tts/client/index.d.ts +1 -0
- package/api/resources/tts/client/index.js +2 -0
- package/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
- package/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
- package/api/resources/tts/errors/index.d.ts +1 -0
- package/api/resources/tts/errors/index.js +17 -0
- package/api/resources/tts/index.d.ts +4 -0
- package/api/resources/tts/index.js +20 -0
- package/api/resources/tts/resources/index.d.ts +2 -0
- package/api/resources/tts/resources/index.js +31 -0
- package/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
- package/api/resources/tts/resources/voices/client/Client.js +126 -0
- package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/index.js +17 -0
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
- package/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
- package/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/requests/index.js +2 -0
- package/api/resources/tts/resources/voices/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/index.js +17 -0
- package/api/resources/tts/types/AudioEncoding.d.ts +10 -0
- package/api/resources/tts/types/AudioEncoding.js +5 -0
- package/api/resources/tts/types/AudioFormatType.d.ts +9 -0
- package/api/resources/tts/types/AudioFormatType.js +11 -0
- package/api/resources/tts/types/Format.d.ts +19 -0
- package/api/resources/tts/types/Format.js +5 -0
- package/api/resources/tts/types/FormatMp3.d.ts +5 -0
- package/api/resources/tts/types/FormatMp3.js +5 -0
- package/api/resources/tts/types/FormatPcm.d.ts +5 -0
- package/api/resources/tts/types/FormatPcm.js +5 -0
- package/api/resources/tts/types/FormatWav.d.ts +5 -0
- package/api/resources/tts/types/FormatWav.js +5 -0
- package/api/resources/tts/types/HttpValidationError.d.ts +7 -0
- package/api/resources/tts/types/HttpValidationError.js +5 -0
- package/api/resources/tts/types/PostedContext.d.ts +8 -0
- package/api/resources/tts/types/PostedContext.js +5 -0
- package/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
- package/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
- package/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
- package/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
- package/api/resources/tts/types/PostedTts.d.ts +14 -0
- package/api/resources/tts/types/PostedTts.js +5 -0
- package/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
- package/api/resources/tts/types/PostedTtsRecord.js +5 -0
- package/api/resources/tts/types/PostedUtterance.d.ts +22 -0
- package/api/resources/tts/types/PostedUtterance.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
- package/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
- package/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
- package/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
- package/api/resources/tts/types/ReturnGeneration.js +5 -0
- package/api/resources/tts/types/ReturnTts.d.ts +9 -0
- package/api/resources/tts/types/ReturnTts.js +5 -0
- package/api/resources/tts/types/ReturnVoice.d.ts +9 -0
- package/api/resources/tts/types/ReturnVoice.js +5 -0
- package/api/resources/tts/types/Snippet.d.ts +11 -0
- package/api/resources/tts/types/Snippet.js +5 -0
- package/api/resources/tts/types/ValidationError.d.ts +9 -0
- package/api/resources/tts/types/ValidationError.js +5 -0
- package/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
- package/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
- package/api/resources/tts/types/VoiceProvider.d.ts +8 -0
- package/api/resources/tts/types/VoiceProvider.js +10 -0
- package/api/resources/tts/types/index.d.ts +23 -0
- package/api/resources/tts/types/index.js +39 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +11 -6
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +17 -12
- package/dist/api/resources/empathicVoice/resources/customVoices/client/requests/PostedCustomVoiceName.d.ts +6 -0
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +11 -11
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +21 -21
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/types/Context.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedCustomVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +7 -7
- package/dist/api/resources/empathicVoice/types/WebhookEvent.d.ts +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEvent.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventBase.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +18 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +8 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStartType.js +10 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +16 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.js +5 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/WebhookEventChatStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +6 -0
- package/dist/api/resources/empathicVoice/types/index.js +6 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/tts/client/Client.d.ts +86 -0
- package/dist/api/resources/tts/client/Client.js +218 -0
- package/dist/api/resources/tts/client/index.d.ts +1 -0
- package/dist/api/resources/tts/client/index.js +2 -0
- package/dist/api/resources/tts/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/api/resources/tts/errors/UnprocessableEntityError.js +41 -0
- package/dist/api/resources/tts/errors/index.d.ts +1 -0
- package/dist/api/resources/tts/errors/index.js +17 -0
- package/dist/api/resources/tts/index.d.ts +4 -0
- package/dist/api/resources/tts/index.js +20 -0
- package/dist/api/resources/tts/resources/index.d.ts +2 -0
- package/dist/api/resources/tts/resources/index.js +31 -0
- package/dist/api/resources/tts/resources/voices/client/Client.d.ts +43 -0
- package/dist/api/resources/tts/resources/voices/client/Client.js +126 -0
- package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/index.js +17 -0
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +16 -0
- package/dist/api/resources/tts/resources/voices/client/requests/PostedVoice.js +5 -0
- package/dist/api/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/requests/index.js +2 -0
- package/dist/api/resources/tts/resources/voices/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/index.js +17 -0
- package/dist/api/resources/tts/types/AudioEncoding.d.ts +10 -0
- package/dist/api/resources/tts/types/AudioEncoding.js +5 -0
- package/dist/api/resources/tts/types/AudioFormatType.d.ts +9 -0
- package/dist/api/resources/tts/types/AudioFormatType.js +11 -0
- package/dist/api/resources/tts/types/Format.d.ts +19 -0
- package/dist/api/resources/tts/types/Format.js +5 -0
- package/dist/api/resources/tts/types/FormatMp3.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatMp3.js +5 -0
- package/dist/api/resources/tts/types/FormatPcm.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatPcm.js +5 -0
- package/dist/api/resources/tts/types/FormatWav.d.ts +5 -0
- package/dist/api/resources/tts/types/FormatWav.js +5 -0
- package/dist/api/resources/tts/types/HttpValidationError.d.ts +7 -0
- package/dist/api/resources/tts/types/HttpValidationError.js +5 -0
- package/dist/api/resources/tts/types/PostedContext.d.ts +8 -0
- package/dist/api/resources/tts/types/PostedContext.js +5 -0
- package/dist/api/resources/tts/types/PostedContextWithGenerationId.d.ts +7 -0
- package/dist/api/resources/tts/types/PostedContextWithGenerationId.js +5 -0
- package/dist/api/resources/tts/types/PostedContextWithUtterances.d.ts +7 -0
- package/dist/api/resources/tts/types/PostedContextWithUtterances.js +5 -0
- package/dist/api/resources/tts/types/PostedTts.d.ts +14 -0
- package/dist/api/resources/tts/types/PostedTts.js +5 -0
- package/dist/api/resources/tts/types/PostedTtsRecord.d.ts +11 -0
- package/dist/api/resources/tts/types/PostedTtsRecord.js +5 -0
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +22 -0
- package/dist/api/resources/tts/types/PostedUtterance.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoice.d.ts +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoice.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +20 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithId.js +5 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +20 -0
- package/dist/api/resources/tts/types/PostedUtteranceVoiceWithName.js +5 -0
- package/dist/api/resources/tts/types/ReturnGeneration.d.ts +17 -0
- package/dist/api/resources/tts/types/ReturnGeneration.js +5 -0
- package/dist/api/resources/tts/types/ReturnTts.d.ts +9 -0
- package/dist/api/resources/tts/types/ReturnTts.js +5 -0
- package/dist/api/resources/tts/types/ReturnVoice.d.ts +9 -0
- package/dist/api/resources/tts/types/ReturnVoice.js +5 -0
- package/dist/api/resources/tts/types/Snippet.d.ts +11 -0
- package/dist/api/resources/tts/types/Snippet.js +5 -0
- package/dist/api/resources/tts/types/ValidationError.d.ts +9 -0
- package/dist/api/resources/tts/types/ValidationError.js +5 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.d.ts +4 -0
- package/dist/api/resources/tts/types/ValidationErrorLocItem.js +5 -0
- package/dist/api/resources/tts/types/VoiceProvider.d.ts +8 -0
- package/dist/api/resources/tts/types/VoiceProvider.js +10 -0
- package/dist/api/resources/tts/types/index.d.ts +23 -0
- package/dist/api/resources/tts/types/index.js +39 -0
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/WebhookEvent.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEvent.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventBase.js +35 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +19 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +42 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStartType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +18 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +41 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +6 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +6 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/tts/index.d.ts +2 -0
- package/dist/serialization/resources/tts/index.js +18 -0
- package/dist/serialization/resources/tts/resources/index.d.ts +2 -0
- package/dist/serialization/resources/tts/resources/index.js +31 -0
- package/dist/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/client/index.js +17 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
- package/dist/serialization/resources/tts/resources/voices/index.d.ts +1 -0
- package/dist/serialization/resources/tts/resources/voices/index.js +17 -0
- package/dist/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
- package/dist/serialization/resources/tts/types/AudioEncoding.js +35 -0
- package/dist/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
- package/dist/serialization/resources/tts/types/AudioFormatType.js +31 -0
- package/dist/serialization/resources/tts/types/Format.d.ts +22 -0
- package/dist/serialization/resources/tts/types/Format.js +43 -0
- package/dist/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatMp3.js +31 -0
- package/dist/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatPcm.js +31 -0
- package/dist/serialization/resources/tts/types/FormatWav.d.ts +11 -0
- package/dist/serialization/resources/tts/types/FormatWav.js +31 -0
- package/dist/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
- package/dist/serialization/resources/tts/types/HttpValidationError.js +34 -0
- package/dist/serialization/resources/tts/types/PostedContext.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedContext.js +33 -0
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
- package/dist/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
- package/dist/serialization/resources/tts/types/PostedTts.d.ts +18 -0
- package/dist/serialization/resources/tts/types/PostedTts.js +39 -0
- package/dist/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
- package/dist/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
- package/dist/serialization/resources/tts/types/PostedUtterance.js +36 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
- package/dist/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
- package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
- package/dist/serialization/resources/tts/types/ReturnGeneration.js +40 -0
- package/dist/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
- package/dist/serialization/resources/tts/types/ReturnTts.js +35 -0
- package/dist/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
- package/dist/serialization/resources/tts/types/ReturnVoice.js +34 -0
- package/dist/serialization/resources/tts/types/Snippet.d.ts +14 -0
- package/dist/serialization/resources/tts/types/Snippet.js +35 -0
- package/dist/serialization/resources/tts/types/ValidationError.d.ts +15 -0
- package/dist/serialization/resources/tts/types/ValidationError.js +36 -0
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
- package/dist/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
- package/dist/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/tts/types/VoiceProvider.js +31 -0
- package/dist/serialization/resources/tts/types/index.d.ts +23 -0
- package/dist/serialization/resources/tts/types/index.js +39 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +489 -178
- package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.d.ts → createPromptVersion.d.ts} +1 -1
- package/serialization/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -1
- package/serialization/resources/empathicVoice/resources/prompts/client/index.js +2 -2
- package/serialization/resources/empathicVoice/types/WebhookEvent.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/WebhookEvent.js +33 -0
- package/serialization/resources/empathicVoice/types/WebhookEventBase.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/WebhookEventBase.js +35 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +19 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +42 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStartType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStartType.js +31 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +18 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +41 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/WebhookEventChatStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +6 -0
- package/serialization/resources/empathicVoice/types/index.js +6 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/tts/index.d.ts +2 -0
- package/serialization/resources/tts/index.js +18 -0
- package/serialization/resources/tts/resources/index.d.ts +2 -0
- package/serialization/resources/tts/resources/index.js +31 -0
- package/serialization/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/client/index.js +17 -0
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.d.ts +13 -0
- package/serialization/resources/tts/resources/voices/client/requests/PostedVoice.js +34 -0
- package/serialization/resources/tts/resources/voices/client/requests/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/client/requests/index.js +5 -0
- package/serialization/resources/tts/resources/voices/index.d.ts +1 -0
- package/serialization/resources/tts/resources/voices/index.js +17 -0
- package/serialization/resources/tts/types/AudioEncoding.d.ts +14 -0
- package/serialization/resources/tts/types/AudioEncoding.js +35 -0
- package/serialization/resources/tts/types/AudioFormatType.d.ts +10 -0
- package/serialization/resources/tts/types/AudioFormatType.js +31 -0
- package/serialization/resources/tts/types/Format.d.ts +22 -0
- package/serialization/resources/tts/types/Format.js +43 -0
- package/serialization/resources/tts/types/FormatMp3.d.ts +11 -0
- package/serialization/resources/tts/types/FormatMp3.js +31 -0
- package/serialization/resources/tts/types/FormatPcm.d.ts +11 -0
- package/serialization/resources/tts/types/FormatPcm.js +31 -0
- package/serialization/resources/tts/types/FormatWav.d.ts +11 -0
- package/serialization/resources/tts/types/FormatWav.js +31 -0
- package/serialization/resources/tts/types/HttpValidationError.d.ts +13 -0
- package/serialization/resources/tts/types/HttpValidationError.js +34 -0
- package/serialization/resources/tts/types/PostedContext.d.ts +12 -0
- package/serialization/resources/tts/types/PostedContext.js +33 -0
- package/serialization/resources/tts/types/PostedContextWithGenerationId.d.ts +12 -0
- package/serialization/resources/tts/types/PostedContextWithGenerationId.js +33 -0
- package/serialization/resources/tts/types/PostedContextWithUtterances.d.ts +13 -0
- package/serialization/resources/tts/types/PostedContextWithUtterances.js +34 -0
- package/serialization/resources/tts/types/PostedTts.d.ts +18 -0
- package/serialization/resources/tts/types/PostedTts.js +39 -0
- package/serialization/resources/tts/types/PostedTtsRecord.d.ts +17 -0
- package/serialization/resources/tts/types/PostedTtsRecord.js +38 -0
- package/serialization/resources/tts/types/PostedUtterance.d.ts +15 -0
- package/serialization/resources/tts/types/PostedUtterance.js +36 -0
- package/serialization/resources/tts/types/PostedUtteranceVoice.d.ts +12 -0
- package/serialization/resources/tts/types/PostedUtteranceVoice.js +33 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.d.ts +14 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithId.js +35 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.d.ts +14 -0
- package/serialization/resources/tts/types/PostedUtteranceVoiceWithName.js +35 -0
- package/serialization/resources/tts/types/ReturnGeneration.d.ts +19 -0
- package/serialization/resources/tts/types/ReturnGeneration.js +40 -0
- package/serialization/resources/tts/types/ReturnTts.d.ts +14 -0
- package/serialization/resources/tts/types/ReturnTts.js +35 -0
- package/serialization/resources/tts/types/ReturnVoice.d.ts +13 -0
- package/serialization/resources/tts/types/ReturnVoice.js +34 -0
- package/serialization/resources/tts/types/Snippet.d.ts +14 -0
- package/serialization/resources/tts/types/Snippet.js +35 -0
- package/serialization/resources/tts/types/ValidationError.d.ts +15 -0
- package/serialization/resources/tts/types/ValidationError.js +36 -0
- package/serialization/resources/tts/types/ValidationErrorLocItem.d.ts +10 -0
- package/serialization/resources/tts/types/ValidationErrorLocItem.js +31 -0
- package/serialization/resources/tts/types/VoiceProvider.d.ts +10 -0
- package/serialization/resources/tts/types/VoiceProvider.js +31 -0
- package/serialization/resources/tts/types/index.d.ts +23 -0
- package/serialization/resources/tts/types/index.js +39 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/dist/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
- /package/serialization/resources/empathicVoice/resources/prompts/client/{createPromptVerison.js → createPromptVersion.js} +0 -0
|
@@ -19,6 +19,7 @@ types:
|
|
|
19
19
|
docs: >-
|
|
20
20
|
Type of Tool. Either `BUILTIN` for natively implemented tools, like web
|
|
21
21
|
search, or `FUNCTION` for user-defined tools.
|
|
22
|
+
inline: true
|
|
22
23
|
source:
|
|
23
24
|
openapi: stenographer-openapi.json
|
|
24
25
|
ReturnUserDefinedToolVersionType:
|
|
@@ -28,6 +29,7 @@ types:
|
|
|
28
29
|
docs: >-
|
|
29
30
|
Versioning method for a Tool. Either `FIXED` for using a fixed version
|
|
30
31
|
number or `LATEST` for auto-updating to the latest version.
|
|
32
|
+
inline: true
|
|
31
33
|
source:
|
|
32
34
|
openapi: stenographer-openapi.json
|
|
33
35
|
ReturnUserDefinedTool:
|
|
@@ -106,6 +108,7 @@ types:
|
|
|
106
108
|
docs: >-
|
|
107
109
|
Versioning method for a Prompt. Either `FIXED` for using a fixed version
|
|
108
110
|
number or `LATEST` for auto-updating to the latest version.
|
|
111
|
+
inline: true
|
|
109
112
|
source:
|
|
110
113
|
openapi: stenographer-openapi.json
|
|
111
114
|
ReturnPrompt:
|
|
@@ -164,7 +167,7 @@ types:
|
|
|
164
167
|
|
|
165
168
|
|
|
166
169
|
For help writing a system prompt, see our [Prompting
|
|
167
|
-
Guide](/docs/empathic-voice-interface-evi/prompting).
|
|
170
|
+
Guide](/docs/empathic-voice-interface-evi/guides/prompting).
|
|
168
171
|
source:
|
|
169
172
|
openapi: stenographer-openapi.json
|
|
170
173
|
PostedCustomVoiceBaseVoice:
|
|
@@ -178,6 +181,7 @@ types:
|
|
|
178
181
|
- STELLA
|
|
179
182
|
- SUNNY
|
|
180
183
|
docs: Specifies the base voice used to create the Custom Voice.
|
|
184
|
+
inline: true
|
|
181
185
|
source:
|
|
182
186
|
openapi: stenographer-openapi.json
|
|
183
187
|
PostedCustomVoiceParameters:
|
|
@@ -298,7 +302,7 @@ types:
|
|
|
298
302
|
[name](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.name)
|
|
299
303
|
of a base voice or previously created Custom Voice must be provided.
|
|
300
304
|
|
|
301
|
-
See our [Voices guide](/docs/empathic-voice-interface-evi/voices) for a tutorial on how to craft a Custom Voice.
|
|
305
|
+
See our [Voices guide](/docs/empathic-voice-interface-evi/configuration/voices) for a tutorial on how to craft a Custom Voice.
|
|
302
306
|
properties:
|
|
303
307
|
name:
|
|
304
308
|
type: string
|
|
@@ -337,6 +341,7 @@ types:
|
|
|
337
341
|
- STELLA
|
|
338
342
|
- SUNNY
|
|
339
343
|
docs: The base voice used to create the Custom Voice.
|
|
344
|
+
inline: true
|
|
340
345
|
source:
|
|
341
346
|
openapi: stenographer-openapi.json
|
|
342
347
|
ReturnCustomVoiceParameters:
|
|
@@ -512,7 +517,8 @@ types:
|
|
|
512
517
|
|
|
513
518
|
|
|
514
519
|
For more information, see our guide on [using built-in
|
|
515
|
-
tools](/docs/empathic-voice-interface-evi/tool-use#using-built-in-tools).
|
|
520
|
+
tools](/docs/empathic-voice-interface-evi/features/tool-use#using-built-in-tools).
|
|
521
|
+
inline: true
|
|
516
522
|
source:
|
|
517
523
|
openapi: stenographer-openapi.json
|
|
518
524
|
PostedBuiltinTool:
|
|
@@ -533,7 +539,7 @@ types:
|
|
|
533
539
|
|
|
534
540
|
|
|
535
541
|
For more information, see our guide on [using built-in
|
|
536
|
-
tools](/docs/empathic-voice-interface-evi/tool-use#using-built-in-tools).
|
|
542
|
+
tools](/docs/empathic-voice-interface-evi/features/tool-use#using-built-in-tools).
|
|
537
543
|
fallback_content:
|
|
538
544
|
type: optional<string>
|
|
539
545
|
docs: >-
|
|
@@ -642,6 +648,7 @@ types:
|
|
|
642
648
|
- GROQ
|
|
643
649
|
- GOOGLE
|
|
644
650
|
docs: The provider of the supplemental language model.
|
|
651
|
+
inline: true
|
|
645
652
|
source:
|
|
646
653
|
openapi: stenographer-openapi.json
|
|
647
654
|
PostedLanguageModelModelResource:
|
|
@@ -698,6 +705,7 @@ types:
|
|
|
698
705
|
name: AccountsFireworksModelsLlamaV3P18BInstruct
|
|
699
706
|
- ellm
|
|
700
707
|
docs: String that specifies the language model to use with `model_provider`.
|
|
708
|
+
inline: true
|
|
701
709
|
source:
|
|
702
710
|
openapi: stenographer-openapi.json
|
|
703
711
|
PostedLanguageModel:
|
|
@@ -847,6 +855,7 @@ types:
|
|
|
847
855
|
docs: >-
|
|
848
856
|
The provider of the voice to use. Supported values are `HUME_AI` and
|
|
849
857
|
`CUSTOM_VOICE`.
|
|
858
|
+
inline: true
|
|
850
859
|
source:
|
|
851
860
|
openapi: stenographer-openapi.json
|
|
852
861
|
PostedVoice:
|
|
@@ -880,6 +889,7 @@ types:
|
|
|
880
889
|
- chat_started
|
|
881
890
|
- chat_ended
|
|
882
891
|
docs: Events this URL is subscribed to
|
|
892
|
+
inline: true
|
|
883
893
|
source:
|
|
884
894
|
openapi: stenographer-openapi.json
|
|
885
895
|
PostedWebhookSpec:
|
|
@@ -887,9 +897,18 @@ types:
|
|
|
887
897
|
properties:
|
|
888
898
|
url:
|
|
889
899
|
type: string
|
|
890
|
-
docs:
|
|
900
|
+
docs: >-
|
|
901
|
+
The URL where event payloads will be sent. This must be a valid https
|
|
902
|
+
URL to ensure secure communication. The server at this URL must accept
|
|
903
|
+
POST requests with a JSON payload.
|
|
891
904
|
events:
|
|
892
|
-
docs:
|
|
905
|
+
docs: >-
|
|
906
|
+
The list of events the specified URL is subscribed to.
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
See our [webhooks
|
|
910
|
+
guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events)
|
|
911
|
+
for more information on supported events.
|
|
893
912
|
type: list<PostedWebhookEventType>
|
|
894
913
|
source:
|
|
895
914
|
openapi: stenographer-openapi.json
|
|
@@ -900,6 +919,7 @@ types:
|
|
|
900
919
|
docs: >-
|
|
901
920
|
Type of Tool. Either `BUILTIN` for natively implemented tools, like web
|
|
902
921
|
search, or `FUNCTION` for user-defined tools.
|
|
922
|
+
inline: true
|
|
903
923
|
source:
|
|
904
924
|
openapi: stenographer-openapi.json
|
|
905
925
|
ReturnBuiltinTool:
|
|
@@ -948,7 +968,7 @@ types:
|
|
|
948
968
|
Specifies the EVI version to use. Use `"1"` for version 1, or `"2"`
|
|
949
969
|
for the latest enhanced version. For a detailed comparison of the two
|
|
950
970
|
versions, refer to our
|
|
951
|
-
[guide](/docs/empathic-voice-interface-evi/evi-
|
|
971
|
+
[guide](/docs/empathic-voice-interface-evi/configuration/evi-version).
|
|
952
972
|
version_description:
|
|
953
973
|
type: optional<string>
|
|
954
974
|
docs: An optional description of the Config version.
|
|
@@ -1083,6 +1103,7 @@ types:
|
|
|
1083
1103
|
- GROQ
|
|
1084
1104
|
- GOOGLE
|
|
1085
1105
|
docs: The provider of the supplemental language model.
|
|
1106
|
+
inline: true
|
|
1086
1107
|
source:
|
|
1087
1108
|
openapi: stenographer-openapi.json
|
|
1088
1109
|
ReturnLanguageModelModelResource:
|
|
@@ -1143,6 +1164,7 @@ types:
|
|
|
1143
1164
|
name: AccountsFireworksModelsLlamaV3P18BInstruct
|
|
1144
1165
|
- ellm
|
|
1145
1166
|
docs: String that specifies the language model to use with `model_provider`.
|
|
1167
|
+
inline: true
|
|
1146
1168
|
source:
|
|
1147
1169
|
openapi: stenographer-openapi.json
|
|
1148
1170
|
ReturnLanguageModel:
|
|
@@ -1224,6 +1246,7 @@ types:
|
|
|
1224
1246
|
docs: >-
|
|
1225
1247
|
The provider of the voice to use. Supported values are `HUME_AI` and
|
|
1226
1248
|
`CUSTOM_VOICE`.
|
|
1249
|
+
inline: true
|
|
1227
1250
|
source:
|
|
1228
1251
|
openapi: stenographer-openapi.json
|
|
1229
1252
|
ReturnVoice:
|
|
@@ -1251,6 +1274,7 @@ types:
|
|
|
1251
1274
|
- chat_started
|
|
1252
1275
|
- chat_ended
|
|
1253
1276
|
docs: Events this URL is subscribed to
|
|
1277
|
+
inline: true
|
|
1254
1278
|
source:
|
|
1255
1279
|
openapi: stenographer-openapi.json
|
|
1256
1280
|
ReturnWebhookSpec:
|
|
@@ -1258,9 +1282,18 @@ types:
|
|
|
1258
1282
|
properties:
|
|
1259
1283
|
url:
|
|
1260
1284
|
type: string
|
|
1261
|
-
docs:
|
|
1285
|
+
docs: >-
|
|
1286
|
+
The URL where event payloads will be sent. This must be a valid https
|
|
1287
|
+
URL to ensure secure communication. The server at this URL must accept
|
|
1288
|
+
POST requests with a JSON payload.
|
|
1262
1289
|
events:
|
|
1263
|
-
docs:
|
|
1290
|
+
docs: >-
|
|
1291
|
+
The list of events the specified URL is subscribed to.
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
See our [webhooks
|
|
1295
|
+
guide](/docs/empathic-voice-interface-evi/configuration/build-a-configuration#supported-events)
|
|
1296
|
+
for more information on supported events.
|
|
1264
1297
|
type: list<ReturnWebhookEventType>
|
|
1265
1298
|
source:
|
|
1266
1299
|
openapi: stenographer-openapi.json
|
|
@@ -1407,6 +1440,7 @@ types:
|
|
|
1407
1440
|
|
|
1408
1441
|
|
|
1409
1442
|
- `ERROR`: The chat ended unexpectedly due to an error.
|
|
1443
|
+
inline: true
|
|
1410
1444
|
source:
|
|
1411
1445
|
openapi: stenographer-openapi.json
|
|
1412
1446
|
ReturnChat:
|
|
@@ -1499,6 +1533,7 @@ types:
|
|
|
1499
1533
|
first) or `DESC` for descending order (reverse-chronological, with the
|
|
1500
1534
|
newest records first). This value corresponds to the `ascending_order`
|
|
1501
1535
|
query parameter used in the request.
|
|
1536
|
+
inline: true
|
|
1502
1537
|
source:
|
|
1503
1538
|
openapi: stenographer-openapi.json
|
|
1504
1539
|
ReturnPagedChats:
|
|
@@ -1562,6 +1597,7 @@ types:
|
|
|
1562
1597
|
|
|
1563
1598
|
|
|
1564
1599
|
- `TOOL`: The function calling mechanism.
|
|
1600
|
+
inline: true
|
|
1565
1601
|
source:
|
|
1566
1602
|
openapi: stenographer-openapi.json
|
|
1567
1603
|
ReturnChatEventType:
|
|
@@ -1594,6 +1630,7 @@ types:
|
|
|
1594
1630
|
|
|
1595
1631
|
|
|
1596
1632
|
- `FUNCTION_CALL_RESPONSE`: Contains the tool response.
|
|
1633
|
+
inline: true
|
|
1597
1634
|
source:
|
|
1598
1635
|
openapi: stenographer-openapi.json
|
|
1599
1636
|
ReturnChatEvent:
|
|
@@ -1702,6 +1739,7 @@ types:
|
|
|
1702
1739
|
|
|
1703
1740
|
|
|
1704
1741
|
- `ERROR`: The chat ended unexpectedly due to an error.
|
|
1742
|
+
inline: true
|
|
1705
1743
|
source:
|
|
1706
1744
|
openapi: stenographer-openapi.json
|
|
1707
1745
|
ReturnChatPagedEventsPaginationDirection:
|
|
@@ -1717,6 +1755,7 @@ types:
|
|
|
1717
1755
|
first) or `DESC` for descending order (reverse-chronological, with the
|
|
1718
1756
|
newest records first). This value corresponds to the `ascending_order`
|
|
1719
1757
|
query parameter used in the request.
|
|
1758
|
+
inline: true
|
|
1720
1759
|
source:
|
|
1721
1760
|
openapi: stenographer-openapi.json
|
|
1722
1761
|
ReturnChatPagedEvents:
|
|
@@ -1830,6 +1869,7 @@ types:
|
|
|
1830
1869
|
|
|
1831
1870
|
|
|
1832
1871
|
- `CANCELED`: The reconstruction job has been canceled.
|
|
1872
|
+
inline: true
|
|
1833
1873
|
source:
|
|
1834
1874
|
openapi: stenographer-openapi.json
|
|
1835
1875
|
ReturnChatAudioReconstruction:
|
|
@@ -1929,6 +1969,7 @@ types:
|
|
|
1929
1969
|
first) or `DESC` for descending order (reverse-chronological, with the
|
|
1930
1970
|
newest records first). This value corresponds to the `ascending_order`
|
|
1931
1971
|
query parameter used in the request.
|
|
1972
|
+
inline: true
|
|
1932
1973
|
source:
|
|
1933
1974
|
openapi: stenographer-openapi.json
|
|
1934
1975
|
ReturnPagedChatGroups:
|
|
@@ -1984,6 +2025,7 @@ types:
|
|
|
1984
2025
|
first) or `DESC` for descending order (reverse-chronological, with the
|
|
1985
2026
|
newest records first). This value corresponds to the `ascending_order`
|
|
1986
2027
|
query parameter used in the request.
|
|
2028
|
+
inline: true
|
|
1987
2029
|
source:
|
|
1988
2030
|
openapi: stenographer-openapi.json
|
|
1989
2031
|
ReturnChatGroupPagedChats:
|
|
@@ -2062,6 +2104,7 @@ types:
|
|
|
2062
2104
|
first) or `DESC` for descending order (reverse-chronological, with the
|
|
2063
2105
|
newest records first). This value corresponds to the `ascending_order`
|
|
2064
2106
|
query parameter used in the request.
|
|
2107
|
+
inline: true
|
|
2065
2108
|
source:
|
|
2066
2109
|
openapi: stenographer-openapi.json
|
|
2067
2110
|
ReturnChatGroupPagedEvents:
|
|
@@ -2122,6 +2165,7 @@ types:
|
|
|
2122
2165
|
first) or `DESC` for descending order (reverse-chronological, with the
|
|
2123
2166
|
newest records first). This value corresponds to the `ascending_order`
|
|
2124
2167
|
query parameter used in the request.
|
|
2168
|
+
inline: true
|
|
2125
2169
|
source:
|
|
2126
2170
|
openapi: stenographer-openapi.json
|
|
2127
2171
|
ReturnChatGroupPagedAudioReconstructions:
|
|
@@ -2408,8 +2452,7 @@ types:
|
|
|
2408
2452
|
|
|
2409
2453
|
|
|
2410
2454
|
For more information, please refer to the [Session Settings
|
|
2411
|
-
|
|
2412
|
-
on the EVI Configuration page.
|
|
2455
|
+
guide](/docs/empathic-voice-interface-evi/configuration/session-settings).
|
|
2413
2456
|
custom_session_id:
|
|
2414
2457
|
type: optional<string>
|
|
2415
2458
|
docs: >-
|
|
@@ -2426,8 +2469,8 @@ types:
|
|
|
2426
2469
|
It is recommended to pass a `custom_session_id` if you are using a
|
|
2427
2470
|
Custom Language Model. Please see our guide to [using a custom
|
|
2428
2471
|
language
|
|
2429
|
-
model](/docs/empathic-voice-interface-evi/custom-language-model)
|
|
2430
|
-
EVI to learn more.
|
|
2472
|
+
model](/docs/empathic-voice-interface-evi/guides/custom-language-model)
|
|
2473
|
+
with EVI to learn more.
|
|
2431
2474
|
system_prompt:
|
|
2432
2475
|
type: optional<string>
|
|
2433
2476
|
docs: >-
|
|
@@ -2449,7 +2492,7 @@ types:
|
|
|
2449
2492
|
|
|
2450
2493
|
|
|
2451
2494
|
For help writing a system prompt, see our [Prompting
|
|
2452
|
-
Guide](/docs/empathic-voice-interface-evi/prompting).
|
|
2495
|
+
Guide](/docs/empathic-voice-interface-evi/guides/prompting).
|
|
2453
2496
|
context:
|
|
2454
2497
|
type: optional<Context>
|
|
2455
2498
|
docs: >-
|
|
@@ -2475,8 +2518,7 @@ types:
|
|
|
2475
2518
|
in PCM Linear 16 (16-bit, little-endian, signed PCM WAV data). For
|
|
2476
2519
|
detailed instructions on how to configure session settings for PCM
|
|
2477
2520
|
Linear 16 audio, please refer to the [Session Settings
|
|
2478
|
-
|
|
2479
|
-
on the EVI Configuration page.
|
|
2521
|
+
guide](/docs/empathic-voice-interface-evi/configuration/session-settings).
|
|
2480
2522
|
language_model_api_key:
|
|
2481
2523
|
type: optional<string>
|
|
2482
2524
|
docs: >-
|
|
@@ -2496,7 +2538,7 @@ types:
|
|
|
2496
2538
|
searching the web or calling external APIs. Built-in tools, like web
|
|
2497
2539
|
search, are natively integrated, while user-defined tools are created
|
|
2498
2540
|
and invoked by the user. To learn more, see our [Tool Use
|
|
2499
|
-
Guide](/docs/empathic-voice-interface-evi/tool-use).
|
|
2541
|
+
Guide](/docs/empathic-voice-interface-evi/features/tool-use).
|
|
2500
2542
|
builtin_tools:
|
|
2501
2543
|
type: optional<list<BuiltinToolConfig>>
|
|
2502
2544
|
docs: >-
|
|
@@ -2507,7 +2549,7 @@ types:
|
|
|
2507
2549
|
searching the web or calling external APIs. Built-in tools, like web
|
|
2508
2550
|
search, are natively integrated, while user-defined tools are created
|
|
2509
2551
|
and invoked by the user. To learn more, see our [Tool Use
|
|
2510
|
-
Guide](/docs/empathic-voice-interface-evi/tool-use).
|
|
2552
|
+
Guide](/docs/empathic-voice-interface-evi/features/tool-use).
|
|
2511
2553
|
|
|
2512
2554
|
|
|
2513
2555
|
Currently, the only built-in tool Hume provides is **Web Search**.
|
|
@@ -2532,7 +2574,7 @@ types:
|
|
|
2532
2574
|
Using this field, you can personalize responses based on
|
|
2533
2575
|
session-specific details. For more guidance, see our [guide on using
|
|
2534
2576
|
dynamic
|
|
2535
|
-
variables](/docs/empathic-voice-interface-evi/
|
|
2577
|
+
variables](/docs/empathic-voice-interface-evi/features/dynamic-variables).
|
|
2536
2578
|
source:
|
|
2537
2579
|
openapi: assistant-asyncapi.json
|
|
2538
2580
|
Tool:
|
|
@@ -3190,3 +3232,106 @@ types:
|
|
|
3190
3232
|
type: string
|
|
3191
3233
|
source:
|
|
3192
3234
|
openapi: assistant-openapi.json
|
|
3235
|
+
WebhookEventChatEnded:
|
|
3236
|
+
properties:
|
|
3237
|
+
event_name:
|
|
3238
|
+
type: optional<literal<"chat_ended">>
|
|
3239
|
+
docs: Always `chat_ended`.
|
|
3240
|
+
end_time:
|
|
3241
|
+
type: integer
|
|
3242
|
+
docs: Unix timestamp (in milliseconds) indicating when the session ended.
|
|
3243
|
+
duration_seconds:
|
|
3244
|
+
type: integer
|
|
3245
|
+
docs: Total duration of the session in seconds.
|
|
3246
|
+
end_reason:
|
|
3247
|
+
type: WebhookEventChatStatus
|
|
3248
|
+
docs: Reason for the session's termination.
|
|
3249
|
+
caller_number:
|
|
3250
|
+
type: optional<string>
|
|
3251
|
+
docs: >-
|
|
3252
|
+
Phone number of the caller in E.164 format (e.g., `+12223333333`).
|
|
3253
|
+
This field is included only if the Chat was created via the [Twilio
|
|
3254
|
+
phone
|
|
3255
|
+
calling](/docs/empathic-voice-interface-evi/guides/phone-calling)
|
|
3256
|
+
integration.
|
|
3257
|
+
custom_session_id:
|
|
3258
|
+
type: optional<string>
|
|
3259
|
+
docs: >-
|
|
3260
|
+
User-defined session ID. Relevant only when employing a [custom
|
|
3261
|
+
language
|
|
3262
|
+
model](/docs/empathic-voice-interface-evi/guides/custom-language-model)
|
|
3263
|
+
in the EVI Config.
|
|
3264
|
+
extends:
|
|
3265
|
+
- WebhookEventBase
|
|
3266
|
+
source:
|
|
3267
|
+
openapi: assistant-openapi.json
|
|
3268
|
+
WebhookEventChatStartType:
|
|
3269
|
+
enum:
|
|
3270
|
+
- new_chat_group
|
|
3271
|
+
- resumed_chat_group
|
|
3272
|
+
source:
|
|
3273
|
+
openapi: assistant-openapi.json
|
|
3274
|
+
WebhookEventChatStarted:
|
|
3275
|
+
properties:
|
|
3276
|
+
event_name:
|
|
3277
|
+
type: optional<literal<"chat_started">>
|
|
3278
|
+
docs: Always `chat_started`.
|
|
3279
|
+
start_time:
|
|
3280
|
+
type: integer
|
|
3281
|
+
docs: Unix timestamp (in milliseconds) indicating when the session started.
|
|
3282
|
+
chat_start_type:
|
|
3283
|
+
type: WebhookEventChatStartType
|
|
3284
|
+
docs: >-
|
|
3285
|
+
Indicates whether the chat is the first in a new Chat Group
|
|
3286
|
+
(`new_chat_group`) or the continuation of an existing chat group
|
|
3287
|
+
(`resumed_chat_group`).
|
|
3288
|
+
caller_number:
|
|
3289
|
+
type: optional<string>
|
|
3290
|
+
docs: >-
|
|
3291
|
+
Phone number of the caller in E.164 format (e.g., `+12223333333`).
|
|
3292
|
+
This field is included only if the Chat was created via the [Twilio
|
|
3293
|
+
phone
|
|
3294
|
+
calling](/docs/empathic-voice-interface-evi/guides/phone-calling)
|
|
3295
|
+
integration.
|
|
3296
|
+
custom_session_id:
|
|
3297
|
+
type: optional<string>
|
|
3298
|
+
docs: >-
|
|
3299
|
+
User-defined session ID. Relevant only when employing a [custom
|
|
3300
|
+
language
|
|
3301
|
+
model](/docs/empathic-voice-interface-evi/guides/custom-language-model)
|
|
3302
|
+
in the EVI Config.
|
|
3303
|
+
extends:
|
|
3304
|
+
- WebhookEventBase
|
|
3305
|
+
source:
|
|
3306
|
+
openapi: assistant-openapi.json
|
|
3307
|
+
WebhookEventChatStatus:
|
|
3308
|
+
enum:
|
|
3309
|
+
- ACTIVE
|
|
3310
|
+
- USER_ENDED
|
|
3311
|
+
- USER_TIMEOUT
|
|
3312
|
+
- INACTIVITY_TIMEOUT
|
|
3313
|
+
- MAX_DURATION_TIMEOUT
|
|
3314
|
+
- ERROR
|
|
3315
|
+
source:
|
|
3316
|
+
openapi: assistant-openapi.json
|
|
3317
|
+
WebhookEvent:
|
|
3318
|
+
discriminated: false
|
|
3319
|
+
union:
|
|
3320
|
+
- WebhookEventChatStarted
|
|
3321
|
+
- WebhookEventChatEnded
|
|
3322
|
+
source:
|
|
3323
|
+
openapi: assistant-openapi.json
|
|
3324
|
+
WebhookEventBase:
|
|
3325
|
+
docs: Represents the fields common to all webhook events.
|
|
3326
|
+
properties:
|
|
3327
|
+
chat_group_id:
|
|
3328
|
+
type: string
|
|
3329
|
+
docs: Unique ID of the **Chat Group** associated with the **Chat** session.
|
|
3330
|
+
chat_id:
|
|
3331
|
+
type: string
|
|
3332
|
+
docs: Unique ID of the **Chat** session.
|
|
3333
|
+
config_id:
|
|
3334
|
+
type: optional<string>
|
|
3335
|
+
docs: Unique ID of the EVI **Config** used for the session.
|
|
3336
|
+
source:
|
|
3337
|
+
openapi: assistant-openapi.json
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
channel:
|
|
2
2
|
path: /v0/evi/chat
|
|
3
|
+
url: prod
|
|
3
4
|
auth: false
|
|
4
5
|
query-parameters:
|
|
5
6
|
config_id:
|
|
@@ -11,7 +12,7 @@ channel:
|
|
|
11
12
|
Include this ID in your connection request to equip EVI with the Prompt,
|
|
12
13
|
Language Model, Voice, and Tools associated with the specified
|
|
13
14
|
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).
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
For help obtaining this ID, see our [Configuration
|
|
@@ -76,6 +77,7 @@ channel:
|
|
|
76
77
|
list of all available chat groups.
|
|
77
78
|
verbose_transcription:
|
|
78
79
|
type: optional<boolean>
|
|
80
|
+
default: false
|
|
79
81
|
docs: >-
|
|
80
82
|
A flag to enable verbose transcription. Set this query parameter to
|
|
81
83
|
`true` to have unfinalized user transcripts be sent to the client as
|
|
@@ -86,6 +88,7 @@ channel:
|
|
|
86
88
|
denotes whether the message is "interim" or "final."
|
|
87
89
|
access_token:
|
|
88
90
|
type: optional<string>
|
|
91
|
+
default: ''
|
|
89
92
|
docs: >-
|
|
90
93
|
Access token used for authenticating the client. If not provided, an
|
|
91
94
|
`api_key` must be provided to authenticate.
|
|
@@ -100,6 +103,7 @@ channel:
|
|
|
100
103
|
Guide](/docs/introduction/api-key#authentication-strategies).
|
|
101
104
|
api_key:
|
|
102
105
|
type: optional<string>
|
|
106
|
+
default: ''
|
|
103
107
|
docs: >-
|
|
104
108
|
API key used for authenticating the client. If not provided, an
|
|
105
109
|
`access_token` must be provided to authenticate.
|
|
@@ -57,6 +57,7 @@ service:
|
|
|
57
57
|
response:
|
|
58
58
|
docs: Success
|
|
59
59
|
type: root.ReturnPagedChatGroups
|
|
60
|
+
status-code: 200
|
|
60
61
|
errors:
|
|
61
62
|
- root.BadRequestError
|
|
62
63
|
examples:
|
|
@@ -127,6 +128,7 @@ service:
|
|
|
127
128
|
response:
|
|
128
129
|
docs: Success
|
|
129
130
|
type: root.ReturnChatGroupPagedChats
|
|
131
|
+
status-code: 200
|
|
130
132
|
errors:
|
|
131
133
|
- root.BadRequestError
|
|
132
134
|
examples:
|
|
@@ -153,6 +155,8 @@ service:
|
|
|
153
155
|
start_timestamp: 1712334213647
|
|
154
156
|
end_timestamp: 1712334332571
|
|
155
157
|
event_count: 0
|
|
158
|
+
metadata: null
|
|
159
|
+
config: null
|
|
156
160
|
active: false
|
|
157
161
|
list-chat-group-events:
|
|
158
162
|
path: /v0/evi/chat_groups/{id}/events
|
|
@@ -203,6 +207,7 @@ service:
|
|
|
203
207
|
response:
|
|
204
208
|
docs: Success
|
|
205
209
|
type: root.ReturnChatGroupPagedEvents
|
|
210
|
+
status-code: 200
|
|
206
211
|
errors:
|
|
207
212
|
- root.BadRequestError
|
|
208
213
|
examples:
|
|
@@ -580,6 +585,7 @@ service:
|
|
|
580
585
|
response:
|
|
581
586
|
docs: Success
|
|
582
587
|
type: root.ReturnChatGroupPagedAudioReconstructions
|
|
588
|
+
status-code: 200
|
|
583
589
|
errors:
|
|
584
590
|
- root.BadRequestError
|
|
585
591
|
examples:
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
webhooks:
|
|
4
|
+
chatEnded:
|
|
5
|
+
method: POST
|
|
6
|
+
display-name: Chat Ended
|
|
7
|
+
headers: {}
|
|
8
|
+
payload: root.WebhookEventChatEnded
|
|
9
|
+
examples:
|
|
10
|
+
- payload:
|
|
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
|
|
31
|
+
chat_start_type: new_chat_group
|
|
32
|
+
docs: Sent when an EVI chat is started.
|
|
@@ -55,6 +55,7 @@ service:
|
|
|
55
55
|
response:
|
|
56
56
|
docs: Success
|
|
57
57
|
type: root.ReturnPagedChats
|
|
58
|
+
status-code: 200
|
|
58
59
|
errors:
|
|
59
60
|
- root.BadRequestError
|
|
60
61
|
examples:
|
|
@@ -129,6 +130,7 @@ service:
|
|
|
129
130
|
response:
|
|
130
131
|
docs: Success
|
|
131
132
|
type: root.ReturnChatPagedEvents
|
|
133
|
+
status-code: 200
|
|
132
134
|
errors:
|
|
133
135
|
- root.BadRequestError
|
|
134
136
|
examples:
|
|
@@ -482,6 +484,7 @@ service:
|
|
|
482
484
|
response:
|
|
483
485
|
docs: Success
|
|
484
486
|
type: root.ReturnChatAudioReconstruction
|
|
487
|
+
status-code: 200
|
|
485
488
|
errors:
|
|
486
489
|
- root.BadRequestError
|
|
487
490
|
examples:
|
|
@@ -54,6 +54,7 @@ service:
|
|
|
54
54
|
response:
|
|
55
55
|
docs: Success
|
|
56
56
|
type: root.ReturnPagedConfigs
|
|
57
|
+
status-code: 200
|
|
57
58
|
errors:
|
|
58
59
|
- root.BadRequestError
|
|
59
60
|
examples:
|
|
@@ -159,7 +160,7 @@ service:
|
|
|
159
160
|
Specifies the EVI version to use. Use `"1"` for version 1, or
|
|
160
161
|
`"2"` for the latest enhanced version. For a detailed comparison
|
|
161
162
|
of the two versions, refer to our
|
|
162
|
-
[guide](/docs/empathic-voice-interface-evi/evi-
|
|
163
|
+
[guide](/docs/empathic-voice-interface-evi/configuration/evi-version).
|
|
163
164
|
name:
|
|
164
165
|
type: string
|
|
165
166
|
docs: Name applied to all versions of a particular Config.
|
|
@@ -205,6 +206,7 @@ service:
|
|
|
205
206
|
response:
|
|
206
207
|
docs: Created
|
|
207
208
|
type: root.ReturnConfig
|
|
209
|
+
status-code: 201
|
|
208
210
|
errors:
|
|
209
211
|
- root.BadRequestError
|
|
210
212
|
examples:
|
|
@@ -353,6 +355,7 @@ service:
|
|
|
353
355
|
response:
|
|
354
356
|
docs: Success
|
|
355
357
|
type: root.ReturnPagedConfigs
|
|
358
|
+
status-code: 200
|
|
356
359
|
errors:
|
|
357
360
|
- root.BadRequestError
|
|
358
361
|
examples:
|
|
@@ -501,6 +504,7 @@ service:
|
|
|
501
504
|
response:
|
|
502
505
|
docs: Created
|
|
503
506
|
type: root.ReturnConfig
|
|
507
|
+
status-code: 201
|
|
504
508
|
errors:
|
|
505
509
|
- root.BadRequestError
|
|
506
510
|
examples:
|
|
@@ -654,6 +658,7 @@ service:
|
|
|
654
658
|
response:
|
|
655
659
|
docs: Success
|
|
656
660
|
type: text
|
|
661
|
+
status-code: 200
|
|
657
662
|
errors:
|
|
658
663
|
- root.BadRequestError
|
|
659
664
|
examples:
|
|
@@ -697,6 +702,7 @@ service:
|
|
|
697
702
|
response:
|
|
698
703
|
docs: Success
|
|
699
704
|
type: root.ReturnConfig
|
|
705
|
+
status-code: 200
|
|
700
706
|
errors:
|
|
701
707
|
- root.BadRequestError
|
|
702
708
|
examples:
|
|
@@ -857,6 +863,7 @@ service:
|
|
|
857
863
|
response:
|
|
858
864
|
docs: Success
|
|
859
865
|
type: root.ReturnConfig
|
|
866
|
+
status-code: 200
|
|
860
867
|
errors:
|
|
861
868
|
- root.BadRequestError
|
|
862
869
|
examples:
|