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
|
@@ -55,7 +55,7 @@ types:
|
|
|
55
55
|
version_type:
|
|
56
56
|
type: string
|
|
57
57
|
docs: >-
|
|
58
|
-
Indicates whether this
|
|
58
|
+
Indicates whether this tool is using a fixed version number or
|
|
59
59
|
auto-updating to the latest version. Values from the VersionType enum.
|
|
60
60
|
version_description:
|
|
61
61
|
type: optional<string>
|
|
@@ -81,6 +81,26 @@ types:
|
|
|
81
81
|
fallback_content:
|
|
82
82
|
type: optional<string>
|
|
83
83
|
docs: Text to use if the tool fails to generate content.
|
|
84
|
+
PostedEllmModel:
|
|
85
|
+
docs: A eLLM model configuration to be posted to the server
|
|
86
|
+
properties:
|
|
87
|
+
allow_short_responses:
|
|
88
|
+
type: optional<boolean>
|
|
89
|
+
docs: >-
|
|
90
|
+
Boolean indicating if the model is allowed to generate short
|
|
91
|
+
responses.
|
|
92
|
+
PostedEventMessageSpec:
|
|
93
|
+
docs: Settings for a specific event_message to be posted to the server
|
|
94
|
+
properties:
|
|
95
|
+
enabled:
|
|
96
|
+
type: boolean
|
|
97
|
+
docs: Boolean indicating if this event message is enabled.
|
|
98
|
+
text:
|
|
99
|
+
type: optional<string>
|
|
100
|
+
docs: >-
|
|
101
|
+
Optional text that will be used as a verbatim event message. If the
|
|
102
|
+
text is null and the event message is enabled, the system will
|
|
103
|
+
generate a message based using the language model.
|
|
84
104
|
PostedLanguageModelModelProvider:
|
|
85
105
|
enum:
|
|
86
106
|
- OPEN_AI
|
|
@@ -112,6 +132,15 @@ types:
|
|
|
112
132
|
docs: >-
|
|
113
133
|
Version number for a Prompt. Version numbers should be integers. The
|
|
114
134
|
combination of configId and version number is unique.
|
|
135
|
+
PostedTimeoutSpec:
|
|
136
|
+
docs: Settings for a specific timeout to be posted to the server
|
|
137
|
+
properties:
|
|
138
|
+
enabled:
|
|
139
|
+
type: boolean
|
|
140
|
+
docs: Boolean indicating if this event message is enabled.
|
|
141
|
+
duration_secs:
|
|
142
|
+
type: optional<integer>
|
|
143
|
+
docs: Duration in seconds for the timeout.
|
|
115
144
|
PostedUserDefinedToolSpec:
|
|
116
145
|
docs: A specific tool identifier to be posted to the server
|
|
117
146
|
properties:
|
|
@@ -127,13 +156,14 @@ types:
|
|
|
127
156
|
enum:
|
|
128
157
|
- ITO
|
|
129
158
|
- DACHER
|
|
159
|
+
- KORA
|
|
130
160
|
docs: String with the name of the voice to use.
|
|
131
161
|
PostedVoice:
|
|
132
162
|
docs: A Voice specification posted to the server
|
|
133
163
|
properties:
|
|
134
164
|
provider:
|
|
135
165
|
type: optional<literal<"HUME_AI">>
|
|
136
|
-
docs: The provider of the voice to use.
|
|
166
|
+
docs: The provider of the voice to use. Based on the enum VoiceProvider.
|
|
137
167
|
name:
|
|
138
168
|
type: PostedVoiceName
|
|
139
169
|
docs: String with the name of the voice to use.
|
|
@@ -175,8 +205,39 @@ types:
|
|
|
175
205
|
prompt: optional<ReturnPrompt>
|
|
176
206
|
voice: optional<ReturnVoice>
|
|
177
207
|
language_model: optional<ReturnLanguageModel>
|
|
178
|
-
|
|
179
|
-
|
|
208
|
+
ellm_model: optional<ReturnEllmModel>
|
|
209
|
+
tools:
|
|
210
|
+
type: optional<list<optional<ReturnUserDefinedTool>>>
|
|
211
|
+
docs: List of user-defined tools associated with this config.
|
|
212
|
+
builtin_tools:
|
|
213
|
+
type: optional<list<optional<ReturnBuiltinTool>>>
|
|
214
|
+
docs: List of built-in tools associated with this config
|
|
215
|
+
event_messages:
|
|
216
|
+
type: optional<map<string, optional<ReturnEventMessageSpec>>>
|
|
217
|
+
docs: Map of event messages associated with this config.
|
|
218
|
+
timeouts:
|
|
219
|
+
type: optional<map<string, optional<ReturnTimeoutSpec>>>
|
|
220
|
+
docs: Map of timeouts associated with this config.
|
|
221
|
+
ReturnEllmModel:
|
|
222
|
+
docs: A specific eLLM Model configuration
|
|
223
|
+
properties:
|
|
224
|
+
allow_short_responses:
|
|
225
|
+
type: boolean
|
|
226
|
+
docs: >-
|
|
227
|
+
Boolean indicating if the model is allowed to generate short
|
|
228
|
+
responses.
|
|
229
|
+
ReturnEventMessageSpec:
|
|
230
|
+
docs: A specific event message configuration to be returned from the server
|
|
231
|
+
properties:
|
|
232
|
+
enabled:
|
|
233
|
+
type: boolean
|
|
234
|
+
docs: Boolean indicating if this event message is enabled.
|
|
235
|
+
text:
|
|
236
|
+
type: optional<string>
|
|
237
|
+
docs: >-
|
|
238
|
+
Optional text that will be used as a verbatim event message. If the
|
|
239
|
+
text is null and the event message is enabled, the system will
|
|
240
|
+
generate a message based using the language model.
|
|
180
241
|
ReturnLanguageModel:
|
|
181
242
|
docs: A specific LanguageModel
|
|
182
243
|
properties:
|
|
@@ -189,6 +250,15 @@ types:
|
|
|
189
250
|
temperature:
|
|
190
251
|
type: optional<double>
|
|
191
252
|
docs: Model temperature.
|
|
253
|
+
ReturnTimeoutSpec:
|
|
254
|
+
docs: A specific timeout configuration to be returned from the server
|
|
255
|
+
properties:
|
|
256
|
+
enabled:
|
|
257
|
+
type: boolean
|
|
258
|
+
docs: Boolean indicating if this event message is enabled.
|
|
259
|
+
duration_secs:
|
|
260
|
+
type: optional<integer>
|
|
261
|
+
docs: Duration in seconds for the timeout.
|
|
192
262
|
ReturnVoice:
|
|
193
263
|
docs: A specific voice specification
|
|
194
264
|
properties:
|
|
@@ -207,6 +277,9 @@ types:
|
|
|
207
277
|
page_size:
|
|
208
278
|
type: integer
|
|
209
279
|
docs: The number of results returned per page.
|
|
280
|
+
total_pages:
|
|
281
|
+
type: integer
|
|
282
|
+
docs: The total number of pages in the collection
|
|
210
283
|
tools_page:
|
|
211
284
|
docs: List of tools returned for the specified page number and page size.
|
|
212
285
|
type: list<optional<ReturnUserDefinedTool>>
|
|
@@ -219,6 +292,9 @@ types:
|
|
|
219
292
|
page_size:
|
|
220
293
|
type: integer
|
|
221
294
|
docs: The number of results returned per page.
|
|
295
|
+
total_pages:
|
|
296
|
+
type: integer
|
|
297
|
+
docs: The total number of pages in the collection
|
|
222
298
|
prompts_page:
|
|
223
299
|
docs: List of prompts returned for the specified page number and page size.
|
|
224
300
|
type: list<optional<ReturnPrompt>>
|
|
@@ -231,6 +307,9 @@ types:
|
|
|
231
307
|
page_size:
|
|
232
308
|
type: optional<integer>
|
|
233
309
|
docs: The number of results returned per page.
|
|
310
|
+
total_pages:
|
|
311
|
+
type: integer
|
|
312
|
+
docs: The total number of pages in the collection
|
|
234
313
|
configs_page:
|
|
235
314
|
type: optional<list<ReturnConfig>>
|
|
236
315
|
docs: List of prompts returned for the specified page number and page size.
|
|
@@ -290,6 +369,12 @@ types:
|
|
|
290
369
|
page_size:
|
|
291
370
|
type: integer
|
|
292
371
|
docs: The number of results returned per page.
|
|
372
|
+
total_pages:
|
|
373
|
+
type: integer
|
|
374
|
+
docs: The total number of pages in the collection
|
|
375
|
+
pagination_direction:
|
|
376
|
+
type: string
|
|
377
|
+
docs: The direction of the pagination (ASC or DESC).
|
|
293
378
|
chats_page:
|
|
294
379
|
docs: >-
|
|
295
380
|
List of chats and their metadata returned for the specified page
|
|
@@ -361,6 +446,9 @@ types:
|
|
|
361
446
|
docs: >-
|
|
362
447
|
The timestamp when the chat ended, formatted as a Unix epoch
|
|
363
448
|
milliseconds.
|
|
449
|
+
pagination_direction:
|
|
450
|
+
type: string
|
|
451
|
+
docs: The direction of the pagination (ASC or DESC).
|
|
364
452
|
events_page:
|
|
365
453
|
docs: List of chat events with the specified page number and page size.
|
|
366
454
|
type: list<ReturnChatEvent>
|
|
@@ -373,6 +461,9 @@ types:
|
|
|
373
461
|
page_size:
|
|
374
462
|
type: integer
|
|
375
463
|
docs: The number of results returned per page.
|
|
464
|
+
total_pages:
|
|
465
|
+
type: integer
|
|
466
|
+
docs: The total number of pages in the collection
|
|
376
467
|
config: optional<ReturnConfigSpec>
|
|
377
468
|
ReturnActiveChatCount:
|
|
378
469
|
docs: A description of current chat chat sessions for a user
|
|
@@ -403,30 +494,53 @@ types:
|
|
|
403
494
|
total_tag_active_chats:
|
|
404
495
|
type: integer
|
|
405
496
|
docs: The total number of active chats for this user with the specified tag.
|
|
406
|
-
|
|
407
|
-
docs:
|
|
408
|
-
A paginated list of chat events that occurred across chats in this
|
|
409
|
-
chat_group from the server
|
|
497
|
+
ReturnChatGroup:
|
|
498
|
+
docs: A description of chat_group and its status
|
|
410
499
|
properties:
|
|
411
500
|
id:
|
|
412
501
|
type: string
|
|
413
502
|
docs: >-
|
|
414
503
|
Identifier for the chat group. Any chat resumed from this chat will
|
|
415
504
|
have the same chat_group_id. Formatted as a UUID.
|
|
505
|
+
first_start_timestamp:
|
|
506
|
+
type: integer
|
|
507
|
+
docs: >-
|
|
508
|
+
The timestamp when the first chat in this chat group started,
|
|
509
|
+
formatted as a Unix epoch milliseconds.
|
|
510
|
+
most_recent_start_timestamp:
|
|
511
|
+
type: integer
|
|
512
|
+
docs: >-
|
|
513
|
+
The timestamp when the most recent chat in this chat group started,
|
|
514
|
+
formatted as a Unix epoch milliseconds.
|
|
515
|
+
most_recent_chat_id:
|
|
516
|
+
type: optional<string>
|
|
517
|
+
docs: >-
|
|
518
|
+
The chat_id of the most recent chat in this chat group. Formatted as a
|
|
519
|
+
UUID.
|
|
520
|
+
num_chats:
|
|
521
|
+
type: integer
|
|
522
|
+
docs: The total number of chats in this chat group.
|
|
523
|
+
active: optional<boolean>
|
|
524
|
+
ReturnPagedChatGroups:
|
|
525
|
+
docs: A paginated list of chat_groups returned from the server
|
|
526
|
+
properties:
|
|
416
527
|
page_number:
|
|
417
528
|
type: integer
|
|
418
529
|
docs: The page number of the returned results.
|
|
419
530
|
page_size:
|
|
420
531
|
type: integer
|
|
421
532
|
docs: The number of results returned per page.
|
|
533
|
+
total_pages:
|
|
534
|
+
type: integer
|
|
535
|
+
docs: The total number of pages in the collection
|
|
422
536
|
pagination_direction:
|
|
423
537
|
type: string
|
|
424
538
|
docs: The direction of the pagination (ASC or DESC).
|
|
425
|
-
|
|
539
|
+
chat_groups_page:
|
|
426
540
|
docs: >-
|
|
427
|
-
List of
|
|
428
|
-
size.
|
|
429
|
-
type: list<
|
|
541
|
+
List of chat_groups and their metadata returned for the specified page
|
|
542
|
+
number and page size.
|
|
543
|
+
type: list<ReturnChatGroup>
|
|
430
544
|
ReturnChatGroupPagedChats:
|
|
431
545
|
docs: >-
|
|
432
546
|
A description of chat_group and its status with a paginated list of each
|
|
@@ -456,53 +570,45 @@ types:
|
|
|
456
570
|
page_size:
|
|
457
571
|
type: integer
|
|
458
572
|
docs: The number of results returned per page.
|
|
573
|
+
total_pages:
|
|
574
|
+
type: integer
|
|
575
|
+
docs: The total number of pages in the collection
|
|
576
|
+
pagination_direction:
|
|
577
|
+
type: string
|
|
578
|
+
docs: The direction of the pagination (ASC or DESC).
|
|
459
579
|
chats_page:
|
|
460
580
|
docs: >-
|
|
461
581
|
List of chats and their metadata returned for the specified page
|
|
462
582
|
number and page size.
|
|
463
583
|
type: list<ReturnChat>
|
|
464
584
|
active: optional<boolean>
|
|
465
|
-
|
|
466
|
-
docs:
|
|
585
|
+
ReturnChatGroupPagedEvents:
|
|
586
|
+
docs: >-
|
|
587
|
+
A paginated list of chat events that occurred across chats in this
|
|
588
|
+
chat_group from the server
|
|
467
589
|
properties:
|
|
468
590
|
id:
|
|
469
591
|
type: string
|
|
470
592
|
docs: >-
|
|
471
593
|
Identifier for the chat group. Any chat resumed from this chat will
|
|
472
594
|
have the same chat_group_id. Formatted as a UUID.
|
|
473
|
-
first_start_timestamp:
|
|
474
|
-
type: integer
|
|
475
|
-
docs: >-
|
|
476
|
-
The timestamp when the first chat in this chat group started,
|
|
477
|
-
formatted as a Unix epoch milliseconds.
|
|
478
|
-
most_recent_start_timestamp:
|
|
479
|
-
type: integer
|
|
480
|
-
docs: >-
|
|
481
|
-
The timestamp when the most recent chat in this chat group started,
|
|
482
|
-
formatted as a Unix epoch milliseconds.
|
|
483
|
-
most_recent_chat_id:
|
|
484
|
-
type: optional<string>
|
|
485
|
-
docs: >-
|
|
486
|
-
The chat_id of the most recent chat in this chat group. Formatted as a
|
|
487
|
-
UUID.
|
|
488
|
-
num_chats:
|
|
489
|
-
type: integer
|
|
490
|
-
docs: The total number of chats in this chat group.
|
|
491
|
-
active: optional<boolean>
|
|
492
|
-
ReturnPagedChatGroups:
|
|
493
|
-
docs: A paginated list of chat_groups returned from the server
|
|
494
|
-
properties:
|
|
495
595
|
page_number:
|
|
496
596
|
type: integer
|
|
497
597
|
docs: The page number of the returned results.
|
|
498
598
|
page_size:
|
|
499
599
|
type: integer
|
|
500
600
|
docs: The number of results returned per page.
|
|
501
|
-
|
|
601
|
+
total_pages:
|
|
602
|
+
type: integer
|
|
603
|
+
docs: The total number of pages in the collection
|
|
604
|
+
pagination_direction:
|
|
605
|
+
type: string
|
|
606
|
+
docs: The direction of the pagination (ASC or DESC).
|
|
607
|
+
events_page:
|
|
502
608
|
docs: >-
|
|
503
|
-
List of
|
|
504
|
-
|
|
505
|
-
type: list<
|
|
609
|
+
List of chat_events returned for the specified page number and page
|
|
610
|
+
size.
|
|
611
|
+
type: list<ReturnChatEvent>
|
|
506
612
|
AssistantEnd:
|
|
507
613
|
docs: When provided, the output is an assistant end message.
|
|
508
614
|
properties:
|
|
@@ -515,7 +621,7 @@ types:
|
|
|
515
621
|
type: literal<"assistant_end">
|
|
516
622
|
docs: >-
|
|
517
623
|
The type of message sent through the socket; for an Assistant End
|
|
518
|
-
message, this must be
|
|
624
|
+
message, this must be `assistant_end`.
|
|
519
625
|
AssistantInput:
|
|
520
626
|
docs: When provided, the input is spoken by EVI.
|
|
521
627
|
properties:
|
|
@@ -531,7 +637,7 @@ types:
|
|
|
531
637
|
type: literal<"assistant_input">
|
|
532
638
|
docs: >-
|
|
533
639
|
The type of message sent through the socket; for an Assistant Input
|
|
534
|
-
message, this must be
|
|
640
|
+
message, this must be `assistant_input`.
|
|
535
641
|
AssistantMessage:
|
|
536
642
|
docs: When provided, the output is an assistant message.
|
|
537
643
|
properties:
|
|
@@ -556,7 +662,7 @@ types:
|
|
|
556
662
|
type: literal<"assistant_message">
|
|
557
663
|
docs: >-
|
|
558
664
|
The type of message sent through the socket; for an Assistant Message,
|
|
559
|
-
this must be
|
|
665
|
+
this must be `assistant_message`.
|
|
560
666
|
AudioConfiguration:
|
|
561
667
|
properties:
|
|
562
668
|
channels:
|
|
@@ -585,7 +691,7 @@ types:
|
|
|
585
691
|
type: literal<"audio_input">
|
|
586
692
|
docs: >-
|
|
587
693
|
The type of message sent through the socket; for an Audio Input
|
|
588
|
-
message, this must be
|
|
694
|
+
message, this must be `audio_input`.
|
|
589
695
|
AudioOutput:
|
|
590
696
|
docs: When provided, the output is audio.
|
|
591
697
|
properties:
|
|
@@ -606,7 +712,7 @@ types:
|
|
|
606
712
|
type: literal<"audio_output">
|
|
607
713
|
docs: >-
|
|
608
714
|
The type of message sent through the socket; for an Audio Output
|
|
609
|
-
message, this must be
|
|
715
|
+
message, this must be `audio_output`.
|
|
610
716
|
BuiltInTool: literal<"web_search">
|
|
611
717
|
BuiltinToolConfig:
|
|
612
718
|
properties:
|
|
@@ -650,7 +756,7 @@ types:
|
|
|
650
756
|
type: literal<"chat_metadata">
|
|
651
757
|
docs: >-
|
|
652
758
|
The type of message sent through the socket; for a Chat Metadata
|
|
653
|
-
message, this must be
|
|
759
|
+
message, this must be `chat_metadata`.
|
|
654
760
|
Context:
|
|
655
761
|
properties:
|
|
656
762
|
text:
|
|
@@ -715,7 +821,7 @@ types:
|
|
|
715
821
|
Tiredness: double
|
|
716
822
|
Triumph: double
|
|
717
823
|
Encoding: literal<"linear16">
|
|
718
|
-
|
|
824
|
+
Error:
|
|
719
825
|
docs: When provided, the output is an error message.
|
|
720
826
|
properties:
|
|
721
827
|
code:
|
|
@@ -736,7 +842,7 @@ types:
|
|
|
736
842
|
type: literal<"error">
|
|
737
843
|
docs: >-
|
|
738
844
|
The type of message sent through the socket; for a Web Socket Error
|
|
739
|
-
message, this must be
|
|
845
|
+
message, this must be `error`.
|
|
740
846
|
ErrorLevel: literal<"warn">
|
|
741
847
|
Inference:
|
|
742
848
|
properties:
|
|
@@ -762,10 +868,10 @@ types:
|
|
|
762
868
|
Used to manage conversational state, correlate frontend and backend
|
|
763
869
|
data, and persist conversations across EVI sessions.
|
|
764
870
|
type:
|
|
765
|
-
type:
|
|
871
|
+
type: literal<"pause_assistant_message">
|
|
766
872
|
docs: >-
|
|
767
873
|
The type of message sent through the socket; for a Pause Assistant
|
|
768
|
-
message, this must be
|
|
874
|
+
message, this must be `pause_assistant_message`.
|
|
769
875
|
ProsodyInference:
|
|
770
876
|
properties:
|
|
771
877
|
scores: EmotionScores
|
|
@@ -780,10 +886,10 @@ types:
|
|
|
780
886
|
Used to manage conversational state, correlate frontend and backend
|
|
781
887
|
data, and persist conversations across EVI sessions.
|
|
782
888
|
type:
|
|
783
|
-
type:
|
|
889
|
+
type: literal<"resume_assistant_message">
|
|
784
890
|
docs: >-
|
|
785
891
|
The type of message sent through the socket; for a Resume Assistant
|
|
786
|
-
message, this must be
|
|
892
|
+
message, this must be `resume_assistant_message`.
|
|
787
893
|
Role:
|
|
788
894
|
enum:
|
|
789
895
|
- assistant
|
|
@@ -800,6 +906,9 @@ types:
|
|
|
800
906
|
builtin_tools:
|
|
801
907
|
type: optional<list<BuiltinToolConfig>>
|
|
802
908
|
docs: List of builtin tools to enable.
|
|
909
|
+
context:
|
|
910
|
+
type: optional<Context>
|
|
911
|
+
docs: User context to inject. Set to null to disable context injection.
|
|
803
912
|
custom_session_id:
|
|
804
913
|
type: optional<string>
|
|
805
914
|
docs: >-
|
|
@@ -820,7 +929,7 @@ types:
|
|
|
820
929
|
type: literal<"session_settings">
|
|
821
930
|
docs: >-
|
|
822
931
|
The type of message sent through the socket; for a Session Settings
|
|
823
|
-
message, this must be
|
|
932
|
+
message, this must be `session_settings`.
|
|
824
933
|
Tool:
|
|
825
934
|
properties:
|
|
826
935
|
description:
|
|
@@ -861,13 +970,13 @@ types:
|
|
|
861
970
|
type: string
|
|
862
971
|
docs: ID of the tool call.
|
|
863
972
|
tool_type:
|
|
864
|
-
type: ToolType
|
|
973
|
+
type: optional<ToolType>
|
|
865
974
|
docs: Type of tool called, either 'builtin' or 'function'.
|
|
866
975
|
type:
|
|
867
|
-
type:
|
|
976
|
+
type: literal<"tool_call">
|
|
868
977
|
docs: >-
|
|
869
978
|
The type of message sent through the socket; for a Tool Call message,
|
|
870
|
-
this must be
|
|
979
|
+
this must be `tool_call`.
|
|
871
980
|
ToolErrorMessage:
|
|
872
981
|
docs: When provided, the output is a function call error.
|
|
873
982
|
properties:
|
|
@@ -895,10 +1004,10 @@ types:
|
|
|
895
1004
|
type: optional<ToolType>
|
|
896
1005
|
docs: Type of tool called, either 'builtin' or 'function'.
|
|
897
1006
|
type:
|
|
898
|
-
type:
|
|
1007
|
+
type: literal<"tool_error">
|
|
899
1008
|
docs: >-
|
|
900
1009
|
The type of message sent through the socket; for a Tool Error message,
|
|
901
|
-
this must be
|
|
1010
|
+
this must be `tool_error`.
|
|
902
1011
|
ToolResponseMessage:
|
|
903
1012
|
docs: When provided, the output is a function call response.
|
|
904
1013
|
properties:
|
|
@@ -916,10 +1025,10 @@ types:
|
|
|
916
1025
|
tool_name: optional<string>
|
|
917
1026
|
tool_type: optional<ToolType>
|
|
918
1027
|
type:
|
|
919
|
-
type:
|
|
1028
|
+
type: literal<"tool_response">
|
|
920
1029
|
docs: >-
|
|
921
1030
|
The type of message sent through the socket; for a Tool Response
|
|
922
|
-
message, this must be
|
|
1031
|
+
message, this must be `tool_response`.
|
|
923
1032
|
ToolType:
|
|
924
1033
|
enum:
|
|
925
1034
|
- builtin
|
|
@@ -939,7 +1048,7 @@ types:
|
|
|
939
1048
|
type: literal<"user_input">
|
|
940
1049
|
docs: >-
|
|
941
1050
|
The type of message sent through the socket; for a User Input message,
|
|
942
|
-
this must be
|
|
1051
|
+
this must be `user_input`.
|
|
943
1052
|
UserInterruption:
|
|
944
1053
|
docs: When provided, the output is an interruption.
|
|
945
1054
|
properties:
|
|
@@ -955,7 +1064,7 @@ types:
|
|
|
955
1064
|
type: literal<"user_interruption">
|
|
956
1065
|
docs: >-
|
|
957
1066
|
The type of message sent through the socket; for a User Interruption
|
|
958
|
-
message, this must be
|
|
1067
|
+
message, this must be `user_interruption`.
|
|
959
1068
|
UserMessage:
|
|
960
1069
|
docs: When provided, the output is a user message.
|
|
961
1070
|
properties:
|
|
@@ -976,13 +1085,8 @@ types:
|
|
|
976
1085
|
time:
|
|
977
1086
|
type: MillisecondInterval
|
|
978
1087
|
docs: Start and End time of user message.
|
|
979
|
-
type:
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
properties:
|
|
985
|
-
type: optional<literal<"text_input">>
|
|
986
|
-
FunctionCallResponseInput:
|
|
987
|
-
properties:
|
|
988
|
-
type: optional<literal<"function_call_response">>
|
|
1088
|
+
type:
|
|
1089
|
+
type: literal<"user_message">
|
|
1090
|
+
docs: >-
|
|
1091
|
+
The type of message sent through the socket; for a User message, this
|
|
1092
|
+
must be `user_message`.
|
|
@@ -7,11 +7,6 @@ channel:
|
|
|
7
7
|
docs: >-
|
|
8
8
|
Access token used for authenticating the client. If not provided, an
|
|
9
9
|
`api_key` must be provided to authenticate.
|
|
10
|
-
api_key:
|
|
11
|
-
type: optional<string>
|
|
12
|
-
docs: >-
|
|
13
|
-
API key used for authenticating the client. If not provided, an
|
|
14
|
-
`access_token` must be provided to authenticate.
|
|
15
10
|
config_id:
|
|
16
11
|
type: optional<string>
|
|
17
12
|
docs: The unique identifier for the EVI configuration to be used.
|
|
@@ -21,6 +16,11 @@ channel:
|
|
|
21
16
|
resumed_chat_group_id:
|
|
22
17
|
type: optional<string>
|
|
23
18
|
docs: The unique identifier for a chat group. Used to resume a previous chat.
|
|
19
|
+
api_key:
|
|
20
|
+
type: optional<string>
|
|
21
|
+
docs: >-
|
|
22
|
+
API key used for authenticating the client. If not provided, an
|
|
23
|
+
`access_token` must be provided to authenticate.
|
|
24
24
|
messages:
|
|
25
25
|
subscribe:
|
|
26
26
|
origin: server
|
|
@@ -47,7 +47,7 @@ types:
|
|
|
47
47
|
- root.AssistantMessage
|
|
48
48
|
- root.AudioOutput
|
|
49
49
|
- root.ChatMetadata
|
|
50
|
-
- root.
|
|
50
|
+
- root.Error
|
|
51
51
|
- root.UserInterruption
|
|
52
52
|
- root.UserMessage
|
|
53
53
|
- root.ToolCallMessage
|
|
@@ -18,6 +18,12 @@ service:
|
|
|
18
18
|
page_size:
|
|
19
19
|
type: optional<integer>
|
|
20
20
|
docs: The maximum number of results to include per page.
|
|
21
|
+
ascending_order:
|
|
22
|
+
type: optional<boolean>
|
|
23
|
+
docs: >-
|
|
24
|
+
Boolean to indicate if the results should be paginated in
|
|
25
|
+
chronological order or reverse-chronological order. Defaults to
|
|
26
|
+
true.
|
|
21
27
|
response:
|
|
22
28
|
docs: Success
|
|
23
29
|
type: root.ReturnPagedChatGroups
|
|
@@ -26,6 +32,8 @@ service:
|
|
|
26
32
|
body:
|
|
27
33
|
page_number: 1
|
|
28
34
|
page_size: 1
|
|
35
|
+
total_pages: 1
|
|
36
|
+
pagination_direction: pagination_direction
|
|
29
37
|
chat_groups_page:
|
|
30
38
|
- id: id
|
|
31
39
|
first_start_timestamp: 1
|
|
@@ -68,6 +76,7 @@ service:
|
|
|
68
76
|
id: id
|
|
69
77
|
page_number: 1
|
|
70
78
|
page_size: 1
|
|
79
|
+
total_pages: 1
|
|
71
80
|
pagination_direction: pagination_direction
|
|
72
81
|
events_page:
|
|
73
82
|
- id: id
|
|
@@ -20,7 +20,10 @@ service:
|
|
|
20
20
|
docs: The maximum number of results to include per page.
|
|
21
21
|
ascending_order:
|
|
22
22
|
type: optional<boolean>
|
|
23
|
-
docs:
|
|
23
|
+
docs: >-
|
|
24
|
+
Boolean to indicate if the results should be paginated in
|
|
25
|
+
chronological order or reverse-chronological order. Defaults to
|
|
26
|
+
true.
|
|
24
27
|
response:
|
|
25
28
|
docs: Success
|
|
26
29
|
type: root.ReturnPagedChats
|
|
@@ -29,6 +32,8 @@ service:
|
|
|
29
32
|
body:
|
|
30
33
|
page_number: 1
|
|
31
34
|
page_size: 1
|
|
35
|
+
total_pages: 1
|
|
36
|
+
pagination_direction: pagination_direction
|
|
32
37
|
chats_page:
|
|
33
38
|
- id: id
|
|
34
39
|
chat_group_id: chat_group_id
|
|
@@ -58,6 +63,12 @@ service:
|
|
|
58
63
|
page_number:
|
|
59
64
|
type: optional<integer>
|
|
60
65
|
docs: The page number of the results to return.
|
|
66
|
+
ascending_order:
|
|
67
|
+
type: optional<boolean>
|
|
68
|
+
docs: >-
|
|
69
|
+
Boolean to indicate if the results should be paginated in
|
|
70
|
+
chronological order or reverse-chronological order. Defaults to
|
|
71
|
+
true.
|
|
61
72
|
response:
|
|
62
73
|
docs: Success
|
|
63
74
|
type: root.ReturnChatPagedEvents
|
|
@@ -72,6 +83,7 @@ service:
|
|
|
72
83
|
status: status
|
|
73
84
|
start_timestamp: 1
|
|
74
85
|
end_timestamp: 1
|
|
86
|
+
pagination_direction: pagination_direction
|
|
75
87
|
events_page:
|
|
76
88
|
- id: id
|
|
77
89
|
chat_id: chat_id
|
|
@@ -84,6 +96,7 @@ service:
|
|
|
84
96
|
metadata: metadata
|
|
85
97
|
page_number: 1
|
|
86
98
|
page_size: 1
|
|
99
|
+
total_pages: 1
|
|
87
100
|
config:
|
|
88
101
|
id: id
|
|
89
102
|
version: 1
|