hume 0.5.17 → 0.6.1

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 (182) hide show
  1. package/.mock/definition/api.yml +12 -0
  2. package/.mock/definition/custom-models/__package__.yml +1392 -0
  3. package/.mock/definition/custom-models/datasets.yml +406 -0
  4. package/.mock/definition/custom-models/files.yml +263 -0
  5. package/.mock/definition/custom-models/jobs.yml +44 -0
  6. package/.mock/definition/custom-models/models.yml +303 -0
  7. package/.mock/definition/empathic-voice/__package__.yml +896 -0
  8. package/.mock/definition/empathic-voice/chat.yml +59 -0
  9. package/.mock/definition/empathic-voice/chatGroups.yml +80 -0
  10. package/.mock/definition/empathic-voice/chats.yml +86 -0
  11. package/.mock/definition/empathic-voice/configs.yml +413 -0
  12. package/.mock/definition/empathic-voice/prompts.yml +265 -0
  13. package/.mock/definition/empathic-voice/tools.yml +398 -0
  14. package/.mock/definition/expression-measurement/__package__.yml +1122 -0
  15. package/.mock/definition/expression-measurement/batch.yml +352 -0
  16. package/.mock/definition/expression-measurement/stream.yml +362 -0
  17. package/.mock/fern.config.json +4 -0
  18. package/Client.d.ts +1 -0
  19. package/api/resources/customModels/client/Client.d.ts +1 -0
  20. package/api/resources/customModels/resources/datasets/client/Client.d.ts +1 -0
  21. package/api/resources/customModels/resources/datasets/client/Client.js +38 -30
  22. package/api/resources/customModels/resources/files/client/Client.d.ts +1 -0
  23. package/api/resources/customModels/resources/files/client/Client.js +26 -20
  24. package/api/resources/customModels/resources/jobs/client/Client.d.ts +1 -0
  25. package/api/resources/customModels/resources/jobs/client/Client.js +6 -4
  26. package/api/resources/customModels/resources/models/client/Client.d.ts +1 -0
  27. package/api/resources/customModels/resources/models/client/Client.js +18 -12
  28. package/api/resources/empathicVoice/client/Client.d.ts +4 -0
  29. package/api/resources/empathicVoice/client/Client.js +5 -0
  30. package/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  31. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
  32. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
  33. package/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
  34. package/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
  35. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
  36. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
  37. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
  38. package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
  39. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
  40. package/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
  41. package/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
  42. package/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
  43. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -0
  44. package/api/resources/empathicVoice/resources/chats/client/Client.js +6 -4
  45. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +1 -0
  46. package/api/resources/empathicVoice/resources/configs/client/Client.js +27 -18
  47. package/api/resources/empathicVoice/resources/index.d.ts +2 -0
  48. package/api/resources/empathicVoice/resources/index.js +3 -1
  49. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +1 -0
  50. package/api/resources/empathicVoice/resources/prompts/client/Client.js +27 -18
  51. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +1 -0
  52. package/api/resources/empathicVoice/resources/tools/client/Client.js +27 -18
  53. package/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  54. package/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  55. package/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
  56. package/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
  57. package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
  58. package/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
  59. package/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
  60. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
  61. package/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
  62. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
  63. package/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
  64. package/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  65. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  66. package/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
  67. package/api/resources/empathicVoice/types/index.d.ts +5 -0
  68. package/api/resources/empathicVoice/types/index.js +5 -0
  69. package/api/resources/expressionMeasurement/client/Client.d.ts +1 -0
  70. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +1 -0
  71. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +17 -12
  72. package/core/fetcher/Fetcher.d.ts +1 -0
  73. package/core/fetcher/Fetcher.js +106 -20
  74. package/core/form-data-utils/FormDataWrapper.d.ts +24 -0
  75. package/core/form-data-utils/FormDataWrapper.js +106 -0
  76. package/core/form-data-utils/index.d.ts +1 -0
  77. package/core/form-data-utils/index.js +17 -0
  78. package/core/index.d.ts +1 -0
  79. package/core/index.js +1 -0
  80. package/dist/Client.d.ts +1 -0
  81. package/dist/api/resources/customModels/client/Client.d.ts +1 -0
  82. package/dist/api/resources/customModels/resources/datasets/client/Client.d.ts +1 -0
  83. package/dist/api/resources/customModels/resources/datasets/client/Client.js +38 -30
  84. package/dist/api/resources/customModels/resources/files/client/Client.d.ts +1 -0
  85. package/dist/api/resources/customModels/resources/files/client/Client.js +26 -20
  86. package/dist/api/resources/customModels/resources/jobs/client/Client.d.ts +1 -0
  87. package/dist/api/resources/customModels/resources/jobs/client/Client.js +6 -4
  88. package/dist/api/resources/customModels/resources/models/client/Client.d.ts +1 -0
  89. package/dist/api/resources/customModels/resources/models/client/Client.js +18 -12
  90. package/dist/api/resources/empathicVoice/client/Client.d.ts +4 -0
  91. package/dist/api/resources/empathicVoice/client/Client.js +5 -0
  92. package/dist/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +1 -1
  93. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +42 -0
  94. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +178 -0
  95. package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
  96. package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.js +17 -0
  97. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.d.ts +21 -0
  98. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.js +5 -0
  99. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.d.ts +17 -0
  100. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.js +5 -0
  101. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.d.ts +2 -0
  102. package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/index.js +2 -0
  103. package/dist/api/resources/empathicVoice/resources/chatGroups/index.d.ts +1 -0
  104. package/dist/api/resources/empathicVoice/resources/chatGroups/index.js +17 -0
  105. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -0
  106. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +6 -4
  107. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +1 -0
  108. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +27 -18
  109. package/dist/api/resources/empathicVoice/resources/index.d.ts +2 -0
  110. package/dist/api/resources/empathicVoice/resources/index.js +3 -1
  111. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +1 -0
  112. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +27 -18
  113. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +1 -0
  114. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +27 -18
  115. package/dist/api/resources/empathicVoice/types/AssistantMessage.d.ts +1 -1
  116. package/dist/api/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  117. package/dist/api/resources/empathicVoice/types/ChatMetadata.js +5 -0
  118. package/dist/api/resources/empathicVoice/types/ReturnChat.d.ts +2 -0
  119. package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +2 -0
  120. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.d.ts +19 -0
  121. package/dist/api/resources/empathicVoice/types/ReturnChatGroup.js +5 -0
  122. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +24 -0
  123. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +5 -0
  124. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +19 -0
  125. package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +5 -0
  126. package/dist/api/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +2 -0
  127. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  128. package/dist/api/resources/empathicVoice/types/ReturnPagedChatGroups.js +5 -0
  129. package/dist/api/resources/empathicVoice/types/index.d.ts +5 -0
  130. package/dist/api/resources/empathicVoice/types/index.js +5 -0
  131. package/dist/api/resources/expressionMeasurement/client/Client.d.ts +1 -0
  132. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +1 -0
  133. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +17 -12
  134. package/dist/core/fetcher/Fetcher.d.ts +1 -0
  135. package/dist/core/fetcher/Fetcher.js +106 -20
  136. package/dist/core/form-data-utils/FormDataWrapper.d.ts +24 -0
  137. package/dist/core/form-data-utils/FormDataWrapper.js +106 -0
  138. package/dist/core/form-data-utils/index.d.ts +1 -0
  139. package/dist/core/form-data-utils/index.js +17 -0
  140. package/dist/core/index.d.ts +1 -0
  141. package/dist/core/index.js +1 -0
  142. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  143. package/dist/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  144. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  145. package/dist/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
  146. package/dist/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
  147. package/dist/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
  148. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
  149. package/dist/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
  150. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
  151. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
  152. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
  153. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
  154. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
  155. package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
  156. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
  157. package/dist/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
  158. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  159. package/dist/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
  160. package/dist/serialization/resources/empathicVoice/types/index.d.ts +5 -0
  161. package/dist/serialization/resources/empathicVoice/types/index.js +5 -0
  162. package/package.json +3 -1
  163. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.d.ts +2 -1
  164. package/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.js +2 -0
  165. package/serialization/resources/empathicVoice/types/ChatMetadata.d.ts +15 -0
  166. package/serialization/resources/empathicVoice/types/ChatMetadata.js +36 -0
  167. package/serialization/resources/empathicVoice/types/ReturnChat.d.ts +1 -0
  168. package/serialization/resources/empathicVoice/types/ReturnChat.js +1 -0
  169. package/serialization/resources/empathicVoice/types/ReturnChatEvent.d.ts +1 -0
  170. package/serialization/resources/empathicVoice/types/ReturnChatEvent.js +1 -0
  171. package/serialization/resources/empathicVoice/types/ReturnChatGroup.d.ts +17 -0
  172. package/serialization/resources/empathicVoice/types/ReturnChatGroup.js +38 -0
  173. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.d.ts +20 -0
  174. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.js +41 -0
  175. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.d.ts +17 -0
  176. package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.js +38 -0
  177. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.d.ts +1 -0
  178. package/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.js +1 -0
  179. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.d.ts +15 -0
  180. package/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.js +36 -0
  181. package/serialization/resources/empathicVoice/types/index.d.ts +5 -0
  182. package/serialization/resources/empathicVoice/types/index.js +5 -0
@@ -0,0 +1,59 @@
1
+ channel:
2
+ path: /chat
3
+ auth: false
4
+ query-parameters:
5
+ access_token:
6
+ type: optional<string>
7
+ docs: Access token used for authenticating the client.
8
+ config_id:
9
+ type: optional<string>
10
+ docs: The unique identifier for the EVI configuration to be used.
11
+ config_version:
12
+ type: optional<integer>
13
+ docs: The version number of the specified EVI configuration to be used.
14
+ resumed_chat_group_id:
15
+ type: optional<string>
16
+ docs: The unique identifier for a chat group. Used to resume a previous chat.
17
+ messages:
18
+ subscribe:
19
+ origin: server
20
+ body: SubscribeEvent
21
+ publish:
22
+ origin: client
23
+ body: PublishEvent
24
+ examples:
25
+ - messages:
26
+ - type: publish
27
+ body:
28
+ data: data
29
+ type: audio_input
30
+ - type: subscribe
31
+ body:
32
+ type: assistant_end
33
+ imports:
34
+ root: __package__.yml
35
+ types:
36
+ SubscribeEvent:
37
+ discriminated: false
38
+ union:
39
+ - root.AssistantEnd
40
+ - root.AssistantMessage
41
+ - root.AudioOutput
42
+ - root.ChatMetadata
43
+ - root.WebSocketError
44
+ - root.UserInterruption
45
+ - root.UserMessage
46
+ - root.ToolCallMessage
47
+ - root.ToolResponseMessage
48
+ - root.ToolErrorMessage
49
+ PublishEvent:
50
+ discriminated: false
51
+ union:
52
+ - root.AudioInput
53
+ - root.SessionSettings
54
+ - root.UserInput
55
+ - root.AssistantInput
56
+ - root.ToolResponseMessage
57
+ - root.ToolErrorMessage
58
+ - root.PauseAssistantMessage
59
+ - root.ResumeAssistantMessage
@@ -0,0 +1,80 @@
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: false
11
+ display-name: List chat_groups
12
+ request:
13
+ name: ChatGroupsListChatGroupsRequest
14
+ query-parameters:
15
+ page_number:
16
+ type: optional<integer>
17
+ docs: The page number of the results to return.
18
+ page_size:
19
+ type: optional<integer>
20
+ docs: The maximum number of results to include per page.
21
+ response:
22
+ docs: Success
23
+ type: root.ReturnPagedChatGroups
24
+ examples:
25
+ - response:
26
+ body:
27
+ page_number: 1
28
+ page_size: 1
29
+ chat_groups_page:
30
+ - id: id
31
+ first_start_timestamp: 1
32
+ most_recent_start_timestamp: 1
33
+ most_recent_chat_id: most_recent_chat_id
34
+ num_chats: 1
35
+ active: true
36
+ list-chat-group-events:
37
+ path: /v0/evi/chat_groups/{id}/events
38
+ method: GET
39
+ auth: false
40
+ path-parameters:
41
+ id:
42
+ type: string
43
+ docs: Identifier for a chat. Formatted as a UUID.
44
+ display-name: List chat events from a specific chat_group
45
+ request:
46
+ name: ChatGroupsListChatGroupEventsRequest
47
+ query-parameters:
48
+ page_size:
49
+ type: optional<integer>
50
+ docs: The maximum number of results to include per page.
51
+ page_number:
52
+ type: optional<integer>
53
+ docs: The page number of the results to return.
54
+ ascending_order:
55
+ type: optional<boolean>
56
+ docs: >-
57
+ Boolean to indicate if the results should be paginated in
58
+ chronological order or reverse-chronological order. Defaults to
59
+ true.
60
+ response:
61
+ docs: Success
62
+ type: root.ReturnChatGroupPagedEvents
63
+ examples:
64
+ - path-parameters:
65
+ id: id
66
+ response:
67
+ body:
68
+ id: id
69
+ page_number: 1
70
+ page_size: 1
71
+ pagination_direction: pagination_direction
72
+ events_page:
73
+ - id: id
74
+ chat_id: chat_id
75
+ timestamp: 1
76
+ role: role
77
+ type: type
78
+ message_text: message_text
79
+ emotion_features: emotion_features
80
+ metadata: metadata
@@ -0,0 +1,86 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ list-chats:
8
+ path: /v0/evi/chats
9
+ method: GET
10
+ auth: false
11
+ display-name: List chats
12
+ request:
13
+ name: ChatsListChatsRequest
14
+ query-parameters:
15
+ page_number:
16
+ type: optional<integer>
17
+ docs: The page number of the results to return.
18
+ page_size:
19
+ type: optional<integer>
20
+ docs: The maximum number of results to include per page.
21
+ response:
22
+ docs: Success
23
+ type: root.ReturnPagedChats
24
+ examples:
25
+ - response:
26
+ body:
27
+ page_number: 1
28
+ page_size: 1
29
+ chats_page:
30
+ - id: id
31
+ chat_group_id: chat_group_id
32
+ tag: tag
33
+ status: status
34
+ start_timestamp: 1
35
+ end_timestamp: 1
36
+ event_count: 1
37
+ metadata: metadata
38
+ config:
39
+ id: id
40
+ list-chat-events:
41
+ path: /v0/evi/chats/{id}
42
+ method: GET
43
+ auth: false
44
+ path-parameters:
45
+ id:
46
+ type: string
47
+ docs: Identifier for a chat. Formatted as a UUID.
48
+ display-name: List chat events
49
+ request:
50
+ name: ChatsListChatEventsRequest
51
+ query-parameters:
52
+ page_size:
53
+ type: optional<integer>
54
+ docs: The maximum number of results to include per page.
55
+ page_number:
56
+ type: optional<integer>
57
+ docs: The page number of the results to return.
58
+ response:
59
+ docs: Success
60
+ type: root.ReturnChatPagedEvents
61
+ examples:
62
+ - path-parameters:
63
+ id: id
64
+ response:
65
+ body:
66
+ id: id
67
+ chat_group_id: chat_group_id
68
+ tag: tag
69
+ status: status
70
+ start_timestamp: 1
71
+ end_timestamp: 1
72
+ events_page:
73
+ - id: id
74
+ chat_id: chat_id
75
+ timestamp: 1
76
+ role: role
77
+ type: type
78
+ message_text: message_text
79
+ emotion_features: emotion_features
80
+ metadata: metadata
81
+ metadata: metadata
82
+ page_number: 1
83
+ page_size: 1
84
+ config:
85
+ id: id
86
+ version: 1
@@ -0,0 +1,413 @@
1
+ imports:
2
+ root: __package__.yml
3
+ service:
4
+ auth: false
5
+ base-path: ''
6
+ endpoints:
7
+ list-configs:
8
+ path: /v0/evi/configs
9
+ method: GET
10
+ auth: false
11
+ display-name: List configs
12
+ request:
13
+ name: ConfigsListConfigsRequest
14
+ query-parameters:
15
+ page_number:
16
+ type: optional<integer>
17
+ docs: The page number of the results to return.
18
+ page_size:
19
+ type: optional<integer>
20
+ docs: The maximum number of results to include per page.
21
+ restrict_to_most_recent:
22
+ type: optional<boolean>
23
+ docs: Only include the most recent version of each config in the list.
24
+ response:
25
+ docs: Success
26
+ type: root.ReturnPagedConfigs
27
+ examples:
28
+ - response:
29
+ body:
30
+ page_number: 1
31
+ page_size: 1
32
+ configs_page:
33
+ - id: id
34
+ version: 1
35
+ version_description: version_description
36
+ name: name
37
+ created_on: 1
38
+ modified_on: 1
39
+ prompt:
40
+ id: id
41
+ version: 1
42
+ version_type: version_type
43
+ name: name
44
+ created_on: 1
45
+ modified_on: 1
46
+ text: text
47
+ voice:
48
+ provider: provider
49
+ name: name
50
+ create-config:
51
+ path: /v0/evi/configs
52
+ method: POST
53
+ auth: false
54
+ display-name: Create config
55
+ request:
56
+ name: PostedConfig
57
+ body:
58
+ properties:
59
+ name:
60
+ type: string
61
+ docs: Name applied to all versions of a particular Config.
62
+ version_description:
63
+ type: optional<string>
64
+ docs: Description that is appended to a specific version of a Config.
65
+ prompt: optional<root.PostedPromptSpec>
66
+ voice: optional<root.PostedVoice>
67
+ language_model: optional<root.PostedLanguageModel>
68
+ tools:
69
+ type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
70
+ docs: Tool specification for a Config.
71
+ builtin_tools:
72
+ type: optional<list<optional<root.PostedBuiltinTool>>>
73
+ docs: Built-in tool specification for a Config.
74
+ response:
75
+ docs: Success
76
+ type: root.ReturnConfig
77
+ examples:
78
+ - request:
79
+ name: name
80
+ response:
81
+ body:
82
+ id: id
83
+ version: 1
84
+ version_description: version_description
85
+ name: name
86
+ created_on: 1
87
+ modified_on: 1
88
+ prompt:
89
+ id: id
90
+ version: 1
91
+ version_type: version_type
92
+ version_description: version_description
93
+ name: name
94
+ created_on: 1
95
+ modified_on: 1
96
+ text: text
97
+ voice:
98
+ provider: provider
99
+ name: name
100
+ language_model:
101
+ model_provider: model_provider
102
+ model_resource: model_resource
103
+ temperature: 1.1
104
+ tools:
105
+ - tool_type: tool_type
106
+ id: id
107
+ version: 1
108
+ version_type: version_type
109
+ version_description: version_description
110
+ name: name
111
+ created_on: 1
112
+ modified_on: 1
113
+ fallback_content: fallback_content
114
+ description: description
115
+ parameters: parameters
116
+ builtin_tools:
117
+ - tool_type: tool_type
118
+ name: name
119
+ fallback_content: fallback_content
120
+ list-config-versions:
121
+ path: /v0/evi/configs/{id}
122
+ method: GET
123
+ auth: false
124
+ path-parameters:
125
+ id:
126
+ type: string
127
+ docs: Identifier for a config. Formatted as a UUID.
128
+ display-name: List config versions
129
+ request:
130
+ name: ConfigsListConfigVersionsRequest
131
+ query-parameters:
132
+ page_number:
133
+ type: optional<integer>
134
+ docs: The page number of the results to return.
135
+ page_size:
136
+ type: optional<integer>
137
+ docs: The maximum number of results to include per page.
138
+ restrict_to_most_recent:
139
+ type: optional<boolean>
140
+ docs: Only include the most recent version of each config in the list.
141
+ response:
142
+ docs: Success
143
+ type: root.ReturnPagedConfigs
144
+ examples:
145
+ - path-parameters:
146
+ id: id
147
+ response:
148
+ body:
149
+ page_number: 1
150
+ page_size: 1
151
+ configs_page:
152
+ - id: id
153
+ version: 1
154
+ version_description: version_description
155
+ name: name
156
+ created_on: 1
157
+ modified_on: 1
158
+ prompt:
159
+ id: id
160
+ version: 1
161
+ version_type: version_type
162
+ name: name
163
+ created_on: 1
164
+ modified_on: 1
165
+ text: text
166
+ voice:
167
+ provider: provider
168
+ name: name
169
+ create-config-version:
170
+ path: /v0/evi/configs/{id}
171
+ method: POST
172
+ auth: false
173
+ path-parameters:
174
+ id:
175
+ type: string
176
+ docs: Identifier for a config. Formatted as a UUID.
177
+ display-name: Create config version
178
+ request:
179
+ name: PostedConfigVersion
180
+ body:
181
+ properties:
182
+ version_description:
183
+ type: optional<string>
184
+ docs: Description that is appended to a specific version of a Config.
185
+ prompt: optional<root.PostedPromptSpec>
186
+ voice: optional<root.PostedVoice>
187
+ language_model: optional<root.PostedLanguageModel>
188
+ tools:
189
+ type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
190
+ docs: Tool specification for a Config.
191
+ builtin_tools:
192
+ type: optional<list<optional<root.PostedBuiltinTool>>>
193
+ docs: Built-in tool specification for a Config.
194
+ response:
195
+ docs: Success
196
+ type: root.ReturnConfig
197
+ examples:
198
+ - path-parameters:
199
+ id: id
200
+ request: {}
201
+ response:
202
+ body:
203
+ id: id
204
+ version: 1
205
+ version_description: version_description
206
+ name: name
207
+ created_on: 1
208
+ modified_on: 1
209
+ prompt:
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
218
+ voice:
219
+ provider: provider
220
+ name: name
221
+ language_model:
222
+ model_provider: model_provider
223
+ model_resource: model_resource
224
+ temperature: 1.1
225
+ tools:
226
+ - tool_type: tool_type
227
+ id: id
228
+ version: 1
229
+ version_type: version_type
230
+ version_description: version_description
231
+ name: name
232
+ created_on: 1
233
+ modified_on: 1
234
+ fallback_content: fallback_content
235
+ description: description
236
+ parameters: parameters
237
+ builtin_tools:
238
+ - tool_type: tool_type
239
+ name: name
240
+ fallback_content: fallback_content
241
+ delete-config:
242
+ path: /v0/evi/configs/{id}
243
+ method: DELETE
244
+ auth: false
245
+ path-parameters:
246
+ id:
247
+ type: string
248
+ docs: Identifier for a config. Formatted as a UUID.
249
+ display-name: Delete config
250
+ examples:
251
+ - path-parameters:
252
+ id: id
253
+ update-config-name:
254
+ path: /v0/evi/configs/{id}
255
+ method: PATCH
256
+ auth: false
257
+ path-parameters:
258
+ id:
259
+ type: string
260
+ docs: Identifier for a config. Formatted as a UUID.
261
+ display-name: Update config name
262
+ request:
263
+ name: PostedConfigName
264
+ body:
265
+ properties:
266
+ name:
267
+ type: string
268
+ docs: Name applied to all versions of a particular Config.
269
+ response:
270
+ docs: Success
271
+ type: text
272
+ get-config-version:
273
+ path: /v0/evi/configs/{id}/version/{version}
274
+ method: GET
275
+ auth: false
276
+ path-parameters:
277
+ id:
278
+ type: string
279
+ docs: Identifier for a config. Formatted as a UUID.
280
+ version:
281
+ type: integer
282
+ docs: Version number for a config. Version numbers should be integers.
283
+ display-name: Get config version
284
+ response:
285
+ docs: Success
286
+ type: root.ReturnConfig
287
+ examples:
288
+ - path-parameters:
289
+ id: id
290
+ version: 1
291
+ response:
292
+ body:
293
+ id: id
294
+ version: 1
295
+ version_description: version_description
296
+ name: name
297
+ created_on: 1
298
+ modified_on: 1
299
+ prompt:
300
+ id: id
301
+ version: 1
302
+ version_type: version_type
303
+ version_description: version_description
304
+ name: name
305
+ created_on: 1
306
+ modified_on: 1
307
+ text: text
308
+ voice:
309
+ provider: provider
310
+ name: name
311
+ language_model:
312
+ model_provider: model_provider
313
+ model_resource: model_resource
314
+ temperature: 1.1
315
+ tools:
316
+ - tool_type: tool_type
317
+ id: id
318
+ version: 1
319
+ version_type: version_type
320
+ version_description: version_description
321
+ name: name
322
+ created_on: 1
323
+ modified_on: 1
324
+ fallback_content: fallback_content
325
+ description: description
326
+ parameters: parameters
327
+ builtin_tools:
328
+ - tool_type: tool_type
329
+ name: name
330
+ fallback_content: fallback_content
331
+ delete-config-version:
332
+ path: /v0/evi/configs/{id}/version/{version}
333
+ method: DELETE
334
+ auth: false
335
+ path-parameters:
336
+ id:
337
+ type: string
338
+ docs: Identifier for a config. Formatted as a UUID.
339
+ version:
340
+ type: integer
341
+ docs: Version number for a config. Version numbers should be integers.
342
+ display-name: Delete config version
343
+ examples:
344
+ - path-parameters:
345
+ id: id
346
+ version: 1
347
+ update-config-description:
348
+ path: /v0/evi/configs/{id}/version/{version}
349
+ method: PATCH
350
+ auth: false
351
+ path-parameters:
352
+ id:
353
+ type: string
354
+ docs: Identifier for a config. Formatted as a UUID.
355
+ version:
356
+ type: integer
357
+ docs: Version number for a config. Version numbers should be integers.
358
+ display-name: Update config description
359
+ request:
360
+ name: PostedConfigVersionDescription
361
+ body:
362
+ properties:
363
+ version_description:
364
+ type: optional<string>
365
+ docs: Description that is appended to a specific version of a Config.
366
+ response:
367
+ docs: Success
368
+ type: root.ReturnConfig
369
+ examples:
370
+ - path-parameters:
371
+ id: id
372
+ version: 1
373
+ request: {}
374
+ response:
375
+ body:
376
+ id: id
377
+ version: 1
378
+ version_description: version_description
379
+ name: name
380
+ created_on: 1
381
+ modified_on: 1
382
+ prompt:
383
+ id: id
384
+ version: 1
385
+ version_type: version_type
386
+ version_description: version_description
387
+ name: name
388
+ created_on: 1
389
+ modified_on: 1
390
+ text: text
391
+ voice:
392
+ provider: provider
393
+ name: name
394
+ language_model:
395
+ model_provider: model_provider
396
+ model_resource: model_resource
397
+ temperature: 1.1
398
+ tools:
399
+ - tool_type: tool_type
400
+ id: id
401
+ version: 1
402
+ version_type: version_type
403
+ version_description: version_description
404
+ name: name
405
+ created_on: 1
406
+ modified_on: 1
407
+ fallback_content: fallback_content
408
+ description: description
409
+ parameters: parameters
410
+ builtin_tools:
411
+ - tool_type: tool_type
412
+ name: name
413
+ fallback_content: fallback_content