vellum-ai 0.9.5 → 0.9.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 (255) hide show
  1. package/.mock/definition/__package__.yml +92 -110
  2. package/.mock/definition/adHoc.yml +7 -7
  3. package/.mock/openapi/openapi.yml +120 -165
  4. package/Client.js +10 -10
  5. package/api/resources/adHoc/client/Client.d.ts +1 -1
  6. package/api/resources/adHoc/client/Client.js +2 -2
  7. package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -21
  8. package/api/resources/adHoc/client/requests/index.d.ts +1 -1
  9. package/api/resources/containerImages/client/Client.js +4 -4
  10. package/api/resources/deployments/client/Client.js +6 -6
  11. package/api/resources/documentIndexes/client/Client.js +8 -8
  12. package/api/resources/documents/client/Client.js +5 -5
  13. package/api/resources/folderEntities/client/Client.js +2 -2
  14. package/api/resources/metricDefinitions/client/Client.js +1 -1
  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 +5 -5
  19. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  20. package/api/resources/workflows/client/Client.js +2 -2
  21. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  22. package/{dist/api/types/AdHocExpandMetaRequest.d.ts → api/types/AdHocExpandMeta.d.ts} +1 -1
  23. package/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
  24. package/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
  25. package/api/types/PromptRequestInput.d.ts +5 -0
  26. package/{dist/api/types/PromptRequestJsonInputRequest.d.ts → api/types/PromptRequestJsonInput.d.ts} +1 -1
  27. package/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
  28. package/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
  29. package/api/types/index.d.ts +7 -23
  30. package/api/types/index.js +7 -23
  31. package/dist/Client.js +10 -10
  32. package/dist/api/resources/adHoc/client/Client.d.ts +1 -1
  33. package/dist/api/resources/adHoc/client/Client.js +2 -2
  34. package/dist/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -21
  35. package/dist/api/resources/adHoc/client/requests/index.d.ts +1 -1
  36. package/dist/api/resources/containerImages/client/Client.js +4 -4
  37. package/dist/api/resources/deployments/client/Client.js +6 -6
  38. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  39. package/dist/api/resources/documents/client/Client.js +5 -5
  40. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  41. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  42. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  43. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  44. package/dist/api/resources/testSuites/client/Client.js +4 -4
  45. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  46. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  47. package/dist/api/resources/workflows/client/Client.js +2 -2
  48. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  49. package/{api/types/AdHocExpandMetaRequest.d.ts → dist/api/types/AdHocExpandMeta.d.ts} +1 -1
  50. package/dist/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
  51. package/dist/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
  52. package/dist/api/types/PromptRequestInput.d.ts +5 -0
  53. package/{api/types/PromptRequestJsonInputRequest.d.ts → dist/api/types/PromptRequestJsonInput.d.ts} +1 -1
  54. package/dist/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
  55. package/dist/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
  56. package/dist/api/types/index.d.ts +7 -23
  57. package/dist/api/types/index.js +7 -23
  58. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
  59. package/{serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -14
  60. package/dist/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
  61. package/dist/serialization/resources/adHoc/client/requests/index.js +3 -3
  62. package/dist/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
  63. package/dist/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
  64. package/dist/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
  65. package/dist/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
  66. package/dist/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
  67. package/dist/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
  68. package/dist/serialization/types/PromptRequestInput.d.ts +13 -0
  69. package/dist/serialization/types/{JinjaPromptBlockPropertiesRequest.js → PromptRequestInput.js} +9 -6
  70. package/{serialization/types/PromptRequestJsonInputRequest.d.ts → dist/serialization/types/PromptRequestJsonInput.d.ts} +2 -2
  71. package/{serialization/types/PromptRequestJsonInputRequest.js → dist/serialization/types/PromptRequestJsonInput.js} +2 -2
  72. package/dist/serialization/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +2 -2
  73. package/{serialization/types/PromptRequestStringInputRequest.js → dist/serialization/types/PromptRequestStringInput.js} +2 -2
  74. package/dist/serialization/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +2 -2
  75. package/dist/serialization/types/{PromptSettingsRequest.js → PromptSettings.js} +2 -2
  76. package/dist/serialization/types/index.d.ts +7 -23
  77. package/dist/serialization/types/index.js +7 -23
  78. package/dist/version.d.ts +1 -1
  79. package/dist/version.js +1 -1
  80. package/package.json +1 -1
  81. package/reference.md +8 -15
  82. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
  83. package/{dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -14
  84. package/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
  85. package/serialization/resources/adHoc/client/requests/index.js +3 -3
  86. package/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
  87. package/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
  88. package/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
  89. package/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
  90. package/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
  91. package/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
  92. package/serialization/types/PromptRequestInput.d.ts +13 -0
  93. package/{dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.js → serialization/types/PromptRequestInput.js} +9 -2
  94. package/{dist/serialization/types/PromptRequestJsonInputRequest.d.ts → serialization/types/PromptRequestJsonInput.d.ts} +2 -2
  95. package/{dist/serialization/types/PromptRequestJsonInputRequest.js → serialization/types/PromptRequestJsonInput.js} +2 -2
  96. package/serialization/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +2 -2
  97. package/{dist/serialization/types/PromptRequestStringInputRequest.js → serialization/types/PromptRequestStringInput.js} +2 -2
  98. package/serialization/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +2 -2
  99. package/serialization/types/{PromptSettingsRequest.js → PromptSettings.js} +2 -2
  100. package/serialization/types/index.d.ts +7 -23
  101. package/serialization/types/index.js +7 -23
  102. package/version.d.ts +1 -1
  103. package/version.js +1 -1
  104. package/api/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -13
  105. package/api/types/ChatMessagePromptBlockRequest.d.ts +0 -14
  106. package/api/types/EphemeralPromptCacheConfigRequest.d.ts +0 -7
  107. package/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -7
  108. package/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -15
  109. package/api/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -14
  110. package/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
  111. package/api/types/JinjaPromptBlockRequest.d.ts +0 -14
  112. package/api/types/PlainTextPromptBlockRequest.d.ts +0 -14
  113. package/api/types/PromptBlockRequest.d.ts +0 -5
  114. package/api/types/PromptBlockState.d.ts +0 -12
  115. package/api/types/PromptBlockState.js +0 -10
  116. package/api/types/PromptRequestInputRequest.d.ts +0 -5
  117. package/api/types/PromptRequestStringInputRequest.js +0 -5
  118. package/api/types/PromptSettingsRequest.js +0 -5
  119. package/api/types/RichTextChildBlockRequest.d.ts +0 -5
  120. package/api/types/RichTextChildBlockRequest.js +0 -5
  121. package/api/types/RichTextPromptBlockRequest.d.ts +0 -14
  122. package/api/types/RichTextPromptBlockRequest.js +0 -5
  123. package/api/types/VariablePromptBlockRequest.d.ts +0 -14
  124. package/api/types/VariablePromptBlockRequest.js +0 -5
  125. package/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
  126. package/api/types/VellumVariableExtensionsRequest.js +0 -5
  127. package/api/types/VellumVariableRequest.d.ts +0 -12
  128. package/api/types/VellumVariableRequest.js +0 -5
  129. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +0 -5
  130. package/dist/api/types/AdHocExpandMetaRequest.js +0 -5
  131. package/dist/api/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -13
  132. package/dist/api/types/ChatMessagePromptBlockPropertiesRequest.js +0 -5
  133. package/dist/api/types/ChatMessagePromptBlockRequest.d.ts +0 -14
  134. package/dist/api/types/ChatMessagePromptBlockRequest.js +0 -5
  135. package/dist/api/types/EphemeralPromptCacheConfigRequest.d.ts +0 -7
  136. package/dist/api/types/EphemeralPromptCacheConfigRequest.js +0 -5
  137. package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -7
  138. package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.js +0 -5
  139. package/dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -15
  140. package/dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -5
  141. package/dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -14
  142. package/dist/api/types/FunctionDefinitionPromptBlockRequest.js +0 -5
  143. package/dist/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
  144. package/dist/api/types/JinjaPromptBlockPropertiesRequest.js +0 -5
  145. package/dist/api/types/JinjaPromptBlockRequest.d.ts +0 -14
  146. package/dist/api/types/JinjaPromptBlockRequest.js +0 -5
  147. package/dist/api/types/PlainTextPromptBlockRequest.d.ts +0 -14
  148. package/dist/api/types/PlainTextPromptBlockRequest.js +0 -5
  149. package/dist/api/types/PromptBlockRequest.d.ts +0 -5
  150. package/dist/api/types/PromptBlockRequest.js +0 -5
  151. package/dist/api/types/PromptBlockState.d.ts +0 -12
  152. package/dist/api/types/PromptBlockState.js +0 -10
  153. package/dist/api/types/PromptParametersRequest.js +0 -5
  154. package/dist/api/types/PromptRequestChatHistoryInputRequest.js +0 -5
  155. package/dist/api/types/PromptRequestInputRequest.d.ts +0 -5
  156. package/dist/api/types/PromptRequestInputRequest.js +0 -5
  157. package/dist/api/types/PromptRequestJsonInputRequest.js +0 -5
  158. package/dist/api/types/PromptRequestStringInputRequest.js +0 -5
  159. package/dist/api/types/PromptSettingsRequest.js +0 -5
  160. package/dist/api/types/RichTextChildBlockRequest.d.ts +0 -5
  161. package/dist/api/types/RichTextChildBlockRequest.js +0 -5
  162. package/dist/api/types/RichTextPromptBlockRequest.d.ts +0 -14
  163. package/dist/api/types/RichTextPromptBlockRequest.js +0 -5
  164. package/dist/api/types/VariablePromptBlockRequest.d.ts +0 -14
  165. package/dist/api/types/VariablePromptBlockRequest.js +0 -5
  166. package/dist/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
  167. package/dist/api/types/VellumVariableExtensionsRequest.js +0 -5
  168. package/dist/api/types/VellumVariableRequest.d.ts +0 -12
  169. package/dist/api/types/VellumVariableRequest.js +0 -5
  170. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
  171. package/dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -16
  172. package/dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.js +0 -38
  173. package/dist/serialization/types/ChatMessagePromptBlockRequest.d.ts +0 -18
  174. package/dist/serialization/types/ChatMessagePromptBlockRequest.js +0 -40
  175. package/dist/serialization/types/EphemeralPromptCacheConfigRequest.d.ts +0 -13
  176. package/dist/serialization/types/EphemeralPromptCacheConfigRequest.js +0 -34
  177. package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -10
  178. package/dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -16
  179. package/dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -37
  180. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -19
  181. package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -40
  182. package/dist/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
  183. package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +0 -19
  184. package/dist/serialization/types/JinjaPromptBlockRequest.js +0 -40
  185. package/dist/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -18
  186. package/dist/serialization/types/PlainTextPromptBlockRequest.js +0 -39
  187. package/dist/serialization/types/PromptBlockRequest.d.ts +0 -14
  188. package/dist/serialization/types/PromptBlockRequest.js +0 -42
  189. package/dist/serialization/types/PromptBlockState.d.ts +0 -10
  190. package/dist/serialization/types/PromptBlockState.js +0 -31
  191. package/dist/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
  192. package/dist/serialization/types/PromptRequestInputRequest.d.ts +0 -13
  193. package/dist/serialization/types/PromptRequestInputRequest.js +0 -38
  194. package/dist/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
  195. package/dist/serialization/types/RichTextChildBlockRequest.js +0 -33
  196. package/dist/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
  197. package/dist/serialization/types/RichTextPromptBlockRequest.js +0 -40
  198. package/dist/serialization/types/VariablePromptBlockRequest.d.ts +0 -18
  199. package/dist/serialization/types/VariablePromptBlockRequest.js +0 -39
  200. package/dist/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
  201. package/dist/serialization/types/VellumVariableExtensionsRequest.js +0 -33
  202. package/dist/serialization/types/VellumVariableRequest.d.ts +0 -19
  203. package/dist/serialization/types/VellumVariableRequest.js +0 -41
  204. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
  205. package/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -16
  206. package/serialization/types/ChatMessagePromptBlockPropertiesRequest.js +0 -38
  207. package/serialization/types/ChatMessagePromptBlockRequest.d.ts +0 -18
  208. package/serialization/types/ChatMessagePromptBlockRequest.js +0 -40
  209. package/serialization/types/EphemeralPromptCacheConfigRequest.d.ts +0 -13
  210. package/serialization/types/EphemeralPromptCacheConfigRequest.js +0 -34
  211. package/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -10
  212. package/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +0 -31
  213. package/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -16
  214. package/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -37
  215. package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -19
  216. package/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -40
  217. package/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
  218. package/serialization/types/JinjaPromptBlockPropertiesRequest.js +0 -35
  219. package/serialization/types/JinjaPromptBlockRequest.d.ts +0 -19
  220. package/serialization/types/JinjaPromptBlockRequest.js +0 -40
  221. package/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -18
  222. package/serialization/types/PlainTextPromptBlockRequest.js +0 -39
  223. package/serialization/types/PromptBlockRequest.d.ts +0 -14
  224. package/serialization/types/PromptBlockRequest.js +0 -42
  225. package/serialization/types/PromptBlockState.d.ts +0 -10
  226. package/serialization/types/PromptBlockState.js +0 -31
  227. package/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
  228. package/serialization/types/PromptRequestInputRequest.d.ts +0 -13
  229. package/serialization/types/PromptRequestInputRequest.js +0 -38
  230. package/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
  231. package/serialization/types/RichTextChildBlockRequest.js +0 -33
  232. package/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
  233. package/serialization/types/RichTextPromptBlockRequest.js +0 -40
  234. package/serialization/types/VariablePromptBlockRequest.d.ts +0 -18
  235. package/serialization/types/VariablePromptBlockRequest.js +0 -39
  236. package/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
  237. package/serialization/types/VellumVariableExtensionsRequest.js +0 -33
  238. package/serialization/types/VellumVariableRequest.d.ts +0 -19
  239. package/serialization/types/VellumVariableRequest.js +0 -41
  240. /package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.js → AdHocExecutePromptStream.js} +0 -0
  241. /package/api/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +0 -0
  242. /package/api/types/{ChatMessagePromptBlockPropertiesRequest.js → PromptParameters.js} +0 -0
  243. /package/api/types/{ChatMessagePromptBlockRequest.js → PromptRequestChatHistoryInput.js} +0 -0
  244. /package/api/types/{EphemeralPromptCacheConfigRequest.js → PromptRequestInput.js} +0 -0
  245. /package/api/types/{EphemeralPromptCacheConfigTypeEnum.js → PromptRequestJsonInput.js} +0 -0
  246. /package/api/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → PromptRequestStringInput.js} +0 -0
  247. /package/api/types/{FunctionDefinitionPromptBlockRequest.js → PromptSettings.js} +0 -0
  248. /package/{api/types/JinjaPromptBlockPropertiesRequest.js → dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +0 -0
  249. /package/{api/types/JinjaPromptBlockRequest.js → dist/api/types/AdHocExpandMeta.js} +0 -0
  250. /package/{api/types/PlainTextPromptBlockRequest.js → dist/api/types/PromptParameters.js} +0 -0
  251. /package/{api/types/PromptBlockRequest.js → dist/api/types/PromptRequestChatHistoryInput.js} +0 -0
  252. /package/{api/types/PromptParametersRequest.js → dist/api/types/PromptRequestInput.js} +0 -0
  253. /package/{api/types/PromptRequestChatHistoryInputRequest.js → dist/api/types/PromptRequestJsonInput.js} +0 -0
  254. /package/{api/types/PromptRequestInputRequest.js → dist/api/types/PromptRequestStringInput.js} +0 -0
  255. /package/{api/types/PromptRequestJsonInputRequest.js → dist/api/types/PromptSettings.js} +0 -0
@@ -48,7 +48,7 @@ paths:
48
48
  content:
49
49
  application/json:
50
50
  schema:
51
- $ref: '#/components/schemas/AdHocExecutePromptStreamRequest'
51
+ $ref: '#/components/schemas/AdHocExecutePromptStream'
52
52
  required: true
53
53
  security:
54
54
  - apiKeyAuth: []
@@ -2271,7 +2271,7 @@ components:
2271
2271
  STREAMING: '#/components/schemas/StreamingAdHocExecutePromptEvent'
2272
2272
  FULFILLED: '#/components/schemas/FulfilledAdHocExecutePromptEvent'
2273
2273
  REJECTED: '#/components/schemas/RejectedAdHocExecutePromptEvent'
2274
- AdHocExecutePromptStreamRequest:
2274
+ AdHocExecutePromptStream:
2275
2275
  type: object
2276
2276
  properties:
2277
2277
  ml_model:
@@ -2280,24 +2280,24 @@ components:
2280
2280
  input_values:
2281
2281
  type: array
2282
2282
  items:
2283
- $ref: '#/components/schemas/PromptRequestInputRequest'
2283
+ $ref: '#/components/schemas/PromptRequestInput'
2284
2284
  input_variables:
2285
2285
  type: array
2286
2286
  items:
2287
- $ref: '#/components/schemas/VellumVariableRequest'
2287
+ $ref: '#/components/schemas/VellumVariable'
2288
2288
  parameters:
2289
- $ref: '#/components/schemas/PromptParametersRequest'
2289
+ $ref: '#/components/schemas/PromptParameters'
2290
2290
  settings:
2291
2291
  allOf:
2292
- - $ref: '#/components/schemas/PromptSettingsRequest'
2292
+ - $ref: '#/components/schemas/PromptSettings'
2293
2293
  nullable: true
2294
2294
  blocks:
2295
2295
  type: array
2296
2296
  items:
2297
- $ref: '#/components/schemas/PromptBlockRequest'
2297
+ $ref: '#/components/schemas/PromptBlock'
2298
2298
  expand_meta:
2299
2299
  allOf:
2300
- - $ref: '#/components/schemas/AdHocExpandMetaRequest'
2300
+ - $ref: '#/components/schemas/AdHocExpandMeta'
2301
2301
  nullable: true
2302
2302
  required:
2303
2303
  - blocks
@@ -2305,7 +2305,7 @@ components:
2305
2305
  - input_variables
2306
2306
  - ml_model
2307
2307
  - parameters
2308
- AdHocExpandMetaRequest:
2308
+ AdHocExpandMeta:
2309
2309
  type: object
2310
2310
  properties:
2311
2311
  cost:
@@ -2815,14 +2815,31 @@ components:
2815
2815
  type: string
2816
2816
  enum:
2817
2817
  - CHAT_MESSAGE
2818
- ChatMessagePromptBlockPropertiesRequest:
2818
+ ChatMessagePromptBlock:
2819
+ type: object
2820
+ description: A block that represents a chat message in a prompt template.
2821
+ properties:
2822
+ state:
2823
+ $ref: '#/components/schemas/PromptBlockState'
2824
+ cache_config:
2825
+ allOf:
2826
+ - $ref: '#/components/schemas/EphemeralPromptCacheConfig'
2827
+ nullable: true
2828
+ block_type:
2829
+ $ref: '#/components/schemas/ChatMessageEnum'
2830
+ properties:
2831
+ $ref: '#/components/schemas/ChatMessagePromptBlockProperties'
2832
+ required:
2833
+ - block_type
2834
+ - properties
2835
+ ChatMessagePromptBlockProperties:
2819
2836
  type: object
2820
2837
  description: The properties of a ChatMessagePromptTemplateBlock
2821
2838
  properties:
2822
2839
  blocks:
2823
2840
  type: array
2824
2841
  items:
2825
- $ref: '#/components/schemas/PromptBlockRequest'
2842
+ $ref: '#/components/schemas/PromptBlock'
2826
2843
  chat_role:
2827
2844
  allOf:
2828
2845
  - $ref: '#/components/schemas/ChatMessageRole'
@@ -2836,27 +2853,6 @@ components:
2836
2853
  default: false
2837
2854
  required:
2838
2855
  - blocks
2839
- ChatMessagePromptBlockRequest:
2840
- type: object
2841
- description: A block that represents a chat message in a prompt template.
2842
- properties:
2843
- block_type:
2844
- $ref: '#/components/schemas/ChatMessageEnum'
2845
- properties:
2846
- $ref: '#/components/schemas/ChatMessagePromptBlockPropertiesRequest'
2847
- id:
2848
- type: string
2849
- minLength: 1
2850
- state:
2851
- $ref: '#/components/schemas/PromptBlockState'
2852
- cache_config:
2853
- allOf:
2854
- - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
2855
- nullable: true
2856
- required:
2857
- - block_type
2858
- - id
2859
- - properties
2860
2856
  ChatMessageRequest:
2861
2857
  type: object
2862
2858
  properties:
@@ -3868,7 +3864,7 @@ components:
3868
3864
  * `DEVELOPMENT` - Development
3869
3865
  * `STAGING` - Staging
3870
3866
  * `PRODUCTION` - Production
3871
- EphemeralPromptCacheConfigRequest:
3867
+ EphemeralPromptCacheConfig:
3872
3868
  type: object
3873
3869
  properties:
3874
3870
  type:
@@ -4839,8 +4835,10 @@ components:
4839
4835
  id:
4840
4836
  type: string
4841
4837
  nullable: true
4838
+ minLength: 1
4842
4839
  name:
4843
4840
  type: string
4841
+ minLength: 1
4844
4842
  state:
4845
4843
  $ref: '#/components/schemas/FulfilledEnum'
4846
4844
  required:
@@ -4874,12 +4872,14 @@ components:
4874
4872
  properties:
4875
4873
  name:
4876
4874
  type: string
4875
+ minLength: 1
4877
4876
  arguments:
4878
4877
  type: object
4879
4878
  additionalProperties: {}
4880
4879
  id:
4881
4880
  type: string
4882
4881
  nullable: true
4882
+ minLength: 1
4883
4883
  required:
4884
4884
  - arguments
4885
4885
  - name
@@ -4981,7 +4981,24 @@ components:
4981
4981
  type: string
4982
4982
  enum:
4983
4983
  - FUNCTION_DEFINITION
4984
- FunctionDefinitionPromptBlockPropertiesRequest:
4984
+ FunctionDefinitionPromptBlock:
4985
+ type: object
4986
+ description: A block that represents a function definition in a prompt template.
4987
+ properties:
4988
+ state:
4989
+ $ref: '#/components/schemas/PromptBlockState'
4990
+ cache_config:
4991
+ allOf:
4992
+ - $ref: '#/components/schemas/EphemeralPromptCacheConfig'
4993
+ nullable: true
4994
+ block_type:
4995
+ $ref: '#/components/schemas/FunctionDefinitionEnum'
4996
+ properties:
4997
+ $ref: '#/components/schemas/FunctionDefinitionPromptBlockProperties'
4998
+ required:
4999
+ - block_type
5000
+ - properties
5001
+ FunctionDefinitionPromptBlockProperties:
4985
5002
  type: object
4986
5003
  properties:
4987
5004
  function_name:
@@ -5008,27 +5025,6 @@ components:
5008
5025
  type: boolean
5009
5026
  nullable: true
5010
5027
  description: Set this option to use strict schema decoding when available.
5011
- FunctionDefinitionPromptBlockRequest:
5012
- type: object
5013
- description: A block that represents a function definition in a prompt template.
5014
- properties:
5015
- block_type:
5016
- $ref: '#/components/schemas/FunctionDefinitionEnum'
5017
- properties:
5018
- $ref: '#/components/schemas/FunctionDefinitionPromptBlockPropertiesRequest'
5019
- id:
5020
- type: string
5021
- minLength: 1
5022
- state:
5023
- $ref: '#/components/schemas/PromptBlockState'
5024
- cache_config:
5025
- allOf:
5026
- - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
5027
- nullable: true
5028
- required:
5029
- - block_type
5030
- - id
5031
- - properties
5032
5028
  GenerateBodyRequest:
5033
5029
  type: object
5034
5030
  properties:
@@ -5548,37 +5544,33 @@ components:
5548
5544
  type: string
5549
5545
  enum:
5550
5546
  - JINJA
5551
- JinjaPromptBlockPropertiesRequest:
5552
- type: object
5553
- properties:
5554
- template:
5555
- type: string
5556
- nullable: true
5557
- template_type:
5558
- allOf:
5559
- - $ref: '#/components/schemas/VellumVariableType'
5560
- nullable: true
5561
- JinjaPromptBlockRequest:
5547
+ JinjaPromptBlock:
5562
5548
  type: object
5563
5549
  description: A block of Jinja template code that is used to generate a prompt
5564
5550
  properties:
5565
- block_type:
5566
- $ref: '#/components/schemas/JinjaEnum'
5567
- properties:
5568
- $ref: '#/components/schemas/JinjaPromptBlockPropertiesRequest'
5569
- id:
5570
- type: string
5571
- minLength: 1
5572
5551
  state:
5573
5552
  $ref: '#/components/schemas/PromptBlockState'
5574
5553
  cache_config:
5575
5554
  allOf:
5576
- - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
5555
+ - $ref: '#/components/schemas/EphemeralPromptCacheConfig'
5577
5556
  nullable: true
5557
+ block_type:
5558
+ $ref: '#/components/schemas/JinjaEnum'
5559
+ properties:
5560
+ $ref: '#/components/schemas/JinjaPromptBlockProperties'
5578
5561
  required:
5579
5562
  - block_type
5580
- - id
5581
5563
  - properties
5564
+ JinjaPromptBlockProperties:
5565
+ type: object
5566
+ properties:
5567
+ template:
5568
+ type: string
5569
+ nullable: true
5570
+ template_type:
5571
+ allOf:
5572
+ - $ref: '#/components/schemas/VellumVariableType'
5573
+ nullable: true
5582
5574
  JsonEnum:
5583
5575
  type: string
5584
5576
  enum:
@@ -7108,26 +7100,22 @@ components:
7108
7100
  type: string
7109
7101
  enum:
7110
7102
  - PLAIN_TEXT
7111
- PlainTextPromptBlockRequest:
7103
+ PlainTextPromptBlock:
7112
7104
  type: object
7113
7105
  description: A block that holds a plain text string value.
7114
7106
  properties:
7115
- block_type:
7116
- $ref: '#/components/schemas/PlainTextEnum'
7117
- text:
7118
- type: string
7119
- id:
7120
- type: string
7121
- minLength: 1
7122
7107
  state:
7123
7108
  $ref: '#/components/schemas/PromptBlockState'
7124
7109
  cache_config:
7125
7110
  allOf:
7126
- - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
7111
+ - $ref: '#/components/schemas/EphemeralPromptCacheConfig'
7127
7112
  nullable: true
7113
+ block_type:
7114
+ $ref: '#/components/schemas/PlainTextEnum'
7115
+ text:
7116
+ type: string
7128
7117
  required:
7129
7118
  - block_type
7130
- - id
7131
7119
  - text
7132
7120
  Price:
7133
7121
  type: object
@@ -7162,19 +7150,19 @@ components:
7162
7150
  * `FAILED` - Failed
7163
7151
  PromptBlockRequest:
7164
7152
  oneOf:
7165
- - $ref: '#/components/schemas/JinjaPromptBlockRequest'
7166
- - $ref: '#/components/schemas/ChatMessagePromptBlockRequest'
7167
- - $ref: '#/components/schemas/FunctionDefinitionPromptBlockRequest'
7168
- - $ref: '#/components/schemas/VariablePromptBlockRequest'
7169
- - $ref: '#/components/schemas/RichTextPromptBlockRequest'
7153
+ - $ref: '#/components/schemas/JinjaPromptBlock'
7154
+ - $ref: '#/components/schemas/ChatMessagePromptBlock'
7155
+ - $ref: '#/components/schemas/FunctionDefinitionPromptBlock'
7156
+ - $ref: '#/components/schemas/VariablePromptBlock'
7157
+ - $ref: '#/components/schemas/RichTextPromptBlock'
7170
7158
  discriminator:
7171
7159
  propertyName: block_type
7172
7160
  mapping:
7173
- JINJA: '#/components/schemas/JinjaPromptBlockRequest'
7174
- CHAT_MESSAGE: '#/components/schemas/ChatMessagePromptBlockRequest'
7175
- FUNCTION_DEFINITION: '#/components/schemas/FunctionDefinitionPromptBlockRequest'
7176
- VARIABLE: '#/components/schemas/VariablePromptBlockRequest'
7177
- RICH_TEXT: '#/components/schemas/RichTextPromptBlockRequest'
7161
+ JINJA: '#/components/schemas/JinjaPromptBlock'
7162
+ CHAT_MESSAGE: '#/components/schemas/ChatMessagePromptBlock'
7163
+ FUNCTION_DEFINITION: '#/components/schemas/FunctionDefinitionPromptBlock'
7164
+ VARIABLE: '#/components/schemas/VariablePromptBlock'
7165
+ RICH_TEXT: '#/components/schemas/RichTextPromptBlock'
7178
7166
  PromptBlockState:
7179
7167
  enum:
7180
7168
  - ENABLED
@@ -7317,7 +7305,7 @@ components:
7317
7305
  JSON: '#/components/schemas/JsonVellumValue'
7318
7306
  ERROR: '#/components/schemas/ErrorVellumValue'
7319
7307
  FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValue'
7320
- PromptParametersRequest:
7308
+ PromptParameters:
7321
7309
  type: object
7322
7310
  properties:
7323
7311
  stop:
@@ -7357,7 +7345,7 @@ components:
7357
7345
  type: object
7358
7346
  additionalProperties: {}
7359
7347
  nullable: true
7360
- PromptRequestChatHistoryInputRequest:
7348
+ PromptRequestChatHistoryInput:
7361
7349
  type: object
7362
7350
  properties:
7363
7351
  key:
@@ -7369,23 +7357,23 @@ components:
7369
7357
  value:
7370
7358
  type: array
7371
7359
  items:
7372
- $ref: '#/components/schemas/ChatMessageRequest'
7360
+ $ref: '#/components/schemas/ChatMessage'
7373
7361
  required:
7374
7362
  - key
7375
7363
  - type
7376
7364
  - value
7377
- PromptRequestInputRequest:
7365
+ PromptRequestInput:
7378
7366
  oneOf:
7379
- - $ref: '#/components/schemas/PromptRequestStringInputRequest'
7380
- - $ref: '#/components/schemas/PromptRequestJSONInputRequest'
7381
- - $ref: '#/components/schemas/PromptRequestChatHistoryInputRequest'
7367
+ - $ref: '#/components/schemas/PromptRequestStringInput'
7368
+ - $ref: '#/components/schemas/PromptRequestJSONInput'
7369
+ - $ref: '#/components/schemas/PromptRequestChatHistoryInput'
7382
7370
  discriminator:
7383
7371
  propertyName: type
7384
7372
  mapping:
7385
- STRING: '#/components/schemas/PromptRequestStringInputRequest'
7386
- JSON: '#/components/schemas/PromptRequestJSONInputRequest'
7387
- CHAT_HISTORY: '#/components/schemas/PromptRequestChatHistoryInputRequest'
7388
- PromptRequestJSONInputRequest:
7373
+ STRING: '#/components/schemas/PromptRequestStringInput'
7374
+ JSON: '#/components/schemas/PromptRequestJSONInput'
7375
+ CHAT_HISTORY: '#/components/schemas/PromptRequestChatHistoryInput'
7376
+ PromptRequestJSONInput:
7389
7377
  type: object
7390
7378
  properties:
7391
7379
  key:
@@ -7401,7 +7389,7 @@ components:
7401
7389
  - key
7402
7390
  - type
7403
7391
  - value
7404
- PromptRequestStringInputRequest:
7392
+ PromptRequestStringInput:
7405
7393
  type: object
7406
7394
  properties:
7407
7395
  key:
@@ -7416,7 +7404,7 @@ components:
7416
7404
  - key
7417
7405
  - type
7418
7406
  - value
7419
- PromptSettingsRequest:
7407
+ PromptSettings:
7420
7408
  type: object
7421
7409
  properties:
7422
7410
  timeout:
@@ -7677,43 +7665,39 @@ components:
7677
7665
  type: string
7678
7666
  enum:
7679
7667
  - REPLACED
7680
- RichTextChildBlockRequest:
7668
+ RichTextChildBlock:
7681
7669
  oneOf:
7682
- - $ref: '#/components/schemas/VariablePromptBlockRequest'
7683
- - $ref: '#/components/schemas/PlainTextPromptBlockRequest'
7670
+ - $ref: '#/components/schemas/VariablePromptBlock'
7671
+ - $ref: '#/components/schemas/PlainTextPromptBlock'
7684
7672
  discriminator:
7685
7673
  propertyName: block_type
7686
7674
  mapping:
7687
- VARIABLE: '#/components/schemas/VariablePromptBlockRequest'
7688
- PLAIN_TEXT: '#/components/schemas/PlainTextPromptBlockRequest'
7675
+ VARIABLE: '#/components/schemas/VariablePromptBlock'
7676
+ PLAIN_TEXT: '#/components/schemas/PlainTextPromptBlock'
7689
7677
  RichTextEnum:
7690
7678
  type: string
7691
7679
  enum:
7692
7680
  - RICH_TEXT
7693
- RichTextPromptBlockRequest:
7681
+ RichTextPromptBlock:
7694
7682
  type: object
7695
7683
  description: A block that includes a combination of plain text and variable
7696
7684
  blocks.
7697
7685
  properties:
7698
- block_type:
7699
- $ref: '#/components/schemas/RichTextEnum'
7700
- blocks:
7701
- type: array
7702
- items:
7703
- $ref: '#/components/schemas/RichTextChildBlockRequest'
7704
- id:
7705
- type: string
7706
- minLength: 1
7707
7686
  state:
7708
7687
  $ref: '#/components/schemas/PromptBlockState'
7709
7688
  cache_config:
7710
7689
  allOf:
7711
- - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
7690
+ - $ref: '#/components/schemas/EphemeralPromptCacheConfig'
7712
7691
  nullable: true
7692
+ block_type:
7693
+ $ref: '#/components/schemas/RichTextEnum'
7694
+ blocks:
7695
+ type: array
7696
+ items:
7697
+ $ref: '#/components/schemas/RichTextChildBlock'
7713
7698
  required:
7714
7699
  - block_type
7715
7700
  - blocks
7716
- - id
7717
7701
  SandboxScenario:
7718
7702
  type: object
7719
7703
  description: Sandbox Scenario
@@ -7920,6 +7904,7 @@ components:
7920
7904
  type: array
7921
7905
  items:
7922
7906
  type: string
7907
+ minLength: 1
7923
7908
  document:
7924
7909
  allOf:
7925
7910
  - $ref: '#/components/schemas/SearchResultDocument'
@@ -7945,11 +7930,13 @@ components:
7945
7930
  description: The ID of the document.
7946
7931
  label:
7947
7932
  type: string
7933
+ minLength: 1
7948
7934
  description: The human-readable name for the document.
7949
7935
  maxLength: 1000
7950
7936
  external_id:
7951
7937
  type: string
7952
7938
  nullable: true
7939
+ minLength: 1
7953
7940
  description: The unique ID of the document as represented in an external
7954
7941
  system and specified when it was originally uploaded.
7955
7942
  maxLength: 1000
@@ -10276,33 +10263,30 @@ components:
10276
10263
  type: string
10277
10264
  enum:
10278
10265
  - VARIABLE
10279
- VariablePromptBlockRequest:
10266
+ VariablePromptBlock:
10280
10267
  type: object
10281
10268
  description: A block that represents a variable in a prompt template.
10282
10269
  properties:
10283
- block_type:
10284
- $ref: '#/components/schemas/VariableEnum'
10285
- id:
10286
- type: string
10287
- minLength: 1
10288
10270
  state:
10289
10271
  $ref: '#/components/schemas/PromptBlockState'
10290
10272
  cache_config:
10291
10273
  allOf:
10292
- - $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
10274
+ - $ref: '#/components/schemas/EphemeralPromptCacheConfig'
10293
10275
  nullable: true
10276
+ block_type:
10277
+ $ref: '#/components/schemas/VariableEnum'
10294
10278
  input_variable_id:
10295
10279
  type: string
10296
10280
  format: uuid
10297
10281
  required:
10298
10282
  - block_type
10299
- - id
10300
10283
  - input_variable_id
10301
10284
  VellumAudio:
10302
10285
  type: object
10303
10286
  properties:
10304
10287
  src:
10305
10288
  type: string
10289
+ minLength: 1
10306
10290
  description: A valid data URL containing the audio data.
10307
10291
  metadata:
10308
10292
  type: object
@@ -10328,6 +10312,7 @@ components:
10328
10312
  properties:
10329
10313
  message:
10330
10314
  type: string
10315
+ minLength: 1
10331
10316
  code:
10332
10317
  $ref: '#/components/schemas/VellumErrorCodeEnum'
10333
10318
  required:
@@ -10363,6 +10348,7 @@ components:
10363
10348
  properties:
10364
10349
  src:
10365
10350
  type: string
10351
+ minLength: 1
10366
10352
  metadata:
10367
10353
  type: object
10368
10354
  additionalProperties: {}
@@ -10482,6 +10468,7 @@ components:
10482
10468
  properties:
10483
10469
  id:
10484
10470
  type: string
10471
+ minLength: 1
10485
10472
  key:
10486
10473
  type: string
10487
10474
  type:
@@ -10508,39 +10495,7 @@ components:
10508
10495
  color:
10509
10496
  type: string
10510
10497
  nullable: true
10511
- VellumVariableExtensionsRequest:
10512
- type: object
10513
- description: A set of fields with additional properties for use in Vellum Variables.
10514
- properties:
10515
- color:
10516
- type: string
10517
- nullable: true
10518
- minLength: 1
10519
- VellumVariableRequest:
10520
- type: object
10521
- properties:
10522
- id:
10523
- type: string
10524
10498
  minLength: 1
10525
- key:
10526
- type: string
10527
- type:
10528
- $ref: '#/components/schemas/VellumVariableType'
10529
- required:
10530
- type: boolean
10531
- nullable: true
10532
- default:
10533
- allOf:
10534
- - $ref: '#/components/schemas/VellumValueRequest'
10535
- nullable: true
10536
- extensions:
10537
- allOf:
10538
- - $ref: '#/components/schemas/VellumVariableExtensionsRequest'
10539
- nullable: true
10540
- required:
10541
- - id
10542
- - key
10543
- - type
10544
10499
  VellumVariableType:
10545
10500
  enum:
10546
10501
  - STRING
package/Client.js CHANGED
@@ -94,7 +94,7 @@ class VellumClient {
94
94
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
95
95
  .default, "v1/execute-code"),
96
96
  method: "POST",
97
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
97
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
98
98
  contentType: "application/json",
99
99
  requestType: "json",
100
100
  body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -163,7 +163,7 @@ class VellumClient {
163
163
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
164
164
  .predict, "v1/execute-prompt"),
165
165
  method: "POST",
166
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
166
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -221,7 +221,7 @@ class VellumClient {
221
221
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
222
222
  .predict, "v1/execute-prompt-stream"),
223
223
  method: "POST",
224
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
224
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -306,7 +306,7 @@ class VellumClient {
306
306
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
307
307
  .predict, "v1/execute-workflow"),
308
308
  method: "POST",
309
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
309
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -362,7 +362,7 @@ class VellumClient {
362
362
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
363
363
  .predict, "v1/execute-workflow-stream"),
364
364
  method: "POST",
365
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
365
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
366
366
  contentType: "application/json",
367
367
  requestType: "json",
368
368
  body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -449,7 +449,7 @@ class VellumClient {
449
449
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
450
450
  .predict, "v1/generate"),
451
451
  method: "POST",
452
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
452
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
453
453
  contentType: "application/json",
454
454
  requestType: "json",
455
455
  body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -510,7 +510,7 @@ class VellumClient {
510
510
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
511
511
  .predict, "v1/generate-stream"),
512
512
  method: "POST",
513
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
513
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
514
514
  contentType: "application/json",
515
515
  requestType: "json",
516
516
  body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -591,7 +591,7 @@ class VellumClient {
591
591
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
592
592
  .predict, "v1/search"),
593
593
  method: "POST",
594
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
594
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
595
595
  contentType: "application/json",
596
596
  requestType: "json",
597
597
  body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -659,7 +659,7 @@ class VellumClient {
659
659
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
660
660
  .predict, "v1/submit-completion-actuals"),
661
661
  method: "POST",
662
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
662
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
663
663
  contentType: "application/json",
664
664
  requestType: "json",
665
665
  body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -722,7 +722,7 @@ class VellumClient {
722
722
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
723
723
  .predict, "v1/submit-workflow-execution-actuals"),
724
724
  method: "POST",
725
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.5", "User-Agent": "vellum-ai/0.9.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
725
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
726
726
  contentType: "application/json",
727
727
  requestType: "json",
728
728
  body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
@@ -24,7 +24,7 @@ export declare class AdHoc {
24
24
  /**
25
25
  * An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
26
26
  */
27
- adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStreamRequest, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
27
+ adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStream, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
28
28
  protected _getCustomAuthorizationHeaders(): Promise<{
29
29
  X_API_KEY: string | undefined;
30
30
  }>;