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.
Files changed (439) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +855 -216
  2. package/.mock/definition/empathic-voice/chatGroups.yml +383 -35
  3. package/.mock/definition/empathic-voice/chats.yml +393 -44
  4. package/.mock/definition/empathic-voice/configs.yml +437 -228
  5. package/.mock/definition/empathic-voice/prompts.yml +258 -83
  6. package/.mock/definition/empathic-voice/tools.yml +119 -23
  7. package/.mock/definition/expression-measurement/__package__.yml +203 -59
  8. package/.mock/definition/expression-measurement/batch.yml +64 -35
  9. package/.mock/fern.config.json +1 -1
  10. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
  11. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
  12. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
  13. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
  14. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
  15. package/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
  16. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
  17. package/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
  18. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
  19. package/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
  20. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  21. package/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
  22. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
  23. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
  24. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
  25. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
  26. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
  27. package/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
  28. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
  29. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
  30. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
  31. package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
  32. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  33. package/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
  34. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
  35. package/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
  36. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  37. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  38. package/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  39. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  40. package/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  41. package/api/resources/empathicVoice/types/AudioInput.d.ts +4 -2
  42. package/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  43. package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
  44. package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  45. package/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  46. package/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  47. package/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  48. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  49. package/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  50. package/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  51. package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  52. package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  53. package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  54. package/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  55. package/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  56. package/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  57. package/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  58. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  59. package/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  60. package/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  61. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  62. package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  63. package/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  64. package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  65. package/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  66. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  67. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  68. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  69. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  70. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  71. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  72. package/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  73. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  74. package/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  75. package/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  76. package/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  77. package/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  78. package/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  79. package/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  80. package/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  81. package/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  82. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  83. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  84. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  85. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  86. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  87. package/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  88. package/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  89. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  90. package/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  91. package/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  92. package/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  93. package/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  94. package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  95. package/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  96. package/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  97. package/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  98. package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  99. package/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  100. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  101. package/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  102. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  103. package/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  104. package/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  105. package/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  106. package/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  107. package/api/resources/empathicVoice/types/index.d.ts +14 -0
  108. package/api/resources/empathicVoice/types/index.js +14 -0
  109. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -4
  110. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
  111. package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
  112. package/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
  113. package/api/resources/expressionMeasurement/types/{UnionJobJobInference.d.ts → CustomModelsInferenceJob.d.ts} +2 -1
  114. package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → CustomModelsTrainingJob.d.ts} +2 -1
  115. package/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
  116. package/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
  117. package/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
  118. package/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
  119. package/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
  120. package/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
  121. package/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
  122. package/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
  123. package/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
  124. package/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
  125. package/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
  126. package/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
  127. package/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
  128. package/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
  129. package/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
  130. package/api/resources/expressionMeasurement/types/index.d.ts +4 -4
  131. package/api/resources/expressionMeasurement/types/index.js +4 -4
  132. package/api/resources/index.d.ts +1 -1
  133. package/api/resources/index.js +2 -2
  134. package/core/index.d.ts +1 -0
  135. package/core/index.js +1 -0
  136. package/core/pagination/Page.d.ts +29 -0
  137. package/core/pagination/Page.js +94 -0
  138. package/core/pagination/Pageable.d.ts +12 -0
  139. package/core/pagination/Pageable.js +10 -0
  140. package/core/pagination/index.d.ts +2 -0
  141. package/core/pagination/index.js +7 -0
  142. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +12 -3
  143. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +14 -5
  144. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +12 -4
  145. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +16 -5
  146. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +13 -5
  147. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +129 -97
  148. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.d.ts +12 -4
  149. package/dist/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.d.ts +12 -4
  150. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +96 -20
  151. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +105 -29
  152. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.d.ts +7 -3
  153. package/dist/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.d.ts +11 -4
  154. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +42 -4
  155. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.d.ts +1 -1
  156. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +47 -4
  157. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.d.ts +4 -2
  158. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +41 -23
  159. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +111 -80
  160. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +10 -4
  161. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.d.ts +1 -1
  162. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +10 -3
  163. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.d.ts +4 -2
  164. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.d.ts +7 -3
  165. package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.d.ts +11 -4
  166. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +23 -11
  167. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +93 -68
  168. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.d.ts +8 -4
  169. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.d.ts +8 -4
  170. package/dist/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.d.ts +1 -1
  171. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.d.ts +7 -3
  172. package/dist/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.d.ts +7 -3
  173. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +4 -2
  174. package/dist/api/resources/empathicVoice/types/Inference.d.ts +1 -1
  175. package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
  176. package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
  177. package/dist/api/resources/empathicVoice/types/PostedEllmModel.d.ts +5 -1
  178. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpec.d.ts +6 -2
  179. package/dist/api/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +16 -2
  180. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +7 -3
  181. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +1 -1
  182. package/dist/api/resources/empathicVoice/types/PostedPromptSpec.d.ts +8 -2
  183. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +3 -1
  184. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
  185. package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
  186. package/dist/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.d.ts +7 -1
  187. package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +1 -1
  188. package/dist/api/resources/empathicVoice/types/ProsodyInference.d.ts +3 -1
  189. package/dist/api/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +4 -3
  190. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +11 -0
  191. package/dist/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +10 -0
  192. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +20 -8
  193. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +38 -9
  194. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +21 -0
  195. package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.js +12 -0
  196. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +27 -0
  197. package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +14 -0
  198. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +5 -5
  199. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -7
  200. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +13 -0
  201. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +10 -0
  202. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +38 -14
  203. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +13 -0
  204. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +10 -0
  205. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +27 -0
  206. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +14 -0
  207. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.d.ts +27 -0
  208. package/dist/api/resources/empathicVoice/types/ReturnChatStatus.js +14 -0
  209. package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +23 -6
  210. package/dist/api/resources/empathicVoice/types/ReturnConfigSpec.d.ts +8 -2
  211. package/dist/api/resources/empathicVoice/types/ReturnEllmModel.d.ts +5 -1
  212. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpec.d.ts +6 -2
  213. package/dist/api/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +16 -2
  214. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +9 -4
  215. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +15 -0
  216. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +14 -0
  217. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +18 -6
  218. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +13 -0
  219. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +10 -0
  220. package/dist/api/resources/empathicVoice/types/ReturnPagedChats.d.ts +18 -6
  221. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +13 -0
  222. package/dist/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +10 -0
  223. package/dist/api/resources/empathicVoice/types/ReturnPagedConfigs.d.ts +12 -4
  224. package/dist/api/resources/empathicVoice/types/ReturnPagedPrompts.d.ts +12 -4
  225. package/dist/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.d.ts +12 -4
  226. package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +21 -8
  227. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +11 -0
  228. package/dist/api/resources/empathicVoice/types/ReturnPromptVersionType.js +10 -0
  229. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpec.d.ts +6 -2
  230. package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +13 -1
  231. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +22 -11
  232. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +11 -0
  233. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +10 -0
  234. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +11 -0
  235. package/dist/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +10 -0
  236. package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +4 -3
  237. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.d.ts +12 -0
  238. package/dist/api/resources/empathicVoice/types/ReturnVoiceName.js +11 -0
  239. package/dist/api/resources/empathicVoice/types/index.d.ts +14 -0
  240. package/dist/api/resources/empathicVoice/types/index.js +14 -0
  241. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +4 -4
  242. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +11 -19
  243. package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.d.ts +25 -9
  244. package/dist/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.d.ts +1 -0
  245. package/{api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +2 -1
  246. package/{api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/api/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +2 -1
  247. package/dist/api/resources/expressionMeasurement/types/EmbeddingGenerationJob.d.ts +7 -0
  248. package/dist/api/resources/expressionMeasurement/types/Face.d.ts +5 -0
  249. package/dist/api/resources/expressionMeasurement/types/File_.d.ts +3 -0
  250. package/dist/api/resources/expressionMeasurement/types/Granularity.d.ts +9 -1
  251. package/dist/api/resources/expressionMeasurement/types/InferenceBaseRequest.d.ts +6 -1
  252. package/dist/api/resources/expressionMeasurement/types/InferenceJob.d.ts +12 -0
  253. package/dist/api/resources/expressionMeasurement/types/JobInference.d.ts +3 -0
  254. package/dist/api/resources/expressionMeasurement/types/Language.d.ts +5 -0
  255. package/dist/api/resources/expressionMeasurement/types/Models.d.ts +3 -0
  256. package/dist/api/resources/expressionMeasurement/types/Ner.d.ts +5 -0
  257. package/dist/api/resources/expressionMeasurement/types/Prosody.d.ts +5 -0
  258. package/dist/api/resources/expressionMeasurement/types/Transcription.d.ts +40 -0
  259. package/dist/api/resources/expressionMeasurement/types/UnionJob.d.ts +1 -15
  260. package/dist/api/resources/expressionMeasurement/types/UnionPredictResult.d.ts +1 -1
  261. package/dist/api/resources/expressionMeasurement/types/Window.d.ts +5 -0
  262. package/dist/api/resources/expressionMeasurement/types/index.d.ts +4 -4
  263. package/dist/api/resources/expressionMeasurement/types/index.js +4 -4
  264. package/dist/api/resources/index.d.ts +1 -1
  265. package/dist/api/resources/index.js +2 -2
  266. package/dist/core/index.d.ts +1 -0
  267. package/dist/core/index.js +1 -0
  268. package/dist/core/pagination/Page.d.ts +29 -0
  269. package/dist/core/pagination/Page.js +94 -0
  270. package/dist/core/pagination/Pageable.d.ts +12 -0
  271. package/dist/core/pagination/Pageable.js +10 -0
  272. package/dist/core/pagination/index.d.ts +2 -0
  273. package/dist/core/pagination/index.js +7 -0
  274. package/dist/errors/HumeError.js +1 -1
  275. package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
  276. package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
  277. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  278. package/dist/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  279. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  280. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  281. package/dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  282. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.js → dist/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js} +2 -3
  283. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  284. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  285. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  286. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  287. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  288. package/dist/serialization/resources/{expressionMeasurement/types/UnionJobJobTraining.js → empathicVoice/types/ReturnChatEventRole.js} +2 -3
  289. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  290. package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  291. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  292. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  293. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  294. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  295. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  296. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  297. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  298. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  299. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  300. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  301. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  302. package/dist/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  303. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  304. package/dist/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  305. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  306. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  307. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  308. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  309. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  310. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  311. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  312. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  313. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  314. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  315. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  316. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  317. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  318. package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  319. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  320. package/dist/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  321. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  322. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  323. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  324. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  325. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  326. package/dist/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  327. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  328. package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  329. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  330. package/dist/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  331. package/dist/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  332. package/dist/serialization/resources/empathicVoice/types/index.js +14 -0
  333. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
  334. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → dist/serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
  335. package/{serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
  336. package/dist/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
  337. package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
  338. package/dist/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
  339. package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → dist/serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
  340. package/{serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → dist/serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
  341. package/dist/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
  342. package/dist/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
  343. package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
  344. package/dist/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
  345. package/dist/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
  346. package/dist/serialization/resources/expressionMeasurement/types/index.js +4 -4
  347. package/dist/serialization/resources/index.d.ts +1 -1
  348. package/dist/serialization/resources/index.js +2 -2
  349. package/errors/HumeError.js +1 -1
  350. package/eslint.config.mjs +1 -1
  351. package/{jest.config.mjs → jest.config.js} +1 -3
  352. package/package.json +2 -2
  353. package/reference.md +608 -502
  354. package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
  355. package/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
  356. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.d.ts +2 -0
  357. package/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.js +2 -0
  358. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.d.ts +2 -1
  359. package/serialization/resources/empathicVoice/types/ReturnBuiltinTool.js +2 -1
  360. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.d.ts +10 -0
  361. package/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.js +31 -0
  362. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +2 -2
  363. package/serialization/resources/empathicVoice/types/ReturnChat.js +2 -2
  364. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +4 -2
  365. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +4 -2
  366. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.d.ts +10 -0
  367. package/serialization/resources/empathicVoice/types/ReturnChatEventRole.js +31 -0
  368. package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +10 -0
  369. package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +38 -0
  370. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +2 -1
  371. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +2 -1
  372. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.d.ts +10 -0
  373. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.js +31 -0
  374. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +4 -3
  375. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +4 -3
  376. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.d.ts +10 -0
  377. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.js +31 -0
  378. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.d.ts +10 -0
  379. package/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.js +38 -0
  380. package/serialization/resources/empathicVoice/types/ReturnChatStatus.d.ts +10 -0
  381. package/serialization/resources/empathicVoice/types/ReturnChatStatus.js +38 -0
  382. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.d.ts +2 -0
  383. package/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.js +2 -0
  384. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
  385. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
  386. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +10 -0
  387. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +38 -0
  388. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +2 -1
  389. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +2 -1
  390. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.d.ts +10 -0
  391. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.js +31 -0
  392. package/serialization/resources/empathicVoice/types/ReturnPagedChats.d.ts +2 -1
  393. package/serialization/resources/empathicVoice/types/ReturnPagedChats.js +2 -1
  394. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.d.ts +10 -0
  395. package/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.js +31 -0
  396. package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -1
  397. package/serialization/resources/empathicVoice/types/ReturnPrompt.js +2 -1
  398. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.d.ts +10 -0
  399. package/serialization/resources/empathicVoice/types/ReturnPromptVersionType.js +31 -0
  400. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.d.ts +4 -2
  401. package/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.js +4 -2
  402. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.d.ts +10 -0
  403. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.js +31 -0
  404. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.d.ts +10 -0
  405. package/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.js +31 -0
  406. package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +3 -2
  407. package/serialization/resources/empathicVoice/types/ReturnVoice.js +3 -2
  408. package/serialization/resources/empathicVoice/types/ReturnVoiceName.d.ts +10 -0
  409. package/serialization/resources/empathicVoice/types/ReturnVoiceName.js +31 -0
  410. package/serialization/resources/empathicVoice/types/index.d.ts +14 -0
  411. package/serialization/resources/empathicVoice/types/index.js +14 -0
  412. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.d.ts} +3 -2
  413. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTlInference.js → serialization/resources/expressionMeasurement/types/CustomModelsInferenceJob.js} +6 -2
  414. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts → serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.d.ts} +3 -2
  415. package/serialization/resources/expressionMeasurement/types/CustomModelsTrainingJob.js +36 -0
  416. package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.d.ts → EmbeddingGenerationJob.d.ts} +3 -2
  417. package/serialization/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → EmbeddingGenerationJob.js} +6 -2
  418. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.d.ts → serialization/resources/expressionMeasurement/types/InferenceJob.d.ts} +3 -2
  419. package/{dist/serialization/resources/expressionMeasurement/types/UnionJobJobInference.js → serialization/resources/expressionMeasurement/types/InferenceJob.js} +6 -2
  420. package/serialization/resources/expressionMeasurement/types/UnionJob.d.ts +3 -18
  421. package/serialization/resources/expressionMeasurement/types/UnionJob.js +2 -39
  422. package/serialization/resources/expressionMeasurement/types/UnionPredictResult.d.ts +2 -3
  423. package/serialization/resources/expressionMeasurement/types/UnionPredictResult.js +1 -29
  424. package/serialization/resources/expressionMeasurement/types/index.d.ts +4 -4
  425. package/serialization/resources/expressionMeasurement/types/index.js +4 -4
  426. package/serialization/resources/index.d.ts +1 -1
  427. package/serialization/resources/index.js +2 -2
  428. package/dist/api/resources/expressionMeasurement/types/UnionJobJobEmbeddingGeneration.d.ts +0 -6
  429. package/dist/api/resources/expressionMeasurement/types/UnionJobJobInference.d.ts +0 -6
  430. package/dist/api/resources/expressionMeasurement/types/UnionJobJobTlInference.d.ts +0 -6
  431. package/dist/api/resources/expressionMeasurement/types/UnionJobJobTraining.d.ts +0 -6
  432. /package/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
  433. /package/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
  434. /package/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
  435. /package/api/resources/expressionMeasurement/types/{UnionJobJobTraining.js → InferenceJob.js} +0 -0
  436. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobEmbeddingGeneration.js → CustomModelsInferenceJob.js} +0 -0
  437. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobInference.js → CustomModelsTrainingJob.js} +0 -0
  438. /package/dist/api/resources/expressionMeasurement/types/{UnionJobJobTlInference.js → EmbeddingGenerationJob.js} +0 -0
  439. /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: The page number of the results to return.
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: The maximum number of results to include per page.
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: Only include the most recent version of each prompt in the list.
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
- - response:
52
+ - query-parameters:
53
+ page_number: 0
54
+ page_size: 2
55
+ response:
32
56
  body:
33
- page_number: 1
34
- page_size: 1
57
+ page_number: 0
58
+ page_size: 2
35
59
  total_pages: 1
36
60
  prompts_page:
37
- - id: id
38
- version: 1
39
- version_type: version_type
40
- version_description: version_description
41
- name: name
42
- created_on: 1
43
- modified_on: 1
44
- text: 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: Description that is appended to a specific version of a Prompt.
105
+ docs: An optional description of the Prompt version.
60
106
  text:
61
107
  type: string
62
- docs: Text used for this version of the Prompt.
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: name
69
- text: 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: id
73
- version: 1
74
- version_type: version_type
75
- version_description: version_description
76
- name: name
77
- created_on: 1
78
- modified_on: 1
79
- text: text
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 tool. Formatted as a UUID.
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: The page number of the results to return.
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: The maximum number of results to include per page.
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: Only include the most recent version of each prompt in the list.
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: id
194
+ id: af699d45-2985-42cc-91b9-af9e5da3bac5
107
195
  response:
108
196
  body:
109
- page_number: 1
110
- page_size: 1
197
+ page_number: 0
198
+ page_size: 10
111
199
  total_pages: 1
112
200
  prompts_page:
113
- - id: id
114
- version: 1
115
- version_type: version_type
116
- version_description: version_description
117
- name: name
118
- created_on: 1
119
- modified_on: 1
120
- text: 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 prompt. Formatted as a UUID.
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: Description that is appended to a specific version of a Prompt.
230
+ docs: An optional description of the Prompt version.
137
231
  text:
138
232
  type: string
139
- docs: Text used for this version of the Prompt.
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: id
253
+ id: af699d45-2985-42cc-91b9-af9e5da3bac5
146
254
  request:
147
- text: 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: id
265
+ id: af699d45-2985-42cc-91b9-af9e5da3bac5
151
266
  version: 1
152
- version_type: version_type
153
- version_description: version_description
154
- name: name
155
- created_on: 1
156
- modified_on: 1
157
- text: 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 prompt. Formatted as a UUID.
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: 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 prompt. Formatted as a UUID.
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 prompt. Formatted as a UUID.
322
+ docs: Identifier for a Prompt. Formatted as a UUID.
197
323
  version:
198
324
  type: integer
199
- docs: Version number for a prompt. Version numbers should be integers.
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: id
207
- version: 1
344
+ id: af699d45-2985-42cc-91b9-af9e5da3bac5
345
+ version: 0
208
346
  response:
209
347
  body:
210
- id: id
211
- version: 1
212
- version_type: version_type
213
- version_description: version_description
214
- name: name
215
- created_on: 1
216
- modified_on: 1
217
- text: 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 prompt. Formatted as a UUID.
369
+ docs: Identifier for a Prompt. Formatted as a UUID.
226
370
  version:
227
371
  type: integer
228
- docs: Version number for a prompt. Version numbers should be integers.
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: 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 prompt. Formatted as a UUID.
397
+ docs: Identifier for a Prompt. Formatted as a UUID.
242
398
  version:
243
399
  type: integer
244
- docs: Version number for a prompt. Version numbers should be integers.
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: Description that is appended to a specific version of a Prompt.
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: 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: id
432
+ id: af699d45-2985-42cc-91b9-af9e5da3bac5
264
433
  version: 1
265
- version_type: version_type
266
- version_description: version_description
267
- name: name
268
- created_on: 1
269
- modified_on: 1
270
- text: 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>