hume 0.8.4 → 0.8.6
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 +855 -216
- package/.mock/definition/empathic-voice/chatGroups.yml +383 -35
- package/.mock/definition/empathic-voice/chats.yml +393 -44
- package/.mock/definition/empathic-voice/configs.yml +437 -228
- package/.mock/definition/empathic-voice/prompts.yml +258 -83
- package/.mock/definition/empathic-voice/tools.yml +119 -23
- package/.mock/definition/expression-measurement/__package__.yml +203 -59
- package/.mock/definition/expression-measurement/batch.yml +64 -35
- package/.mock/fern.config.json +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
- package/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
- package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
- package/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
- package/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
- package/api/resources/empathicVoice/types/AudioInput.d.ts +4 -2
- package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
- package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
- package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
- package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
- package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
- package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
- package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
- package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
- package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
- package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
- package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
- package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
- package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
- package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
- package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
- package/api/resources/empathicVoice/types/index.d.ts +14 -0
- package/api/resources/empathicVoice/types/index.js +14 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -4
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
- package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
- package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
- package/api/resources/expressionMeasurement/types/{UnionJobJobInference.d.ts → CustomModelsInferenceJob.d.ts} +2 -1
- package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → CustomModelsTrainingJob.d.ts} +2 -1
- package/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
- package/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
- package/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
- package/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
- package/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
- package/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
- package/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
- package/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
- package/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
- package/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
- package/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
- package/api/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/api/resources/expressionMeasurement/types/index.js +4 -4
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/pagination/Page.d.ts +29 -0
- package/core/pagination/Page.js +94 -0
- package/core/pagination/Pageable.d.ts +12 -0
- package/core/pagination/Pageable.js +10 -0
- package/core/pagination/index.d.ts +2 -0
- package/core/pagination/index.js +7 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
- package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +4 -2
- package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
- package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
- package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
- package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
- package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
- package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
- package/dist/api/resources/empathicVoice/types/index.js +14 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -4
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
- package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
- package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
- package/{api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +2 -1
- package/{api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +2 -1
- package/dist/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
- package/dist/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
- package/dist/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
- package/dist/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
- package/dist/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
- package/dist/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
- package/dist/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
- package/dist/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
- package/dist/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
- package/dist/api/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/dist/api/resources/expressionMeasurement/types/index.js +4 -4
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/pagination/Page.d.ts +29 -0
- package/dist/core/pagination/Page.js +94 -0
- package/dist/core/pagination/Pageable.d.ts +12 -0
- package/dist/core/pagination/Pageable.js +10 -0
- package/dist/core/pagination/index.d.ts +2 -0
- package/dist/core/pagination/index.js +7 -0
- package/dist/errors/HumeError.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.js → dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js} +2 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
- package/dist/serialization/resources/{expressionMeasurement/types/UnionJobJobTraining.js → empathicVoice/types/ReturnChatEventRole.js} +2 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
- package/dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
- package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
- package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → dist/serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
- package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → dist/serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
- package/dist/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
- package/dist/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
- package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
- package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
- package/dist/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/dist/serialization/resources/expressionMeasurement/types/index.js +4 -4
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/errors/HumeError.js +1 -1
- package/eslint.config.mjs +1 -1
- package/{jest.config.mjs → jest.config.js} +1 -3
- package/package.json +2 -2
- package/reference.md +608 -502
- package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
- package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
- package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
- package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
- package/serialization/resources/empathicVoice/types/index.js +14 -0
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
- package/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
- package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
- package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
- package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
- package/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
- package/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
- package/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
- package/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
- package/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
- package/serialization/resources/expressionMeasurement/types/index.js +4 -4
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobEmbeddingGeneration.d.ts +0 -6
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobInference.d.ts +0 -6
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts +0 -6
- package/dist/api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts +0 -6
- /package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
- /package/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
- /package/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
- /package/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
- /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
|
@@ -8,19 +8,40 @@ service:
|
|
|
8
8
|
path: /v0/evi/prompts
|
|
9
9
|
method: GET
|
|
10
10
|
auth: true
|
|
11
|
+
pagination:
|
|
12
|
+
offset: $request.page_number
|
|
13
|
+
results: $response.prompts_page
|
|
11
14
|
display-name: List prompts
|
|
12
15
|
request:
|
|
13
16
|
name: PromptsListPromptsRequest
|
|
14
17
|
query-parameters:
|
|
15
18
|
page_number:
|
|
16
19
|
type: optional<integer>
|
|
17
|
-
docs:
|
|
20
|
+
docs: >-
|
|
21
|
+
Specifies the page number to retrieve, enabling pagination.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
This parameter uses zero-based indexing. For example, setting
|
|
25
|
+
`page_number` to 0 retrieves the first page of results (items 0-9
|
|
26
|
+
if `page_size` is 10), setting `page_number` to 1 retrieves the
|
|
27
|
+
second page (items 10-19), and so on. Defaults to 0, which
|
|
28
|
+
retrieves the first page.
|
|
18
29
|
page_size:
|
|
19
30
|
type: optional<integer>
|
|
20
|
-
docs:
|
|
31
|
+
docs: >-
|
|
32
|
+
Specifies the maximum number of results to include per page,
|
|
33
|
+
enabling pagination. The value must be between 1 and 100,
|
|
34
|
+
inclusive.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
For example, if `page_size` is set to 10, each page will include
|
|
38
|
+
up to 10 items. Defaults to 10.
|
|
21
39
|
restrict_to_most_recent:
|
|
22
40
|
type: optional<boolean>
|
|
23
|
-
docs:
|
|
41
|
+
docs: >-
|
|
42
|
+
By default, `restrict_to_most_recent` is set to true, returning
|
|
43
|
+
only the latest version of each prompt. To include all versions of
|
|
44
|
+
each prompt in the list, set `restrict_to_most_recent` to false.
|
|
24
45
|
name:
|
|
25
46
|
type: optional<string>
|
|
26
47
|
docs: Filter to only include prompts with this name.
|
|
@@ -28,20 +49,45 @@ service:
|
|
|
28
49
|
docs: Success
|
|
29
50
|
type: root.ReturnPagedPrompts
|
|
30
51
|
examples:
|
|
31
|
-
-
|
|
52
|
+
- query-parameters:
|
|
53
|
+
page_number: 0
|
|
54
|
+
page_size: 2
|
|
55
|
+
response:
|
|
32
56
|
body:
|
|
33
|
-
page_number:
|
|
34
|
-
page_size:
|
|
57
|
+
page_number: 0
|
|
58
|
+
page_size: 2
|
|
35
59
|
total_pages: 1
|
|
36
60
|
prompts_page:
|
|
37
|
-
- id:
|
|
38
|
-
version:
|
|
39
|
-
version_type:
|
|
40
|
-
version_description:
|
|
41
|
-
name:
|
|
42
|
-
created_on:
|
|
43
|
-
modified_on:
|
|
44
|
-
text:
|
|
61
|
+
- id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
62
|
+
version: 0
|
|
63
|
+
version_type: FIXED
|
|
64
|
+
version_description: ''
|
|
65
|
+
name: Weather Assistant Prompt
|
|
66
|
+
created_on: 1715267200693
|
|
67
|
+
modified_on: 1715267200693
|
|
68
|
+
text: >-
|
|
69
|
+
<role>You are an AI weather assistant providing users with
|
|
70
|
+
accurate and up-to-date weather information. Respond to user
|
|
71
|
+
queries concisely and clearly. Use simple language and avoid
|
|
72
|
+
technical jargon. Provide temperature, precipitation, wind
|
|
73
|
+
conditions, and any weather alerts. Include helpful tips if
|
|
74
|
+
severe weather is expected.</role>
|
|
75
|
+
- id: 616b2b4c-a096-4445-9c23-64058b564fc2
|
|
76
|
+
version: 0
|
|
77
|
+
version_type: FIXED
|
|
78
|
+
version_description: ''
|
|
79
|
+
name: Web Search Assistant Prompt
|
|
80
|
+
created_on: 1715267200693
|
|
81
|
+
modified_on: 1715267200693
|
|
82
|
+
text: >-
|
|
83
|
+
<role>You are an AI web search assistant designed to help
|
|
84
|
+
users find accurate and relevant information on the web.
|
|
85
|
+
Respond to user queries promptly, using the built-in web
|
|
86
|
+
search tool to retrieve up-to-date results. Present
|
|
87
|
+
information clearly and concisely, summarizing key points
|
|
88
|
+
where necessary. Use simple language and avoid technical
|
|
89
|
+
jargon. If needed, provide helpful tips for refining search
|
|
90
|
+
queries to obtain better results.</role>
|
|
45
91
|
create-prompt:
|
|
46
92
|
path: /v0/evi/prompts
|
|
47
93
|
method: POST
|
|
@@ -56,27 +102,51 @@ service:
|
|
|
56
102
|
docs: Name applied to all versions of a particular Prompt.
|
|
57
103
|
version_description:
|
|
58
104
|
type: optional<string>
|
|
59
|
-
docs:
|
|
105
|
+
docs: An optional description of the Prompt version.
|
|
60
106
|
text:
|
|
61
107
|
type: string
|
|
62
|
-
docs:
|
|
108
|
+
docs: >-
|
|
109
|
+
Instructions used to shape EVI’s behavior, responses, and style.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
You can use the Prompt to define a specific goal or role for
|
|
113
|
+
EVI, specifying how it should act or what it should focus on
|
|
114
|
+
during the conversation. For example, EVI can be instructed to
|
|
115
|
+
act as a customer support representative, a fitness coach, or a
|
|
116
|
+
travel advisor, each with its own set of behaviors and response
|
|
117
|
+
styles.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
For help writing a system prompt, see our [Prompting
|
|
121
|
+
Guide](/docs/empathic-voice-interface-evi/prompting).
|
|
63
122
|
response:
|
|
64
123
|
docs: Created
|
|
65
124
|
type: optional<root.ReturnPrompt>
|
|
66
125
|
examples:
|
|
67
126
|
- request:
|
|
68
|
-
name:
|
|
69
|
-
text:
|
|
127
|
+
name: Weather Assistant Prompt
|
|
128
|
+
text: >-
|
|
129
|
+
<role>You are an AI weather assistant providing users with
|
|
130
|
+
accurate and up-to-date weather information. Respond to user
|
|
131
|
+
queries concisely and clearly. Use simple language and avoid
|
|
132
|
+
technical jargon. Provide temperature, precipitation, wind
|
|
133
|
+
conditions, and any weather alerts. Include helpful tips if severe
|
|
134
|
+
weather is expected.</role>
|
|
70
135
|
response:
|
|
71
136
|
body:
|
|
72
|
-
id:
|
|
73
|
-
version:
|
|
74
|
-
version_type:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
137
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
138
|
+
version: 0
|
|
139
|
+
version_type: FIXED
|
|
140
|
+
name: Weather Assistant Prompt
|
|
141
|
+
created_on: 1722633247488
|
|
142
|
+
modified_on: 1722633247488
|
|
143
|
+
text: >-
|
|
144
|
+
<role>You are an AI weather assistant providing users with
|
|
145
|
+
accurate and up-to-date weather information. Respond to user
|
|
146
|
+
queries concisely and clearly. Use simple language and avoid
|
|
147
|
+
technical jargon. Provide temperature, precipitation, wind
|
|
148
|
+
conditions, and any weather alerts. Include helpful tips if
|
|
149
|
+
severe weather is expected.</role>
|
|
80
150
|
list-prompt-versions:
|
|
81
151
|
path: /v0/evi/prompts/{id}
|
|
82
152
|
method: GET
|
|
@@ -84,40 +154,64 @@ service:
|
|
|
84
154
|
path-parameters:
|
|
85
155
|
id:
|
|
86
156
|
type: string
|
|
87
|
-
docs: Identifier for a
|
|
157
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
88
158
|
display-name: List prompt versions
|
|
89
159
|
request:
|
|
90
160
|
name: PromptsListPromptVersionsRequest
|
|
91
161
|
query-parameters:
|
|
92
162
|
page_number:
|
|
93
163
|
type: optional<integer>
|
|
94
|
-
docs:
|
|
164
|
+
docs: >-
|
|
165
|
+
Specifies the page number to retrieve, enabling pagination.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
This parameter uses zero-based indexing. For example, setting
|
|
169
|
+
`page_number` to 0 retrieves the first page of results (items 0-9
|
|
170
|
+
if `page_size` is 10), setting `page_number` to 1 retrieves the
|
|
171
|
+
second page (items 10-19), and so on. Defaults to 0, which
|
|
172
|
+
retrieves the first page.
|
|
95
173
|
page_size:
|
|
96
174
|
type: optional<integer>
|
|
97
|
-
docs:
|
|
175
|
+
docs: >-
|
|
176
|
+
Specifies the maximum number of results to include per page,
|
|
177
|
+
enabling pagination. The value must be between 1 and 100,
|
|
178
|
+
inclusive.
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
For example, if `page_size` is set to 10, each page will include
|
|
182
|
+
up to 10 items. Defaults to 10.
|
|
98
183
|
restrict_to_most_recent:
|
|
99
184
|
type: optional<boolean>
|
|
100
|
-
docs:
|
|
185
|
+
docs: >-
|
|
186
|
+
By default, `restrict_to_most_recent` is set to true, returning
|
|
187
|
+
only the latest version of each prompt. To include all versions of
|
|
188
|
+
each prompt in the list, set `restrict_to_most_recent` to false.
|
|
101
189
|
response:
|
|
102
190
|
docs: Success
|
|
103
191
|
type: root.ReturnPagedPrompts
|
|
104
192
|
examples:
|
|
105
193
|
- path-parameters:
|
|
106
|
-
id:
|
|
194
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
107
195
|
response:
|
|
108
196
|
body:
|
|
109
|
-
page_number:
|
|
110
|
-
page_size:
|
|
197
|
+
page_number: 0
|
|
198
|
+
page_size: 10
|
|
111
199
|
total_pages: 1
|
|
112
200
|
prompts_page:
|
|
113
|
-
- id:
|
|
114
|
-
version:
|
|
115
|
-
version_type:
|
|
116
|
-
version_description:
|
|
117
|
-
name:
|
|
118
|
-
created_on:
|
|
119
|
-
modified_on:
|
|
120
|
-
text:
|
|
201
|
+
- id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
202
|
+
version: 0
|
|
203
|
+
version_type: FIXED
|
|
204
|
+
version_description: ''
|
|
205
|
+
name: Weather Assistant Prompt
|
|
206
|
+
created_on: 1722633247488
|
|
207
|
+
modified_on: 1722633247488
|
|
208
|
+
text: >-
|
|
209
|
+
<role>You are an AI weather assistant providing users with
|
|
210
|
+
accurate and up-to-date weather information. Respond to user
|
|
211
|
+
queries concisely and clearly. Use simple language and avoid
|
|
212
|
+
technical jargon. Provide temperature, precipitation, wind
|
|
213
|
+
conditions, and any weather alerts. Include helpful tips if
|
|
214
|
+
severe weather is expected.</role>
|
|
121
215
|
create-prompt-verison:
|
|
122
216
|
path: /v0/evi/prompts/{id}
|
|
123
217
|
method: POST
|
|
@@ -125,7 +219,7 @@ service:
|
|
|
125
219
|
path-parameters:
|
|
126
220
|
id:
|
|
127
221
|
type: string
|
|
128
|
-
docs: Identifier for a
|
|
222
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
129
223
|
display-name: Create prompt version
|
|
130
224
|
request:
|
|
131
225
|
name: PostedPromptVersion
|
|
@@ -133,28 +227,55 @@ service:
|
|
|
133
227
|
properties:
|
|
134
228
|
version_description:
|
|
135
229
|
type: optional<string>
|
|
136
|
-
docs:
|
|
230
|
+
docs: An optional description of the Prompt version.
|
|
137
231
|
text:
|
|
138
232
|
type: string
|
|
139
|
-
docs:
|
|
233
|
+
docs: >-
|
|
234
|
+
Instructions used to shape EVI’s behavior, responses, and style
|
|
235
|
+
for this version of the Prompt.
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
You can use the Prompt to define a specific goal or role for
|
|
239
|
+
EVI, specifying how it should act or what it should focus on
|
|
240
|
+
during the conversation. For example, EVI can be instructed to
|
|
241
|
+
act as a customer support representative, a fitness coach, or a
|
|
242
|
+
travel advisor, each with its own set of behaviors and response
|
|
243
|
+
styles.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
For help writing a system prompt, see our [Prompting
|
|
247
|
+
Guide](/docs/empathic-voice-interface-evi/prompting).
|
|
140
248
|
response:
|
|
141
249
|
docs: Created
|
|
142
250
|
type: optional<root.ReturnPrompt>
|
|
143
251
|
examples:
|
|
144
252
|
- path-parameters:
|
|
145
|
-
id:
|
|
253
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
146
254
|
request:
|
|
147
|
-
text:
|
|
255
|
+
text: >-
|
|
256
|
+
<role>You are an updated version of an AI weather assistant
|
|
257
|
+
providing users with accurate and up-to-date weather information.
|
|
258
|
+
Respond to user queries concisely and clearly. Use simple language
|
|
259
|
+
and avoid technical jargon. Provide temperature, precipitation,
|
|
260
|
+
wind conditions, and any weather alerts. Include helpful tips if
|
|
261
|
+
severe weather is expected.</role>
|
|
262
|
+
version_description: This is an updated version of the Weather Assistant Prompt.
|
|
148
263
|
response:
|
|
149
264
|
body:
|
|
150
|
-
id:
|
|
265
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
151
266
|
version: 1
|
|
152
|
-
version_type:
|
|
153
|
-
version_description:
|
|
154
|
-
name:
|
|
155
|
-
created_on:
|
|
156
|
-
modified_on:
|
|
157
|
-
text:
|
|
267
|
+
version_type: FIXED
|
|
268
|
+
version_description: This is an updated version of the Weather Assistant Prompt.
|
|
269
|
+
name: Weather Assistant Prompt
|
|
270
|
+
created_on: 1722633247488
|
|
271
|
+
modified_on: 1722635140150
|
|
272
|
+
text: >-
|
|
273
|
+
<role>You are an updated version of an AI weather assistant
|
|
274
|
+
providing users with accurate and up-to-date weather
|
|
275
|
+
information. Respond to user queries concisely and clearly. Use
|
|
276
|
+
simple language and avoid technical jargon. Provide temperature,
|
|
277
|
+
precipitation, wind conditions, and any weather alerts. Include
|
|
278
|
+
helpful tips if severe weather is expected.</role>
|
|
158
279
|
delete-prompt:
|
|
159
280
|
path: /v0/evi/prompts/{id}
|
|
160
281
|
method: DELETE
|
|
@@ -162,11 +283,11 @@ service:
|
|
|
162
283
|
path-parameters:
|
|
163
284
|
id:
|
|
164
285
|
type: string
|
|
165
|
-
docs: Identifier for a
|
|
286
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
166
287
|
display-name: Delete prompt
|
|
167
288
|
examples:
|
|
168
289
|
- path-parameters:
|
|
169
|
-
id:
|
|
290
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
170
291
|
update-prompt-name:
|
|
171
292
|
path: /v0/evi/prompts/{id}
|
|
172
293
|
method: PATCH
|
|
@@ -174,7 +295,7 @@ service:
|
|
|
174
295
|
path-parameters:
|
|
175
296
|
id:
|
|
176
297
|
type: string
|
|
177
|
-
docs: Identifier for a
|
|
298
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
178
299
|
display-name: Update prompt name
|
|
179
300
|
request:
|
|
180
301
|
name: PostedPromptName
|
|
@@ -186,6 +307,11 @@ service:
|
|
|
186
307
|
response:
|
|
187
308
|
docs: Success
|
|
188
309
|
type: text
|
|
310
|
+
examples:
|
|
311
|
+
- path-parameters:
|
|
312
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
313
|
+
request:
|
|
314
|
+
name: Updated Weather Assistant Prompt Name
|
|
189
315
|
get-prompt-version:
|
|
190
316
|
path: /v0/evi/prompts/{id}/version/{version}
|
|
191
317
|
method: GET
|
|
@@ -193,28 +319,46 @@ service:
|
|
|
193
319
|
path-parameters:
|
|
194
320
|
id:
|
|
195
321
|
type: string
|
|
196
|
-
docs: Identifier for a
|
|
322
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
197
323
|
version:
|
|
198
324
|
type: integer
|
|
199
|
-
docs:
|
|
325
|
+
docs: >-
|
|
326
|
+
Version number for a Prompt.
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
Prompts, as well as Configs and Tools, are versioned. This
|
|
330
|
+
versioning system supports iterative development, allowing you to
|
|
331
|
+
progressively refine prompts and revert to previous versions if
|
|
332
|
+
needed.
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
Version numbers are integer values representing different iterations
|
|
336
|
+
of the Prompt. Each update to the Prompt increments its version
|
|
337
|
+
number.
|
|
200
338
|
display-name: Get prompt version
|
|
201
339
|
response:
|
|
202
340
|
docs: Success
|
|
203
341
|
type: optional<root.ReturnPrompt>
|
|
204
342
|
examples:
|
|
205
343
|
- path-parameters:
|
|
206
|
-
id:
|
|
207
|
-
version:
|
|
344
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
345
|
+
version: 0
|
|
208
346
|
response:
|
|
209
347
|
body:
|
|
210
|
-
id:
|
|
211
|
-
version:
|
|
212
|
-
version_type:
|
|
213
|
-
version_description:
|
|
214
|
-
name:
|
|
215
|
-
created_on:
|
|
216
|
-
modified_on:
|
|
217
|
-
text:
|
|
348
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
349
|
+
version: 0
|
|
350
|
+
version_type: FIXED
|
|
351
|
+
version_description: ''
|
|
352
|
+
name: Weather Assistant Prompt
|
|
353
|
+
created_on: 1722633247488
|
|
354
|
+
modified_on: 1722633247488
|
|
355
|
+
text: >-
|
|
356
|
+
<role>You are an AI weather assistant providing users with
|
|
357
|
+
accurate and up-to-date weather information. Respond to user
|
|
358
|
+
queries concisely and clearly. Use simple language and avoid
|
|
359
|
+
technical jargon. Provide temperature, precipitation, wind
|
|
360
|
+
conditions, and any weather alerts. Include helpful tips if
|
|
361
|
+
severe weather is expected.</role>
|
|
218
362
|
delete-prompt-version:
|
|
219
363
|
path: /v0/evi/prompts/{id}/version/{version}
|
|
220
364
|
method: DELETE
|
|
@@ -222,14 +366,26 @@ service:
|
|
|
222
366
|
path-parameters:
|
|
223
367
|
id:
|
|
224
368
|
type: string
|
|
225
|
-
docs: Identifier for a
|
|
369
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
226
370
|
version:
|
|
227
371
|
type: integer
|
|
228
|
-
docs:
|
|
372
|
+
docs: >-
|
|
373
|
+
Version number for a Prompt.
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
Prompts, as well as Configs and Tools, are versioned. This
|
|
377
|
+
versioning system supports iterative development, allowing you to
|
|
378
|
+
progressively refine prompts and revert to previous versions if
|
|
379
|
+
needed.
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
Version numbers are integer values representing different iterations
|
|
383
|
+
of the Prompt. Each update to the Prompt increments its version
|
|
384
|
+
number.
|
|
229
385
|
display-name: Delete prompt version
|
|
230
386
|
examples:
|
|
231
387
|
- path-parameters:
|
|
232
|
-
id:
|
|
388
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
233
389
|
version: 1
|
|
234
390
|
update-prompt-description:
|
|
235
391
|
path: /v0/evi/prompts/{id}/version/{version}
|
|
@@ -238,10 +394,22 @@ service:
|
|
|
238
394
|
path-parameters:
|
|
239
395
|
id:
|
|
240
396
|
type: string
|
|
241
|
-
docs: Identifier for a
|
|
397
|
+
docs: Identifier for a Prompt. Formatted as a UUID.
|
|
242
398
|
version:
|
|
243
399
|
type: integer
|
|
244
|
-
docs:
|
|
400
|
+
docs: >-
|
|
401
|
+
Version number for a Prompt.
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
Prompts, as well as Configs and Tools, are versioned. This
|
|
405
|
+
versioning system supports iterative development, allowing you to
|
|
406
|
+
progressively refine prompts and revert to previous versions if
|
|
407
|
+
needed.
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
Version numbers are integer values representing different iterations
|
|
411
|
+
of the Prompt. Each update to the Prompt increments its version
|
|
412
|
+
number.
|
|
245
413
|
display-name: Update prompt description
|
|
246
414
|
request:
|
|
247
415
|
name: PostedPromptVersionDescription
|
|
@@ -249,22 +417,29 @@ service:
|
|
|
249
417
|
properties:
|
|
250
418
|
version_description:
|
|
251
419
|
type: optional<string>
|
|
252
|
-
docs:
|
|
420
|
+
docs: An optional description of the Prompt version.
|
|
253
421
|
response:
|
|
254
422
|
docs: Success
|
|
255
423
|
type: optional<root.ReturnPrompt>
|
|
256
424
|
examples:
|
|
257
425
|
- path-parameters:
|
|
258
|
-
id:
|
|
426
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
259
427
|
version: 1
|
|
260
|
-
request:
|
|
428
|
+
request:
|
|
429
|
+
version_description: This is an updated version_description.
|
|
261
430
|
response:
|
|
262
431
|
body:
|
|
263
|
-
id:
|
|
432
|
+
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
264
433
|
version: 1
|
|
265
|
-
version_type:
|
|
266
|
-
version_description: version_description
|
|
267
|
-
name:
|
|
268
|
-
created_on:
|
|
269
|
-
modified_on:
|
|
270
|
-
text:
|
|
434
|
+
version_type: FIXED
|
|
435
|
+
version_description: This is an updated version_description.
|
|
436
|
+
name: string
|
|
437
|
+
created_on: 1722633247488
|
|
438
|
+
modified_on: 1722634770585
|
|
439
|
+
text: >-
|
|
440
|
+
<role>You are an AI weather assistant providing users with
|
|
441
|
+
accurate and up-to-date weather information. Respond to user
|
|
442
|
+
queries concisely and clearly. Use simple language and avoid
|
|
443
|
+
technical jargon. Provide temperature, precipitation, wind
|
|
444
|
+
conditions, and any weather alerts. Include helpful tips if
|
|
445
|
+
severe weather is expected.</role>
|