hume 0.8.4 → 0.8.5
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 +820 -182
- package/.mock/definition/empathic-voice/chatGroups.yml +54 -17
- package/.mock/definition/empathic-voice/chats.yml +51 -19
- package/.mock/definition/empathic-voice/configs.yml +198 -61
- package/.mock/definition/empathic-voice/prompts.yml +126 -27
- package/.mock/definition/empathic-voice/tools.yml +116 -23
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
- package/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
- package/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
- package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
- package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
- package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
- package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
- package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
- package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
- package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
- package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
- package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
- package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
- package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
- package/api/resources/empathicVoice/types/index.d.ts +14 -0
- package/api/resources/empathicVoice/types/index.js +14 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +10 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +22 -10
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +31 -19
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +14 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +14 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +22 -10
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +31 -19
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +8 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +8 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +22 -10
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +31 -19
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
- package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
- package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
- package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/index.js +14 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/errors/HumeError.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
- package/errors/HumeError.js +1 -1
- package/eslint.config.mjs +1 -1
- package/{jest.config.mjs → jest.config.js} +1 -3
- package/package.json +2 -2
- package/reference.md +86 -32
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
- package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/index.js +14 -0
|
@@ -72,7 +72,7 @@ class Chats {
|
|
|
72
72
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
73
73
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, 'v0/evi/chats'),
|
|
74
74
|
method: 'GET',
|
|
75
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
75
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
76
76
|
contentType: 'application/json',
|
|
77
77
|
queryParameters: _queryParams,
|
|
78
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
@@ -111,7 +111,7 @@ class Chats {
|
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* @param {string} id - Identifier for a
|
|
114
|
+
* @param {string} id - Identifier for a Chat. Formatted as a UUID.
|
|
115
115
|
* @param {Hume.empathicVoice.ChatsListChatEventsRequest} request
|
|
116
116
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
117
117
|
*
|
|
@@ -135,7 +135,7 @@ class Chats {
|
|
|
135
135
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
136
136
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/chats/${encodeURIComponent(id)}`),
|
|
137
137
|
method: 'GET',
|
|
138
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
138
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
139
139
|
contentType: 'application/json',
|
|
140
140
|
queryParameters: _queryParams,
|
|
141
141
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts
CHANGED
|
@@ -7,15 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ChatsListChatEventsRequest {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Specifies the maximum number of results to include per page, enabling pagination.
|
|
11
|
+
*
|
|
12
|
+
* The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
|
|
11
13
|
*/
|
|
12
14
|
pageSize?: number;
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* Specifies the page number to retrieve, enabling pagination.
|
|
17
|
+
*
|
|
18
|
+
* This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
|
|
15
19
|
*/
|
|
16
20
|
pageNumber?: number;
|
|
17
21
|
/**
|
|
18
|
-
*
|
|
22
|
+
* Specifies the sorting order of the results based on their creation date. Set to true for ascending order (chronological, with the oldest records first) and false for descending order (reverse-chronological, with the newest records first). Defaults to true.
|
|
19
23
|
*/
|
|
20
24
|
ascendingOrder?: boolean;
|
|
21
25
|
}
|
package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts
CHANGED
|
@@ -7,15 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ChatsListChatsRequest {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Specifies the page number to retrieve, enabling pagination.
|
|
11
|
+
*
|
|
12
|
+
* This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
|
|
11
13
|
*/
|
|
12
14
|
pageNumber?: number;
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* Specifies the maximum number of results to include per page, enabling pagination.
|
|
17
|
+
*
|
|
18
|
+
* The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
|
|
15
19
|
*/
|
|
16
20
|
pageSize?: number;
|
|
17
21
|
/**
|
|
18
|
-
*
|
|
22
|
+
* Specifies the sorting order of the results based on their creation date. Set to true for ascending order (chronological, with the oldest records first) and false for descending order (reverse-chronological, with the newest records first). Defaults to true.
|
|
19
23
|
*/
|
|
20
24
|
ascendingOrder?: boolean;
|
|
21
25
|
}
|
|
@@ -41,7 +41,7 @@ export declare class Configs {
|
|
|
41
41
|
*/
|
|
42
42
|
createConfig(request: Hume.empathicVoice.PostedConfig, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
|
|
43
43
|
/**
|
|
44
|
-
* @param {string} id - Identifier for a
|
|
44
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
45
45
|
* @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
|
|
46
46
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
47
|
*
|
|
@@ -50,7 +50,7 @@ export declare class Configs {
|
|
|
50
50
|
*/
|
|
51
51
|
listConfigVersions(id: string, request?: Hume.empathicVoice.ConfigsListConfigVersionsRequest, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedConfigs>;
|
|
52
52
|
/**
|
|
53
|
-
* @param {string} id - Identifier for a
|
|
53
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
54
54
|
* @param {Hume.empathicVoice.PostedConfigVersion} request
|
|
55
55
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
56
|
*
|
|
@@ -59,7 +59,7 @@ export declare class Configs {
|
|
|
59
59
|
*/
|
|
60
60
|
createConfigVersion(id: string, request?: Hume.empathicVoice.PostedConfigVersion, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
|
|
61
61
|
/**
|
|
62
|
-
* @param {string} id - Identifier for a
|
|
62
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
63
63
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
@@ -67,7 +67,7 @@ export declare class Configs {
|
|
|
67
67
|
*/
|
|
68
68
|
deleteConfig(id: string, requestOptions?: Configs.RequestOptions): Promise<void>;
|
|
69
69
|
/**
|
|
70
|
-
* @param {string} id - Identifier for a
|
|
70
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
71
71
|
* @param {Hume.empathicVoice.PostedConfigName} request
|
|
72
72
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
73
73
|
*
|
|
@@ -78,8 +78,12 @@ export declare class Configs {
|
|
|
78
78
|
*/
|
|
79
79
|
updateConfigName(id: string, request: Hume.empathicVoice.PostedConfigName, requestOptions?: Configs.RequestOptions): Promise<string>;
|
|
80
80
|
/**
|
|
81
|
-
* @param {string} id - Identifier for a
|
|
82
|
-
* @param {number} version - Version number for a
|
|
81
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
82
|
+
* @param {number} version - Version number for a Config.
|
|
83
|
+
*
|
|
84
|
+
* Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
85
|
+
*
|
|
86
|
+
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
83
87
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
88
|
*
|
|
85
89
|
* @example
|
|
@@ -87,8 +91,12 @@ export declare class Configs {
|
|
|
87
91
|
*/
|
|
88
92
|
getConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<Hume.empathicVoice.ReturnConfig>;
|
|
89
93
|
/**
|
|
90
|
-
* @param {string} id - Identifier for a
|
|
91
|
-
* @param {number} version - Version number for a
|
|
94
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
95
|
+
* @param {number} version - Version number for a Config.
|
|
96
|
+
*
|
|
97
|
+
* Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
98
|
+
*
|
|
99
|
+
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
92
100
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
101
|
*
|
|
94
102
|
* @example
|
|
@@ -96,8 +104,12 @@ export declare class Configs {
|
|
|
96
104
|
*/
|
|
97
105
|
deleteConfigVersion(id: string, version: number, requestOptions?: Configs.RequestOptions): Promise<void>;
|
|
98
106
|
/**
|
|
99
|
-
* @param {string} id - Identifier for a
|
|
100
|
-
* @param {number} version - Version number for a
|
|
107
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
108
|
+
* @param {number} version - Version number for a Config.
|
|
109
|
+
*
|
|
110
|
+
* Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
111
|
+
*
|
|
112
|
+
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
101
113
|
* @param {Hume.empathicVoice.PostedConfigVersionDescription} request
|
|
102
114
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
115
|
*
|
|
@@ -75,7 +75,7 @@ class Configs {
|
|
|
75
75
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
76
76
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, 'v0/evi/configs'),
|
|
77
77
|
method: 'GET',
|
|
78
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
78
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: 'application/json',
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
@@ -128,7 +128,7 @@ class Configs {
|
|
|
128
128
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
129
129
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, 'v0/evi/configs'),
|
|
130
130
|
method: 'POST',
|
|
131
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
131
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
132
132
|
contentType: 'application/json',
|
|
133
133
|
body: serializers.empathicVoice.PostedConfig.jsonOrThrow(request, {
|
|
134
134
|
unrecognizedObjectKeys: 'strip',
|
|
@@ -169,7 +169,7 @@ class Configs {
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
|
-
* @param {string} id - Identifier for a
|
|
172
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
173
173
|
* @param {Hume.empathicVoice.ConfigsListConfigVersionsRequest} request
|
|
174
174
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
175
175
|
*
|
|
@@ -193,7 +193,7 @@ class Configs {
|
|
|
193
193
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
194
194
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
|
|
195
195
|
method: 'GET',
|
|
196
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
196
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
197
197
|
contentType: 'application/json',
|
|
198
198
|
queryParameters: _queryParams,
|
|
199
199
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
@@ -232,7 +232,7 @@ class Configs {
|
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
/**
|
|
235
|
-
* @param {string} id - Identifier for a
|
|
235
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
236
236
|
* @param {Hume.empathicVoice.PostedConfigVersion} request
|
|
237
237
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
238
238
|
*
|
|
@@ -245,7 +245,7 @@ class Configs {
|
|
|
245
245
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
246
246
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
|
|
247
247
|
method: 'POST',
|
|
248
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
248
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
249
249
|
contentType: 'application/json',
|
|
250
250
|
body: serializers.empathicVoice.PostedConfigVersion.jsonOrThrow(request, {
|
|
251
251
|
unrecognizedObjectKeys: 'strip',
|
|
@@ -286,7 +286,7 @@ class Configs {
|
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
|
-
* @param {string} id - Identifier for a
|
|
289
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
290
290
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
291
291
|
*
|
|
292
292
|
* @example
|
|
@@ -298,7 +298,7 @@ class Configs {
|
|
|
298
298
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
299
299
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
|
|
300
300
|
method: 'DELETE',
|
|
301
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
301
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
302
302
|
contentType: 'application/json',
|
|
303
303
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
304
304
|
? requestOptions.timeoutInSeconds * 1000
|
|
@@ -331,7 +331,7 @@ class Configs {
|
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
|
-
* @param {string} id - Identifier for a
|
|
334
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
335
335
|
* @param {Hume.empathicVoice.PostedConfigName} request
|
|
336
336
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
337
337
|
*
|
|
@@ -346,7 +346,7 @@ class Configs {
|
|
|
346
346
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
347
347
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}`),
|
|
348
348
|
method: 'PATCH',
|
|
349
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
349
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
350
350
|
contentType: 'application/json',
|
|
351
351
|
body: serializers.empathicVoice.PostedConfigName.jsonOrThrow(request, {
|
|
352
352
|
unrecognizedObjectKeys: 'strip',
|
|
@@ -383,8 +383,12 @@ class Configs {
|
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
/**
|
|
386
|
-
* @param {string} id - Identifier for a
|
|
387
|
-
* @param {number} version - Version number for a
|
|
386
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
387
|
+
* @param {number} version - Version number for a Config.
|
|
388
|
+
*
|
|
389
|
+
* Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
390
|
+
*
|
|
391
|
+
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
388
392
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
389
393
|
*
|
|
390
394
|
* @example
|
|
@@ -396,7 +400,7 @@ class Configs {
|
|
|
396
400
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
397
401
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
398
402
|
method: 'GET',
|
|
399
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
403
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
400
404
|
contentType: 'application/json',
|
|
401
405
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
402
406
|
? requestOptions.timeoutInSeconds * 1000
|
|
@@ -434,8 +438,12 @@ class Configs {
|
|
|
434
438
|
});
|
|
435
439
|
}
|
|
436
440
|
/**
|
|
437
|
-
* @param {string} id - Identifier for a
|
|
438
|
-
* @param {number} version - Version number for a
|
|
441
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
442
|
+
* @param {number} version - Version number for a Config.
|
|
443
|
+
*
|
|
444
|
+
* Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
445
|
+
*
|
|
446
|
+
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
439
447
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
440
448
|
*
|
|
441
449
|
* @example
|
|
@@ -447,7 +455,7 @@ class Configs {
|
|
|
447
455
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
448
456
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
449
457
|
method: 'DELETE',
|
|
450
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
458
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
451
459
|
contentType: 'application/json',
|
|
452
460
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null
|
|
453
461
|
? requestOptions.timeoutInSeconds * 1000
|
|
@@ -480,8 +488,12 @@ class Configs {
|
|
|
480
488
|
});
|
|
481
489
|
}
|
|
482
490
|
/**
|
|
483
|
-
* @param {string} id - Identifier for a
|
|
484
|
-
* @param {number} version - Version number for a
|
|
491
|
+
* @param {string} id - Identifier for a Config. Formatted as a UUID.
|
|
492
|
+
* @param {number} version - Version number for a Config.
|
|
493
|
+
*
|
|
494
|
+
* Configs, as well as Prompts and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed.
|
|
495
|
+
*
|
|
496
|
+
* Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number.
|
|
485
497
|
* @param {Hume.empathicVoice.PostedConfigVersionDescription} request
|
|
486
498
|
* @param {Configs.RequestOptions} requestOptions - Request-specific configuration.
|
|
487
499
|
*
|
|
@@ -494,7 +506,7 @@ class Configs {
|
|
|
494
506
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
495
507
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.HumeEnvironment.Production, `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`),
|
|
496
508
|
method: 'PATCH',
|
|
497
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.
|
|
509
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': 'hume', 'X-Fern-SDK-Version': '0.8.5', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
498
510
|
contentType: 'application/json',
|
|
499
511
|
body: serializers.empathicVoice.PostedConfigVersionDescription.jsonOrThrow(request, {
|
|
500
512
|
unrecognizedObjectKeys: 'strip',
|
|
@@ -7,15 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ConfigsListConfigVersionsRequest {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Specifies the page number to retrieve, enabling pagination.
|
|
11
|
+
*
|
|
12
|
+
* This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
|
|
11
13
|
*/
|
|
12
14
|
pageNumber?: number;
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* Specifies the maximum number of results to include per page, enabling pagination.
|
|
17
|
+
*
|
|
18
|
+
* The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
|
|
15
19
|
*/
|
|
16
20
|
pageSize?: number;
|
|
17
21
|
/**
|
|
18
|
-
*
|
|
22
|
+
* By default, `restrict_to_most_recent` is set to true, returning only the latest version of each config. To include all versions of each config in the list, set `restrict_to_most_recent` to false.
|
|
19
23
|
*/
|
|
20
24
|
restrictToMostRecent?: boolean;
|
|
21
25
|
}
|
package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts
CHANGED
|
@@ -7,15 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface ConfigsListConfigsRequest {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Specifies the page number to retrieve, enabling pagination.
|
|
11
|
+
*
|
|
12
|
+
* This parameter uses zero-based indexing. For example, setting `page_number` to 0 retrieves the first page of results (items 0-9 if `page_size` is 10), setting `page_number` to 1 retrieves the second page (items 10-19), and so on. Defaults to 0, which retrieves the first page.
|
|
11
13
|
*/
|
|
12
14
|
pageNumber?: number;
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* Specifies the maximum number of results to include per page, enabling pagination.
|
|
17
|
+
*
|
|
18
|
+
* The value must be greater than or equal to 1. For example, if `page_size` is set to 10, each page will include up to 10 items. Defaults to 10.
|
|
15
19
|
*/
|
|
16
20
|
pageSize?: number;
|
|
17
21
|
/**
|
|
18
|
-
*
|
|
22
|
+
* By default, `restrict_to_most_recent` is set to true, returning only the latest version of each config. To include all versions of each config in the list, set `restrict_to_most_recent` to false.
|
|
19
23
|
*/
|
|
20
24
|
restrictToMostRecent?: boolean;
|
|
21
25
|
/**
|
|
@@ -11,15 +11,26 @@ import * as Hume from '../../../../../../index';
|
|
|
11
11
|
export interface PostedConfig {
|
|
12
12
|
/** Name applied to all versions of a particular Config. */
|
|
13
13
|
name: string;
|
|
14
|
-
/**
|
|
14
|
+
/** An optional description of the Config version. */
|
|
15
15
|
versionDescription?: string;
|
|
16
16
|
prompt?: Hume.empathicVoice.PostedPromptSpec;
|
|
17
|
+
/** A voice specification associated with this Config. */
|
|
17
18
|
voice?: Hume.empathicVoice.PostedVoice;
|
|
19
|
+
/**
|
|
20
|
+
* The supplemental language model associated with this Config.
|
|
21
|
+
*
|
|
22
|
+
* This model is used to generate longer, more detailed responses from EVI. Choosing an appropriate supplemental language model for your use case is crucial for generating fast, high-quality responses from EVI.
|
|
23
|
+
*/
|
|
18
24
|
languageModel?: Hume.empathicVoice.PostedLanguageModel;
|
|
25
|
+
/**
|
|
26
|
+
* The eLLM setup associated with this Config.
|
|
27
|
+
*
|
|
28
|
+
* Hume's eLLM (empathic Large Language Model) is a multimodal language model that takes into account both expression measures and language. The eLLM generates short, empathic language responses and guides text-to-speech (TTS) prosody.
|
|
29
|
+
*/
|
|
19
30
|
ellmModel?: Hume.empathicVoice.PostedEllmModel;
|
|
20
|
-
/**
|
|
31
|
+
/** List of user-defined tools associated with this Config. */
|
|
21
32
|
tools?: (Hume.empathicVoice.PostedUserDefinedToolSpec | undefined)[];
|
|
22
|
-
/**
|
|
33
|
+
/** List of built-in tools associated with this Config. */
|
|
23
34
|
builtinTools?: (Hume.empathicVoice.PostedBuiltinTool | undefined)[];
|
|
24
35
|
eventMessages?: Hume.empathicVoice.PostedEventMessageSpecs;
|
|
25
36
|
timeouts?: Hume.empathicVoice.PostedTimeoutSpecs;
|
package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts
CHANGED
|
@@ -7,15 +7,26 @@ import * as Hume from '../../../../../../index';
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface PostedConfigVersion {
|
|
10
|
-
/**
|
|
10
|
+
/** An optional description of the Config version. */
|
|
11
11
|
versionDescription?: string;
|
|
12
12
|
prompt?: Hume.empathicVoice.PostedPromptSpec;
|
|
13
|
+
/** A voice specification associated with this Config version. */
|
|
13
14
|
voice?: Hume.empathicVoice.PostedVoice;
|
|
15
|
+
/**
|
|
16
|
+
* The supplemental language model associated with this Config version.
|
|
17
|
+
*
|
|
18
|
+
* This model is used to generate longer, more detailed responses from EVI. Choosing an appropriate supplemental language model for your use case is crucial for generating fast, high-quality responses from EVI.
|
|
19
|
+
*/
|
|
14
20
|
languageModel?: Hume.empathicVoice.PostedLanguageModel;
|
|
21
|
+
/**
|
|
22
|
+
* The eLLM setup associated with this Config version.
|
|
23
|
+
*
|
|
24
|
+
* Hume's eLLM (empathic Large Language Model) is a multimodal language model that takes into account both expression measures and language. The eLLM generates short, empathic language responses and guides text-to-speech (TTS) prosody.
|
|
25
|
+
*/
|
|
15
26
|
ellmModel?: Hume.empathicVoice.PostedEllmModel;
|
|
16
|
-
/**
|
|
27
|
+
/** List of user-defined tools associated with this Config version. */
|
|
17
28
|
tools?: (Hume.empathicVoice.PostedUserDefinedToolSpec | undefined)[];
|
|
18
|
-
/**
|
|
29
|
+
/** List of built-in tools associated with this Config version. */
|
|
19
30
|
builtinTools?: (Hume.empathicVoice.PostedBuiltinTool | undefined)[];
|
|
20
31
|
eventMessages?: Hume.empathicVoice.PostedEventMessageSpecs;
|
|
21
32
|
timeouts?: Hume.empathicVoice.PostedTimeoutSpecs;
|
|
@@ -42,7 +42,7 @@ export declare class Prompts {
|
|
|
42
42
|
*/
|
|
43
43
|
createPrompt(request: Hume.empathicVoice.PostedPrompt, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
|
|
44
44
|
/**
|
|
45
|
-
* @param {string} id - Identifier for a
|
|
45
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
46
46
|
* @param {Hume.empathicVoice.PromptsListPromptVersionsRequest} request
|
|
47
47
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
48
|
*
|
|
@@ -51,7 +51,7 @@ export declare class Prompts {
|
|
|
51
51
|
*/
|
|
52
52
|
listPromptVersions(id: string, request?: Hume.empathicVoice.PromptsListPromptVersionsRequest, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPagedPrompts>;
|
|
53
53
|
/**
|
|
54
|
-
* @param {string} id - Identifier for a
|
|
54
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
55
55
|
* @param {Hume.empathicVoice.PostedPromptVersion} request
|
|
56
56
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
57
|
*
|
|
@@ -62,7 +62,7 @@ export declare class Prompts {
|
|
|
62
62
|
*/
|
|
63
63
|
createPromptVerison(id: string, request: Hume.empathicVoice.PostedPromptVersion, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
|
|
64
64
|
/**
|
|
65
|
-
* @param {string} id - Identifier for a
|
|
65
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
66
66
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
@@ -70,7 +70,7 @@ export declare class Prompts {
|
|
|
70
70
|
*/
|
|
71
71
|
deletePrompt(id: string, requestOptions?: Prompts.RequestOptions): Promise<void>;
|
|
72
72
|
/**
|
|
73
|
-
* @param {string} id - Identifier for a
|
|
73
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
74
74
|
* @param {Hume.empathicVoice.PostedPromptName} request
|
|
75
75
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
76
|
*
|
|
@@ -81,8 +81,12 @@ export declare class Prompts {
|
|
|
81
81
|
*/
|
|
82
82
|
updatePromptName(id: string, request: Hume.empathicVoice.PostedPromptName, requestOptions?: Prompts.RequestOptions): Promise<string>;
|
|
83
83
|
/**
|
|
84
|
-
* @param {string} id - Identifier for a
|
|
85
|
-
* @param {number} version - Version number for a
|
|
84
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
85
|
+
* @param {number} version - Version number for a Prompt.
|
|
86
|
+
*
|
|
87
|
+
* Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
|
|
88
|
+
*
|
|
89
|
+
* Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
|
|
86
90
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
91
|
*
|
|
88
92
|
* @example
|
|
@@ -90,8 +94,12 @@ export declare class Prompts {
|
|
|
90
94
|
*/
|
|
91
95
|
getPromptVersion(id: string, version: number, requestOptions?: Prompts.RequestOptions): Promise<Hume.empathicVoice.ReturnPrompt | undefined>;
|
|
92
96
|
/**
|
|
93
|
-
* @param {string} id - Identifier for a
|
|
94
|
-
* @param {number} version - Version number for a
|
|
97
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
98
|
+
* @param {number} version - Version number for a Prompt.
|
|
99
|
+
*
|
|
100
|
+
* Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
|
|
101
|
+
*
|
|
102
|
+
* Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
|
|
95
103
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
104
|
*
|
|
97
105
|
* @example
|
|
@@ -99,8 +107,12 @@ export declare class Prompts {
|
|
|
99
107
|
*/
|
|
100
108
|
deletePromptVersion(id: string, version: number, requestOptions?: Prompts.RequestOptions): Promise<void>;
|
|
101
109
|
/**
|
|
102
|
-
* @param {string} id - Identifier for a
|
|
103
|
-
* @param {number} version - Version number for a
|
|
110
|
+
* @param {string} id - Identifier for a Prompt. Formatted as a UUID.
|
|
111
|
+
* @param {number} version - Version number for a Prompt.
|
|
112
|
+
*
|
|
113
|
+
* Prompts, as well as Configs and Tools, are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed.
|
|
114
|
+
*
|
|
115
|
+
* Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number.
|
|
104
116
|
* @param {Hume.empathicVoice.PostedPromptVersionDescription} request
|
|
105
117
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
118
|
*
|