vellum-ai 1.2.2 → 1.2.4

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 (278) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/index.d.ts +1 -0
  10. package/api/resources/index.js +1 -0
  11. package/api/resources/metricDefinitions/client/Client.js +2 -2
  12. package/api/resources/mlModels/client/Client.js +1 -1
  13. package/api/resources/organizations/client/Client.js +1 -1
  14. package/api/resources/prompts/client/Client.js +2 -2
  15. package/api/resources/sandboxes/client/Client.js +3 -3
  16. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  17. package/api/resources/testSuites/client/Client.js +4 -4
  18. package/api/resources/workflowDeployments/client/Client.js +9 -9
  19. package/api/resources/workflowExecutions/client/Client.d.ts +2 -1
  20. package/api/resources/workflowExecutions/client/Client.js +17 -7
  21. package/api/resources/workflowExecutions/client/index.d.ts +1 -1
  22. package/api/resources/workflowExecutions/client/index.js +15 -0
  23. package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
  24. package/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
  25. package/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
  26. package/api/resources/workflowExecutions/client/requests/index.js +2 -0
  27. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  28. package/api/resources/workflows/client/Client.js +2 -2
  29. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  30. package/api/resources/workspaces/client/Client.js +1 -1
  31. package/api/types/AudioInputRequest.d.ts +13 -0
  32. package/api/types/AudioInputRequest.js +5 -0
  33. package/api/types/DelimiterChunkerConfig.d.ts +7 -0
  34. package/api/types/DelimiterChunkerConfig.js +5 -0
  35. package/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
  36. package/api/types/DelimiterChunkerConfigRequest.js +5 -0
  37. package/api/types/DelimiterChunking.d.ts +8 -0
  38. package/api/types/DelimiterChunking.js +5 -0
  39. package/api/types/DelimiterChunkingRequest.d.ts +8 -0
  40. package/api/types/DelimiterChunkingRequest.js +5 -0
  41. package/api/types/DocumentIndexChunking.d.ts +1 -1
  42. package/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
  43. package/api/types/DocumentInputRequest.d.ts +13 -0
  44. package/api/types/DocumentInputRequest.js +5 -0
  45. package/api/types/ExecutionAudioVellumValue.d.ts +14 -0
  46. package/api/types/ExecutionAudioVellumValue.js +5 -0
  47. package/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
  48. package/api/types/ExecutionDocumentVellumValue.js +5 -0
  49. package/api/types/ExecutionImageVellumValue.d.ts +14 -0
  50. package/api/types/ExecutionImageVellumValue.js +5 -0
  51. package/api/types/ExecutionVellumValue.d.ts +1 -1
  52. package/api/types/ExecutionVideoVellumValue.d.ts +14 -0
  53. package/api/types/ExecutionVideoVellumValue.js +5 -0
  54. package/api/types/ImageInputRequest.d.ts +13 -0
  55. package/api/types/ImageInputRequest.js +5 -0
  56. package/api/types/LogicalOperator.d.ts +3 -1
  57. package/api/types/LogicalOperator.js +1 -0
  58. package/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
  59. package/api/types/NodeInputCompiledAudioValue.js +5 -0
  60. package/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
  61. package/api/types/NodeInputCompiledDocumentValue.js +5 -0
  62. package/api/types/NodeInputCompiledImageValue.d.ts +10 -0
  63. package/api/types/NodeInputCompiledImageValue.js +5 -0
  64. package/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
  65. package/api/types/NodeInputCompiledVideoValue.js +5 -0
  66. package/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  67. package/api/types/PromptDeploymentInputRequest.d.ts +1 -1
  68. package/api/types/PromptRequestAudioInput.d.ts +10 -0
  69. package/api/types/PromptRequestAudioInput.js +5 -0
  70. package/api/types/PromptRequestDocumentInput.d.ts +10 -0
  71. package/api/types/PromptRequestDocumentInput.js +5 -0
  72. package/api/types/PromptRequestImageInput.d.ts +10 -0
  73. package/api/types/PromptRequestImageInput.js +5 -0
  74. package/api/types/PromptRequestInput.d.ts +1 -1
  75. package/api/types/PromptRequestVideoInput.d.ts +10 -0
  76. package/api/types/PromptRequestVideoInput.js +5 -0
  77. package/api/types/VideoInputRequest.d.ts +13 -0
  78. package/api/types/VideoInputRequest.js +5 -0
  79. package/api/types/index.d.ts +20 -0
  80. package/api/types/index.js +20 -0
  81. package/dist/Client.js +11 -11
  82. package/dist/api/resources/adHoc/client/Client.js +2 -2
  83. package/dist/api/resources/containerImages/client/Client.js +4 -4
  84. package/dist/api/resources/deployments/client/Client.js +8 -8
  85. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  86. package/dist/api/resources/documents/client/Client.js +5 -5
  87. package/dist/api/resources/events/client/Client.js +1 -1
  88. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  89. package/dist/api/resources/index.d.ts +1 -0
  90. package/dist/api/resources/index.js +1 -0
  91. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  92. package/dist/api/resources/mlModels/client/Client.js +1 -1
  93. package/dist/api/resources/organizations/client/Client.js +1 -1
  94. package/dist/api/resources/prompts/client/Client.js +2 -2
  95. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  96. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  97. package/dist/api/resources/testSuites/client/Client.js +4 -4
  98. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  99. package/dist/api/resources/workflowExecutions/client/Client.d.ts +2 -1
  100. package/dist/api/resources/workflowExecutions/client/Client.js +17 -7
  101. package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -1
  102. package/dist/api/resources/workflowExecutions/client/index.js +15 -0
  103. package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.d.ts +17 -0
  104. package/dist/api/resources/workflowExecutions/client/requests/RetrieveWorkflowExecutionDetailRequest.js +5 -0
  105. package/dist/api/resources/workflowExecutions/client/requests/index.d.ts +1 -0
  106. package/dist/api/resources/workflowExecutions/client/requests/index.js +2 -0
  107. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  108. package/dist/api/resources/workflows/client/Client.js +2 -2
  109. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  110. package/dist/api/resources/workspaces/client/Client.js +1 -1
  111. package/dist/api/types/AudioInputRequest.d.ts +13 -0
  112. package/dist/api/types/AudioInputRequest.js +5 -0
  113. package/dist/api/types/DelimiterChunkerConfig.d.ts +7 -0
  114. package/dist/api/types/DelimiterChunkerConfig.js +5 -0
  115. package/dist/api/types/DelimiterChunkerConfigRequest.d.ts +7 -0
  116. package/dist/api/types/DelimiterChunkerConfigRequest.js +5 -0
  117. package/dist/api/types/DelimiterChunking.d.ts +8 -0
  118. package/dist/api/types/DelimiterChunking.js +5 -0
  119. package/dist/api/types/DelimiterChunkingRequest.d.ts +8 -0
  120. package/dist/api/types/DelimiterChunkingRequest.js +5 -0
  121. package/dist/api/types/DocumentIndexChunking.d.ts +1 -1
  122. package/dist/api/types/DocumentIndexChunkingRequest.d.ts +1 -1
  123. package/dist/api/types/DocumentInputRequest.d.ts +13 -0
  124. package/dist/api/types/DocumentInputRequest.js +5 -0
  125. package/dist/api/types/ExecutionAudioVellumValue.d.ts +14 -0
  126. package/dist/api/types/ExecutionAudioVellumValue.js +5 -0
  127. package/dist/api/types/ExecutionDocumentVellumValue.d.ts +14 -0
  128. package/dist/api/types/ExecutionDocumentVellumValue.js +5 -0
  129. package/dist/api/types/ExecutionImageVellumValue.d.ts +14 -0
  130. package/dist/api/types/ExecutionImageVellumValue.js +5 -0
  131. package/dist/api/types/ExecutionVellumValue.d.ts +1 -1
  132. package/dist/api/types/ExecutionVideoVellumValue.d.ts +14 -0
  133. package/dist/api/types/ExecutionVideoVellumValue.js +5 -0
  134. package/dist/api/types/ImageInputRequest.d.ts +13 -0
  135. package/dist/api/types/ImageInputRequest.js +5 -0
  136. package/dist/api/types/LogicalOperator.d.ts +3 -1
  137. package/dist/api/types/LogicalOperator.js +1 -0
  138. package/dist/api/types/NodeInputCompiledAudioValue.d.ts +10 -0
  139. package/dist/api/types/NodeInputCompiledAudioValue.js +5 -0
  140. package/dist/api/types/NodeInputCompiledDocumentValue.d.ts +10 -0
  141. package/dist/api/types/NodeInputCompiledDocumentValue.js +5 -0
  142. package/dist/api/types/NodeInputCompiledImageValue.d.ts +10 -0
  143. package/dist/api/types/NodeInputCompiledImageValue.js +5 -0
  144. package/dist/api/types/NodeInputCompiledVideoValue.d.ts +10 -0
  145. package/dist/api/types/NodeInputCompiledVideoValue.js +5 -0
  146. package/dist/api/types/NodeInputVariableCompiledValue.d.ts +1 -1
  147. package/dist/api/types/PromptDeploymentInputRequest.d.ts +1 -1
  148. package/dist/api/types/PromptRequestAudioInput.d.ts +10 -0
  149. package/dist/api/types/PromptRequestAudioInput.js +5 -0
  150. package/dist/api/types/PromptRequestDocumentInput.d.ts +10 -0
  151. package/dist/api/types/PromptRequestDocumentInput.js +5 -0
  152. package/dist/api/types/PromptRequestImageInput.d.ts +10 -0
  153. package/dist/api/types/PromptRequestImageInput.js +5 -0
  154. package/dist/api/types/PromptRequestInput.d.ts +1 -1
  155. package/dist/api/types/PromptRequestVideoInput.d.ts +10 -0
  156. package/dist/api/types/PromptRequestVideoInput.js +5 -0
  157. package/dist/api/types/VideoInputRequest.d.ts +13 -0
  158. package/dist/api/types/VideoInputRequest.js +5 -0
  159. package/dist/api/types/index.d.ts +20 -0
  160. package/dist/api/types/index.js +20 -0
  161. package/dist/serialization/types/AudioInputRequest.d.ts +15 -0
  162. package/dist/serialization/types/AudioInputRequest.js +46 -0
  163. package/dist/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
  164. package/dist/serialization/types/DelimiterChunkerConfig.js +44 -0
  165. package/dist/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
  166. package/dist/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
  167. package/dist/serialization/types/DelimiterChunking.d.ts +14 -0
  168. package/dist/serialization/types/DelimiterChunking.js +45 -0
  169. package/dist/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
  170. package/dist/serialization/types/DelimiterChunkingRequest.js +45 -0
  171. package/dist/serialization/types/DocumentIndexChunking.d.ts +2 -1
  172. package/dist/serialization/types/DocumentIndexChunking.js +7 -1
  173. package/dist/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
  174. package/dist/serialization/types/DocumentIndexChunkingRequest.js +2 -0
  175. package/dist/serialization/types/DocumentInputRequest.d.ts +15 -0
  176. package/dist/serialization/types/DocumentInputRequest.js +46 -0
  177. package/dist/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
  178. package/dist/serialization/types/ExecutionAudioVellumValue.js +47 -0
  179. package/dist/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
  180. package/dist/serialization/types/ExecutionDocumentVellumValue.js +47 -0
  181. package/dist/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
  182. package/dist/serialization/types/ExecutionImageVellumValue.js +47 -0
  183. package/dist/serialization/types/ExecutionVellumValue.d.ts +5 -1
  184. package/dist/serialization/types/ExecutionVellumValue.js +8 -0
  185. package/dist/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
  186. package/dist/serialization/types/ExecutionVideoVellumValue.js +47 -0
  187. package/dist/serialization/types/ImageInputRequest.d.ts +15 -0
  188. package/dist/serialization/types/ImageInputRequest.js +46 -0
  189. package/dist/serialization/types/LogicalOperator.d.ts +1 -1
  190. package/dist/serialization/types/LogicalOperator.js +1 -0
  191. package/dist/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
  192. package/dist/serialization/types/NodeInputCompiledAudioValue.js +47 -0
  193. package/dist/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
  194. package/dist/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
  195. package/dist/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
  196. package/dist/serialization/types/NodeInputCompiledImageValue.js +47 -0
  197. package/dist/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
  198. package/dist/serialization/types/NodeInputCompiledVideoValue.js +47 -0
  199. package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
  200. package/dist/serialization/types/NodeInputVariableCompiledValue.js +8 -0
  201. package/dist/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
  202. package/dist/serialization/types/PromptDeploymentInputRequest.js +13 -1
  203. package/dist/serialization/types/PromptRequestAudioInput.d.ts +15 -0
  204. package/dist/serialization/types/PromptRequestAudioInput.js +46 -0
  205. package/dist/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
  206. package/dist/serialization/types/PromptRequestDocumentInput.js +46 -0
  207. package/dist/serialization/types/PromptRequestImageInput.d.ts +15 -0
  208. package/dist/serialization/types/PromptRequestImageInput.js +46 -0
  209. package/dist/serialization/types/PromptRequestInput.d.ts +5 -1
  210. package/dist/serialization/types/PromptRequestInput.js +8 -0
  211. package/dist/serialization/types/PromptRequestVideoInput.d.ts +15 -0
  212. package/dist/serialization/types/PromptRequestVideoInput.js +46 -0
  213. package/dist/serialization/types/VideoInputRequest.d.ts +15 -0
  214. package/dist/serialization/types/VideoInputRequest.js +46 -0
  215. package/dist/serialization/types/index.d.ts +20 -0
  216. package/dist/serialization/types/index.js +20 -0
  217. package/dist/version.d.ts +1 -1
  218. package/dist/version.js +1 -1
  219. package/package.json +1 -1
  220. package/reference.md +9 -1
  221. package/serialization/types/AudioInputRequest.d.ts +15 -0
  222. package/serialization/types/AudioInputRequest.js +46 -0
  223. package/serialization/types/DelimiterChunkerConfig.d.ts +13 -0
  224. package/serialization/types/DelimiterChunkerConfig.js +44 -0
  225. package/serialization/types/DelimiterChunkerConfigRequest.d.ts +13 -0
  226. package/serialization/types/DelimiterChunkerConfigRequest.js +44 -0
  227. package/serialization/types/DelimiterChunking.d.ts +14 -0
  228. package/serialization/types/DelimiterChunking.js +45 -0
  229. package/serialization/types/DelimiterChunkingRequest.d.ts +14 -0
  230. package/serialization/types/DelimiterChunkingRequest.js +45 -0
  231. package/serialization/types/DocumentIndexChunking.d.ts +2 -1
  232. package/serialization/types/DocumentIndexChunking.js +7 -1
  233. package/serialization/types/DocumentIndexChunkingRequest.d.ts +2 -1
  234. package/serialization/types/DocumentIndexChunkingRequest.js +2 -0
  235. package/serialization/types/DocumentInputRequest.d.ts +15 -0
  236. package/serialization/types/DocumentInputRequest.js +46 -0
  237. package/serialization/types/ExecutionAudioVellumValue.d.ts +16 -0
  238. package/serialization/types/ExecutionAudioVellumValue.js +47 -0
  239. package/serialization/types/ExecutionDocumentVellumValue.d.ts +16 -0
  240. package/serialization/types/ExecutionDocumentVellumValue.js +47 -0
  241. package/serialization/types/ExecutionImageVellumValue.d.ts +16 -0
  242. package/serialization/types/ExecutionImageVellumValue.js +47 -0
  243. package/serialization/types/ExecutionVellumValue.d.ts +5 -1
  244. package/serialization/types/ExecutionVellumValue.js +8 -0
  245. package/serialization/types/ExecutionVideoVellumValue.d.ts +16 -0
  246. package/serialization/types/ExecutionVideoVellumValue.js +47 -0
  247. package/serialization/types/ImageInputRequest.d.ts +15 -0
  248. package/serialization/types/ImageInputRequest.js +46 -0
  249. package/serialization/types/LogicalOperator.d.ts +1 -1
  250. package/serialization/types/LogicalOperator.js +1 -0
  251. package/serialization/types/NodeInputCompiledAudioValue.d.ts +16 -0
  252. package/serialization/types/NodeInputCompiledAudioValue.js +47 -0
  253. package/serialization/types/NodeInputCompiledDocumentValue.d.ts +16 -0
  254. package/serialization/types/NodeInputCompiledDocumentValue.js +47 -0
  255. package/serialization/types/NodeInputCompiledImageValue.d.ts +16 -0
  256. package/serialization/types/NodeInputCompiledImageValue.js +47 -0
  257. package/serialization/types/NodeInputCompiledVideoValue.d.ts +16 -0
  258. package/serialization/types/NodeInputCompiledVideoValue.js +47 -0
  259. package/serialization/types/NodeInputVariableCompiledValue.d.ts +5 -1
  260. package/serialization/types/NodeInputVariableCompiledValue.js +8 -0
  261. package/serialization/types/PromptDeploymentInputRequest.d.ts +5 -1
  262. package/serialization/types/PromptDeploymentInputRequest.js +13 -1
  263. package/serialization/types/PromptRequestAudioInput.d.ts +15 -0
  264. package/serialization/types/PromptRequestAudioInput.js +46 -0
  265. package/serialization/types/PromptRequestDocumentInput.d.ts +15 -0
  266. package/serialization/types/PromptRequestDocumentInput.js +46 -0
  267. package/serialization/types/PromptRequestImageInput.d.ts +15 -0
  268. package/serialization/types/PromptRequestImageInput.js +46 -0
  269. package/serialization/types/PromptRequestInput.d.ts +5 -1
  270. package/serialization/types/PromptRequestInput.js +8 -0
  271. package/serialization/types/PromptRequestVideoInput.d.ts +15 -0
  272. package/serialization/types/PromptRequestVideoInput.js +46 -0
  273. package/serialization/types/VideoInputRequest.d.ts +15 -0
  274. package/serialization/types/VideoInputRequest.js +46 -0
  275. package/serialization/types/index.d.ts +20 -0
  276. package/serialization/types/index.js +20 -0
  277. package/version.d.ts +1 -1
  278. package/version.js +1 -1
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A user input representing a Vellum Video value
7
+ */
8
+ export interface VideoInputRequest {
9
+ /** The variable's name */
10
+ name: string;
11
+ type: "VIDEO";
12
+ value: Vellum.VellumVideoRequest;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -21,6 +21,7 @@ export * from "./ArrayVellumValue";
21
21
  export * from "./ArrayVellumValueRequest";
22
22
  export * from "./AudioChatMessageContent";
23
23
  export * from "./AudioChatMessageContentRequest";
24
+ export * from "./AudioInputRequest";
24
25
  export * from "./AudioPromptBlock";
25
26
  export * from "./AudioVellumValue";
26
27
  export * from "./AudioVellumValueRequest";
@@ -68,6 +69,10 @@ export * from "./ContainerImageBuildConfig";
68
69
  export * from "./ContainerImageContainerImageTag";
69
70
  export * from "./ContainerImageRead";
70
71
  export * from "./CreateTestSuiteTestCaseRequest";
72
+ export * from "./DelimiterChunkerConfig";
73
+ export * from "./DelimiterChunkerConfigRequest";
74
+ export * from "./DelimiterChunking";
75
+ export * from "./DelimiterChunkingRequest";
71
76
  export * from "./DeploymentHistoryItem";
72
77
  export * from "./DeploymentProviderPayloadResponsePayload";
73
78
  export * from "./DeploymentProviderPayloadResponse";
@@ -83,6 +88,7 @@ export * from "./DocumentIndexChunkingRequest";
83
88
  export * from "./DocumentIndexIndexingConfig";
84
89
  export * from "./DocumentIndexIndexingConfigRequest";
85
90
  export * from "./DocumentIndexRead";
91
+ export * from "./DocumentInputRequest";
86
92
  export * from "./DocumentProcessingState";
87
93
  export * from "./DocumentPromptBlock";
88
94
  export * from "./DocumentRead";
@@ -107,15 +113,19 @@ export * from "./ExecutePromptResponse";
107
113
  export * from "./ExecuteWorkflowResponse";
108
114
  export * from "./ExecuteWorkflowWorkflowResultEvent";
109
115
  export * from "./ExecutionArrayVellumValue";
116
+ export * from "./ExecutionAudioVellumValue";
110
117
  export * from "./ExecutionChatHistoryVellumValue";
118
+ export * from "./ExecutionDocumentVellumValue";
111
119
  export * from "./ExecutionErrorVellumValue";
112
120
  export * from "./ExecutionFunctionCallVellumValue";
121
+ export * from "./ExecutionImageVellumValue";
113
122
  export * from "./ExecutionJsonVellumValue";
114
123
  export * from "./ExecutionNumberVellumValue";
115
124
  export * from "./ExecutionSearchResultsVellumValue";
116
125
  export * from "./ExecutionStringVellumValue";
117
126
  export * from "./ExecutionThinkingVellumValue";
118
127
  export * from "./ExecutionVellumValue";
128
+ export * from "./ExecutionVideoVellumValue";
119
129
  export * from "./ExternalInputDescriptor";
120
130
  export * from "./ExternalParentContext";
121
131
  export * from "./ExternalTestCaseExecution";
@@ -174,6 +184,7 @@ export * from "./HkunlpInstructorXlVectorizer";
174
184
  export * from "./HkunlpInstructorXlVectorizerRequest";
175
185
  export * from "./ImageChatMessageContent";
176
186
  export * from "./ImageChatMessageContentRequest";
187
+ export * from "./ImageInputRequest";
177
188
  export * from "./ImagePromptBlock";
178
189
  export * from "./ImageVellumValue";
179
190
  export * from "./ImageVellumValueRequest";
@@ -249,14 +260,18 @@ export * from "./NodeExecutionSpanAttributes";
249
260
  export * from "./NodeExecutionStreamingBody";
250
261
  export * from "./NodeExecutionStreamingEvent";
251
262
  export * from "./NodeInputCompiledArrayValue";
263
+ export * from "./NodeInputCompiledAudioValue";
252
264
  export * from "./NodeInputCompiledChatHistoryValue";
265
+ export * from "./NodeInputCompiledDocumentValue";
253
266
  export * from "./NodeInputCompiledErrorValue";
254
267
  export * from "./NodeInputCompiledFunctionCallValue";
268
+ export * from "./NodeInputCompiledImageValue";
255
269
  export * from "./NodeInputCompiledJsonValue";
256
270
  export * from "./NodeInputCompiledNumberValue";
257
271
  export * from "./NodeInputCompiledSearchResultsValue";
258
272
  export * from "./NodeInputCompiledSecretValue";
259
273
  export * from "./NodeInputCompiledStringValue";
274
+ export * from "./NodeInputCompiledVideoValue";
260
275
  export * from "./NodeInputVariableCompiledValue";
261
276
  export * from "./NodeOutputCompiledArrayValue";
262
277
  export * from "./NodeOutputCompiledChatHistoryValue";
@@ -316,10 +331,14 @@ export * from "./PromptNodeResultData";
316
331
  export * from "./PromptOutput";
317
332
  export * from "./PromptParameters";
318
333
  export * from "./PromptPushResponse";
334
+ export * from "./PromptRequestAudioInput";
319
335
  export * from "./PromptRequestChatHistoryInput";
336
+ export * from "./PromptRequestDocumentInput";
337
+ export * from "./PromptRequestImageInput";
320
338
  export * from "./PromptRequestInput";
321
339
  export * from "./PromptRequestJsonInput";
322
340
  export * from "./PromptRequestStringInput";
341
+ export * from "./PromptRequestVideoInput";
323
342
  export * from "./PromptSettings";
324
343
  export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
325
344
  export * from "./PromptVersionBuildConfigSandbox";
@@ -526,6 +545,7 @@ export * from "./VellumVideoRequest";
526
545
  export * from "./VellumWorkflowExecutionEvent";
527
546
  export * from "./VideoChatMessageContent";
528
547
  export * from "./VideoChatMessageContentRequest";
548
+ export * from "./VideoInputRequest";
529
549
  export * from "./VideoPromptBlock";
530
550
  export * from "./VideoVellumValue";
531
551
  export * from "./VideoVellumValueRequest";
@@ -37,6 +37,7 @@ __exportStar(require("./ArrayVellumValue"), exports);
37
37
  __exportStar(require("./ArrayVellumValueRequest"), exports);
38
38
  __exportStar(require("./AudioChatMessageContent"), exports);
39
39
  __exportStar(require("./AudioChatMessageContentRequest"), exports);
40
+ __exportStar(require("./AudioInputRequest"), exports);
40
41
  __exportStar(require("./AudioPromptBlock"), exports);
41
42
  __exportStar(require("./AudioVellumValue"), exports);
42
43
  __exportStar(require("./AudioVellumValueRequest"), exports);
@@ -84,6 +85,10 @@ __exportStar(require("./ContainerImageBuildConfig"), exports);
84
85
  __exportStar(require("./ContainerImageContainerImageTag"), exports);
85
86
  __exportStar(require("./ContainerImageRead"), exports);
86
87
  __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
88
+ __exportStar(require("./DelimiterChunkerConfig"), exports);
89
+ __exportStar(require("./DelimiterChunkerConfigRequest"), exports);
90
+ __exportStar(require("./DelimiterChunking"), exports);
91
+ __exportStar(require("./DelimiterChunkingRequest"), exports);
87
92
  __exportStar(require("./DeploymentHistoryItem"), exports);
88
93
  __exportStar(require("./DeploymentProviderPayloadResponsePayload"), exports);
89
94
  __exportStar(require("./DeploymentProviderPayloadResponse"), exports);
@@ -99,6 +104,7 @@ __exportStar(require("./DocumentIndexChunkingRequest"), exports);
99
104
  __exportStar(require("./DocumentIndexIndexingConfig"), exports);
100
105
  __exportStar(require("./DocumentIndexIndexingConfigRequest"), exports);
101
106
  __exportStar(require("./DocumentIndexRead"), exports);
107
+ __exportStar(require("./DocumentInputRequest"), exports);
102
108
  __exportStar(require("./DocumentProcessingState"), exports);
103
109
  __exportStar(require("./DocumentPromptBlock"), exports);
104
110
  __exportStar(require("./DocumentRead"), exports);
@@ -123,15 +129,19 @@ __exportStar(require("./ExecutePromptResponse"), exports);
123
129
  __exportStar(require("./ExecuteWorkflowResponse"), exports);
124
130
  __exportStar(require("./ExecuteWorkflowWorkflowResultEvent"), exports);
125
131
  __exportStar(require("./ExecutionArrayVellumValue"), exports);
132
+ __exportStar(require("./ExecutionAudioVellumValue"), exports);
126
133
  __exportStar(require("./ExecutionChatHistoryVellumValue"), exports);
134
+ __exportStar(require("./ExecutionDocumentVellumValue"), exports);
127
135
  __exportStar(require("./ExecutionErrorVellumValue"), exports);
128
136
  __exportStar(require("./ExecutionFunctionCallVellumValue"), exports);
137
+ __exportStar(require("./ExecutionImageVellumValue"), exports);
129
138
  __exportStar(require("./ExecutionJsonVellumValue"), exports);
130
139
  __exportStar(require("./ExecutionNumberVellumValue"), exports);
131
140
  __exportStar(require("./ExecutionSearchResultsVellumValue"), exports);
132
141
  __exportStar(require("./ExecutionStringVellumValue"), exports);
133
142
  __exportStar(require("./ExecutionThinkingVellumValue"), exports);
134
143
  __exportStar(require("./ExecutionVellumValue"), exports);
144
+ __exportStar(require("./ExecutionVideoVellumValue"), exports);
135
145
  __exportStar(require("./ExternalInputDescriptor"), exports);
136
146
  __exportStar(require("./ExternalParentContext"), exports);
137
147
  __exportStar(require("./ExternalTestCaseExecution"), exports);
@@ -190,6 +200,7 @@ __exportStar(require("./HkunlpInstructorXlVectorizer"), exports);
190
200
  __exportStar(require("./HkunlpInstructorXlVectorizerRequest"), exports);
191
201
  __exportStar(require("./ImageChatMessageContent"), exports);
192
202
  __exportStar(require("./ImageChatMessageContentRequest"), exports);
203
+ __exportStar(require("./ImageInputRequest"), exports);
193
204
  __exportStar(require("./ImagePromptBlock"), exports);
194
205
  __exportStar(require("./ImageVellumValue"), exports);
195
206
  __exportStar(require("./ImageVellumValueRequest"), exports);
@@ -265,14 +276,18 @@ __exportStar(require("./NodeExecutionSpanAttributes"), exports);
265
276
  __exportStar(require("./NodeExecutionStreamingBody"), exports);
266
277
  __exportStar(require("./NodeExecutionStreamingEvent"), exports);
267
278
  __exportStar(require("./NodeInputCompiledArrayValue"), exports);
279
+ __exportStar(require("./NodeInputCompiledAudioValue"), exports);
268
280
  __exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
281
+ __exportStar(require("./NodeInputCompiledDocumentValue"), exports);
269
282
  __exportStar(require("./NodeInputCompiledErrorValue"), exports);
270
283
  __exportStar(require("./NodeInputCompiledFunctionCallValue"), exports);
284
+ __exportStar(require("./NodeInputCompiledImageValue"), exports);
271
285
  __exportStar(require("./NodeInputCompiledJsonValue"), exports);
272
286
  __exportStar(require("./NodeInputCompiledNumberValue"), exports);
273
287
  __exportStar(require("./NodeInputCompiledSearchResultsValue"), exports);
274
288
  __exportStar(require("./NodeInputCompiledSecretValue"), exports);
275
289
  __exportStar(require("./NodeInputCompiledStringValue"), exports);
290
+ __exportStar(require("./NodeInputCompiledVideoValue"), exports);
276
291
  __exportStar(require("./NodeInputVariableCompiledValue"), exports);
277
292
  __exportStar(require("./NodeOutputCompiledArrayValue"), exports);
278
293
  __exportStar(require("./NodeOutputCompiledChatHistoryValue"), exports);
@@ -332,10 +347,14 @@ __exportStar(require("./PromptNodeResultData"), exports);
332
347
  __exportStar(require("./PromptOutput"), exports);
333
348
  __exportStar(require("./PromptParameters"), exports);
334
349
  __exportStar(require("./PromptPushResponse"), exports);
350
+ __exportStar(require("./PromptRequestAudioInput"), exports);
335
351
  __exportStar(require("./PromptRequestChatHistoryInput"), exports);
352
+ __exportStar(require("./PromptRequestDocumentInput"), exports);
353
+ __exportStar(require("./PromptRequestImageInput"), exports);
336
354
  __exportStar(require("./PromptRequestInput"), exports);
337
355
  __exportStar(require("./PromptRequestJsonInput"), exports);
338
356
  __exportStar(require("./PromptRequestStringInput"), exports);
357
+ __exportStar(require("./PromptRequestVideoInput"), exports);
339
358
  __exportStar(require("./PromptSettings"), exports);
340
359
  __exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
341
360
  __exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
@@ -542,6 +561,7 @@ __exportStar(require("./VellumVideoRequest"), exports);
542
561
  __exportStar(require("./VellumWorkflowExecutionEvent"), exports);
543
562
  __exportStar(require("./VideoChatMessageContent"), exports);
544
563
  __exportStar(require("./VideoChatMessageContentRequest"), exports);
564
+ __exportStar(require("./VideoInputRequest"), exports);
545
565
  __exportStar(require("./VideoPromptBlock"), exports);
546
566
  __exportStar(require("./VideoVellumValue"), exports);
547
567
  __exportStar(require("./VideoVellumValueRequest"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumAudioRequest } from "./VellumAudioRequest";
8
+ export declare const AudioInputRequest: core.serialization.ObjectSchema<serializers.AudioInputRequest.Raw, Vellum.AudioInputRequest>;
9
+ export declare namespace AudioInputRequest {
10
+ interface Raw {
11
+ name: string;
12
+ type: "AUDIO";
13
+ value: VellumAudioRequest.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AudioInputRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumAudioRequest_1 = require("./VellumAudioRequest");
42
+ exports.AudioInputRequest = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("AUDIO"),
45
+ value: VellumAudioRequest_1.VellumAudioRequest,
46
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const DelimiterChunkerConfig: core.serialization.ObjectSchema<serializers.DelimiterChunkerConfig.Raw, Vellum.DelimiterChunkerConfig>;
8
+ export declare namespace DelimiterChunkerConfig {
9
+ interface Raw {
10
+ delimiter?: string | null;
11
+ is_regex?: boolean | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DelimiterChunkerConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DelimiterChunkerConfig = core.serialization.object({
42
+ delimiter: core.serialization.string().optional(),
43
+ isRegex: core.serialization.property("is_regex", core.serialization.boolean().optional()),
44
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const DelimiterChunkerConfigRequest: core.serialization.ObjectSchema<serializers.DelimiterChunkerConfigRequest.Raw, Vellum.DelimiterChunkerConfigRequest>;
8
+ export declare namespace DelimiterChunkerConfigRequest {
9
+ interface Raw {
10
+ delimiter?: string | null;
11
+ is_regex?: boolean | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DelimiterChunkerConfigRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DelimiterChunkerConfigRequest = core.serialization.object({
42
+ delimiter: core.serialization.string().optional(),
43
+ isRegex: core.serialization.property("is_regex", core.serialization.boolean().optional()),
44
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { DelimiterChunkerConfig } from "./DelimiterChunkerConfig";
8
+ export declare const DelimiterChunking: core.serialization.ObjectSchema<serializers.DelimiterChunking.Raw, Vellum.DelimiterChunking>;
9
+ export declare namespace DelimiterChunking {
10
+ interface Raw {
11
+ chunker_name: "delimiter-chunker";
12
+ chunker_config?: DelimiterChunkerConfig.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DelimiterChunking = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const DelimiterChunkerConfig_1 = require("./DelimiterChunkerConfig");
42
+ exports.DelimiterChunking = core.serialization.object({
43
+ chunkerName: core.serialization.property("chunker_name", core.serialization.stringLiteral("delimiter-chunker")),
44
+ chunkerConfig: core.serialization.property("chunker_config", DelimiterChunkerConfig_1.DelimiterChunkerConfig.optional()),
45
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { DelimiterChunkerConfigRequest } from "./DelimiterChunkerConfigRequest";
8
+ export declare const DelimiterChunkingRequest: core.serialization.ObjectSchema<serializers.DelimiterChunkingRequest.Raw, Vellum.DelimiterChunkingRequest>;
9
+ export declare namespace DelimiterChunkingRequest {
10
+ interface Raw {
11
+ chunker_name: "delimiter-chunker";
12
+ chunker_config?: DelimiterChunkerConfigRequest.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DelimiterChunkingRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const DelimiterChunkerConfigRequest_1 = require("./DelimiterChunkerConfigRequest");
42
+ exports.DelimiterChunkingRequest = core.serialization.object({
43
+ chunkerName: core.serialization.property("chunker_name", core.serialization.stringLiteral("delimiter-chunker")),
44
+ chunkerConfig: core.serialization.property("chunker_config", DelimiterChunkerConfigRequest_1.DelimiterChunkerConfigRequest.optional()),
45
+ });
@@ -7,7 +7,8 @@ import * as core from "../../core";
7
7
  import { ReductoChunking } from "./ReductoChunking";
8
8
  import { SentenceChunking } from "./SentenceChunking";
9
9
  import { TokenOverlappingWindowChunking } from "./TokenOverlappingWindowChunking";
10
+ import { DelimiterChunking } from "./DelimiterChunking";
10
11
  export declare const DocumentIndexChunking: core.serialization.Schema<serializers.DocumentIndexChunking.Raw, Vellum.DocumentIndexChunking>;
11
12
  export declare namespace DocumentIndexChunking {
12
- type Raw = ReductoChunking.Raw | SentenceChunking.Raw | TokenOverlappingWindowChunking.Raw;
13
+ type Raw = ReductoChunking.Raw | SentenceChunking.Raw | TokenOverlappingWindowChunking.Raw | DelimiterChunking.Raw;
13
14
  }
@@ -41,4 +41,10 @@ const core = __importStar(require("../../core"));
41
41
  const ReductoChunking_1 = require("./ReductoChunking");
42
42
  const SentenceChunking_1 = require("./SentenceChunking");
43
43
  const TokenOverlappingWindowChunking_1 = require("./TokenOverlappingWindowChunking");
44
- exports.DocumentIndexChunking = core.serialization.undiscriminatedUnion([ReductoChunking_1.ReductoChunking, SentenceChunking_1.SentenceChunking, TokenOverlappingWindowChunking_1.TokenOverlappingWindowChunking]);
44
+ const DelimiterChunking_1 = require("./DelimiterChunking");
45
+ exports.DocumentIndexChunking = core.serialization.undiscriminatedUnion([
46
+ ReductoChunking_1.ReductoChunking,
47
+ SentenceChunking_1.SentenceChunking,
48
+ TokenOverlappingWindowChunking_1.TokenOverlappingWindowChunking,
49
+ DelimiterChunking_1.DelimiterChunking,
50
+ ]);
@@ -7,7 +7,8 @@ import * as core from "../../core";
7
7
  import { ReductoChunkingRequest } from "./ReductoChunkingRequest";
8
8
  import { SentenceChunkingRequest } from "./SentenceChunkingRequest";
9
9
  import { TokenOverlappingWindowChunkingRequest } from "./TokenOverlappingWindowChunkingRequest";
10
+ import { DelimiterChunkingRequest } from "./DelimiterChunkingRequest";
10
11
  export declare const DocumentIndexChunkingRequest: core.serialization.Schema<serializers.DocumentIndexChunkingRequest.Raw, Vellum.DocumentIndexChunkingRequest>;
11
12
  export declare namespace DocumentIndexChunkingRequest {
12
- type Raw = ReductoChunkingRequest.Raw | SentenceChunkingRequest.Raw | TokenOverlappingWindowChunkingRequest.Raw;
13
+ type Raw = ReductoChunkingRequest.Raw | SentenceChunkingRequest.Raw | TokenOverlappingWindowChunkingRequest.Raw | DelimiterChunkingRequest.Raw;
13
14
  }
@@ -41,8 +41,10 @@ const core = __importStar(require("../../core"));
41
41
  const ReductoChunkingRequest_1 = require("./ReductoChunkingRequest");
42
42
  const SentenceChunkingRequest_1 = require("./SentenceChunkingRequest");
43
43
  const TokenOverlappingWindowChunkingRequest_1 = require("./TokenOverlappingWindowChunkingRequest");
44
+ const DelimiterChunkingRequest_1 = require("./DelimiterChunkingRequest");
44
45
  exports.DocumentIndexChunkingRequest = core.serialization.undiscriminatedUnion([
45
46
  ReductoChunkingRequest_1.ReductoChunkingRequest,
46
47
  SentenceChunkingRequest_1.SentenceChunkingRequest,
47
48
  TokenOverlappingWindowChunkingRequest_1.TokenOverlappingWindowChunkingRequest,
49
+ DelimiterChunkingRequest_1.DelimiterChunkingRequest,
48
50
  ]);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VellumDocumentRequest } from "./VellumDocumentRequest";
8
+ export declare const DocumentInputRequest: core.serialization.ObjectSchema<serializers.DocumentInputRequest.Raw, Vellum.DocumentInputRequest>;
9
+ export declare namespace DocumentInputRequest {
10
+ interface Raw {
11
+ name: string;
12
+ type: "DOCUMENT";
13
+ value: VellumDocumentRequest.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DocumentInputRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VellumDocumentRequest_1 = require("./VellumDocumentRequest");
42
+ exports.DocumentInputRequest = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("DOCUMENT"),
45
+ value: VellumDocumentRequest_1.VellumDocumentRequest,
46
+ });