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
|
@@ -1,439 +1,4 @@
|
|
|
1
|
-
channel:
|
|
2
|
-
path: /v0/stream/models
|
|
3
|
-
auth: false
|
|
4
|
-
display-name: Stream
|
|
5
|
-
headers:
|
|
6
|
-
X-Hume-Api-Key:
|
|
7
|
-
type: string
|
|
8
|
-
name: humeApiKey
|
|
9
|
-
messages:
|
|
10
|
-
subscribe:
|
|
11
|
-
origin: server
|
|
12
|
-
body: SubscribeEvent
|
|
13
|
-
publish:
|
|
14
|
-
origin: client
|
|
15
|
-
body:
|
|
16
|
-
type: StreamModelsEndpointPayload
|
|
17
|
-
docs: Models endpoint payload
|
|
18
|
-
examples:
|
|
19
|
-
- messages:
|
|
20
|
-
- type: publish
|
|
21
|
-
body: {}
|
|
22
|
-
- type: subscribe
|
|
23
|
-
body: {}
|
|
24
1
|
types:
|
|
25
|
-
StreamModelPredictionsJobDetails:
|
|
26
|
-
docs: >
|
|
27
|
-
If the job_details flag was set in the request, details about the current
|
|
28
|
-
streaming job will be returned in the response body.
|
|
29
|
-
properties:
|
|
30
|
-
job_id:
|
|
31
|
-
type: optional<string>
|
|
32
|
-
docs: ID of the current streaming job.
|
|
33
|
-
source:
|
|
34
|
-
openapi: streaming-asyncapi.yml
|
|
35
|
-
inline: true
|
|
36
|
-
StreamModelPredictionsBurstPredictionsItem:
|
|
37
|
-
properties:
|
|
38
|
-
time: optional<TimeRange>
|
|
39
|
-
emotions: optional<EmotionEmbedding>
|
|
40
|
-
source:
|
|
41
|
-
openapi: streaming-asyncapi.yml
|
|
42
|
-
inline: true
|
|
43
|
-
StreamModelPredictionsBurst:
|
|
44
|
-
docs: Response for the vocal burst emotion model.
|
|
45
|
-
properties:
|
|
46
|
-
predictions: optional<list<StreamModelPredictionsBurstPredictionsItem>>
|
|
47
|
-
source:
|
|
48
|
-
openapi: streaming-asyncapi.yml
|
|
49
|
-
inline: true
|
|
50
|
-
StreamModelPredictionsFacePredictionsItem:
|
|
51
|
-
properties:
|
|
52
|
-
frame:
|
|
53
|
-
type: optional<double>
|
|
54
|
-
docs: Frame number
|
|
55
|
-
time:
|
|
56
|
-
type: optional<double>
|
|
57
|
-
docs: Time in seconds when face detection occurred.
|
|
58
|
-
bbox: optional<StreamBoundingBox>
|
|
59
|
-
prob:
|
|
60
|
-
type: optional<double>
|
|
61
|
-
docs: The predicted probability that a detected face was actually a face.
|
|
62
|
-
face_id:
|
|
63
|
-
type: optional<string>
|
|
64
|
-
docs: >-
|
|
65
|
-
Identifier for a face. Not that this defaults to `unknown` unless face
|
|
66
|
-
identification is enabled in the face model configuration.
|
|
67
|
-
emotions: optional<EmotionEmbedding>
|
|
68
|
-
facs: optional<EmotionEmbedding>
|
|
69
|
-
descriptions: optional<EmotionEmbedding>
|
|
70
|
-
source:
|
|
71
|
-
openapi: streaming-asyncapi.yml
|
|
72
|
-
inline: true
|
|
73
|
-
StreamModelPredictionsFace:
|
|
74
|
-
docs: Response for the facial expression emotion model.
|
|
75
|
-
properties:
|
|
76
|
-
predictions: optional<list<StreamModelPredictionsFacePredictionsItem>>
|
|
77
|
-
source:
|
|
78
|
-
openapi: streaming-asyncapi.yml
|
|
79
|
-
inline: true
|
|
80
|
-
StreamModelPredictionsFacemeshPredictionsItem:
|
|
81
|
-
properties:
|
|
82
|
-
emotions: optional<EmotionEmbedding>
|
|
83
|
-
source:
|
|
84
|
-
openapi: streaming-asyncapi.yml
|
|
85
|
-
inline: true
|
|
86
|
-
StreamModelPredictionsFacemesh:
|
|
87
|
-
docs: Response for the facemesh emotion model.
|
|
88
|
-
properties:
|
|
89
|
-
predictions: optional<list<StreamModelPredictionsFacemeshPredictionsItem>>
|
|
90
|
-
source:
|
|
91
|
-
openapi: streaming-asyncapi.yml
|
|
92
|
-
inline: true
|
|
93
|
-
StreamModelPredictionsLanguagePredictionsItem:
|
|
94
|
-
properties:
|
|
95
|
-
text:
|
|
96
|
-
type: optional<string>
|
|
97
|
-
docs: A segment of text (like a word or a sentence).
|
|
98
|
-
position: optional<TextPosition>
|
|
99
|
-
emotions: optional<EmotionEmbedding>
|
|
100
|
-
sentiment: optional<Sentiment>
|
|
101
|
-
toxicity: optional<Toxicity>
|
|
102
|
-
source:
|
|
103
|
-
openapi: streaming-asyncapi.yml
|
|
104
|
-
inline: true
|
|
105
|
-
StreamModelPredictionsLanguage:
|
|
106
|
-
docs: Response for the language emotion model.
|
|
107
|
-
properties:
|
|
108
|
-
predictions: optional<list<StreamModelPredictionsLanguagePredictionsItem>>
|
|
109
|
-
source:
|
|
110
|
-
openapi: streaming-asyncapi.yml
|
|
111
|
-
inline: true
|
|
112
|
-
StreamModelPredictionsProsodyPredictionsItem:
|
|
113
|
-
properties:
|
|
114
|
-
time: optional<TimeRange>
|
|
115
|
-
emotions: optional<EmotionEmbedding>
|
|
116
|
-
source:
|
|
117
|
-
openapi: streaming-asyncapi.yml
|
|
118
|
-
inline: true
|
|
119
|
-
StreamModelPredictionsProsody:
|
|
120
|
-
docs: Response for the speech prosody emotion model.
|
|
121
|
-
properties:
|
|
122
|
-
predictions: optional<list<StreamModelPredictionsProsodyPredictionsItem>>
|
|
123
|
-
source:
|
|
124
|
-
openapi: streaming-asyncapi.yml
|
|
125
|
-
inline: true
|
|
126
|
-
StreamModelPredictions:
|
|
127
|
-
docs: Model predictions
|
|
128
|
-
properties:
|
|
129
|
-
payload_id:
|
|
130
|
-
type: optional<string>
|
|
131
|
-
docs: >
|
|
132
|
-
If a payload ID was passed in the request, the same payload ID will be
|
|
133
|
-
sent back in the response body.
|
|
134
|
-
job_details:
|
|
135
|
-
type: optional<StreamModelPredictionsJobDetails>
|
|
136
|
-
docs: >
|
|
137
|
-
If the job_details flag was set in the request, details about the
|
|
138
|
-
current streaming job will be returned in the response body.
|
|
139
|
-
burst:
|
|
140
|
-
type: optional<StreamModelPredictionsBurst>
|
|
141
|
-
docs: Response for the vocal burst emotion model.
|
|
142
|
-
face:
|
|
143
|
-
type: optional<StreamModelPredictionsFace>
|
|
144
|
-
docs: Response for the facial expression emotion model.
|
|
145
|
-
facemesh:
|
|
146
|
-
type: optional<StreamModelPredictionsFacemesh>
|
|
147
|
-
docs: Response for the facemesh emotion model.
|
|
148
|
-
language:
|
|
149
|
-
type: optional<StreamModelPredictionsLanguage>
|
|
150
|
-
docs: Response for the language emotion model.
|
|
151
|
-
prosody:
|
|
152
|
-
type: optional<StreamModelPredictionsProsody>
|
|
153
|
-
docs: Response for the speech prosody emotion model.
|
|
154
|
-
source:
|
|
155
|
-
openapi: streaming-asyncapi.yml
|
|
156
|
-
inline: true
|
|
157
|
-
JobDetails:
|
|
158
|
-
docs: >
|
|
159
|
-
If the job_details flag was set in the request, details about the current
|
|
160
|
-
streaming job will be returned in the response body.
|
|
161
|
-
properties:
|
|
162
|
-
job_id:
|
|
163
|
-
type: optional<string>
|
|
164
|
-
docs: ID of the current streaming job.
|
|
165
|
-
source:
|
|
166
|
-
openapi: streaming-asyncapi.yml
|
|
167
|
-
inline: true
|
|
168
|
-
StreamErrorMessage:
|
|
169
|
-
docs: Error message
|
|
170
|
-
properties:
|
|
171
|
-
error:
|
|
172
|
-
type: optional<string>
|
|
173
|
-
docs: Error message text.
|
|
174
|
-
code:
|
|
175
|
-
type: optional<string>
|
|
176
|
-
docs: Unique identifier for the error.
|
|
177
|
-
payload_id:
|
|
178
|
-
type: optional<string>
|
|
179
|
-
docs: >
|
|
180
|
-
If a payload ID was passed in the request, the same payload ID will be
|
|
181
|
-
sent back in the response body.
|
|
182
|
-
job_details:
|
|
183
|
-
type: optional<JobDetails>
|
|
184
|
-
docs: >
|
|
185
|
-
If the job_details flag was set in the request, details about the
|
|
186
|
-
current streaming job will be returned in the response body.
|
|
187
|
-
source:
|
|
188
|
-
openapi: streaming-asyncapi.yml
|
|
189
|
-
inline: true
|
|
190
|
-
StreamWarningMessageJobDetails:
|
|
191
|
-
docs: >
|
|
192
|
-
If the job_details flag was set in the request, details about the current
|
|
193
|
-
streaming job will be returned in the response body.
|
|
194
|
-
properties:
|
|
195
|
-
job_id:
|
|
196
|
-
type: optional<string>
|
|
197
|
-
docs: ID of the current streaming job.
|
|
198
|
-
source:
|
|
199
|
-
openapi: streaming-asyncapi.yml
|
|
200
|
-
inline: true
|
|
201
|
-
StreamWarningMessage:
|
|
202
|
-
docs: Warning message
|
|
203
|
-
properties:
|
|
204
|
-
warning:
|
|
205
|
-
type: optional<string>
|
|
206
|
-
docs: Warning message text.
|
|
207
|
-
code:
|
|
208
|
-
type: optional<string>
|
|
209
|
-
docs: Unique identifier for the error.
|
|
210
|
-
payload_id:
|
|
211
|
-
type: optional<string>
|
|
212
|
-
docs: >
|
|
213
|
-
If a payload ID was passed in the request, the same payload ID will be
|
|
214
|
-
sent back in the response body.
|
|
215
|
-
job_details:
|
|
216
|
-
type: optional<StreamWarningMessageJobDetails>
|
|
217
|
-
docs: >
|
|
218
|
-
If the job_details flag was set in the request, details about the
|
|
219
|
-
current streaming job will be returned in the response body.
|
|
220
|
-
source:
|
|
221
|
-
openapi: streaming-asyncapi.yml
|
|
222
|
-
inline: true
|
|
223
|
-
SubscribeEvent:
|
|
224
|
-
discriminated: false
|
|
225
|
-
union:
|
|
226
|
-
- type: StreamModelPredictions
|
|
227
|
-
docs: Model predictions
|
|
228
|
-
- type: StreamErrorMessage
|
|
229
|
-
docs: Error message
|
|
230
|
-
- type: StreamWarningMessage
|
|
231
|
-
docs: Warning message
|
|
232
|
-
source:
|
|
233
|
-
openapi: streaming-asyncapi.yml
|
|
234
|
-
StreamFace:
|
|
235
|
-
docs: >
|
|
236
|
-
Configuration for the facial expression emotion model.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
Note: Using the `reset_stream` parameter does not have any effect on face
|
|
240
|
-
identification. A single face identifier cache is maintained over a full
|
|
241
|
-
session whether `reset_stream` is used or not.
|
|
242
|
-
properties:
|
|
243
|
-
facs:
|
|
244
|
-
type: optional<map<string, unknown>>
|
|
245
|
-
docs: >-
|
|
246
|
-
Configuration for FACS predictions. If missing or null, no FACS
|
|
247
|
-
predictions will be generated.
|
|
248
|
-
descriptions:
|
|
249
|
-
type: optional<map<string, unknown>>
|
|
250
|
-
docs: >-
|
|
251
|
-
Configuration for Descriptions predictions. If missing or null, no
|
|
252
|
-
Descriptions predictions will be generated.
|
|
253
|
-
identify_faces:
|
|
254
|
-
type: optional<boolean>
|
|
255
|
-
docs: >
|
|
256
|
-
Whether to return identifiers for faces across frames. If true, unique
|
|
257
|
-
identifiers will be assigned to face bounding boxes to differentiate
|
|
258
|
-
different faces. If false, all faces will be tagged with an "unknown"
|
|
259
|
-
ID.
|
|
260
|
-
default: false
|
|
261
|
-
fps_pred:
|
|
262
|
-
type: optional<double>
|
|
263
|
-
docs: >
|
|
264
|
-
Number of frames per second to process. Other frames will be omitted
|
|
265
|
-
from the response.
|
|
266
|
-
default: 3
|
|
267
|
-
prob_threshold:
|
|
268
|
-
type: optional<double>
|
|
269
|
-
docs: >
|
|
270
|
-
Face detection probability threshold. Faces detected with a
|
|
271
|
-
probability less than this threshold will be omitted from the
|
|
272
|
-
response.
|
|
273
|
-
default: 3
|
|
274
|
-
min_face_size:
|
|
275
|
-
type: optional<double>
|
|
276
|
-
docs: >
|
|
277
|
-
Minimum bounding box side length in pixels to treat as a face. Faces
|
|
278
|
-
detected with a bounding box side length in pixels less than this
|
|
279
|
-
threshold will be omitted from the response.
|
|
280
|
-
default: 3
|
|
281
|
-
source:
|
|
282
|
-
openapi: streaming-asyncapi.yml
|
|
283
|
-
inline: true
|
|
284
|
-
StreamLanguage:
|
|
285
|
-
docs: Configuration for the language emotion model.
|
|
286
|
-
properties:
|
|
287
|
-
sentiment:
|
|
288
|
-
type: optional<map<string, unknown>>
|
|
289
|
-
docs: >-
|
|
290
|
-
Configuration for sentiment predictions. If missing or null, no
|
|
291
|
-
sentiment predictions will be generated.
|
|
292
|
-
toxicity:
|
|
293
|
-
type: optional<map<string, unknown>>
|
|
294
|
-
docs: >-
|
|
295
|
-
Configuration for toxicity predictions. If missing or null, no
|
|
296
|
-
toxicity predictions will be generated.
|
|
297
|
-
granularity:
|
|
298
|
-
type: optional<string>
|
|
299
|
-
docs: >-
|
|
300
|
-
The granularity at which to generate predictions. Values are `word`,
|
|
301
|
-
`sentence`, `utterance`, or `passage`. To get a single prediction for
|
|
302
|
-
the entire text of your streaming payload use `passage`. Default value
|
|
303
|
-
is `word`.
|
|
304
|
-
source:
|
|
305
|
-
openapi: streaming-asyncapi.yml
|
|
306
|
-
inline: true
|
|
307
|
-
Config:
|
|
308
|
-
docs: >
|
|
309
|
-
Configuration used to specify which models should be used and with what
|
|
310
|
-
settings.
|
|
311
|
-
properties:
|
|
312
|
-
burst:
|
|
313
|
-
type: optional<map<string, unknown>>
|
|
314
|
-
docs: |
|
|
315
|
-
Configuration for the vocal burst emotion model.
|
|
316
|
-
|
|
317
|
-
Note: Model configuration is not currently available in streaming.
|
|
318
|
-
|
|
319
|
-
Please use the default configuration by passing an empty object `{}`.
|
|
320
|
-
face:
|
|
321
|
-
type: optional<StreamFace>
|
|
322
|
-
docs: >
|
|
323
|
-
Configuration for the facial expression emotion model.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
Note: Using the `reset_stream` parameter does not have any effect on
|
|
327
|
-
face identification. A single face identifier cache is maintained over
|
|
328
|
-
a full session whether `reset_stream` is used or not.
|
|
329
|
-
facemesh:
|
|
330
|
-
type: optional<map<string, unknown>>
|
|
331
|
-
docs: |
|
|
332
|
-
Configuration for the facemesh emotion model.
|
|
333
|
-
|
|
334
|
-
Note: Model configuration is not currently available in streaming.
|
|
335
|
-
|
|
336
|
-
Please use the default configuration by passing an empty object `{}`.
|
|
337
|
-
language:
|
|
338
|
-
type: optional<StreamLanguage>
|
|
339
|
-
docs: Configuration for the language emotion model.
|
|
340
|
-
prosody:
|
|
341
|
-
type: optional<map<string, unknown>>
|
|
342
|
-
docs: |
|
|
343
|
-
Configuration for the speech prosody emotion model.
|
|
344
|
-
|
|
345
|
-
Note: Model configuration is not currently available in streaming.
|
|
346
|
-
|
|
347
|
-
Please use the default configuration by passing an empty object `{}`.
|
|
348
|
-
source:
|
|
349
|
-
openapi: streaming-asyncapi.yml
|
|
350
|
-
inline: true
|
|
351
|
-
StreamModelsEndpointPayload:
|
|
352
|
-
docs: Models endpoint payload
|
|
353
|
-
properties:
|
|
354
|
-
data:
|
|
355
|
-
type: optional<string>
|
|
356
|
-
models:
|
|
357
|
-
type: optional<Config>
|
|
358
|
-
docs: >
|
|
359
|
-
Configuration used to specify which models should be used and with
|
|
360
|
-
what settings.
|
|
361
|
-
stream_window_ms:
|
|
362
|
-
type: optional<double>
|
|
363
|
-
docs: >
|
|
364
|
-
Length in milliseconds of streaming sliding window.
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
Extending the length of this window will prepend media context from
|
|
368
|
-
past payloads into the current payload.
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
For example, if on the first payload you send 500ms of data and on the
|
|
372
|
-
second payload you send an additional 500ms of data, a window of at
|
|
373
|
-
least 1000ms will allow the model to process all 1000ms of stream
|
|
374
|
-
data.
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
A window of 600ms would append the full 500ms of the second payload to
|
|
378
|
-
the last 100ms of the first payload.
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
Note: This feature is currently only supported for audio data and
|
|
382
|
-
audio models. For other file types and models this parameter will be
|
|
383
|
-
ignored.
|
|
384
|
-
default: 5000
|
|
385
|
-
validation:
|
|
386
|
-
min: 500
|
|
387
|
-
max: 10000
|
|
388
|
-
reset_stream:
|
|
389
|
-
type: optional<boolean>
|
|
390
|
-
docs: >
|
|
391
|
-
Whether to reset the streaming sliding window before processing the
|
|
392
|
-
current payload.
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
If this parameter is set to `true` then past context will be deleted
|
|
396
|
-
before processing the current payload.
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
Use reset_stream when one audio file is done being processed and you
|
|
400
|
-
do not want context to leak across files.
|
|
401
|
-
default: false
|
|
402
|
-
raw_text:
|
|
403
|
-
type: optional<boolean>
|
|
404
|
-
docs: >
|
|
405
|
-
Set to `true` to enable the data parameter to be parsed as raw text
|
|
406
|
-
rather than base64 encoded bytes.
|
|
407
|
-
|
|
408
|
-
This parameter is useful if you want to send text to be processed by
|
|
409
|
-
the language model, but it cannot be used with other file types like
|
|
410
|
-
audio, image, or video.
|
|
411
|
-
default: false
|
|
412
|
-
job_details:
|
|
413
|
-
type: optional<boolean>
|
|
414
|
-
docs: >
|
|
415
|
-
Set to `true` to get details about the job.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
This parameter can be set in the same payload as data or it can be set
|
|
419
|
-
without data and models configuration to get the job details between
|
|
420
|
-
payloads.
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
This parameter is useful to get the unique job ID.
|
|
424
|
-
default: false
|
|
425
|
-
payload_id:
|
|
426
|
-
type: optional<string>
|
|
427
|
-
docs: >
|
|
428
|
-
Pass an arbitrary string as the payload ID and get it back at the top
|
|
429
|
-
level of the socket response.
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
This can be useful if you have multiple requests running
|
|
433
|
-
asynchronously and want to disambiguate responses as they are
|
|
434
|
-
received.
|
|
435
|
-
source:
|
|
436
|
-
openapi: streaming-asyncapi.yml
|
|
437
2
|
EmotionEmbeddingItem:
|
|
438
3
|
properties:
|
|
439
4
|
name:
|