hume 0.13.5 → 0.13.7

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 (249) hide show
  1. package/.mock/definition/api.yml +12 -0
  2. package/.mock/definition/empathic-voice/__package__.yml +2988 -0
  3. package/.mock/definition/empathic-voice/chat.yml +175 -0
  4. package/.mock/definition/empathic-voice/chatGroups.yml +627 -0
  5. package/.mock/definition/empathic-voice/chatWebhooks.yml +30 -0
  6. package/.mock/definition/empathic-voice/chats.yml +506 -0
  7. package/.mock/definition/empathic-voice/configs.yml +842 -0
  8. package/.mock/definition/empathic-voice/prompts.yml +558 -0
  9. package/.mock/definition/empathic-voice/tools.yml +626 -0
  10. package/.mock/definition/expression-measurement/__package__.yml +1 -0
  11. package/.mock/definition/expression-measurement/batch/__package__.yml +1803 -0
  12. package/.mock/definition/expression-measurement/stream/__package__.yml +113 -0
  13. package/.mock/definition/expression-measurement/stream/stream.yml +438 -0
  14. package/.mock/definition/tts/__package__.yml +718 -0
  15. package/.mock/definition/tts/streamInput.yml +84 -0
  16. package/.mock/definition/tts/voices.yml +143 -0
  17. package/.mock/fern.config.json +4 -0
  18. package/Client.js +10 -3
  19. package/api/resources/empathicVoice/types/AssistantEnd.d.ts +2 -2
  20. package/api/resources/empathicVoice/types/AssistantInput.d.ts +2 -2
  21. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +8 -8
  22. package/api/resources/empathicVoice/types/AssistantProsody.d.ts +6 -6
  23. package/api/resources/empathicVoice/types/AudioConfiguration.d.ts +2 -2
  24. package/api/resources/empathicVoice/types/AudioInput.d.ts +6 -6
  25. package/api/resources/empathicVoice/types/AudioOutput.d.ts +4 -4
  26. package/api/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
  27. package/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -2
  28. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +8 -8
  29. package/api/resources/empathicVoice/types/Context.d.ts +6 -6
  30. package/api/resources/empathicVoice/types/LanguageModelType.d.ts +7 -1
  31. package/api/resources/empathicVoice/types/LanguageModelType.js +6 -0
  32. package/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  33. package/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  34. package/api/resources/empathicVoice/types/SessionSettings.d.ts +27 -27
  35. package/api/resources/empathicVoice/types/Tool.d.ts +6 -6
  36. package/api/resources/empathicVoice/types/ToolCallMessage.d.ts +6 -6
  37. package/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +16 -16
  38. package/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +8 -8
  39. package/api/resources/empathicVoice/types/UserInput.d.ts +2 -2
  40. package/api/resources/empathicVoice/types/UserInterruption.d.ts +4 -4
  41. package/api/resources/empathicVoice/types/UserMessage.d.ts +12 -12
  42. package/api/resources/empathicVoice/types/WebSocketError.d.ts +10 -10
  43. package/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +8 -8
  44. package/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +6 -6
  45. package/api/resources/empathicVoice/types/index.d.ts +16 -16
  46. package/api/resources/empathicVoice/types/index.js +16 -16
  47. package/api/resources/index.d.ts +1 -1
  48. package/api/resources/index.js +2 -2
  49. package/api/resources/tts/client/Client.d.ts +6 -6
  50. package/api/resources/tts/client/Client.js +35 -35
  51. package/api/resources/tts/types/OctaveVersion.d.ts +4 -0
  52. package/api/resources/tts/types/OctaveVersion.js +5 -0
  53. package/api/resources/tts/types/PostedTts.d.ts +9 -8
  54. package/api/resources/tts/types/PostedUtterance.d.ts +6 -6
  55. package/api/resources/tts/types/ReturnGeneration.d.ts +5 -5
  56. package/api/resources/tts/types/ReturnTts.d.ts +1 -1
  57. package/api/resources/tts/types/Snippet.d.ts +6 -6
  58. package/api/resources/tts/types/SnippetAudioChunk.d.ts +12 -11
  59. package/api/resources/tts/types/index.d.ts +1 -0
  60. package/api/resources/tts/types/index.js +1 -0
  61. package/dist/Client.js +10 -3
  62. package/dist/api/resources/empathicVoice/types/AssistantEnd.d.ts +2 -2
  63. package/dist/api/resources/empathicVoice/types/AssistantInput.d.ts +2 -2
  64. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +8 -8
  65. package/dist/api/resources/empathicVoice/types/AssistantProsody.d.ts +6 -6
  66. package/dist/api/resources/empathicVoice/types/AudioConfiguration.d.ts +2 -2
  67. package/dist/api/resources/empathicVoice/types/AudioInput.d.ts +6 -6
  68. package/dist/api/resources/empathicVoice/types/AudioOutput.d.ts +4 -4
  69. package/dist/api/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
  70. package/dist/api/resources/empathicVoice/types/ChatMessage.d.ts +2 -2
  71. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +8 -8
  72. package/dist/api/resources/empathicVoice/types/Context.d.ts +6 -6
  73. package/dist/api/resources/empathicVoice/types/LanguageModelType.d.ts +7 -1
  74. package/dist/api/resources/empathicVoice/types/LanguageModelType.js +6 -0
  75. package/dist/api/resources/empathicVoice/types/PauseAssistantMessage.d.ts +2 -2
  76. package/dist/api/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +2 -2
  77. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +27 -27
  78. package/dist/api/resources/empathicVoice/types/Tool.d.ts +6 -6
  79. package/dist/api/resources/empathicVoice/types/ToolCallMessage.d.ts +6 -6
  80. package/dist/api/resources/empathicVoice/types/ToolErrorMessage.d.ts +16 -16
  81. package/dist/api/resources/empathicVoice/types/ToolResponseMessage.d.ts +8 -8
  82. package/dist/api/resources/empathicVoice/types/UserInput.d.ts +2 -2
  83. package/dist/api/resources/empathicVoice/types/UserInterruption.d.ts +4 -4
  84. package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +12 -12
  85. package/dist/api/resources/empathicVoice/types/WebSocketError.d.ts +10 -10
  86. package/dist/api/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +8 -8
  87. package/dist/api/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +6 -6
  88. package/dist/api/resources/empathicVoice/types/index.d.ts +16 -16
  89. package/dist/api/resources/empathicVoice/types/index.js +16 -16
  90. package/dist/api/resources/index.d.ts +1 -1
  91. package/dist/api/resources/index.js +2 -2
  92. package/dist/api/resources/tts/client/Client.d.ts +6 -6
  93. package/dist/api/resources/tts/client/Client.js +35 -35
  94. package/dist/api/resources/tts/types/OctaveVersion.d.ts +4 -0
  95. package/dist/api/resources/tts/types/OctaveVersion.js +5 -0
  96. package/dist/api/resources/tts/types/PostedTts.d.ts +9 -8
  97. package/dist/api/resources/tts/types/PostedUtterance.d.ts +6 -6
  98. package/dist/api/resources/tts/types/ReturnGeneration.d.ts +5 -5
  99. package/dist/api/resources/tts/types/ReturnTts.d.ts +1 -1
  100. package/dist/api/resources/tts/types/Snippet.d.ts +6 -6
  101. package/dist/api/resources/tts/types/SnippetAudioChunk.d.ts +12 -11
  102. package/dist/api/resources/tts/types/index.d.ts +1 -0
  103. package/dist/api/resources/tts/types/index.js +1 -0
  104. package/dist/serialization/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  105. package/dist/serialization/resources/empathicVoice/types/AssistantEnd.js +1 -1
  106. package/dist/serialization/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  107. package/dist/serialization/resources/empathicVoice/types/AssistantInput.js +1 -1
  108. package/dist/serialization/resources/empathicVoice/types/AssistantMessage.d.ts +2 -2
  109. package/dist/serialization/resources/empathicVoice/types/AssistantMessage.js +2 -2
  110. package/dist/serialization/resources/empathicVoice/types/AssistantProsody.d.ts +2 -2
  111. package/dist/serialization/resources/empathicVoice/types/AssistantProsody.js +2 -2
  112. package/dist/serialization/resources/empathicVoice/types/AudioConfiguration.d.ts +1 -1
  113. package/dist/serialization/resources/empathicVoice/types/AudioConfiguration.js +1 -1
  114. package/dist/serialization/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  115. package/dist/serialization/resources/empathicVoice/types/AudioInput.js +1 -1
  116. package/dist/serialization/resources/empathicVoice/types/AudioOutput.d.ts +2 -2
  117. package/dist/serialization/resources/empathicVoice/types/AudioOutput.js +2 -2
  118. package/dist/serialization/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
  119. package/dist/serialization/resources/empathicVoice/types/BuiltinToolConfig.js +1 -1
  120. package/dist/serialization/resources/empathicVoice/types/ChatMessage.d.ts +1 -1
  121. package/dist/serialization/resources/empathicVoice/types/ChatMessage.js +1 -1
  122. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +2 -2
  123. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +2 -2
  124. package/dist/serialization/resources/empathicVoice/types/Context.d.ts +1 -1
  125. package/dist/serialization/resources/empathicVoice/types/Context.js +1 -1
  126. package/dist/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +1 -1
  127. package/dist/serialization/resources/empathicVoice/types/LanguageModelType.js +6 -0
  128. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  129. package/dist/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  130. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  131. package/dist/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  132. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +8 -8
  133. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +8 -8
  134. package/dist/serialization/resources/empathicVoice/types/Tool.d.ts +3 -3
  135. package/dist/serialization/resources/empathicVoice/types/Tool.js +3 -3
  136. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  137. package/dist/serialization/resources/empathicVoice/types/ToolCallMessage.js +3 -3
  138. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +6 -6
  139. package/dist/serialization/resources/empathicVoice/types/ToolErrorMessage.js +6 -6
  140. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  141. package/dist/serialization/resources/empathicVoice/types/ToolResponseMessage.js +2 -2
  142. package/dist/serialization/resources/empathicVoice/types/UserInput.d.ts +1 -1
  143. package/dist/serialization/resources/empathicVoice/types/UserInput.js +1 -1
  144. package/dist/serialization/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  145. package/dist/serialization/resources/empathicVoice/types/UserInterruption.js +1 -1
  146. package/dist/serialization/resources/empathicVoice/types/UserMessage.d.ts +3 -3
  147. package/dist/serialization/resources/empathicVoice/types/UserMessage.js +3 -3
  148. package/dist/serialization/resources/empathicVoice/types/WebSocketError.d.ts +3 -3
  149. package/dist/serialization/resources/empathicVoice/types/WebSocketError.js +3 -3
  150. package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +4 -4
  151. package/dist/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +4 -4
  152. package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +3 -3
  153. package/dist/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +3 -3
  154. package/dist/serialization/resources/empathicVoice/types/index.d.ts +16 -16
  155. package/dist/serialization/resources/empathicVoice/types/index.js +16 -16
  156. package/dist/serialization/resources/index.d.ts +1 -1
  157. package/dist/serialization/resources/index.js +2 -2
  158. package/dist/serialization/resources/tts/types/OctaveVersion.d.ts +10 -0
  159. package/dist/serialization/resources/tts/types/OctaveVersion.js +41 -0
  160. package/dist/serialization/resources/tts/types/PostedTts.d.ts +5 -3
  161. package/dist/serialization/resources/tts/types/PostedTts.js +5 -3
  162. package/dist/serialization/resources/tts/types/PostedUtterance.d.ts +2 -2
  163. package/dist/serialization/resources/tts/types/PostedUtterance.js +2 -2
  164. package/dist/serialization/resources/tts/types/ReturnGeneration.d.ts +3 -3
  165. package/dist/serialization/resources/tts/types/ReturnGeneration.js +3 -3
  166. package/dist/serialization/resources/tts/types/ReturnTts.d.ts +1 -1
  167. package/dist/serialization/resources/tts/types/ReturnTts.js +1 -1
  168. package/dist/serialization/resources/tts/types/Snippet.d.ts +3 -3
  169. package/dist/serialization/resources/tts/types/Snippet.js +3 -3
  170. package/dist/serialization/resources/tts/types/SnippetAudioChunk.d.ts +7 -6
  171. package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +7 -6
  172. package/dist/serialization/resources/tts/types/index.d.ts +1 -0
  173. package/dist/serialization/resources/tts/types/index.js +1 -0
  174. package/dist/version.d.ts +1 -1
  175. package/dist/version.js +1 -1
  176. package/package.json +1 -1
  177. package/reference.md +701 -701
  178. package/serialization/resources/empathicVoice/types/AssistantEnd.d.ts +1 -1
  179. package/serialization/resources/empathicVoice/types/AssistantEnd.js +1 -1
  180. package/serialization/resources/empathicVoice/types/AssistantInput.d.ts +1 -1
  181. package/serialization/resources/empathicVoice/types/AssistantInput.js +1 -1
  182. package/serialization/resources/empathicVoice/types/AssistantMessage.d.ts +2 -2
  183. package/serialization/resources/empathicVoice/types/AssistantMessage.js +2 -2
  184. package/serialization/resources/empathicVoice/types/AssistantProsody.d.ts +2 -2
  185. package/serialization/resources/empathicVoice/types/AssistantProsody.js +2 -2
  186. package/serialization/resources/empathicVoice/types/AudioConfiguration.d.ts +1 -1
  187. package/serialization/resources/empathicVoice/types/AudioConfiguration.js +1 -1
  188. package/serialization/resources/empathicVoice/types/AudioInput.d.ts +1 -1
  189. package/serialization/resources/empathicVoice/types/AudioInput.js +1 -1
  190. package/serialization/resources/empathicVoice/types/AudioOutput.d.ts +2 -2
  191. package/serialization/resources/empathicVoice/types/AudioOutput.js +2 -2
  192. package/serialization/resources/empathicVoice/types/BuiltinToolConfig.d.ts +1 -1
  193. package/serialization/resources/empathicVoice/types/BuiltinToolConfig.js +1 -1
  194. package/serialization/resources/empathicVoice/types/ChatMessage.d.ts +1 -1
  195. package/serialization/resources/empathicVoice/types/ChatMessage.js +1 -1
  196. package/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +2 -2
  197. package/serialization/resources/empathicVoice/types/ChatMetadata.js +2 -2
  198. package/serialization/resources/empathicVoice/types/Context.d.ts +1 -1
  199. package/serialization/resources/empathicVoice/types/Context.js +1 -1
  200. package/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +1 -1
  201. package/serialization/resources/empathicVoice/types/LanguageModelType.js +6 -0
  202. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.d.ts +1 -1
  203. package/serialization/resources/empathicVoice/types/PauseAssistantMessage.js +1 -1
  204. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.d.ts +1 -1
  205. package/serialization/resources/empathicVoice/types/ResumeAssistantMessage.js +1 -1
  206. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +8 -8
  207. package/serialization/resources/empathicVoice/types/SessionSettings.js +8 -8
  208. package/serialization/resources/empathicVoice/types/Tool.d.ts +3 -3
  209. package/serialization/resources/empathicVoice/types/Tool.js +3 -3
  210. package/serialization/resources/empathicVoice/types/ToolCallMessage.d.ts +3 -3
  211. package/serialization/resources/empathicVoice/types/ToolCallMessage.js +3 -3
  212. package/serialization/resources/empathicVoice/types/ToolErrorMessage.d.ts +6 -6
  213. package/serialization/resources/empathicVoice/types/ToolErrorMessage.js +6 -6
  214. package/serialization/resources/empathicVoice/types/ToolResponseMessage.d.ts +2 -2
  215. package/serialization/resources/empathicVoice/types/ToolResponseMessage.js +2 -2
  216. package/serialization/resources/empathicVoice/types/UserInput.d.ts +1 -1
  217. package/serialization/resources/empathicVoice/types/UserInput.js +1 -1
  218. package/serialization/resources/empathicVoice/types/UserInterruption.d.ts +1 -1
  219. package/serialization/resources/empathicVoice/types/UserInterruption.js +1 -1
  220. package/serialization/resources/empathicVoice/types/UserMessage.d.ts +3 -3
  221. package/serialization/resources/empathicVoice/types/UserMessage.js +3 -3
  222. package/serialization/resources/empathicVoice/types/WebSocketError.d.ts +3 -3
  223. package/serialization/resources/empathicVoice/types/WebSocketError.js +3 -3
  224. package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.d.ts +4 -4
  225. package/serialization/resources/empathicVoice/types/WebhookEventChatEnded.js +4 -4
  226. package/serialization/resources/empathicVoice/types/WebhookEventChatStarted.d.ts +3 -3
  227. package/serialization/resources/empathicVoice/types/WebhookEventChatStarted.js +3 -3
  228. package/serialization/resources/empathicVoice/types/index.d.ts +16 -16
  229. package/serialization/resources/empathicVoice/types/index.js +16 -16
  230. package/serialization/resources/index.d.ts +1 -1
  231. package/serialization/resources/index.js +2 -2
  232. package/serialization/resources/tts/types/OctaveVersion.d.ts +10 -0
  233. package/serialization/resources/tts/types/OctaveVersion.js +41 -0
  234. package/serialization/resources/tts/types/PostedTts.d.ts +5 -3
  235. package/serialization/resources/tts/types/PostedTts.js +5 -3
  236. package/serialization/resources/tts/types/PostedUtterance.d.ts +2 -2
  237. package/serialization/resources/tts/types/PostedUtterance.js +2 -2
  238. package/serialization/resources/tts/types/ReturnGeneration.d.ts +3 -3
  239. package/serialization/resources/tts/types/ReturnGeneration.js +3 -3
  240. package/serialization/resources/tts/types/ReturnTts.d.ts +1 -1
  241. package/serialization/resources/tts/types/ReturnTts.js +1 -1
  242. package/serialization/resources/tts/types/Snippet.d.ts +3 -3
  243. package/serialization/resources/tts/types/Snippet.js +3 -3
  244. package/serialization/resources/tts/types/SnippetAudioChunk.d.ts +7 -6
  245. package/serialization/resources/tts/types/SnippetAudioChunk.js +7 -6
  246. package/serialization/resources/tts/types/index.d.ts +1 -0
  247. package/serialization/resources/tts/types/index.js +1 -0
  248. package/version.d.ts +1 -1
  249. package/version.js +1 -1
@@ -0,0 +1,627 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ list-chat-groups:
8
+ path: /v0/evi/chat_groups
9
+ method: GET
10
+ auth: true
11
+ docs: Fetches a paginated list of **Chat Groups**.
12
+ pagination:
13
+ offset: $request.page_number
14
+ results: $response.chat_groups_page
15
+ source:
16
+ openapi: evi-openapi.json
17
+ display-name: List chat_groups
18
+ request:
19
+ name: ChatGroupsListChatGroupsRequest
20
+ query-parameters:
21
+ page_number:
22
+ type: optional<integer>
23
+ default: 0
24
+ docs: >-
25
+ Specifies the page number to retrieve, enabling pagination.
26
+
27
+
28
+ This parameter uses zero-based indexing. For example, setting
29
+ `page_number` to 0 retrieves the first page of results (items 0-9
30
+ if `page_size` is 10), setting `page_number` to 1 retrieves the
31
+ second page (items 10-19), and so on. Defaults to 0, which
32
+ retrieves the first page.
33
+ page_size:
34
+ type: optional<integer>
35
+ docs: >-
36
+ Specifies the maximum number of results to include per page,
37
+ enabling pagination. The value must be between 1 and 100,
38
+ inclusive.
39
+
40
+
41
+ For example, if `page_size` is set to 10, each page will include
42
+ up to 10 items. Defaults to 10.
43
+ ascending_order:
44
+ type: optional<boolean>
45
+ docs: >-
46
+ Specifies the sorting order of the results based on their creation
47
+ date. Set to true for ascending order (chronological, with the
48
+ oldest records first) and false for descending order
49
+ (reverse-chronological, with the newest records first). Defaults
50
+ to true.
51
+ config_id:
52
+ type: optional<string>
53
+ docs: >-
54
+ The unique identifier for an EVI configuration.
55
+
56
+
57
+ Filter Chat Groups to only include Chats that used this
58
+ `config_id` in their most recent Chat.
59
+ validation:
60
+ format: uuid
61
+ response:
62
+ docs: Success
63
+ type: root.ReturnPagedChatGroups
64
+ status-code: 200
65
+ errors:
66
+ - root.BadRequestError
67
+ examples:
68
+ - query-parameters:
69
+ page_number: 0
70
+ page_size: 1
71
+ ascending_order: true
72
+ config_id: 1b60e1a0-cc59-424a-8d2c-189d354db3f3
73
+ response:
74
+ body:
75
+ page_number: 0
76
+ page_size: 1
77
+ total_pages: 1
78
+ pagination_direction: ASC
79
+ chat_groups_page:
80
+ - id: 697056f0-6c7e-487d-9bd8-9c19df79f05f
81
+ first_start_timestamp: 1721844196397
82
+ most_recent_start_timestamp: 1721861821717
83
+ active: false
84
+ most_recent_chat_id: dfdbdd4d-0ddf-418b-8fc4-80a266579d36
85
+ num_chats: 5
86
+ get-chat-group:
87
+ path: /v0/evi/chat_groups/{id}
88
+ method: GET
89
+ auth: true
90
+ docs: >-
91
+ Fetches a **ChatGroup** by ID, including a paginated list of **Chats**
92
+ associated with the **ChatGroup**.
93
+ source:
94
+ openapi: evi-openapi.json
95
+ path-parameters:
96
+ id:
97
+ type: string
98
+ docs: Identifier for a Chat Group. Formatted as a UUID.
99
+ display-name: Get chat_group
100
+ request:
101
+ name: ChatGroupsGetChatGroupRequest
102
+ query-parameters:
103
+ page_size:
104
+ type: optional<integer>
105
+ docs: >-
106
+ Specifies the maximum number of results to include per page,
107
+ enabling pagination. The value must be between 1 and 100,
108
+ inclusive.
109
+
110
+
111
+ For example, if `page_size` is set to 10, each page will include
112
+ up to 10 items. Defaults to 10.
113
+ page_number:
114
+ type: optional<integer>
115
+ default: 0
116
+ docs: >-
117
+ Specifies the page number to retrieve, enabling pagination.
118
+
119
+
120
+ This parameter uses zero-based indexing. For example, setting
121
+ `page_number` to 0 retrieves the first page of results (items 0-9
122
+ if `page_size` is 10), setting `page_number` to 1 retrieves the
123
+ second page (items 10-19), and so on. Defaults to 0, which
124
+ retrieves the first page.
125
+ ascending_order:
126
+ type: optional<boolean>
127
+ docs: >-
128
+ Specifies the sorting order of the results based on their creation
129
+ date. Set to true for ascending order (chronological, with the
130
+ oldest records first) and false for descending order
131
+ (reverse-chronological, with the newest records first). Defaults
132
+ to true.
133
+ response:
134
+ docs: Success
135
+ type: root.ReturnChatGroupPagedChats
136
+ status-code: 200
137
+ errors:
138
+ - root.BadRequestError
139
+ examples:
140
+ - path-parameters:
141
+ id: 697056f0-6c7e-487d-9bd8-9c19df79f05f
142
+ query-parameters:
143
+ page_number: 0
144
+ page_size: 1
145
+ ascending_order: true
146
+ response:
147
+ body:
148
+ id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
149
+ first_start_timestamp: 1712334213647
150
+ most_recent_start_timestamp: 1712334213647
151
+ num_chats: 1
152
+ page_number: 0
153
+ page_size: 1
154
+ total_pages: 1
155
+ pagination_direction: ASC
156
+ chats_page:
157
+ - id: 6375d4f8-cd3e-4d6b-b13b-ace66b7c8aaa
158
+ chat_group_id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
159
+ status: USER_ENDED
160
+ start_timestamp: 1712334213647
161
+ end_timestamp: 1712334332571
162
+ event_count: 0
163
+ metadata: null
164
+ config: null
165
+ active: false
166
+ list-chat-group-events:
167
+ path: /v0/evi/chat_groups/{id}/events
168
+ method: GET
169
+ auth: true
170
+ docs: >-
171
+ Fetches a paginated list of **Chat** events associated with a **Chat
172
+ Group**.
173
+ pagination:
174
+ offset: $request.page_number
175
+ results: $response.events_page
176
+ source:
177
+ openapi: evi-openapi.json
178
+ path-parameters:
179
+ id:
180
+ type: string
181
+ docs: Identifier for a Chat Group. Formatted as a UUID.
182
+ display-name: List chat events from a specific chat_group
183
+ request:
184
+ name: ChatGroupsListChatGroupEventsRequest
185
+ query-parameters:
186
+ page_size:
187
+ type: optional<integer>
188
+ docs: >-
189
+ Specifies the maximum number of results to include per page,
190
+ enabling pagination. The value must be between 1 and 100,
191
+ inclusive.
192
+
193
+
194
+ For example, if `page_size` is set to 10, each page will include
195
+ up to 10 items. Defaults to 10.
196
+ page_number:
197
+ type: optional<integer>
198
+ default: 0
199
+ docs: >-
200
+ Specifies the page number to retrieve, enabling pagination.
201
+
202
+
203
+ This parameter uses zero-based indexing. For example, setting
204
+ `page_number` to 0 retrieves the first page of results (items 0-9
205
+ if `page_size` is 10), setting `page_number` to 1 retrieves the
206
+ second page (items 10-19), and so on. Defaults to 0, which
207
+ retrieves the first page.
208
+ ascending_order:
209
+ type: optional<boolean>
210
+ docs: >-
211
+ Specifies the sorting order of the results based on their creation
212
+ date. Set to true for ascending order (chronological, with the
213
+ oldest records first) and false for descending order
214
+ (reverse-chronological, with the newest records first). Defaults
215
+ to true.
216
+ response:
217
+ docs: Success
218
+ type: root.ReturnChatGroupPagedEvents
219
+ status-code: 200
220
+ errors:
221
+ - root.BadRequestError
222
+ examples:
223
+ - path-parameters:
224
+ id: 697056f0-6c7e-487d-9bd8-9c19df79f05f
225
+ query-parameters:
226
+ page_number: 0
227
+ page_size: 3
228
+ ascending_order: true
229
+ response:
230
+ body:
231
+ id: 697056f0-6c7e-487d-9bd8-9c19df79f05f
232
+ page_number: 0
233
+ page_size: 3
234
+ total_pages: 1
235
+ pagination_direction: ASC
236
+ events_page:
237
+ - id: 5d44bdbb-49a3-40fb-871d-32bf7e76efe7
238
+ chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
239
+ timestamp: 1716244940762
240
+ role: SYSTEM
241
+ type: SYSTEM_PROMPT
242
+ message_text: >-
243
+ <role>You are an AI weather assistant providing users with
244
+ accurate and up-to-date weather information. Respond to user
245
+ queries concisely and clearly. Use simple language and avoid
246
+ technical jargon. Provide temperature, precipitation, wind
247
+ conditions, and any weather alerts. Include helpful tips if
248
+ severe weather is expected.</role>
249
+ emotion_features: ''
250
+ metadata: ''
251
+ - id: 5976ddf6-d093-4bb9-ba60-8f6c25832dde
252
+ chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
253
+ timestamp: 1716244956278
254
+ role: USER
255
+ type: USER_MESSAGE
256
+ message_text: Hello.
257
+ emotion_features: >-
258
+ {"Admiration": 0.09906005859375, "Adoration":
259
+ 0.12213134765625, "Aesthetic Appreciation":
260
+ 0.05035400390625, "Amusement": 0.16552734375, "Anger":
261
+ 0.0037384033203125, "Anxiety": 0.010101318359375, "Awe":
262
+ 0.058197021484375, "Awkwardness": 0.10552978515625,
263
+ "Boredom": 0.1141357421875, "Calmness": 0.115234375,
264
+ "Concentration": 0.00444793701171875, "Confusion":
265
+ 0.0343017578125, "Contemplation": 0.00812530517578125,
266
+ "Contempt": 0.009002685546875, "Contentment":
267
+ 0.087158203125, "Craving": 0.00818634033203125, "Desire":
268
+ 0.018310546875, "Determination": 0.003238677978515625,
269
+ "Disappointment": 0.024169921875, "Disgust":
270
+ 0.00702667236328125, "Distress": 0.00936126708984375,
271
+ "Doubt": 0.00632476806640625, "Ecstasy": 0.0293731689453125,
272
+ "Embarrassment": 0.01800537109375, "Empathic Pain":
273
+ 0.0088348388671875, "Entrancement": 0.013397216796875,
274
+ "Envy": 0.02557373046875, "Excitement": 0.12109375, "Fear":
275
+ 0.004413604736328125, "Guilt": 0.016571044921875, "Horror":
276
+ 0.00274658203125, "Interest": 0.2142333984375, "Joy":
277
+ 0.29638671875, "Love": 0.16015625, "Nostalgia":
278
+ 0.007843017578125, "Pain": 0.007160186767578125, "Pride":
279
+ 0.00508880615234375, "Realization": 0.054229736328125,
280
+ "Relief": 0.048736572265625, "Romance": 0.026397705078125,
281
+ "Sadness": 0.0265350341796875, "Satisfaction":
282
+ 0.051361083984375, "Shame": 0.00974273681640625, "Surprise
283
+ (negative)": 0.0218963623046875, "Surprise (positive)":
284
+ 0.216064453125, "Sympathy": 0.021728515625, "Tiredness":
285
+ 0.0173797607421875, "Triumph": 0.004520416259765625}
286
+ metadata: >-
287
+ {"segments": [{"content": "Hello.", "embedding":
288
+ [0.6181640625, 0.1763916015625, -30.921875, 1.2705078125,
289
+ 0.927734375, 0.63720703125, 2.865234375, 0.1080322265625,
290
+ 0.2978515625, 1.0107421875, 1.34375, 0.74560546875,
291
+ 0.416259765625, 0.99462890625, -0.333740234375,
292
+ 0.361083984375, -1.388671875, 1.0107421875, 1.3173828125,
293
+ 0.55615234375, 0.541015625, -0.1837158203125, 1.697265625,
294
+ 0.228515625, 2.087890625, -0.311767578125,
295
+ 0.053680419921875, 1.3349609375, 0.95068359375,
296
+ 0.00441741943359375, 0.705078125, 1.8916015625,
297
+ -0.939453125, 0.93701171875, -0.28955078125, 1.513671875,
298
+ 0.5595703125, 1.0126953125, -0.1624755859375, 1.4072265625,
299
+ -0.28857421875, -0.4560546875, -0.1500244140625,
300
+ -0.1102294921875, -0.222412109375, 0.8779296875,
301
+ 1.275390625, 1.6689453125, 0.80712890625, -0.34814453125,
302
+ -0.325439453125, 0.412841796875, 0.81689453125,
303
+ 0.55126953125, 1.671875, 0.6611328125, 0.7451171875,
304
+ 1.50390625, 1.0224609375, -1.671875, 0.7373046875,
305
+ 2.1328125, 2.166015625, 0.41015625, -0.127685546875,
306
+ 1.9345703125, -4.2734375, 0.332275390625, 0.26171875,
307
+ 0.76708984375, 0.2685546875, 0.468017578125, 1.208984375,
308
+ -1.517578125, 1.083984375, 0.84814453125, 1.0244140625,
309
+ -0.0072174072265625, 1.34375, 1.0712890625, 1.517578125,
310
+ -0.52001953125, 0.59228515625, 0.8154296875, -0.951171875,
311
+ -0.07757568359375, 1.3330078125, 1.125, 0.61181640625,
312
+ 1.494140625, 0.357421875, 1.1796875, 1.482421875, 0.8046875,
313
+ 0.1536865234375, 1.8076171875, 0.68115234375, -15.171875,
314
+ 1.2294921875, 0.319091796875, 0.499755859375, 1.5771484375,
315
+ 0.94677734375, -0.2490234375, 0.88525390625, 3.47265625,
316
+ 0.75927734375, 0.71044921875, 1.2333984375, 1.4169921875,
317
+ -0.56640625, -1.8095703125, 1.37109375, 0.428955078125,
318
+ 1.89453125, -0.39013671875, 0.1734619140625, 1.5595703125,
319
+ -1.2294921875, 2.552734375, 0.58349609375, 0.2156982421875,
320
+ -0.00984954833984375, -0.6865234375, -0.0272979736328125,
321
+ -0.2264404296875, 2.853515625, 1.3896484375, 0.52978515625,
322
+ 0.783203125, 3.0390625, 0.75537109375, 0.219970703125,
323
+ 0.384521484375, 0.385986328125, 2.0546875,
324
+ -0.10443115234375, 1.5146484375, 1.4296875, 1.9716796875,
325
+ 1.1318359375, 0.31591796875, 0.338623046875, 1.654296875,
326
+ -0.88037109375, -0.21484375, 1.45703125, 1.0380859375,
327
+ -0.52294921875, -0.47802734375, 0.1650390625, 1.2392578125,
328
+ -1.138671875, 0.56787109375, 1.318359375, 0.4287109375,
329
+ 0.1981201171875, 2.4375, 0.281005859375, 0.89404296875,
330
+ -0.1552734375, 0.6474609375, -0.08331298828125,
331
+ 0.00740814208984375, -0.045501708984375, -0.578125,
332
+ 2.02734375, 0.59228515625, 0.35693359375, 1.2919921875,
333
+ 1.22265625, 1.0537109375, 0.145263671875, 1.05859375,
334
+ -0.369140625, 0.207275390625, 0.78857421875, 0.599609375,
335
+ 0.99072265625, 0.24462890625, 1.26953125, 0.08404541015625,
336
+ 1.349609375, 0.73291015625, 1.3212890625, 0.388916015625,
337
+ 1.0869140625, 0.9931640625, -1.5673828125, 0.0462646484375,
338
+ 0.650390625, 0.253662109375, 0.58251953125, 1.8134765625,
339
+ 0.8642578125, 2.591796875, 0.7314453125, 0.85986328125,
340
+ 0.5615234375, 0.9296875, 0.04144287109375, 1.66015625,
341
+ 1.99609375, 1.171875, 1.181640625, 1.5126953125,
342
+ 0.0224456787109375, 0.58349609375, -1.4931640625,
343
+ 0.81884765625, 0.732421875, -0.6455078125, -0.62451171875,
344
+ 1.7802734375, 0.01526641845703125, -0.423095703125,
345
+ 0.461669921875, 4.87890625, 1.2392578125, -0.6953125,
346
+ 0.6689453125, 0.62451171875, -1.521484375, 1.7685546875,
347
+ 0.810546875, 0.65478515625, 0.26123046875, 1.6396484375,
348
+ 0.87548828125, 1.7353515625, 2.046875, 1.5634765625,
349
+ 0.69384765625, 1.375, 0.8916015625, 1.0107421875,
350
+ 0.1304931640625, 2.009765625, 0.06402587890625,
351
+ -0.08428955078125, 0.04351806640625, -1.7529296875,
352
+ 2.02734375, 3.521484375, 0.404541015625, 1.6337890625,
353
+ -0.276611328125, 0.8837890625, -0.1287841796875,
354
+ 0.91064453125, 0.8193359375, 0.701171875, 0.036529541015625,
355
+ 1.26171875, 1.0478515625, -0.1422119140625, 1.0634765625,
356
+ 0.61083984375, 1.3505859375, 1.208984375, 0.57275390625,
357
+ 1.3623046875, 2.267578125, 0.484375, 0.9150390625,
358
+ 0.56787109375, -0.70068359375, 0.27587890625,
359
+ -0.70654296875, 0.8466796875, 0.57568359375, 1.6162109375,
360
+ 0.87939453125, 2.248046875, -0.5458984375, 1.7744140625,
361
+ 1.328125, 1.232421875, 0.6806640625, 0.9365234375,
362
+ 1.052734375, -1.08984375, 1.8330078125, -0.4033203125,
363
+ 1.0673828125, 0.297607421875, 1.5703125, 1.67578125,
364
+ 1.34765625, 2.8203125, 2.025390625, -0.48583984375,
365
+ 0.7626953125, 0.01007843017578125, 1.435546875,
366
+ 0.007205963134765625, 0.05157470703125, -0.9853515625,
367
+ 0.26708984375, 1.16796875, 1.2041015625, 1.99609375,
368
+ -0.07916259765625, 1.244140625, -0.32080078125,
369
+ 0.6748046875, 0.419921875, 1.3212890625, 1.291015625,
370
+ 0.599609375, 0.0550537109375, 0.9599609375, 0.93505859375,
371
+ 0.111083984375, 1.302734375, 0.0833740234375, 2.244140625,
372
+ 1.25390625, 1.6015625, 0.58349609375, 1.7568359375,
373
+ -0.263427734375, -0.019866943359375, -0.24658203125,
374
+ -0.1871337890625, 0.927734375, 0.62255859375,
375
+ 0.275146484375, 0.79541015625, 1.1796875, 1.1767578125,
376
+ -0.26123046875, -0.268310546875, 1.8994140625, 1.318359375,
377
+ 2.1875, 0.2469482421875, 1.41015625, 0.03973388671875,
378
+ 1.2685546875, 1.1025390625, 0.9560546875, 0.865234375,
379
+ -1.92578125, 1.154296875, 0.389892578125, 1.130859375,
380
+ 0.95947265625, 0.72314453125, 2.244140625,
381
+ 0.048553466796875, 0.626953125, 0.42919921875,
382
+ 0.82275390625, 0.311767578125, -0.320556640625,
383
+ 0.01041412353515625, 0.1483154296875, 0.10809326171875,
384
+ -0.3173828125, 1.1337890625, -0.8642578125, 1.4033203125,
385
+ 0.048828125, 1.1787109375, 0.98779296875, 1.818359375,
386
+ 1.1552734375, 0.6015625, 1.2392578125, -1.2685546875,
387
+ 0.39208984375, 0.83251953125, 0.224365234375,
388
+ 0.0019989013671875, 0.87548828125, 1.6572265625,
389
+ 1.107421875, 0.434814453125, 1.8251953125, 0.442626953125,
390
+ 1.2587890625, 0.09320068359375, -0.896484375, 1.8017578125,
391
+ 1.451171875, -0.0755615234375, 0.6083984375, 2.06640625,
392
+ 0.673828125, -0.33740234375, 0.192138671875, 0.21435546875,
393
+ 0.80224609375, -1.490234375, 0.9501953125, 0.86083984375,
394
+ -0.40283203125, 4.109375, 2.533203125, 1.2529296875,
395
+ 0.8271484375, 0.225830078125, 1.0478515625, -1.9755859375,
396
+ 0.841796875, 0.392822265625, 0.525390625, 0.33935546875,
397
+ -0.79443359375, 0.71630859375, 0.97998046875,
398
+ -0.175537109375, 0.97705078125, 1.705078125, 0.29638671875,
399
+ 0.68359375, 0.54150390625, 0.435791015625, 0.99755859375,
400
+ -0.369140625, 1.009765625, -0.140380859375, 0.426513671875,
401
+ 0.189697265625, 1.8193359375, 1.1201171875, -0.5009765625,
402
+ -0.331298828125, 0.759765625, -0.09442138671875, 0.74609375,
403
+ -1.947265625, 1.3544921875, -3.935546875, 2.544921875,
404
+ 1.359375, 0.1363525390625, 0.79296875, 0.79931640625,
405
+ -0.3466796875, 1.1396484375, -0.33447265625, 2.0078125,
406
+ -0.241455078125, 0.6318359375, 0.365234375, 0.296142578125,
407
+ 0.830078125, 1.0458984375, 0.5830078125, 0.61572265625,
408
+ 14.0703125, -2.0078125, -0.381591796875, 1.228515625,
409
+ 0.08282470703125, -0.67822265625, -0.04339599609375,
410
+ 0.397216796875, 0.1656494140625, 0.137451171875,
411
+ 0.244873046875, 1.1611328125, -1.3818359375, 0.8447265625,
412
+ 1.171875, 0.36328125, 0.252685546875, 0.1197509765625,
413
+ 0.232177734375, -0.020172119140625, 0.64404296875,
414
+ -0.01100921630859375, -1.9267578125, 0.222412109375,
415
+ 0.56005859375, 1.3046875, 1.1630859375, 1.197265625,
416
+ 1.02734375, 1.6806640625, -0.043731689453125, 1.4697265625,
417
+ 0.81201171875, 1.5390625, 1.240234375, -0.7353515625,
418
+ 1.828125, 1.115234375, 1.931640625, -0.517578125,
419
+ 0.77880859375, 1.0546875, 0.95361328125, 3.42578125,
420
+ 0.0160369873046875, 0.875, 0.56005859375, 1.2421875,
421
+ 1.986328125, 1.4814453125, 0.0948486328125, 1.115234375,
422
+ 0.00665283203125, 2.09375, 0.3544921875, -0.52783203125,
423
+ 1.2099609375, 0.45068359375, 0.65625, 0.1112060546875,
424
+ 1.0751953125, -0.9521484375, -0.30029296875, 1.4462890625,
425
+ 2.046875, 3.212890625, 1.68359375, 1.07421875,
426
+ -0.5263671875, 0.74560546875, 1.37890625, 0.15283203125,
427
+ 0.2440185546875, 0.62646484375, -0.1280517578125,
428
+ 0.7646484375, -0.515625, -0.35693359375, 1.2958984375,
429
+ 0.96923828125, 0.58935546875, 1.3701171875, 1.0673828125,
430
+ 0.2337646484375, 0.93115234375, 0.66357421875, 6.0,
431
+ 1.1025390625, -0.51708984375, -0.38330078125, 0.7197265625,
432
+ 0.246826171875, -0.45166015625, 1.9521484375, 0.5546875,
433
+ 0.08807373046875, 0.18505859375, 0.8857421875,
434
+ -0.57177734375, 0.251708984375, 0.234375, 2.57421875,
435
+ 0.9599609375, 0.5029296875, 0.10382080078125,
436
+ 0.08331298828125, 0.66748046875, -0.349609375, 1.287109375,
437
+ 0.259765625, 2.015625, 2.828125, -0.3095703125,
438
+ -0.164306640625, -0.3408203125, 0.486572265625,
439
+ 0.8466796875, 1.9130859375, 0.09088134765625, 0.66552734375,
440
+ 0.00972747802734375, -0.83154296875, 1.755859375,
441
+ 0.654296875, 0.173828125, 0.27587890625, -0.47607421875,
442
+ -0.264404296875, 0.7529296875, 0.6533203125, 0.7275390625,
443
+ 0.499755859375, 0.833984375, -0.44775390625, -0.05078125,
444
+ -0.454833984375, 0.75439453125, 0.68505859375,
445
+ 0.210693359375, -0.283935546875, -0.53564453125,
446
+ 0.96826171875, 0.861328125, -3.33984375, -0.26171875,
447
+ 0.77734375, 0.26513671875, -0.14111328125, -0.042236328125,
448
+ -0.84814453125, 0.2137451171875, 0.94921875, 0.65185546875,
449
+ -0.5380859375, 0.1529541015625, -0.360595703125,
450
+ -0.0333251953125, -0.69189453125, 0.8974609375, 0.7109375,
451
+ 0.81494140625, -0.259521484375, 1.1904296875, 0.62158203125,
452
+ 1.345703125, 0.89404296875, 0.70556640625, 1.0673828125,
453
+ 1.392578125, 0.5068359375, 0.962890625, 0.736328125,
454
+ 1.55078125, 0.50390625, -0.398681640625, 2.361328125,
455
+ 0.345947265625, -0.61962890625, 0.330078125, 0.75439453125,
456
+ -0.673828125, -0.2379150390625, 1.5673828125, 1.369140625,
457
+ 0.1119384765625, -0.1834716796875, 1.4599609375,
458
+ -0.77587890625, 0.5556640625, 0.09954833984375,
459
+ 0.0285186767578125, 0.58935546875, -0.501953125,
460
+ 0.212890625, 0.02679443359375, 0.1715087890625,
461
+ 0.03466796875, -0.564453125, 2.029296875, 2.45703125,
462
+ -0.72216796875, 2.138671875, 0.50830078125,
463
+ -0.09356689453125, 0.230224609375, 1.6943359375,
464
+ 1.5126953125, 0.39453125, 0.411376953125, 1.07421875,
465
+ -0.8046875, 0.51416015625, 0.2271728515625, -0.283447265625,
466
+ 0.38427734375, 0.73388671875, 0.6962890625, 1.4990234375,
467
+ 0.02813720703125, 0.40478515625, 1.2451171875, 1.1162109375,
468
+ -5.5703125, 0.76171875, 0.322021484375, 1.0361328125,
469
+ 1.197265625, 0.1163330078125, 0.2425537109375, 1.5595703125,
470
+ 1.5791015625, -0.0921630859375, 0.484619140625,
471
+ 1.9052734375, 5.31640625, 1.6337890625, 0.95947265625,
472
+ -0.1751708984375, 0.466552734375, 0.8330078125, 1.03125,
473
+ 0.2044677734375, 0.31298828125, -1.1220703125, 0.5517578125,
474
+ 0.93505859375, 0.45166015625, 1.951171875, 0.65478515625,
475
+ 1.30859375, 1.0859375, 0.56494140625, 2.322265625,
476
+ 0.242919921875, 1.81640625, -0.469970703125, -0.841796875,
477
+ 0.90869140625, 1.5361328125, 0.923828125, 1.0595703125,
478
+ 0.356689453125, -0.46142578125, 2.134765625, 1.3037109375,
479
+ -0.32373046875, -9.2265625, 0.4521484375, 0.88037109375,
480
+ -0.53955078125, 0.96484375, 0.7705078125, 0.84521484375,
481
+ 1.580078125, -0.1448974609375, 0.7607421875, 1.0166015625,
482
+ -0.086669921875, 1.611328125, 0.05938720703125, 0.5078125,
483
+ 0.8427734375, 2.431640625, 0.66357421875, 3.203125,
484
+ 0.132080078125, 0.461181640625, 0.779296875, 1.9482421875,
485
+ 1.8720703125, 0.845703125, -1.3837890625, -0.138916015625,
486
+ 0.35546875, 0.2457275390625, 0.75341796875, 1.828125,
487
+ 1.4169921875, 0.60791015625, 1.0068359375, 1.109375,
488
+ 0.484130859375, -0.302001953125, 0.4951171875, 0.802734375,
489
+ 1.9482421875, 0.916015625, 0.1646728515625, 2.599609375,
490
+ 1.7177734375, -0.2374267578125, 0.98046875, 0.39306640625,
491
+ -1.1396484375, 1.6533203125, 0.375244140625], "scores":
492
+ [0.09906005859375, 0.12213134765625, 0.05035400390625,
493
+ 0.16552734375, 0.0037384033203125, 0.010101318359375,
494
+ 0.058197021484375, 0.10552978515625, 0.1141357421875,
495
+ 0.115234375, 0.00444793701171875, 0.00812530517578125,
496
+ 0.0343017578125, 0.009002685546875, 0.087158203125,
497
+ 0.00818634033203125, 0.003238677978515625, 0.024169921875,
498
+ 0.00702667236328125, 0.00936126708984375,
499
+ 0.00632476806640625, 0.0293731689453125, 0.01800537109375,
500
+ 0.0088348388671875, 0.013397216796875, 0.02557373046875,
501
+ 0.12109375, 0.004413604736328125, 0.016571044921875,
502
+ 0.00274658203125, 0.2142333984375, 0.29638671875,
503
+ 0.16015625, 0.007843017578125, 0.007160186767578125,
504
+ 0.00508880615234375, 0.054229736328125, 0.048736572265625,
505
+ 0.026397705078125, 0.0265350341796875, 0.051361083984375,
506
+ 0.018310546875, 0.00974273681640625, 0.0218963623046875,
507
+ 0.216064453125, 0.021728515625, 0.0173797607421875,
508
+ 0.004520416259765625], "stoks": [52, 52, 52, 52, 52, 41, 41,
509
+ 374, 303, 303, 303, 427], "time": {"begin_ms": 640,
510
+ "end_ms": 1140}}]}
511
+ - id: 7645a0d1-2e64-410d-83a8-b96040432e9a
512
+ chat_id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
513
+ timestamp: 1716244957031
514
+ role: AGENT
515
+ type: AGENT_MESSAGE
516
+ message_text: Hello!
517
+ emotion_features: >-
518
+ {"Admiration": 0.044921875, "Adoration": 0.0253753662109375,
519
+ "Aesthetic Appreciation": 0.03265380859375, "Amusement":
520
+ 0.118408203125, "Anger": 0.06719970703125, "Anxiety":
521
+ 0.0411376953125, "Awe": 0.03802490234375, "Awkwardness":
522
+ 0.056549072265625, "Boredom": 0.04217529296875, "Calmness":
523
+ 0.08709716796875, "Concentration": 0.070556640625,
524
+ "Confusion": 0.06964111328125, "Contemplation":
525
+ 0.0343017578125, "Contempt": 0.037689208984375,
526
+ "Contentment": 0.059417724609375, "Craving":
527
+ 0.01132965087890625, "Desire": 0.01406097412109375,
528
+ "Determination": 0.1143798828125, "Disappointment":
529
+ 0.051177978515625, "Disgust": 0.028594970703125, "Distress":
530
+ 0.054901123046875, "Doubt": 0.04638671875, "Ecstasy":
531
+ 0.0258026123046875, "Embarrassment": 0.0222015380859375,
532
+ "Empathic Pain": 0.015777587890625, "Entrancement":
533
+ 0.0160980224609375, "Envy": 0.0163421630859375,
534
+ "Excitement": 0.129638671875, "Fear": 0.03125, "Guilt":
535
+ 0.01483917236328125, "Horror": 0.0194549560546875,
536
+ "Interest": 0.1341552734375, "Joy": 0.0738525390625, "Love":
537
+ 0.0216522216796875, "Nostalgia": 0.0210418701171875, "Pain":
538
+ 0.020721435546875, "Pride": 0.05499267578125, "Realization":
539
+ 0.0728759765625, "Relief": 0.04052734375, "Romance":
540
+ 0.0129241943359375, "Sadness": 0.0254669189453125,
541
+ "Satisfaction": 0.07159423828125, "Shame": 0.01495361328125,
542
+ "Surprise (negative)": 0.05560302734375, "Surprise
543
+ (positive)": 0.07965087890625, "Sympathy":
544
+ 0.022247314453125, "Tiredness": 0.0194549560546875,
545
+ "Triumph": 0.04107666015625}
546
+ metadata: ''
547
+ get-audio:
548
+ path: /v0/evi/chat_groups/{id}/audio
549
+ method: GET
550
+ auth: true
551
+ docs: >-
552
+ Fetches a paginated list of audio for each **Chat** within the specified
553
+ **Chat Group**. For more details, see our guide on audio reconstruction
554
+ [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
555
+ source:
556
+ openapi: evi-openapi.json
557
+ path-parameters:
558
+ id:
559
+ type: string
560
+ docs: Identifier for a Chat Group. Formatted as a UUID.
561
+ display-name: Get chat group audio
562
+ request:
563
+ name: ChatGroupsGetAudioRequest
564
+ query-parameters:
565
+ page_number:
566
+ type: optional<integer>
567
+ default: 0
568
+ docs: >-
569
+ Specifies the page number to retrieve, enabling pagination.
570
+
571
+
572
+ This parameter uses zero-based indexing. For example, setting
573
+ `page_number` to 0 retrieves the first page of results (items 0-9
574
+ if `page_size` is 10), setting `page_number` to 1 retrieves the
575
+ second page (items 10-19), and so on. Defaults to 0, which
576
+ retrieves the first page.
577
+ page_size:
578
+ type: optional<integer>
579
+ docs: >-
580
+ Specifies the maximum number of results to include per page,
581
+ enabling pagination. The value must be between 1 and 100,
582
+ inclusive.
583
+
584
+
585
+ For example, if `page_size` is set to 10, each page will include
586
+ up to 10 items. Defaults to 10.
587
+ ascending_order:
588
+ type: optional<boolean>
589
+ docs: >-
590
+ Specifies the sorting order of the results based on their creation
591
+ date. Set to true for ascending order (chronological, with the
592
+ oldest records first) and false for descending order
593
+ (reverse-chronological, with the newest records first). Defaults
594
+ to true.
595
+ response:
596
+ docs: Success
597
+ type: root.ReturnChatGroupPagedAudioReconstructions
598
+ status-code: 200
599
+ errors:
600
+ - root.BadRequestError
601
+ examples:
602
+ - path-parameters:
603
+ id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
604
+ query-parameters:
605
+ page_number: 0
606
+ page_size: 10
607
+ ascending_order: true
608
+ response:
609
+ body:
610
+ id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
611
+ user_id: e6235940-cfda-3988-9147-ff531627cf42
612
+ num_chats: 1
613
+ page_number: 0
614
+ page_size: 10
615
+ total_pages: 1
616
+ pagination_direction: ASC
617
+ audio_reconstructions_page:
618
+ - id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
619
+ user_id: e6235940-cfda-3988-9147-ff531627cf42
620
+ status: COMPLETE
621
+ filename: >-
622
+ e6235940-cfda-3988-9147-ff531627cf42/470a49f6-1dec-4afe-8b61-035d3b2d63b0/reconstructed_audio.mp4
623
+ modified_at: 1729875432555
624
+ signed_audio_url: https://storage.googleapis.com/...etc.
625
+ signed_url_expiration_timestamp_millis: 1730232816964
626
+ source:
627
+ openapi: evi-openapi.json
@@ -0,0 +1,30 @@
1
+ imports:
2
+ root: __package__.yml
3
+ webhooks:
4
+ chatEnded:
5
+ audiences: []
6
+ method: POST
7
+ display-name: Chat Ended
8
+ headers: {}
9
+ payload: root.WebhookEventChatEnded
10
+ examples:
11
+ - payload:
12
+ chat_group_id: chat_group_id
13
+ chat_id: chat_id
14
+ duration_seconds: 1
15
+ end_reason: ACTIVE
16
+ end_time: 1
17
+ docs: Sent when an EVI chat ends.
18
+ chatStarted:
19
+ audiences: []
20
+ method: POST
21
+ display-name: Chat Started
22
+ headers: {}
23
+ payload: root.WebhookEventChatStarted
24
+ examples:
25
+ - payload:
26
+ chat_group_id: chat_group_id
27
+ chat_id: chat_id
28
+ chat_start_type: new_chat_group
29
+ start_time: 1
30
+ docs: Sent when an EVI chat is started.