hume 0.7.0 → 0.7.2
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 +176 -72
- package/.mock/definition/empathic-voice/chat.yml +6 -6
- package/.mock/definition/empathic-voice/chatGroups.yml +9 -0
- package/.mock/definition/empathic-voice/chats.yml +14 -1
- package/.mock/definition/empathic-voice/configs.yml +138 -86
- package/.mock/definition/empathic-voice/prompts.yml +4 -2
- package/.mock/definition/empathic-voice/tools.yml +4 -2
- package/.mock/fern.config.json +1 -1
- package/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
- package/api/resources/customModels/resources/datasets/client/Client.js +18 -18
- package/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
- package/api/resources/customModels/resources/files/client/Client.js +14 -14
- package/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
- package/api/resources/customModels/resources/jobs/client/Client.js +4 -4
- package/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
- package/api/resources/customModels/resources/models/client/Client.js +12 -12
- package/api/resources/empathicVoice/client/StreamSocket.d.ts +8 -0
- package/api/resources/empathicVoice/client/StreamSocket.js +16 -0
- package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
- package/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
- 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/AssistantEnd.d.ts +1 -1
- package/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
- package/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
- package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
- package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
- package/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
- package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
- package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
- package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
- package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
- package/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
- package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
- package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
- package/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
- package/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
- package/api/resources/empathicVoice/types/index.d.ts +9 -6
- package/api/resources/empathicVoice/types/index.js +9 -6
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
- package/core/runtime/runtime.d.ts +1 -1
- package/core/runtime/runtime.js +11 -1
- package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +9 -9
- package/dist/api/resources/customModels/resources/datasets/client/Client.js +18 -18
- package/dist/api/resources/customModels/resources/files/client/Client.d.ts +7 -7
- package/dist/api/resources/customModels/resources/files/client/Client.js +14 -14
- package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +2 -2
- package/dist/api/resources/customModels/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/customModels/resources/models/client/Client.d.ts +6 -6
- package/dist/api/resources/customModels/resources/models/client/Client.js +12 -12
- package/dist/api/resources/empathicVoice/client/StreamSocket.d.ts +8 -0
- package/dist/api/resources/empathicVoice/client/StreamSocket.js +16 -0
- package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +8 -5
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +8 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +4 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +18 -18
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +9 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +9 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +18 -18
- 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/AssistantEnd.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/{WebSocketError.d.ts → Error_.d.ts} +2 -2
- package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedVoiceName.d.ts +2 -1
- package/dist/api/resources/empathicVoice/types/PostedVoiceName.js +1 -0
- package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +9 -2
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +4 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +2 -0
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.js +5 -0
- package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
- package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/UserInput.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +1 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +9 -6
- package/dist/api/resources/empathicVoice/types/index.js +9 -6
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +5 -5
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -11
- package/dist/core/runtime/runtime.d.ts +1 -1
- package/dist/core/runtime/runtime.js +11 -1
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
- package/{serialization/resources/empathicVoice/types/WebSocketError.d.ts → dist/serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
- package/{serialization/resources/empathicVoice/types/WebSocketError.js → dist/serialization/resources/empathicVoice/types/Error_.js} +2 -2
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → PostedEventMessageSpec.js} +4 -3
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
- package/dist/serialization/resources/empathicVoice/types/{TtsInput.d.ts → ReturnEllmModel.d.ts} +3 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/{TextInput.js → ReturnEventMessageSpec.js} +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +9 -6
- package/dist/serialization/resources/empathicVoice/types/index.js +9 -6
- package/dist/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
- package/package.json +6 -1
- package/reference.md +208 -122
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -2
- package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +8 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.js +8 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +8 -2
- package/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.js +8 -2
- package/{dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts → serialization/resources/empathicVoice/types/Error_.d.ts} +2 -2
- package/{dist/serialization/resources/empathicVoice/types/WebSocketError.js → serialization/resources/empathicVoice/types/Error_.js} +2 -2
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/PostedEllmModel.d.ts +12 -0
- package/serialization/resources/empathicVoice/types/PostedEllmModel.js +33 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +13 -0
- package/{dist/serialization/resources/empathicVoice/types/TtsInput.js → serialization/resources/empathicVoice/types/PostedEventMessageSpec.js} +4 -3
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/PostedTimeoutSpec.js +34 -0
- package/serialization/resources/empathicVoice/types/PostedVoiceName.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/PostedVoiceName.js +1 -1
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +8 -2
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +8 -2
- package/serialization/resources/empathicVoice/types/{TextInput.d.ts → ReturnEllmModel.d.ts} +3 -3
- package/serialization/resources/empathicVoice/types/ReturnEllmModel.js +33 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/{FunctionCallResponseInput.js → ReturnEventMessageSpec.js} +4 -3
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedConfigs.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedPrompts.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.js +1 -0
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.js +34 -0
- package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/SessionSettings.js +2 -0
- package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/ToolCallMessage.js +2 -2
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +1 -1
- package/serialization/resources/empathicVoice/types/index.d.ts +9 -6
- package/serialization/resources/empathicVoice/types/index.js +9 -6
- package/wrapper/empathicVoice/chat/ChatClient.d.ts +2 -2
- package/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
- package/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/TextInput.d.ts +0 -6
- package/dist/api/resources/empathicVoice/types/TtsInput.d.ts +0 -6
- package/dist/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
- package/dist/serialization/resources/empathicVoice/types/TextInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/FunctionCallResponseInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/TextInput.js +0 -33
- package/serialization/resources/empathicVoice/types/TtsInput.d.ts +0 -12
- package/serialization/resources/empathicVoice/types/TtsInput.js +0 -33
- /package/api/resources/empathicVoice/types/{FunctionCallResponseInput.js → Error_.js} +0 -0
- /package/api/resources/empathicVoice/types/{TextInput.js → PostedEllmModel.js} +0 -0
- /package/api/resources/empathicVoice/types/{TtsInput.js → PostedEventMessageSpec.js} +0 -0
- /package/api/resources/empathicVoice/types/{WebSocketError.js → PostedTimeoutSpec.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/FunctionCallResponseInput.js → api/resources/empathicVoice/types/ReturnEllmModel.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/TextInput.js → api/resources/empathicVoice/types/ReturnEventMessageSpec.js} +0 -0
- /package/{dist/api/resources/empathicVoice/types/TtsInput.js → api/resources/empathicVoice/types/ReturnTimeoutSpec.js} +0 -0
- /package/dist/api/resources/empathicVoice/types/{WebSocketError.js → Error_.js} +0 -0
package/reference.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## CustomModels Files
|
|
2
2
|
|
|
3
|
-
<details><summary> <code>
|
|
3
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">listFiles</a>({ ...params }) -> Hume.FilePage</code> </summary>
|
|
4
4
|
|
|
5
5
|
<dl>
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ Returns 200 if successful
|
|
|
37
37
|
<dd>
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
|
-
await
|
|
40
|
+
await client.customModels.files.listFiles();
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
</dd>
|
|
@@ -83,7 +83,7 @@ await hume.customModels.files.listFiles();
|
|
|
83
83
|
</dl>
|
|
84
84
|
</details>
|
|
85
85
|
|
|
86
|
-
<details><summary> <code>
|
|
86
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">createFiles</a>({ ...params }) -> Hume.FileWithAttributes[]</code> </summary>
|
|
87
87
|
|
|
88
88
|
<dl>
|
|
89
89
|
|
|
@@ -120,7 +120,7 @@ Returns 201 if successful
|
|
|
120
120
|
<dd>
|
|
121
121
|
|
|
122
122
|
```ts
|
|
123
|
-
await
|
|
123
|
+
await client.customModels.files.createFiles([
|
|
124
124
|
{
|
|
125
125
|
file: {
|
|
126
126
|
name: "name",
|
|
@@ -174,7 +174,7 @@ await hume.customModels.files.createFiles([
|
|
|
174
174
|
</dl>
|
|
175
175
|
</details>
|
|
176
176
|
|
|
177
|
-
<details><summary> <code>
|
|
177
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">uploadFile</a>(file, attributes) -> Hume.FileWithAttributes</code> </summary>
|
|
178
178
|
|
|
179
179
|
<dl>
|
|
180
180
|
|
|
@@ -211,7 +211,7 @@ Upload a file synchronously. Returns 201 if successful. Files must have a name.
|
|
|
211
211
|
<dd>
|
|
212
212
|
|
|
213
213
|
```ts
|
|
214
|
-
await
|
|
214
|
+
await client.customModels.files.uploadFile(
|
|
215
215
|
fs.createReadStream("/path/to/your/file"),
|
|
216
216
|
fs.createReadStream("/path/to/your/file")
|
|
217
217
|
);
|
|
@@ -270,7 +270,7 @@ await hume.customModels.files.uploadFile(
|
|
|
270
270
|
</dl>
|
|
271
271
|
</details>
|
|
272
272
|
|
|
273
|
-
<details><summary> <code>
|
|
273
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">getFile</a>(id) -> Hume.FileWithAttributes</code> </summary>
|
|
274
274
|
|
|
275
275
|
<dl>
|
|
276
276
|
|
|
@@ -307,7 +307,7 @@ Returns 200 if successful
|
|
|
307
307
|
<dd>
|
|
308
308
|
|
|
309
309
|
```ts
|
|
310
|
-
await
|
|
310
|
+
await client.customModels.files.getFile("id");
|
|
311
311
|
```
|
|
312
312
|
|
|
313
313
|
</dd>
|
|
@@ -353,7 +353,7 @@ await hume.customModels.files.getFile("id");
|
|
|
353
353
|
</dl>
|
|
354
354
|
</details>
|
|
355
355
|
|
|
356
|
-
<details><summary> <code>
|
|
356
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">deleteFile</a>(id) -> void</code> </summary>
|
|
357
357
|
|
|
358
358
|
<dl>
|
|
359
359
|
|
|
@@ -390,7 +390,7 @@ Returns 204 if successful
|
|
|
390
390
|
<dd>
|
|
391
391
|
|
|
392
392
|
```ts
|
|
393
|
-
await
|
|
393
|
+
await client.customModels.files.deleteFile("id");
|
|
394
394
|
```
|
|
395
395
|
|
|
396
396
|
</dd>
|
|
@@ -436,7 +436,7 @@ await hume.customModels.files.deleteFile("id");
|
|
|
436
436
|
</dl>
|
|
437
437
|
</details>
|
|
438
438
|
|
|
439
|
-
<details><summary> <code>
|
|
439
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">updateFileName</a>(id, { ...params }) -> Hume.FileWithAttributes</code> </summary>
|
|
440
440
|
|
|
441
441
|
<dl>
|
|
442
442
|
|
|
@@ -473,7 +473,7 @@ Returns 200 if successful
|
|
|
473
473
|
<dd>
|
|
474
474
|
|
|
475
475
|
```ts
|
|
476
|
-
await
|
|
476
|
+
await client.customModels.files.updateFileName("id", {
|
|
477
477
|
name: "name",
|
|
478
478
|
});
|
|
479
479
|
```
|
|
@@ -531,7 +531,7 @@ await hume.customModels.files.updateFileName("id", {
|
|
|
531
531
|
</dl>
|
|
532
532
|
</details>
|
|
533
533
|
|
|
534
|
-
<details><summary> <code>
|
|
534
|
+
<details><summary> <code>client.customModels.files.<a href="./src/api/resources/customModels/resources/files/client/Client.ts">getFilePredictions</a>(id) -> void</code> </summary>
|
|
535
535
|
|
|
536
536
|
<dl>
|
|
537
537
|
|
|
@@ -568,7 +568,7 @@ Returns 200 if successful
|
|
|
568
568
|
<dd>
|
|
569
569
|
|
|
570
570
|
```ts
|
|
571
|
-
await
|
|
571
|
+
await client.customModels.files.getFilePredictions("id");
|
|
572
572
|
```
|
|
573
573
|
|
|
574
574
|
</dd>
|
|
@@ -616,7 +616,7 @@ await hume.customModels.files.getFilePredictions("id");
|
|
|
616
616
|
|
|
617
617
|
## CustomModels Datasets
|
|
618
618
|
|
|
619
|
-
<details><summary> <code>
|
|
619
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">listDatasets</a>({ ...params }) -> Hume.DatasetPage</code> </summary>
|
|
620
620
|
|
|
621
621
|
<dl>
|
|
622
622
|
|
|
@@ -653,7 +653,7 @@ Returns 200 if successful
|
|
|
653
653
|
<dd>
|
|
654
654
|
|
|
655
655
|
```ts
|
|
656
|
-
await
|
|
656
|
+
await client.customModels.datasets.listDatasets();
|
|
657
657
|
```
|
|
658
658
|
|
|
659
659
|
</dd>
|
|
@@ -699,7 +699,7 @@ await hume.customModels.datasets.listDatasets();
|
|
|
699
699
|
</dl>
|
|
700
700
|
</details>
|
|
701
701
|
|
|
702
|
-
<details><summary> <code>
|
|
702
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">createDataset</a>(featureTypes, labelsFile, { ...params }) -> Hume.ReturnDataset</code> </summary>
|
|
703
703
|
|
|
704
704
|
<dl>
|
|
705
705
|
|
|
@@ -736,7 +736,7 @@ Returns 201 if successful
|
|
|
736
736
|
<dd>
|
|
737
737
|
|
|
738
738
|
```ts
|
|
739
|
-
await
|
|
739
|
+
await client.customModels.datasets.createDataset(
|
|
740
740
|
fs.createReadStream("/path/to/your/file"),
|
|
741
741
|
fs.createReadStream("/path/to/your/file"),
|
|
742
742
|
{
|
|
@@ -808,7 +808,7 @@ await hume.customModels.datasets.createDataset(
|
|
|
808
808
|
</dl>
|
|
809
809
|
</details>
|
|
810
810
|
|
|
811
|
-
<details><summary> <code>
|
|
811
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">getDataset</a>(id) -> Hume.ReturnDataset</code> </summary>
|
|
812
812
|
|
|
813
813
|
<dl>
|
|
814
814
|
|
|
@@ -845,7 +845,7 @@ Returns 200 if successful
|
|
|
845
845
|
<dd>
|
|
846
846
|
|
|
847
847
|
```ts
|
|
848
|
-
await
|
|
848
|
+
await client.customModels.datasets.getDataset("id");
|
|
849
849
|
```
|
|
850
850
|
|
|
851
851
|
</dd>
|
|
@@ -891,7 +891,7 @@ await hume.customModels.datasets.getDataset("id");
|
|
|
891
891
|
</dl>
|
|
892
892
|
</details>
|
|
893
893
|
|
|
894
|
-
<details><summary> <code>
|
|
894
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">createDatasetVersion</a>(featureTypes, labelsFile, id) -> Hume.ReturnDataset[]</code> </summary>
|
|
895
895
|
|
|
896
896
|
<dl>
|
|
897
897
|
|
|
@@ -928,7 +928,7 @@ Returns 200 if successful
|
|
|
928
928
|
<dd>
|
|
929
929
|
|
|
930
930
|
```ts
|
|
931
|
-
await
|
|
931
|
+
await client.customModels.datasets.createDatasetVersion(
|
|
932
932
|
fs.createReadStream("/path/to/your/file"),
|
|
933
933
|
fs.createReadStream("/path/to/your/file"),
|
|
934
934
|
"id"
|
|
@@ -998,7 +998,7 @@ await hume.customModels.datasets.createDatasetVersion(
|
|
|
998
998
|
</dl>
|
|
999
999
|
</details>
|
|
1000
1000
|
|
|
1001
|
-
<details><summary> <code>
|
|
1001
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">deleteDataset</a>(id) -> void</code> </summary>
|
|
1002
1002
|
|
|
1003
1003
|
<dl>
|
|
1004
1004
|
|
|
@@ -1035,7 +1035,7 @@ Returns 204 if successful
|
|
|
1035
1035
|
<dd>
|
|
1036
1036
|
|
|
1037
1037
|
```ts
|
|
1038
|
-
await
|
|
1038
|
+
await client.customModels.datasets.deleteDataset("id");
|
|
1039
1039
|
```
|
|
1040
1040
|
|
|
1041
1041
|
</dd>
|
|
@@ -1081,7 +1081,7 @@ await hume.customModels.datasets.deleteDataset("id");
|
|
|
1081
1081
|
</dl>
|
|
1082
1082
|
</details>
|
|
1083
1083
|
|
|
1084
|
-
<details><summary> <code>
|
|
1084
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">listDatasetVersions</a>(id, { ...params }) -> Hume.DatasetVersionPage</code> </summary>
|
|
1085
1085
|
|
|
1086
1086
|
<dl>
|
|
1087
1087
|
|
|
@@ -1118,7 +1118,7 @@ Returns 200 if successful
|
|
|
1118
1118
|
<dd>
|
|
1119
1119
|
|
|
1120
1120
|
```ts
|
|
1121
|
-
await
|
|
1121
|
+
await client.customModels.datasets.listDatasetVersions("id");
|
|
1122
1122
|
```
|
|
1123
1123
|
|
|
1124
1124
|
</dd>
|
|
@@ -1174,7 +1174,7 @@ await hume.customModels.datasets.listDatasetVersions("id");
|
|
|
1174
1174
|
</dl>
|
|
1175
1175
|
</details>
|
|
1176
1176
|
|
|
1177
|
-
<details><summary> <code>
|
|
1177
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">listDatasetFiles</a>(id, { ...params }) -> Hume.FilePage[]</code> </summary>
|
|
1178
1178
|
|
|
1179
1179
|
<dl>
|
|
1180
1180
|
|
|
@@ -1211,7 +1211,7 @@ Returns 200 if successful
|
|
|
1211
1211
|
<dd>
|
|
1212
1212
|
|
|
1213
1213
|
```ts
|
|
1214
|
-
await
|
|
1214
|
+
await client.customModels.datasets.listDatasetFiles("id");
|
|
1215
1215
|
```
|
|
1216
1216
|
|
|
1217
1217
|
</dd>
|
|
@@ -1267,7 +1267,7 @@ await hume.customModels.datasets.listDatasetFiles("id");
|
|
|
1267
1267
|
</dl>
|
|
1268
1268
|
</details>
|
|
1269
1269
|
|
|
1270
|
-
<details><summary> <code>
|
|
1270
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">getDatasetVersion</a>(id) -> Hume.DatasetLabels</code> </summary>
|
|
1271
1271
|
|
|
1272
1272
|
<dl>
|
|
1273
1273
|
|
|
@@ -1304,7 +1304,7 @@ Returns 200 if successful
|
|
|
1304
1304
|
<dd>
|
|
1305
1305
|
|
|
1306
1306
|
```ts
|
|
1307
|
-
await
|
|
1307
|
+
await client.customModels.datasets.getDatasetVersion("id");
|
|
1308
1308
|
```
|
|
1309
1309
|
|
|
1310
1310
|
</dd>
|
|
@@ -1350,7 +1350,7 @@ await hume.customModels.datasets.getDatasetVersion("id");
|
|
|
1350
1350
|
</dl>
|
|
1351
1351
|
</details>
|
|
1352
1352
|
|
|
1353
|
-
<details><summary> <code>
|
|
1353
|
+
<details><summary> <code>client.customModels.datasets.<a href="./src/api/resources/customModels/resources/datasets/client/Client.ts">listDatasetVersionFiles</a>(id, { ...params }) -> Hume.FilePage[]</code> </summary>
|
|
1354
1354
|
|
|
1355
1355
|
<dl>
|
|
1356
1356
|
|
|
@@ -1387,7 +1387,7 @@ Returns 200 if successful
|
|
|
1387
1387
|
<dd>
|
|
1388
1388
|
|
|
1389
1389
|
```ts
|
|
1390
|
-
await
|
|
1390
|
+
await client.customModels.datasets.listDatasetVersionFiles("id");
|
|
1391
1391
|
```
|
|
1392
1392
|
|
|
1393
1393
|
</dd>
|
|
@@ -1445,7 +1445,7 @@ await hume.customModels.datasets.listDatasetVersionFiles("id");
|
|
|
1445
1445
|
|
|
1446
1446
|
## CustomModels Models
|
|
1447
1447
|
|
|
1448
|
-
<details><summary> <code>
|
|
1448
|
+
<details><summary> <code>client.customModels.models.<a href="./src/api/resources/customModels/resources/models/client/Client.ts">listModels</a>({ ...params }) -> Hume.ModelPage</code> </summary>
|
|
1449
1449
|
|
|
1450
1450
|
<dl>
|
|
1451
1451
|
|
|
@@ -1482,7 +1482,7 @@ Returns 200 if successful
|
|
|
1482
1482
|
<dd>
|
|
1483
1483
|
|
|
1484
1484
|
```ts
|
|
1485
|
-
await
|
|
1485
|
+
await client.customModels.models.listModels();
|
|
1486
1486
|
```
|
|
1487
1487
|
|
|
1488
1488
|
</dd>
|
|
@@ -1528,7 +1528,7 @@ await hume.customModels.models.listModels();
|
|
|
1528
1528
|
</dl>
|
|
1529
1529
|
</details>
|
|
1530
1530
|
|
|
1531
|
-
<details><summary> <code>
|
|
1531
|
+
<details><summary> <code>client.customModels.models.<a href="./src/api/resources/customModels/resources/models/client/Client.ts">getModelDetails</a>(id) -> Hume.ExternalModel</code> </summary>
|
|
1532
1532
|
|
|
1533
1533
|
<dl>
|
|
1534
1534
|
|
|
@@ -1565,7 +1565,7 @@ Returns 200 if successful
|
|
|
1565
1565
|
<dd>
|
|
1566
1566
|
|
|
1567
1567
|
```ts
|
|
1568
|
-
await
|
|
1568
|
+
await client.customModels.models.getModelDetails("id");
|
|
1569
1569
|
```
|
|
1570
1570
|
|
|
1571
1571
|
</dd>
|
|
@@ -1611,7 +1611,7 @@ await hume.customModels.models.getModelDetails("id");
|
|
|
1611
1611
|
</dl>
|
|
1612
1612
|
</details>
|
|
1613
1613
|
|
|
1614
|
-
<details><summary> <code>
|
|
1614
|
+
<details><summary> <code>client.customModels.models.<a href="./src/api/resources/customModels/resources/models/client/Client.ts">updateModelName</a>(id, { ...params }) -> Hume.ExternalModel</code> </summary>
|
|
1615
1615
|
|
|
1616
1616
|
<dl>
|
|
1617
1617
|
|
|
@@ -1648,7 +1648,7 @@ Returns 200 if successful
|
|
|
1648
1648
|
<dd>
|
|
1649
1649
|
|
|
1650
1650
|
```ts
|
|
1651
|
-
await
|
|
1651
|
+
await client.customModels.models.updateModelName("id", {
|
|
1652
1652
|
name: "name",
|
|
1653
1653
|
});
|
|
1654
1654
|
```
|
|
@@ -1706,7 +1706,7 @@ await hume.customModels.models.updateModelName("id", {
|
|
|
1706
1706
|
</dl>
|
|
1707
1707
|
</details>
|
|
1708
1708
|
|
|
1709
|
-
<details><summary> <code>
|
|
1709
|
+
<details><summary> <code>client.customModels.models.<a href="./src/api/resources/customModels/resources/models/client/Client.ts">listModelVersions</a>({ ...params }) -> Hume.ExternalModelVersion[]</code> </summary>
|
|
1710
1710
|
|
|
1711
1711
|
<dl>
|
|
1712
1712
|
|
|
@@ -1743,7 +1743,7 @@ Returns 200 if successful
|
|
|
1743
1743
|
<dd>
|
|
1744
1744
|
|
|
1745
1745
|
```ts
|
|
1746
|
-
await
|
|
1746
|
+
await client.customModels.models.listModelVersions();
|
|
1747
1747
|
```
|
|
1748
1748
|
|
|
1749
1749
|
</dd>
|
|
@@ -1789,7 +1789,7 @@ await hume.customModels.models.listModelVersions();
|
|
|
1789
1789
|
</dl>
|
|
1790
1790
|
</details>
|
|
1791
1791
|
|
|
1792
|
-
<details><summary> <code>
|
|
1792
|
+
<details><summary> <code>client.customModels.models.<a href="./src/api/resources/customModels/resources/models/client/Client.ts">getModelVersion</a>(id, { ...params }) -> Hume.ExternalModelVersion</code> </summary>
|
|
1793
1793
|
|
|
1794
1794
|
<dl>
|
|
1795
1795
|
|
|
@@ -1826,7 +1826,7 @@ Returns 200 if successful
|
|
|
1826
1826
|
<dd>
|
|
1827
1827
|
|
|
1828
1828
|
```ts
|
|
1829
|
-
await
|
|
1829
|
+
await client.customModels.models.getModelVersion("id");
|
|
1830
1830
|
```
|
|
1831
1831
|
|
|
1832
1832
|
</dd>
|
|
@@ -1882,7 +1882,7 @@ await hume.customModels.models.getModelVersion("id");
|
|
|
1882
1882
|
</dl>
|
|
1883
1883
|
</details>
|
|
1884
1884
|
|
|
1885
|
-
<details><summary> <code>
|
|
1885
|
+
<details><summary> <code>client.customModels.models.<a href="./src/api/resources/customModels/resources/models/client/Client.ts">updateModelDescription</a>(id, { ...params }) -> Hume.ExternalModelVersion</code> </summary>
|
|
1886
1886
|
|
|
1887
1887
|
<dl>
|
|
1888
1888
|
|
|
@@ -1919,7 +1919,7 @@ Returns 200 if successful
|
|
|
1919
1919
|
<dd>
|
|
1920
1920
|
|
|
1921
1921
|
```ts
|
|
1922
|
-
await
|
|
1922
|
+
await client.customModels.models.updateModelDescription("id", "string");
|
|
1923
1923
|
```
|
|
1924
1924
|
|
|
1925
1925
|
</dd>
|
|
@@ -1977,7 +1977,7 @@ await hume.customModels.models.updateModelDescription("id", "string");
|
|
|
1977
1977
|
|
|
1978
1978
|
## CustomModels Jobs
|
|
1979
1979
|
|
|
1980
|
-
<details><summary> <code>
|
|
1980
|
+
<details><summary> <code>client.customModels.jobs.<a href="./src/api/resources/customModels/resources/jobs/client/Client.ts">startTrainingJob</a>({ ...params }) -> Hume.JobId</code> </summary>
|
|
1981
1981
|
|
|
1982
1982
|
<dl>
|
|
1983
1983
|
|
|
@@ -2014,7 +2014,7 @@ Start a new custom models training job.
|
|
|
2014
2014
|
<dd>
|
|
2015
2015
|
|
|
2016
2016
|
```ts
|
|
2017
|
-
await
|
|
2017
|
+
await client.customModels.jobs.startTrainingJob({
|
|
2018
2018
|
customModel: {
|
|
2019
2019
|
name: "name",
|
|
2020
2020
|
},
|
|
@@ -2067,7 +2067,7 @@ await hume.customModels.jobs.startTrainingJob({
|
|
|
2067
2067
|
</dl>
|
|
2068
2068
|
</details>
|
|
2069
2069
|
|
|
2070
|
-
<details><summary> <code>
|
|
2070
|
+
<details><summary> <code>client.customModels.jobs.<a href="./src/api/resources/customModels/resources/jobs/client/Client.ts">startCustomModelsInferenceJob</a>({ ...params }) -> Hume.JobId</code> </summary>
|
|
2071
2071
|
|
|
2072
2072
|
<dl>
|
|
2073
2073
|
|
|
@@ -2104,7 +2104,7 @@ Start a new custom models inference job.
|
|
|
2104
2104
|
<dd>
|
|
2105
2105
|
|
|
2106
2106
|
```ts
|
|
2107
|
-
await
|
|
2107
|
+
await client.customModels.jobs.startCustomModelsInferenceJob({
|
|
2108
2108
|
customModel: {
|
|
2109
2109
|
id: "id",
|
|
2110
2110
|
},
|
|
@@ -2156,7 +2156,7 @@ await hume.customModels.jobs.startCustomModelsInferenceJob({
|
|
|
2156
2156
|
|
|
2157
2157
|
## EmpathicVoice Tools
|
|
2158
2158
|
|
|
2159
|
-
<details><summary> <code>
|
|
2159
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">listTools</a>({ ...params }) -> Hume.ReturnPagedUserDefinedTools</code> </summary>
|
|
2160
2160
|
|
|
2161
2161
|
<dl>
|
|
2162
2162
|
|
|
@@ -2173,7 +2173,7 @@ await hume.customModels.jobs.startCustomModelsInferenceJob({
|
|
|
2173
2173
|
<dd>
|
|
2174
2174
|
|
|
2175
2175
|
```ts
|
|
2176
|
-
await
|
|
2176
|
+
await client.empathicVoice.tools.listTools({
|
|
2177
2177
|
pageNumber: 0,
|
|
2178
2178
|
pageSize: 2,
|
|
2179
2179
|
});
|
|
@@ -2222,7 +2222,7 @@ await hume.empathicVoice.tools.listTools({
|
|
|
2222
2222
|
</dl>
|
|
2223
2223
|
</details>
|
|
2224
2224
|
|
|
2225
|
-
<details><summary> <code>
|
|
2225
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">createTool</a>({ ...params }) -> Hume.ReturnUserDefinedTool | undefined</code> </summary>
|
|
2226
2226
|
|
|
2227
2227
|
<dl>
|
|
2228
2228
|
|
|
@@ -2239,7 +2239,7 @@ await hume.empathicVoice.tools.listTools({
|
|
|
2239
2239
|
<dd>
|
|
2240
2240
|
|
|
2241
2241
|
```ts
|
|
2242
|
-
await
|
|
2242
|
+
await client.empathicVoice.tools.createTool({
|
|
2243
2243
|
name: "get_current_weather",
|
|
2244
2244
|
parameters:
|
|
2245
2245
|
'{ "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g. San Francisco, CA" }, "format": { "type": "string", "enum": ["celsius", "fahrenheit"], "description": "The temperature unit to use. Infer this from the users location." } }, "required": ["location", "format"] }',
|
|
@@ -2292,7 +2292,7 @@ await hume.empathicVoice.tools.createTool({
|
|
|
2292
2292
|
</dl>
|
|
2293
2293
|
</details>
|
|
2294
2294
|
|
|
2295
|
-
<details><summary> <code>
|
|
2295
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">listToolVersions</a>(id, { ...params }) -> Hume.ReturnPagedUserDefinedTools</code> </summary>
|
|
2296
2296
|
|
|
2297
2297
|
<dl>
|
|
2298
2298
|
|
|
@@ -2309,7 +2309,7 @@ await hume.empathicVoice.tools.createTool({
|
|
|
2309
2309
|
<dd>
|
|
2310
2310
|
|
|
2311
2311
|
```ts
|
|
2312
|
-
await
|
|
2312
|
+
await client.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-609864268bea");
|
|
2313
2313
|
```
|
|
2314
2314
|
|
|
2315
2315
|
</dd>
|
|
@@ -2365,7 +2365,7 @@ await hume.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-6098642
|
|
|
2365
2365
|
</dl>
|
|
2366
2366
|
</details>
|
|
2367
2367
|
|
|
2368
|
-
<details><summary> <code>
|
|
2368
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">createToolVersion</a>(id, { ...params }) -> Hume.ReturnUserDefinedTool | undefined</code> </summary>
|
|
2369
2369
|
|
|
2370
2370
|
<dl>
|
|
2371
2371
|
|
|
@@ -2382,7 +2382,7 @@ await hume.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-6098642
|
|
|
2382
2382
|
<dd>
|
|
2383
2383
|
|
|
2384
2384
|
```ts
|
|
2385
|
-
await
|
|
2385
|
+
await client.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", {
|
|
2386
2386
|
parameters:
|
|
2387
2387
|
'{ "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g. San Francisco, CA" }, "format": { "type": "string", "enum": ["celsius", "fahrenheit", "kelvin"], "description": "The temperature unit to use. Infer this from the users location." } }, "required": ["location", "format"] }',
|
|
2388
2388
|
versionDescription: "Fetches current weather and uses celsius, fahrenheit, or kelvin based on location of user.",
|
|
@@ -2444,7 +2444,7 @@ await hume.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-609864
|
|
|
2444
2444
|
</dl>
|
|
2445
2445
|
</details>
|
|
2446
2446
|
|
|
2447
|
-
<details><summary> <code>
|
|
2447
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">deleteTool</a>(id) -> void</code> </summary>
|
|
2448
2448
|
|
|
2449
2449
|
<dl>
|
|
2450
2450
|
|
|
@@ -2461,7 +2461,7 @@ await hume.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-609864
|
|
|
2461
2461
|
<dd>
|
|
2462
2462
|
|
|
2463
2463
|
```ts
|
|
2464
|
-
await
|
|
2464
|
+
await client.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268bea");
|
|
2465
2465
|
```
|
|
2466
2466
|
|
|
2467
2467
|
</dd>
|
|
@@ -2507,7 +2507,7 @@ await hume.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268bea"
|
|
|
2507
2507
|
</dl>
|
|
2508
2508
|
</details>
|
|
2509
2509
|
|
|
2510
|
-
<details><summary> <code>
|
|
2510
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">updateToolName</a>(id, { ...params }) -> string</code> </summary>
|
|
2511
2511
|
|
|
2512
2512
|
<dl>
|
|
2513
2513
|
|
|
@@ -2524,7 +2524,7 @@ await hume.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268bea"
|
|
|
2524
2524
|
<dd>
|
|
2525
2525
|
|
|
2526
2526
|
```ts
|
|
2527
|
-
await
|
|
2527
|
+
await client.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268bea", {
|
|
2528
2528
|
name: "get_current_temperature",
|
|
2529
2529
|
});
|
|
2530
2530
|
```
|
|
@@ -2582,7 +2582,7 @@ await hume.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268
|
|
|
2582
2582
|
</dl>
|
|
2583
2583
|
</details>
|
|
2584
2584
|
|
|
2585
|
-
<details><summary> <code>
|
|
2585
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">getToolVersion</a>(id, version) -> Hume.ReturnUserDefinedTool | undefined</code> </summary>
|
|
2586
2586
|
|
|
2587
2587
|
<dl>
|
|
2588
2588
|
|
|
@@ -2599,7 +2599,7 @@ await hume.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268
|
|
|
2599
2599
|
<dd>
|
|
2600
2600
|
|
|
2601
2601
|
```ts
|
|
2602
|
-
await
|
|
2602
|
+
await client.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1);
|
|
2603
2603
|
```
|
|
2604
2604
|
|
|
2605
2605
|
</dd>
|
|
@@ -2655,7 +2655,7 @@ await hume.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-609864268
|
|
|
2655
2655
|
</dl>
|
|
2656
2656
|
</details>
|
|
2657
2657
|
|
|
2658
|
-
<details><summary> <code>
|
|
2658
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">deleteToolVersion</a>(id, version) -> void</code> </summary>
|
|
2659
2659
|
|
|
2660
2660
|
<dl>
|
|
2661
2661
|
|
|
@@ -2672,7 +2672,7 @@ await hume.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-609864268
|
|
|
2672
2672
|
<dd>
|
|
2673
2673
|
|
|
2674
2674
|
```ts
|
|
2675
|
-
await
|
|
2675
|
+
await client.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1);
|
|
2676
2676
|
```
|
|
2677
2677
|
|
|
2678
2678
|
</dd>
|
|
@@ -2728,7 +2728,7 @@ await hume.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864
|
|
|
2728
2728
|
</dl>
|
|
2729
2729
|
</details>
|
|
2730
2730
|
|
|
2731
|
-
<details><summary> <code>
|
|
2731
|
+
<details><summary> <code>client.empathicVoice.tools.<a href="./src/api/resources/empathicVoice/resources/tools/client/Client.ts">updateToolDescription</a>(id, version, { ...params }) -> Hume.ReturnUserDefinedTool | undefined</code> </summary>
|
|
2732
2732
|
|
|
2733
2733
|
<dl>
|
|
2734
2734
|
|
|
@@ -2745,7 +2745,7 @@ await hume.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864
|
|
|
2745
2745
|
<dd>
|
|
2746
2746
|
|
|
2747
2747
|
```ts
|
|
2748
|
-
await
|
|
2748
|
+
await client.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-609864268bea", 1, {
|
|
2749
2749
|
versionDescription:
|
|
2750
2750
|
"Fetches current temperature, precipitation, wind speed, AQI, and other weather conditions. Uses Celsius, Fahrenheit, or kelvin depending on user's region.",
|
|
2751
2751
|
});
|
|
@@ -2816,7 +2816,7 @@ await hume.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-60
|
|
|
2816
2816
|
|
|
2817
2817
|
## EmpathicVoice Prompts
|
|
2818
2818
|
|
|
2819
|
-
<details><summary> <code>
|
|
2819
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">listPrompts</a>({ ...params }) -> Hume.ReturnPagedPrompts</code> </summary>
|
|
2820
2820
|
|
|
2821
2821
|
<dl>
|
|
2822
2822
|
|
|
@@ -2833,7 +2833,7 @@ await hume.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-60
|
|
|
2833
2833
|
<dd>
|
|
2834
2834
|
|
|
2835
2835
|
```ts
|
|
2836
|
-
await
|
|
2836
|
+
await client.empathicVoice.prompts.listPrompts();
|
|
2837
2837
|
```
|
|
2838
2838
|
|
|
2839
2839
|
</dd>
|
|
@@ -2879,7 +2879,7 @@ await hume.empathicVoice.prompts.listPrompts();
|
|
|
2879
2879
|
</dl>
|
|
2880
2880
|
</details>
|
|
2881
2881
|
|
|
2882
|
-
<details><summary> <code>
|
|
2882
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">createPrompt</a>({ ...params }) -> Hume.ReturnPrompt | undefined</code> </summary>
|
|
2883
2883
|
|
|
2884
2884
|
<dl>
|
|
2885
2885
|
|
|
@@ -2896,7 +2896,7 @@ await hume.empathicVoice.prompts.listPrompts();
|
|
|
2896
2896
|
<dd>
|
|
2897
2897
|
|
|
2898
2898
|
```ts
|
|
2899
|
-
await
|
|
2899
|
+
await client.empathicVoice.prompts.createPrompt({
|
|
2900
2900
|
name: "name",
|
|
2901
2901
|
text: "text",
|
|
2902
2902
|
});
|
|
@@ -2945,7 +2945,7 @@ await hume.empathicVoice.prompts.createPrompt({
|
|
|
2945
2945
|
</dl>
|
|
2946
2946
|
</details>
|
|
2947
2947
|
|
|
2948
|
-
<details><summary> <code>
|
|
2948
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">listPromptVersions</a>(id, { ...params }) -> Hume.ReturnPagedPrompts</code> </summary>
|
|
2949
2949
|
|
|
2950
2950
|
<dl>
|
|
2951
2951
|
|
|
@@ -2962,7 +2962,7 @@ await hume.empathicVoice.prompts.createPrompt({
|
|
|
2962
2962
|
<dd>
|
|
2963
2963
|
|
|
2964
2964
|
```ts
|
|
2965
|
-
await
|
|
2965
|
+
await client.empathicVoice.prompts.listPromptVersions("id");
|
|
2966
2966
|
```
|
|
2967
2967
|
|
|
2968
2968
|
</dd>
|
|
@@ -3018,7 +3018,7 @@ await hume.empathicVoice.prompts.listPromptVersions("id");
|
|
|
3018
3018
|
</dl>
|
|
3019
3019
|
</details>
|
|
3020
3020
|
|
|
3021
|
-
<details><summary> <code>
|
|
3021
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">createPromptVerison</a>(id, { ...params }) -> Hume.ReturnPrompt | undefined</code> </summary>
|
|
3022
3022
|
|
|
3023
3023
|
<dl>
|
|
3024
3024
|
|
|
@@ -3035,7 +3035,7 @@ await hume.empathicVoice.prompts.listPromptVersions("id");
|
|
|
3035
3035
|
<dd>
|
|
3036
3036
|
|
|
3037
3037
|
```ts
|
|
3038
|
-
await
|
|
3038
|
+
await client.empathicVoice.prompts.createPromptVerison("id", {
|
|
3039
3039
|
text: "text",
|
|
3040
3040
|
});
|
|
3041
3041
|
```
|
|
@@ -3093,7 +3093,7 @@ await hume.empathicVoice.prompts.createPromptVerison("id", {
|
|
|
3093
3093
|
</dl>
|
|
3094
3094
|
</details>
|
|
3095
3095
|
|
|
3096
|
-
<details><summary> <code>
|
|
3096
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">deletePrompt</a>(id) -> void</code> </summary>
|
|
3097
3097
|
|
|
3098
3098
|
<dl>
|
|
3099
3099
|
|
|
@@ -3110,7 +3110,7 @@ await hume.empathicVoice.prompts.createPromptVerison("id", {
|
|
|
3110
3110
|
<dd>
|
|
3111
3111
|
|
|
3112
3112
|
```ts
|
|
3113
|
-
await
|
|
3113
|
+
await client.empathicVoice.prompts.deletePrompt("id");
|
|
3114
3114
|
```
|
|
3115
3115
|
|
|
3116
3116
|
</dd>
|
|
@@ -3156,7 +3156,7 @@ await hume.empathicVoice.prompts.deletePrompt("id");
|
|
|
3156
3156
|
</dl>
|
|
3157
3157
|
</details>
|
|
3158
3158
|
|
|
3159
|
-
<details><summary> <code>
|
|
3159
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">updatePromptName</a>(id, { ...params }) -> string</code> </summary>
|
|
3160
3160
|
|
|
3161
3161
|
<dl>
|
|
3162
3162
|
|
|
@@ -3173,7 +3173,7 @@ await hume.empathicVoice.prompts.deletePrompt("id");
|
|
|
3173
3173
|
<dd>
|
|
3174
3174
|
|
|
3175
3175
|
```ts
|
|
3176
|
-
await
|
|
3176
|
+
await client.empathicVoice.prompts.updatePromptName("string", {
|
|
3177
3177
|
name: "string",
|
|
3178
3178
|
});
|
|
3179
3179
|
```
|
|
@@ -3231,7 +3231,7 @@ await hume.empathicVoice.prompts.updatePromptName("string", {
|
|
|
3231
3231
|
</dl>
|
|
3232
3232
|
</details>
|
|
3233
3233
|
|
|
3234
|
-
<details><summary> <code>
|
|
3234
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">getPromptVersion</a>(id, version) -> Hume.ReturnPrompt | undefined</code> </summary>
|
|
3235
3235
|
|
|
3236
3236
|
<dl>
|
|
3237
3237
|
|
|
@@ -3248,7 +3248,7 @@ await hume.empathicVoice.prompts.updatePromptName("string", {
|
|
|
3248
3248
|
<dd>
|
|
3249
3249
|
|
|
3250
3250
|
```ts
|
|
3251
|
-
await
|
|
3251
|
+
await client.empathicVoice.prompts.getPromptVersion("id", 1);
|
|
3252
3252
|
```
|
|
3253
3253
|
|
|
3254
3254
|
</dd>
|
|
@@ -3304,7 +3304,7 @@ await hume.empathicVoice.prompts.getPromptVersion("id", 1);
|
|
|
3304
3304
|
</dl>
|
|
3305
3305
|
</details>
|
|
3306
3306
|
|
|
3307
|
-
<details><summary> <code>
|
|
3307
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">deletePromptVersion</a>(id, version) -> void</code> </summary>
|
|
3308
3308
|
|
|
3309
3309
|
<dl>
|
|
3310
3310
|
|
|
@@ -3321,7 +3321,7 @@ await hume.empathicVoice.prompts.getPromptVersion("id", 1);
|
|
|
3321
3321
|
<dd>
|
|
3322
3322
|
|
|
3323
3323
|
```ts
|
|
3324
|
-
await
|
|
3324
|
+
await client.empathicVoice.prompts.deletePromptVersion("id", 1);
|
|
3325
3325
|
```
|
|
3326
3326
|
|
|
3327
3327
|
</dd>
|
|
@@ -3377,7 +3377,7 @@ await hume.empathicVoice.prompts.deletePromptVersion("id", 1);
|
|
|
3377
3377
|
</dl>
|
|
3378
3378
|
</details>
|
|
3379
3379
|
|
|
3380
|
-
<details><summary> <code>
|
|
3380
|
+
<details><summary> <code>client.empathicVoice.prompts.<a href="./src/api/resources/empathicVoice/resources/prompts/client/Client.ts">updatePromptDescription</a>(id, version, { ...params }) -> Hume.ReturnPrompt | undefined</code> </summary>
|
|
3381
3381
|
|
|
3382
3382
|
<dl>
|
|
3383
3383
|
|
|
@@ -3394,7 +3394,7 @@ await hume.empathicVoice.prompts.deletePromptVersion("id", 1);
|
|
|
3394
3394
|
<dd>
|
|
3395
3395
|
|
|
3396
3396
|
```ts
|
|
3397
|
-
await
|
|
3397
|
+
await client.empathicVoice.prompts.updatePromptDescription("id", 1);
|
|
3398
3398
|
```
|
|
3399
3399
|
|
|
3400
3400
|
</dd>
|
|
@@ -3462,7 +3462,7 @@ await hume.empathicVoice.prompts.updatePromptDescription("id", 1);
|
|
|
3462
3462
|
|
|
3463
3463
|
## EmpathicVoice Configs
|
|
3464
3464
|
|
|
3465
|
-
<details><summary> <code>
|
|
3465
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">listConfigs</a>({ ...params }) -> Hume.ReturnPagedConfigs</code> </summary>
|
|
3466
3466
|
|
|
3467
3467
|
<dl>
|
|
3468
3468
|
|
|
@@ -3479,7 +3479,7 @@ await hume.empathicVoice.prompts.updatePromptDescription("id", 1);
|
|
|
3479
3479
|
<dd>
|
|
3480
3480
|
|
|
3481
3481
|
```ts
|
|
3482
|
-
await
|
|
3482
|
+
await client.empathicVoice.configs.listConfigs();
|
|
3483
3483
|
```
|
|
3484
3484
|
|
|
3485
3485
|
</dd>
|
|
@@ -3525,7 +3525,7 @@ await hume.empathicVoice.configs.listConfigs();
|
|
|
3525
3525
|
</dl>
|
|
3526
3526
|
</details>
|
|
3527
3527
|
|
|
3528
|
-
<details><summary> <code>
|
|
3528
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">createConfig</a>({ ...params }) -> Hume.ReturnConfig</code> </summary>
|
|
3529
3529
|
|
|
3530
3530
|
<dl>
|
|
3531
3531
|
|
|
@@ -3542,7 +3542,7 @@ await hume.empathicVoice.configs.listConfigs();
|
|
|
3542
3542
|
<dd>
|
|
3543
3543
|
|
|
3544
3544
|
```ts
|
|
3545
|
-
await
|
|
3545
|
+
await client.empathicVoice.configs.createConfig({
|
|
3546
3546
|
name: "name",
|
|
3547
3547
|
});
|
|
3548
3548
|
```
|
|
@@ -3590,7 +3590,7 @@ await hume.empathicVoice.configs.createConfig({
|
|
|
3590
3590
|
</dl>
|
|
3591
3591
|
</details>
|
|
3592
3592
|
|
|
3593
|
-
<details><summary> <code>
|
|
3593
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">listConfigVersions</a>(id, { ...params }) -> Hume.ReturnPagedConfigs</code> </summary>
|
|
3594
3594
|
|
|
3595
3595
|
<dl>
|
|
3596
3596
|
|
|
@@ -3607,7 +3607,7 @@ await hume.empathicVoice.configs.createConfig({
|
|
|
3607
3607
|
<dd>
|
|
3608
3608
|
|
|
3609
3609
|
```ts
|
|
3610
|
-
await
|
|
3610
|
+
await client.empathicVoice.configs.listConfigVersions("id");
|
|
3611
3611
|
```
|
|
3612
3612
|
|
|
3613
3613
|
</dd>
|
|
@@ -3663,7 +3663,7 @@ await hume.empathicVoice.configs.listConfigVersions("id");
|
|
|
3663
3663
|
</dl>
|
|
3664
3664
|
</details>
|
|
3665
3665
|
|
|
3666
|
-
<details><summary> <code>
|
|
3666
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">createConfigVersion</a>(id, { ...params }) -> Hume.ReturnConfig</code> </summary>
|
|
3667
3667
|
|
|
3668
3668
|
<dl>
|
|
3669
3669
|
|
|
@@ -3680,7 +3680,7 @@ await hume.empathicVoice.configs.listConfigVersions("id");
|
|
|
3680
3680
|
<dd>
|
|
3681
3681
|
|
|
3682
3682
|
```ts
|
|
3683
|
-
await
|
|
3683
|
+
await client.empathicVoice.configs.createConfigVersion("id");
|
|
3684
3684
|
```
|
|
3685
3685
|
|
|
3686
3686
|
</dd>
|
|
@@ -3736,7 +3736,7 @@ await hume.empathicVoice.configs.createConfigVersion("id");
|
|
|
3736
3736
|
</dl>
|
|
3737
3737
|
</details>
|
|
3738
3738
|
|
|
3739
|
-
<details><summary> <code>
|
|
3739
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">deleteConfig</a>(id) -> void</code> </summary>
|
|
3740
3740
|
|
|
3741
3741
|
<dl>
|
|
3742
3742
|
|
|
@@ -3753,7 +3753,7 @@ await hume.empathicVoice.configs.createConfigVersion("id");
|
|
|
3753
3753
|
<dd>
|
|
3754
3754
|
|
|
3755
3755
|
```ts
|
|
3756
|
-
await
|
|
3756
|
+
await client.empathicVoice.configs.deleteConfig("id");
|
|
3757
3757
|
```
|
|
3758
3758
|
|
|
3759
3759
|
</dd>
|
|
@@ -3799,7 +3799,7 @@ await hume.empathicVoice.configs.deleteConfig("id");
|
|
|
3799
3799
|
</dl>
|
|
3800
3800
|
</details>
|
|
3801
3801
|
|
|
3802
|
-
<details><summary> <code>
|
|
3802
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">updateConfigName</a>(id, { ...params }) -> string</code> </summary>
|
|
3803
3803
|
|
|
3804
3804
|
<dl>
|
|
3805
3805
|
|
|
@@ -3816,7 +3816,7 @@ await hume.empathicVoice.configs.deleteConfig("id");
|
|
|
3816
3816
|
<dd>
|
|
3817
3817
|
|
|
3818
3818
|
```ts
|
|
3819
|
-
await
|
|
3819
|
+
await client.empathicVoice.configs.updateConfigName("string", {
|
|
3820
3820
|
name: "string",
|
|
3821
3821
|
});
|
|
3822
3822
|
```
|
|
@@ -3874,7 +3874,7 @@ await hume.empathicVoice.configs.updateConfigName("string", {
|
|
|
3874
3874
|
</dl>
|
|
3875
3875
|
</details>
|
|
3876
3876
|
|
|
3877
|
-
<details><summary> <code>
|
|
3877
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">getConfigVersion</a>(id, version) -> Hume.ReturnConfig</code> </summary>
|
|
3878
3878
|
|
|
3879
3879
|
<dl>
|
|
3880
3880
|
|
|
@@ -3891,7 +3891,7 @@ await hume.empathicVoice.configs.updateConfigName("string", {
|
|
|
3891
3891
|
<dd>
|
|
3892
3892
|
|
|
3893
3893
|
```ts
|
|
3894
|
-
await
|
|
3894
|
+
await client.empathicVoice.configs.getConfigVersion("id", 1);
|
|
3895
3895
|
```
|
|
3896
3896
|
|
|
3897
3897
|
</dd>
|
|
@@ -3947,7 +3947,7 @@ await hume.empathicVoice.configs.getConfigVersion("id", 1);
|
|
|
3947
3947
|
</dl>
|
|
3948
3948
|
</details>
|
|
3949
3949
|
|
|
3950
|
-
<details><summary> <code>
|
|
3950
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">deleteConfigVersion</a>(id, version) -> void</code> </summary>
|
|
3951
3951
|
|
|
3952
3952
|
<dl>
|
|
3953
3953
|
|
|
@@ -3964,7 +3964,7 @@ await hume.empathicVoice.configs.getConfigVersion("id", 1);
|
|
|
3964
3964
|
<dd>
|
|
3965
3965
|
|
|
3966
3966
|
```ts
|
|
3967
|
-
await
|
|
3967
|
+
await client.empathicVoice.configs.deleteConfigVersion("id", 1);
|
|
3968
3968
|
```
|
|
3969
3969
|
|
|
3970
3970
|
</dd>
|
|
@@ -4020,7 +4020,7 @@ await hume.empathicVoice.configs.deleteConfigVersion("id", 1);
|
|
|
4020
4020
|
</dl>
|
|
4021
4021
|
</details>
|
|
4022
4022
|
|
|
4023
|
-
<details><summary> <code>
|
|
4023
|
+
<details><summary> <code>client.empathicVoice.configs.<a href="./src/api/resources/empathicVoice/resources/configs/client/Client.ts">updateConfigDescription</a>(id, version, { ...params }) -> Hume.ReturnConfig</code> </summary>
|
|
4024
4024
|
|
|
4025
4025
|
<dl>
|
|
4026
4026
|
|
|
@@ -4037,7 +4037,7 @@ await hume.empathicVoice.configs.deleteConfigVersion("id", 1);
|
|
|
4037
4037
|
<dd>
|
|
4038
4038
|
|
|
4039
4039
|
```ts
|
|
4040
|
-
await
|
|
4040
|
+
await client.empathicVoice.configs.updateConfigDescription("id", 1);
|
|
4041
4041
|
```
|
|
4042
4042
|
|
|
4043
4043
|
</dd>
|
|
@@ -4105,7 +4105,7 @@ await hume.empathicVoice.configs.updateConfigDescription("id", 1);
|
|
|
4105
4105
|
|
|
4106
4106
|
## EmpathicVoice Chats
|
|
4107
4107
|
|
|
4108
|
-
<details><summary> <code>
|
|
4108
|
+
<details><summary> <code>client.empathicVoice.chats.<a href="./src/api/resources/empathicVoice/resources/chats/client/Client.ts">listChats</a>({ ...params }) -> Hume.ReturnPagedChats</code> </summary>
|
|
4109
4109
|
|
|
4110
4110
|
<dl>
|
|
4111
4111
|
|
|
@@ -4122,7 +4122,7 @@ await hume.empathicVoice.configs.updateConfigDescription("id", 1);
|
|
|
4122
4122
|
<dd>
|
|
4123
4123
|
|
|
4124
4124
|
```ts
|
|
4125
|
-
await
|
|
4125
|
+
await client.empathicVoice.chats.listChats();
|
|
4126
4126
|
```
|
|
4127
4127
|
|
|
4128
4128
|
</dd>
|
|
@@ -4168,7 +4168,7 @@ await hume.empathicVoice.chats.listChats();
|
|
|
4168
4168
|
</dl>
|
|
4169
4169
|
</details>
|
|
4170
4170
|
|
|
4171
|
-
<details><summary> <code>
|
|
4171
|
+
<details><summary> <code>client.empathicVoice.chats.<a href="./src/api/resources/empathicVoice/resources/chats/client/Client.ts">listChatEvents</a>(id, { ...params }) -> Hume.ReturnChatPagedEvents</code> </summary>
|
|
4172
4172
|
|
|
4173
4173
|
<dl>
|
|
4174
4174
|
|
|
@@ -4185,7 +4185,7 @@ await hume.empathicVoice.chats.listChats();
|
|
|
4185
4185
|
<dd>
|
|
4186
4186
|
|
|
4187
4187
|
```ts
|
|
4188
|
-
await
|
|
4188
|
+
await client.empathicVoice.chats.listChatEvents("id");
|
|
4189
4189
|
```
|
|
4190
4190
|
|
|
4191
4191
|
</dd>
|
|
@@ -4243,7 +4243,7 @@ await hume.empathicVoice.chats.listChatEvents("id");
|
|
|
4243
4243
|
|
|
4244
4244
|
## EmpathicVoice ChatGroups
|
|
4245
4245
|
|
|
4246
|
-
<details><summary> <code>
|
|
4246
|
+
<details><summary> <code>client.empathicVoice.chatGroups.<a href="./src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts">listChatGroups</a>({ ...params }) -> Hume.ReturnPagedChatGroups</code> </summary>
|
|
4247
4247
|
|
|
4248
4248
|
<dl>
|
|
4249
4249
|
|
|
@@ -4260,7 +4260,7 @@ await hume.empathicVoice.chats.listChatEvents("id");
|
|
|
4260
4260
|
<dd>
|
|
4261
4261
|
|
|
4262
4262
|
```ts
|
|
4263
|
-
await
|
|
4263
|
+
await client.empathicVoice.chatGroups.listChatGroups();
|
|
4264
4264
|
```
|
|
4265
4265
|
|
|
4266
4266
|
</dd>
|
|
@@ -4306,7 +4306,7 @@ await hume.empathicVoice.chatGroups.listChatGroups();
|
|
|
4306
4306
|
</dl>
|
|
4307
4307
|
</details>
|
|
4308
4308
|
|
|
4309
|
-
<details><summary> <code>
|
|
4309
|
+
<details><summary> <code>client.empathicVoice.chatGroups.<a href="./src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts">listChatGroupEvents</a>(id, { ...params }) -> Hume.ReturnChatGroupPagedEvents</code> </summary>
|
|
4310
4310
|
|
|
4311
4311
|
<dl>
|
|
4312
4312
|
|
|
@@ -4323,7 +4323,7 @@ await hume.empathicVoice.chatGroups.listChatGroups();
|
|
|
4323
4323
|
<dd>
|
|
4324
4324
|
|
|
4325
4325
|
```ts
|
|
4326
|
-
await
|
|
4326
|
+
await client.empathicVoice.chatGroups.listChatGroupEvents("id");
|
|
4327
4327
|
```
|
|
4328
4328
|
|
|
4329
4329
|
</dd>
|
|
@@ -4381,7 +4381,7 @@ await hume.empathicVoice.chatGroups.listChatGroupEvents("id");
|
|
|
4381
4381
|
|
|
4382
4382
|
## ExpressionMeasurement Batch
|
|
4383
4383
|
|
|
4384
|
-
<details><summary> <code>
|
|
4384
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">listJobs</a>({ ...params }) -> Hume.UnionJob[]</code> </summary>
|
|
4385
4385
|
|
|
4386
4386
|
<dl>
|
|
4387
4387
|
|
|
@@ -4418,7 +4418,7 @@ Sort and filter jobs.
|
|
|
4418
4418
|
<dd>
|
|
4419
4419
|
|
|
4420
4420
|
```ts
|
|
4421
|
-
await
|
|
4421
|
+
await client.expressionMeasurement.batch.listJobs();
|
|
4422
4422
|
```
|
|
4423
4423
|
|
|
4424
4424
|
</dd>
|
|
@@ -4464,7 +4464,7 @@ await hume.expressionMeasurement.batch.listJobs();
|
|
|
4464
4464
|
</dl>
|
|
4465
4465
|
</details>
|
|
4466
4466
|
|
|
4467
|
-
<details><summary> <code>
|
|
4467
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">startInferenceJob</a>({ ...params }) -> Hume.JobId</code> </summary>
|
|
4468
4468
|
|
|
4469
4469
|
<dl>
|
|
4470
4470
|
|
|
@@ -4501,7 +4501,7 @@ Start a new measurement inference job.
|
|
|
4501
4501
|
<dd>
|
|
4502
4502
|
|
|
4503
4503
|
```ts
|
|
4504
|
-
await
|
|
4504
|
+
await client.expressionMeasurement.batch.startInferenceJob({
|
|
4505
4505
|
urls: ["https://hume-tutorials.s3.amazonaws.com/faces.zip"],
|
|
4506
4506
|
notify: true,
|
|
4507
4507
|
});
|
|
@@ -4550,7 +4550,7 @@ await hume.expressionMeasurement.batch.startInferenceJob({
|
|
|
4550
4550
|
</dl>
|
|
4551
4551
|
</details>
|
|
4552
4552
|
|
|
4553
|
-
<details><summary> <code>
|
|
4553
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">getJobDetails</a>(id) -> Hume.UnionJob</code> </summary>
|
|
4554
4554
|
|
|
4555
4555
|
<dl>
|
|
4556
4556
|
|
|
@@ -4587,7 +4587,7 @@ Get the request details and state of a given job.
|
|
|
4587
4587
|
<dd>
|
|
4588
4588
|
|
|
4589
4589
|
```ts
|
|
4590
|
-
await
|
|
4590
|
+
await client.expressionMeasurement.batch.getJobDetails("job_id");
|
|
4591
4591
|
```
|
|
4592
4592
|
|
|
4593
4593
|
</dd>
|
|
@@ -4633,7 +4633,90 @@ await hume.expressionMeasurement.batch.getJobDetails("job_id");
|
|
|
4633
4633
|
</dl>
|
|
4634
4634
|
</details>
|
|
4635
4635
|
|
|
4636
|
-
<details><summary> <code>
|
|
4636
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">getJobDetails</a>(id) -> Hume.UnionJob</code> </summary>
|
|
4637
|
+
|
|
4638
|
+
<dl>
|
|
4639
|
+
|
|
4640
|
+
<dd>
|
|
4641
|
+
|
|
4642
|
+
#### 📝 Description
|
|
4643
|
+
|
|
4644
|
+
<dl>
|
|
4645
|
+
|
|
4646
|
+
<dd>
|
|
4647
|
+
|
|
4648
|
+
<dl>
|
|
4649
|
+
|
|
4650
|
+
<dd>
|
|
4651
|
+
|
|
4652
|
+
Get the request details and state of a given job.
|
|
4653
|
+
|
|
4654
|
+
</dd>
|
|
4655
|
+
|
|
4656
|
+
</dl>
|
|
4657
|
+
|
|
4658
|
+
</dd>
|
|
4659
|
+
|
|
4660
|
+
</dl>
|
|
4661
|
+
|
|
4662
|
+
#### 🔌 Usage
|
|
4663
|
+
|
|
4664
|
+
<dl>
|
|
4665
|
+
|
|
4666
|
+
<dd>
|
|
4667
|
+
|
|
4668
|
+
<dl>
|
|
4669
|
+
|
|
4670
|
+
<dd>
|
|
4671
|
+
|
|
4672
|
+
```ts
|
|
4673
|
+
await client.expressionMeasurement.batch.getJobDetails("job_id");
|
|
4674
|
+
```
|
|
4675
|
+
|
|
4676
|
+
</dd>
|
|
4677
|
+
|
|
4678
|
+
</dl>
|
|
4679
|
+
|
|
4680
|
+
</dd>
|
|
4681
|
+
|
|
4682
|
+
</dl>
|
|
4683
|
+
|
|
4684
|
+
#### ⚙️ Parameters
|
|
4685
|
+
|
|
4686
|
+
<dl>
|
|
4687
|
+
|
|
4688
|
+
<dd>
|
|
4689
|
+
|
|
4690
|
+
<dl>
|
|
4691
|
+
|
|
4692
|
+
<dd>
|
|
4693
|
+
|
|
4694
|
+
**id: `string`**
|
|
4695
|
+
|
|
4696
|
+
</dd>
|
|
4697
|
+
|
|
4698
|
+
</dl>
|
|
4699
|
+
|
|
4700
|
+
<dl>
|
|
4701
|
+
|
|
4702
|
+
<dd>
|
|
4703
|
+
|
|
4704
|
+
**requestOptions: `Batch.RequestOptions`**
|
|
4705
|
+
|
|
4706
|
+
</dd>
|
|
4707
|
+
|
|
4708
|
+
</dl>
|
|
4709
|
+
|
|
4710
|
+
</dd>
|
|
4711
|
+
|
|
4712
|
+
</dl>
|
|
4713
|
+
|
|
4714
|
+
</dd>
|
|
4715
|
+
|
|
4716
|
+
</dl>
|
|
4717
|
+
</details>
|
|
4718
|
+
|
|
4719
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">getJobPredictions</a>(id) -> Hume.UnionPredictResult[]</code> </summary>
|
|
4637
4720
|
|
|
4638
4721
|
<dl>
|
|
4639
4722
|
|
|
@@ -4670,7 +4753,7 @@ Get the JSON predictions of a completed measurement or custom models inference j
|
|
|
4670
4753
|
<dd>
|
|
4671
4754
|
|
|
4672
4755
|
```ts
|
|
4673
|
-
await
|
|
4756
|
+
await client.expressionMeasurement.batch.getJobPredictions("job_id");
|
|
4674
4757
|
```
|
|
4675
4758
|
|
|
4676
4759
|
</dd>
|
|
@@ -4716,7 +4799,7 @@ await hume.expressionMeasurement.batch.getJobPredictions("job_id");
|
|
|
4716
4799
|
</dl>
|
|
4717
4800
|
</details>
|
|
4718
4801
|
|
|
4719
|
-
<details><summary> <code>
|
|
4802
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">getJobArtifacts</a>(id) -> stream.Readable</code> </summary>
|
|
4720
4803
|
|
|
4721
4804
|
<dl>
|
|
4722
4805
|
|
|
@@ -4753,7 +4836,7 @@ Get the artifacts ZIP of a completed measurement or custom models inference job.
|
|
|
4753
4836
|
<dd>
|
|
4754
4837
|
|
|
4755
4838
|
```ts
|
|
4756
|
-
await
|
|
4839
|
+
await client.expressionMeasurement.batch.getJobArtifacts("string");
|
|
4757
4840
|
```
|
|
4758
4841
|
|
|
4759
4842
|
</dd>
|
|
@@ -4799,7 +4882,7 @@ await hume.expressionMeasurement.batch.getJobArtifacts("string");
|
|
|
4799
4882
|
</dl>
|
|
4800
4883
|
</details>
|
|
4801
4884
|
|
|
4802
|
-
<details><summary> <code>
|
|
4885
|
+
<details><summary> <code>client.expressionMeasurement.batch.<a href="./src/api/resources/expressionMeasurement/resources/batch/client/Client.ts">startInferenceJobFromLocalFile</a>(file, { ...params }) -> Hume.JobId</code> </summary>
|
|
4803
4886
|
|
|
4804
4887
|
<dl>
|
|
4805
4888
|
|
|
@@ -4836,7 +4919,10 @@ Start a new batch inference job.
|
|
|
4836
4919
|
<dd>
|
|
4837
4920
|
|
|
4838
4921
|
```ts
|
|
4839
|
-
await
|
|
4922
|
+
await client.expressionMeasurement.batch.startInferenceJobFromLocalFile(
|
|
4923
|
+
[fs.createReadStream("/path/to/your/file")],
|
|
4924
|
+
{}
|
|
4925
|
+
);
|
|
4840
4926
|
```
|
|
4841
4927
|
|
|
4842
4928
|
</dd>
|