vellum-ai 0.0.35 → 0.0.37

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 (266) hide show
  1. package/api/types/DeploymentRead.d.ts +2 -8
  2. package/api/types/{ModelTypeEnum.d.ts → ModelTypeDeprecated.d.ts} +2 -2
  3. package/{dist/api/types/ModelTypeEnum.js → api/types/ModelTypeDeprecated.js} +2 -2
  4. package/api/types/ModelVersionExecConfig.d.ts +1 -1
  5. package/api/types/ModelVersionRead.d.ts +1 -7
  6. package/api/types/NodeInputCompiledChatHistoryValue.d.ts +9 -0
  7. package/api/types/NodeInputCompiledJsonValue.d.ts +8 -0
  8. package/api/types/NodeInputCompiledSearchResultsValue.d.ts +9 -0
  9. package/api/types/NodeInputCompiledStringValue.d.ts +8 -0
  10. package/api/types/NodeInputVariableCompiledValue.d.ts +19 -0
  11. package/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
  12. package/api/types/SearchNodeResultData.d.ts +4 -2
  13. package/api/types/SearchResult.d.ts +3 -3
  14. package/api/types/TemplatingNodeChatHistoryResult.d.ts +8 -0
  15. package/api/types/TemplatingNodeJsonResult.d.ts +7 -0
  16. package/api/types/{DeploymentNodeResult.d.ts → TemplatingNodeResult.d.ts} +2 -2
  17. package/{dist/api/types/DeploymentNodeResult.d.ts → api/types/TemplatingNodeResultData.d.ts} +2 -2
  18. package/api/types/TemplatingNodeResultOutput.d.ts +19 -0
  19. package/api/types/TemplatingNodeSearchResultsResult.d.ts +8 -0
  20. package/api/types/TemplatingNodeSearchResultsResult.js +5 -0
  21. package/api/types/TemplatingNodeStringResult.d.ts +7 -0
  22. package/api/types/TemplatingNodeStringResult.js +5 -0
  23. package/api/types/TerminalNodeChatHistoryResult.d.ts +1 -0
  24. package/api/types/TerminalNodeJsonResult.d.ts +1 -0
  25. package/api/types/TerminalNodeResultOutput.d.ts +4 -1
  26. package/api/types/TerminalNodeSearchResultsResult.d.ts +10 -0
  27. package/api/types/TerminalNodeSearchResultsResult.js +5 -0
  28. package/api/types/TerminalNodeStringResult.d.ts +1 -0
  29. package/{dist/api/types/InputVariable.d.ts → api/types/VellumVariable.d.ts} +2 -2
  30. package/api/types/VellumVariable.js +5 -0
  31. package/api/types/VellumVariableType.d.ts +16 -0
  32. package/{dist/api/types/InputVariableType.js → api/types/VellumVariableType.js} +3 -2
  33. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  34. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  35. package/api/types/WorkflowNodeResultData.d.ts +4 -7
  36. package/api/types/WorkflowNodeResultEvent.d.ts +1 -0
  37. package/api/types/WorkflowResultEventOutputData.d.ts +4 -1
  38. package/api/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
  39. package/api/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
  40. package/api/types/WorkflowResultEventOutputDataSearchResults.d.ts +13 -0
  41. package/api/types/WorkflowResultEventOutputDataSearchResults.js +5 -0
  42. package/api/types/WorkflowResultEventOutputDataString.d.ts +1 -0
  43. package/api/types/index.d.ts +17 -7
  44. package/api/types/index.js +17 -7
  45. package/dist/api/types/DeploymentRead.d.ts +2 -8
  46. package/dist/api/types/{ModelTypeEnum.d.ts → ModelTypeDeprecated.d.ts} +2 -2
  47. package/{api/types/ModelTypeEnum.js → dist/api/types/ModelTypeDeprecated.js} +2 -2
  48. package/dist/api/types/ModelVersionExecConfig.d.ts +1 -1
  49. package/dist/api/types/ModelVersionRead.d.ts +1 -7
  50. package/dist/api/types/NodeInputCompiledChatHistoryValue.d.ts +9 -0
  51. package/dist/api/types/NodeInputCompiledChatHistoryValue.js +5 -0
  52. package/dist/api/types/NodeInputCompiledJsonValue.d.ts +8 -0
  53. package/dist/api/types/NodeInputCompiledJsonValue.js +5 -0
  54. package/dist/api/types/NodeInputCompiledSearchResultsValue.d.ts +9 -0
  55. package/dist/api/types/NodeInputCompiledSearchResultsValue.js +5 -0
  56. package/dist/api/types/NodeInputCompiledStringValue.d.ts +8 -0
  57. package/dist/api/types/NodeInputCompiledStringValue.js +5 -0
  58. package/dist/api/types/NodeInputVariableCompiledValue.d.ts +19 -0
  59. package/dist/api/types/NodeInputVariableCompiledValue.js +5 -0
  60. package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
  61. package/dist/api/types/SearchNodeResultData.d.ts +4 -2
  62. package/dist/api/types/SearchResult.d.ts +3 -3
  63. package/dist/api/types/TemplatingNodeChatHistoryResult.d.ts +8 -0
  64. package/dist/api/types/TemplatingNodeChatHistoryResult.js +5 -0
  65. package/dist/api/types/TemplatingNodeJsonResult.d.ts +7 -0
  66. package/dist/api/types/TemplatingNodeJsonResult.js +5 -0
  67. package/dist/api/types/{SandboxNodeResult.d.ts → TemplatingNodeResult.d.ts} +2 -2
  68. package/dist/api/types/TemplatingNodeResult.js +5 -0
  69. package/{api/types/SandboxNodeResult.d.ts → dist/api/types/TemplatingNodeResultData.d.ts} +2 -2
  70. package/dist/api/types/TemplatingNodeResultData.js +5 -0
  71. package/dist/api/types/TemplatingNodeResultOutput.d.ts +19 -0
  72. package/dist/api/types/TemplatingNodeResultOutput.js +5 -0
  73. package/dist/api/types/TemplatingNodeSearchResultsResult.d.ts +8 -0
  74. package/dist/api/types/TemplatingNodeSearchResultsResult.js +5 -0
  75. package/dist/api/types/TemplatingNodeStringResult.d.ts +7 -0
  76. package/dist/api/types/TemplatingNodeStringResult.js +5 -0
  77. package/dist/api/types/TerminalNodeChatHistoryResult.d.ts +1 -0
  78. package/dist/api/types/TerminalNodeJsonResult.d.ts +1 -0
  79. package/dist/api/types/TerminalNodeResultOutput.d.ts +4 -1
  80. package/dist/api/types/TerminalNodeSearchResultsResult.d.ts +10 -0
  81. package/dist/api/types/TerminalNodeSearchResultsResult.js +5 -0
  82. package/dist/api/types/TerminalNodeStringResult.d.ts +1 -0
  83. package/{api/types/InputVariable.d.ts → dist/api/types/VellumVariable.d.ts} +2 -2
  84. package/dist/api/types/VellumVariable.js +5 -0
  85. package/dist/api/types/VellumVariableType.d.ts +16 -0
  86. package/{api/types/InputVariableType.js → dist/api/types/VellumVariableType.js} +3 -2
  87. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  88. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  89. package/dist/api/types/WorkflowNodeResultData.d.ts +4 -7
  90. package/dist/api/types/WorkflowNodeResultEvent.d.ts +1 -0
  91. package/dist/api/types/WorkflowResultEventOutputData.d.ts +4 -1
  92. package/dist/api/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
  93. package/dist/api/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
  94. package/dist/api/types/WorkflowResultEventOutputDataSearchResults.d.ts +13 -0
  95. package/dist/api/types/WorkflowResultEventOutputDataSearchResults.js +5 -0
  96. package/dist/api/types/WorkflowResultEventOutputDataString.d.ts +1 -0
  97. package/dist/api/types/index.d.ts +17 -7
  98. package/dist/api/types/index.js +17 -7
  99. package/dist/serialization/types/DeploymentRead.d.ts +2 -2
  100. package/dist/serialization/types/DeploymentRead.js +2 -2
  101. package/{serialization/types/ModelTypeEnum.d.ts → dist/serialization/types/ModelTypeDeprecated.d.ts} +2 -2
  102. package/dist/serialization/types/{ModelTypeEnum.js → ModelTypeDeprecated.js} +2 -2
  103. package/dist/serialization/types/ModelVersionExecConfig.d.ts +1 -1
  104. package/dist/serialization/types/ModelVersionExecConfig.js +1 -1
  105. package/dist/serialization/types/ModelVersionRead.d.ts +1 -1
  106. package/dist/serialization/types/ModelVersionRead.js +1 -1
  107. package/dist/serialization/types/NodeInputCompiledChatHistoryValue.d.ts +14 -0
  108. package/dist/serialization/types/NodeInputCompiledChatHistoryValue.js +37 -0
  109. package/dist/serialization/types/NodeInputCompiledJsonValue.d.ts +14 -0
  110. package/dist/serialization/types/NodeInputCompiledJsonValue.js +35 -0
  111. package/dist/serialization/types/NodeInputCompiledSearchResultsValue.d.ts +14 -0
  112. package/dist/serialization/types/NodeInputCompiledSearchResultsValue.js +37 -0
  113. package/dist/serialization/types/NodeInputCompiledStringValue.d.ts +14 -0
  114. package/dist/serialization/types/{DeploymentNodeResultData.js → NodeInputCompiledStringValue.js} +5 -5
  115. package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +22 -0
  116. package/dist/serialization/types/NodeInputVariableCompiledValue.js +41 -0
  117. package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
  118. package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
  119. package/dist/serialization/types/SearchNodeResultData.d.ts +2 -2
  120. package/dist/serialization/types/SearchNodeResultData.js +2 -2
  121. package/dist/serialization/types/SearchResult.d.ts +2 -2
  122. package/dist/serialization/types/SearchResult.js +2 -2
  123. package/dist/serialization/types/TemplatingNodeChatHistoryResult.d.ts +13 -0
  124. package/dist/serialization/types/TemplatingNodeChatHistoryResult.js +36 -0
  125. package/dist/serialization/types/TemplatingNodeJsonResult.d.ts +13 -0
  126. package/dist/serialization/types/TemplatingNodeJsonResult.js +34 -0
  127. package/dist/serialization/types/TemplatingNodeResult.d.ts +12 -0
  128. package/dist/serialization/types/{DeploymentNodeResult.js → TemplatingNodeResult.js} +3 -3
  129. package/dist/serialization/types/TemplatingNodeResultData.d.ts +12 -0
  130. package/dist/serialization/types/{SandboxNodeResult.js → TemplatingNodeResultData.js} +3 -3
  131. package/dist/serialization/types/TemplatingNodeResultOutput.d.ts +22 -0
  132. package/dist/serialization/types/TemplatingNodeResultOutput.js +41 -0
  133. package/dist/serialization/types/TemplatingNodeSearchResultsResult.d.ts +13 -0
  134. package/dist/serialization/types/TemplatingNodeSearchResultsResult.js +36 -0
  135. package/dist/serialization/types/TemplatingNodeStringResult.d.ts +13 -0
  136. package/dist/serialization/types/TemplatingNodeStringResult.js +34 -0
  137. package/dist/serialization/types/TerminalNodeChatHistoryResult.d.ts +1 -0
  138. package/dist/serialization/types/TerminalNodeChatHistoryResult.js +1 -0
  139. package/dist/serialization/types/TerminalNodeJsonResult.d.ts +1 -0
  140. package/dist/serialization/types/TerminalNodeJsonResult.js +1 -0
  141. package/dist/serialization/types/TerminalNodeResultOutput.d.ts +4 -1
  142. package/dist/serialization/types/TerminalNodeResultOutput.js +1 -0
  143. package/dist/serialization/types/TerminalNodeSearchResultsResult.d.ts +14 -0
  144. package/dist/serialization/types/TerminalNodeSearchResultsResult.js +37 -0
  145. package/dist/serialization/types/TerminalNodeStringResult.d.ts +1 -0
  146. package/dist/serialization/types/TerminalNodeStringResult.js +1 -0
  147. package/{serialization/types/InputVariable.d.ts → dist/serialization/types/VellumVariable.d.ts} +3 -3
  148. package/{serialization/types/InputVariable.js → dist/serialization/types/VellumVariable.js} +3 -3
  149. package/dist/serialization/types/VellumVariableType.d.ts +10 -0
  150. package/{serialization/types/InputVariableType.js → dist/serialization/types/VellumVariableType.js} +2 -2
  151. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  152. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  153. package/dist/serialization/types/WorkflowNodeResultData.d.ts +4 -7
  154. package/dist/serialization/types/WorkflowNodeResultData.js +1 -2
  155. package/dist/serialization/types/WorkflowNodeResultEvent.d.ts +1 -0
  156. package/dist/serialization/types/WorkflowNodeResultEvent.js +3 -0
  157. package/dist/serialization/types/WorkflowResultEventOutputData.d.ts +4 -1
  158. package/dist/serialization/types/WorkflowResultEventOutputData.js +1 -0
  159. package/dist/serialization/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
  160. package/dist/serialization/types/WorkflowResultEventOutputDataChatHistory.js +1 -0
  161. package/dist/serialization/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
  162. package/dist/serialization/types/WorkflowResultEventOutputDataJson.js +1 -0
  163. package/dist/serialization/types/WorkflowResultEventOutputDataSearchResults.d.ts +17 -0
  164. package/dist/serialization/types/{SandboxNodeResultData.js → WorkflowResultEventOutputDataSearchResults.js} +9 -4
  165. package/dist/serialization/types/WorkflowResultEventOutputDataString.d.ts +1 -0
  166. package/dist/serialization/types/WorkflowResultEventOutputDataString.js +1 -0
  167. package/dist/serialization/types/index.d.ts +17 -7
  168. package/dist/serialization/types/index.js +17 -7
  169. package/package.json +1 -1
  170. package/serialization/types/DeploymentRead.d.ts +2 -2
  171. package/serialization/types/DeploymentRead.js +2 -2
  172. package/{dist/serialization/types/ModelTypeEnum.d.ts → serialization/types/ModelTypeDeprecated.d.ts} +2 -2
  173. package/serialization/types/{ModelTypeEnum.js → ModelTypeDeprecated.js} +2 -2
  174. package/serialization/types/ModelVersionExecConfig.d.ts +1 -1
  175. package/serialization/types/ModelVersionExecConfig.js +1 -1
  176. package/serialization/types/ModelVersionRead.d.ts +1 -1
  177. package/serialization/types/ModelVersionRead.js +1 -1
  178. package/serialization/types/NodeInputCompiledChatHistoryValue.d.ts +14 -0
  179. package/serialization/types/NodeInputCompiledChatHistoryValue.js +37 -0
  180. package/serialization/types/NodeInputCompiledJsonValue.d.ts +14 -0
  181. package/serialization/types/NodeInputCompiledJsonValue.js +35 -0
  182. package/serialization/types/NodeInputCompiledSearchResultsValue.d.ts +14 -0
  183. package/serialization/types/NodeInputCompiledSearchResultsValue.js +37 -0
  184. package/serialization/types/NodeInputCompiledStringValue.d.ts +14 -0
  185. package/serialization/types/NodeInputCompiledStringValue.js +35 -0
  186. package/serialization/types/NodeInputVariableCompiledValue.d.ts +22 -0
  187. package/serialization/types/NodeInputVariableCompiledValue.js +41 -0
  188. package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
  189. package/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
  190. package/serialization/types/SearchNodeResultData.d.ts +2 -2
  191. package/serialization/types/SearchNodeResultData.js +2 -2
  192. package/serialization/types/SearchResult.d.ts +2 -2
  193. package/serialization/types/SearchResult.js +2 -2
  194. package/serialization/types/TemplatingNodeChatHistoryResult.d.ts +13 -0
  195. package/serialization/types/TemplatingNodeChatHistoryResult.js +36 -0
  196. package/serialization/types/TemplatingNodeJsonResult.d.ts +13 -0
  197. package/serialization/types/TemplatingNodeJsonResult.js +34 -0
  198. package/serialization/types/TemplatingNodeResult.d.ts +12 -0
  199. package/serialization/types/{DeploymentNodeResult.js → TemplatingNodeResult.js} +3 -3
  200. package/serialization/types/TemplatingNodeResultData.d.ts +12 -0
  201. package/serialization/types/{SandboxNodeResult.js → TemplatingNodeResultData.js} +3 -3
  202. package/serialization/types/TemplatingNodeResultOutput.d.ts +22 -0
  203. package/serialization/types/TemplatingNodeResultOutput.js +41 -0
  204. package/serialization/types/TemplatingNodeSearchResultsResult.d.ts +13 -0
  205. package/serialization/types/TemplatingNodeSearchResultsResult.js +36 -0
  206. package/serialization/types/TemplatingNodeStringResult.d.ts +13 -0
  207. package/serialization/types/TemplatingNodeStringResult.js +34 -0
  208. package/serialization/types/TerminalNodeChatHistoryResult.d.ts +1 -0
  209. package/serialization/types/TerminalNodeChatHistoryResult.js +1 -0
  210. package/serialization/types/TerminalNodeJsonResult.d.ts +1 -0
  211. package/serialization/types/TerminalNodeJsonResult.js +1 -0
  212. package/serialization/types/TerminalNodeResultOutput.d.ts +4 -1
  213. package/serialization/types/TerminalNodeResultOutput.js +1 -0
  214. package/serialization/types/TerminalNodeSearchResultsResult.d.ts +14 -0
  215. package/serialization/types/TerminalNodeSearchResultsResult.js +37 -0
  216. package/serialization/types/TerminalNodeStringResult.d.ts +1 -0
  217. package/serialization/types/TerminalNodeStringResult.js +1 -0
  218. package/{dist/serialization/types/InputVariable.d.ts → serialization/types/VellumVariable.d.ts} +3 -3
  219. package/{dist/serialization/types/InputVariable.js → serialization/types/VellumVariable.js} +3 -3
  220. package/serialization/types/VellumVariableType.d.ts +10 -0
  221. package/{dist/serialization/types/InputVariableType.js → serialization/types/VellumVariableType.js} +2 -2
  222. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  223. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  224. package/serialization/types/WorkflowNodeResultData.d.ts +4 -7
  225. package/serialization/types/WorkflowNodeResultData.js +1 -2
  226. package/serialization/types/WorkflowNodeResultEvent.d.ts +1 -0
  227. package/serialization/types/WorkflowNodeResultEvent.js +3 -0
  228. package/serialization/types/WorkflowResultEventOutputData.d.ts +4 -1
  229. package/serialization/types/WorkflowResultEventOutputData.js +1 -0
  230. package/serialization/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
  231. package/serialization/types/WorkflowResultEventOutputDataChatHistory.js +1 -0
  232. package/serialization/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
  233. package/serialization/types/WorkflowResultEventOutputDataJson.js +1 -0
  234. package/serialization/types/WorkflowResultEventOutputDataSearchResults.d.ts +17 -0
  235. package/serialization/types/{DeploymentNodeResultData.js → WorkflowResultEventOutputDataSearchResults.js} +9 -4
  236. package/serialization/types/WorkflowResultEventOutputDataString.d.ts +1 -0
  237. package/serialization/types/WorkflowResultEventOutputDataString.js +1 -0
  238. package/serialization/types/index.d.ts +17 -7
  239. package/serialization/types/index.js +17 -7
  240. package/api/types/DeploymentNodeResultData.d.ts +0 -8
  241. package/api/types/InputVariableType.d.ts +0 -14
  242. package/api/types/SandboxNodeResultData.d.ts +0 -8
  243. package/dist/api/types/DeploymentNodeResultData.d.ts +0 -8
  244. package/dist/api/types/InputVariableType.d.ts +0 -14
  245. package/dist/api/types/SandboxNodeResultData.d.ts +0 -8
  246. package/dist/serialization/types/DeploymentNodeResult.d.ts +0 -12
  247. package/dist/serialization/types/DeploymentNodeResultData.d.ts +0 -14
  248. package/dist/serialization/types/InputVariableType.d.ts +0 -10
  249. package/dist/serialization/types/SandboxNodeResult.d.ts +0 -12
  250. package/dist/serialization/types/SandboxNodeResultData.d.ts +0 -14
  251. package/serialization/types/DeploymentNodeResult.d.ts +0 -12
  252. package/serialization/types/DeploymentNodeResultData.d.ts +0 -14
  253. package/serialization/types/InputVariableType.d.ts +0 -10
  254. package/serialization/types/SandboxNodeResult.d.ts +0 -12
  255. package/serialization/types/SandboxNodeResultData.d.ts +0 -14
  256. package/serialization/types/SandboxNodeResultData.js +0 -35
  257. /package/api/types/{DeploymentNodeResult.js → NodeInputCompiledChatHistoryValue.js} +0 -0
  258. /package/api/types/{DeploymentNodeResultData.js → NodeInputCompiledJsonValue.js} +0 -0
  259. /package/api/types/{InputVariable.js → NodeInputCompiledSearchResultsValue.js} +0 -0
  260. /package/api/types/{SandboxNodeResult.js → NodeInputCompiledStringValue.js} +0 -0
  261. /package/api/types/{SandboxNodeResultData.js → NodeInputVariableCompiledValue.js} +0 -0
  262. /package/{dist/api/types/DeploymentNodeResult.js → api/types/TemplatingNodeChatHistoryResult.js} +0 -0
  263. /package/{dist/api/types/DeploymentNodeResultData.js → api/types/TemplatingNodeJsonResult.js} +0 -0
  264. /package/{dist/api/types/InputVariable.js → api/types/TemplatingNodeResult.js} +0 -0
  265. /package/{dist/api/types/SandboxNodeResult.js → api/types/TemplatingNodeResultData.js} +0 -0
  266. /package/{dist/api/types/SandboxNodeResultData.js → api/types/TemplatingNodeResultOutput.js} +0 -0
@@ -21,8 +21,6 @@ __exportStar(require("./ChatMessageRole"), exports);
21
21
  __exportStar(require("./ConditionalNodeResult"), exports);
22
22
  __exportStar(require("./ConditionalNodeResultData"), exports);
23
23
  __exportStar(require("./ContentType"), exports);
24
- __exportStar(require("./DeploymentNodeResult"), exports);
25
- __exportStar(require("./DeploymentNodeResultData"), exports);
26
24
  __exportStar(require("./DeploymentRead"), exports);
27
25
  __exportStar(require("./DeploymentStatus"), exports);
28
26
  __exportStar(require("./Document"), exports);
@@ -48,13 +46,11 @@ __exportStar(require("./GenerateStreamResponse"), exports);
48
46
  __exportStar(require("./GenerateStreamResult"), exports);
49
47
  __exportStar(require("./GenerateStreamResultData"), exports);
50
48
  __exportStar(require("./IndexingStateEnum"), exports);
51
- __exportStar(require("./InputVariable"), exports);
52
- __exportStar(require("./InputVariableType"), exports);
53
49
  __exportStar(require("./LogprobsEnum"), exports);
54
50
  __exportStar(require("./MetadataFilterConfigRequest"), exports);
55
51
  __exportStar(require("./MetadataFilterRuleCombinator"), exports);
56
52
  __exportStar(require("./MetadataFilterRuleRequest"), exports);
57
- __exportStar(require("./ModelTypeEnum"), exports);
53
+ __exportStar(require("./ModelTypeDeprecated"), exports);
58
54
  __exportStar(require("./ModelVersionBuildConfig"), exports);
59
55
  __exportStar(require("./ModelVersionCompilePromptResponse"), exports);
60
56
  __exportStar(require("./ModelVersionCompiledPrompt"), exports);
@@ -63,6 +59,11 @@ __exportStar(require("./ModelVersionExecConfigParameters"), exports);
63
59
  __exportStar(require("./ModelVersionRead"), exports);
64
60
  __exportStar(require("./ModelVersionReadStatusEnum"), exports);
65
61
  __exportStar(require("./ModelVersionSandboxSnapshot"), exports);
62
+ __exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
63
+ __exportStar(require("./NodeInputCompiledJsonValue"), exports);
64
+ __exportStar(require("./NodeInputCompiledSearchResultsValue"), exports);
65
+ __exportStar(require("./NodeInputCompiledStringValue"), exports);
66
+ __exportStar(require("./NodeInputVariableCompiledValue"), exports);
66
67
  __exportStar(require("./NormalizedLogProbs"), exports);
67
68
  __exportStar(require("./NormalizedTokenLogProbs"), exports);
68
69
  __exportStar(require("./PaginatedSlimDocumentList"), exports);
@@ -89,8 +90,6 @@ __exportStar(require("./RegisteredPromptSandbox"), exports);
89
90
  __exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
90
91
  __exportStar(require("./SandboxMetricInputParams"), exports);
91
92
  __exportStar(require("./SandboxMetricInputParamsRequest"), exports);
92
- __exportStar(require("./SandboxNodeResult"), exports);
93
- __exportStar(require("./SandboxNodeResultData"), exports);
94
93
  __exportStar(require("./SandboxScenario"), exports);
95
94
  __exportStar(require("./ScenarioInput"), exports);
96
95
  __exportStar(require("./ScenarioInputRequest"), exports);
@@ -107,15 +106,25 @@ __exportStar(require("./SearchWeightsRequest"), exports);
107
106
  __exportStar(require("./SlimDocument"), exports);
108
107
  __exportStar(require("./SubmitCompletionActualRequest"), exports);
109
108
  __exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
109
+ __exportStar(require("./TemplatingNodeChatHistoryResult"), exports);
110
+ __exportStar(require("./TemplatingNodeJsonResult"), exports);
111
+ __exportStar(require("./TemplatingNodeResult"), exports);
112
+ __exportStar(require("./TemplatingNodeResultData"), exports);
113
+ __exportStar(require("./TemplatingNodeResultOutput"), exports);
114
+ __exportStar(require("./TemplatingNodeSearchResultsResult"), exports);
115
+ __exportStar(require("./TemplatingNodeStringResult"), exports);
110
116
  __exportStar(require("./TerminalNodeChatHistoryResult"), exports);
111
117
  __exportStar(require("./TerminalNodeJsonResult"), exports);
112
118
  __exportStar(require("./TerminalNodeResult"), exports);
113
119
  __exportStar(require("./TerminalNodeResultData"), exports);
114
120
  __exportStar(require("./TerminalNodeResultOutput"), exports);
121
+ __exportStar(require("./TerminalNodeSearchResultsResult"), exports);
115
122
  __exportStar(require("./TerminalNodeStringResult"), exports);
116
123
  __exportStar(require("./TestSuiteTestCase"), exports);
117
124
  __exportStar(require("./UploadDocumentErrorResponse"), exports);
118
125
  __exportStar(require("./UploadDocumentResponse"), exports);
126
+ __exportStar(require("./VellumVariable"), exports);
127
+ __exportStar(require("./VellumVariableType"), exports);
119
128
  __exportStar(require("./WorkflowEventError"), exports);
120
129
  __exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
121
130
  __exportStar(require("./WorkflowExecutionEventType"), exports);
@@ -132,5 +141,6 @@ __exportStar(require("./WorkflowResultEvent"), exports);
132
141
  __exportStar(require("./WorkflowResultEventOutputData"), exports);
133
142
  __exportStar(require("./WorkflowResultEventOutputDataChatHistory"), exports);
134
143
  __exportStar(require("./WorkflowResultEventOutputDataJson"), exports);
144
+ __exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
135
145
  __exportStar(require("./WorkflowResultEventOutputDataString"), exports);
136
146
  __exportStar(require("./WorkflowStreamEvent"), exports);
@@ -25,14 +25,8 @@ export interface DeploymentRead {
25
25
  * * `PRODUCTION` - Production
26
26
  */
27
27
  environment?: Vellum.EnvironmentEnum;
28
- /**
29
- * The type of model this deployment serves
30
- *
31
- * * `GENERATE` - Generate
32
- * * `CLASSIFY` - Classify
33
- */
34
- modelType: Vellum.ModelTypeEnum;
28
+ modelType: Vellum.ModelTypeDeprecated;
35
29
  activeModelVersionIds: string[];
36
30
  lastDeployedOn: string;
37
- inputVariables: Vellum.InputVariable[];
31
+ inputVariables: Vellum.VellumVariable[];
38
32
  }
@@ -5,8 +5,8 @@
5
5
  * * `GENERATE` - Generate
6
6
  * * `CLASSIFY` - Classify
7
7
  */
8
- export declare type ModelTypeEnum = "GENERATE" | "CLASSIFY";
9
- export declare const ModelTypeEnum: {
8
+ export declare type ModelTypeDeprecated = "GENERATE" | "CLASSIFY";
9
+ export declare const ModelTypeDeprecated: {
10
10
  readonly Generate: "GENERATE";
11
11
  readonly Classify: "CLASSIFY";
12
12
  };
@@ -3,8 +3,8 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ModelTypeEnum = void 0;
7
- exports.ModelTypeEnum = {
6
+ exports.ModelTypeDeprecated = void 0;
7
+ exports.ModelTypeDeprecated = {
8
8
  Generate: "GENERATE",
9
9
  Classify: "CLASSIFY",
10
10
  };
@@ -6,7 +6,7 @@ export interface ModelVersionExecConfig {
6
6
  /** The generation parameters that are passed to the LLM provider at runtime. */
7
7
  parameters: Vellum.ModelVersionExecConfigParameters;
8
8
  /** Input variables specified in the prompt template. */
9
- inputVariables: Vellum.InputVariable[];
9
+ inputVariables: Vellum.VellumVariable[];
10
10
  /** The template used to generate prompts for this model version. */
11
11
  promptTemplate?: string;
12
12
  promptBlockData?: Vellum.PromptTemplateBlockData;
@@ -9,13 +9,7 @@ export interface ModelVersionRead {
9
9
  created: string;
10
10
  /** Human-friendly name for this model version. <span style="white-space: nowrap">`<= 150 characters`</span> */
11
11
  label: string;
12
- /**
13
- * The type of task this model is used for.
14
- *
15
- * * `GENERATE` - Generate
16
- * * `CLASSIFY` - Classify
17
- */
18
- modelType: Vellum.ModelTypeEnum;
12
+ modelType: Vellum.ModelTypeDeprecated;
19
13
  /**
20
14
  * Which LLM provider this model version is associated with.
21
15
  *
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface NodeInputCompiledChatHistoryValue {
6
+ nodeInputId: string;
7
+ key: string;
8
+ value?: Vellum.ChatMessage[];
9
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NodeInputCompiledJsonValue {
5
+ nodeInputId: string;
6
+ key: string;
7
+ value?: Record<string, unknown>;
8
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface NodeInputCompiledSearchResultsValue {
6
+ nodeInputId: string;
7
+ key: string;
8
+ value?: Vellum.SearchResult[];
9
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NodeInputCompiledStringValue {
5
+ nodeInputId: string;
6
+ key: string;
7
+ value?: string;
8
+ }
@@ -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,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type NodeInputVariableCompiledValue = Vellum.NodeInputVariableCompiledValue.String | Vellum.NodeInputVariableCompiledValue.Json | Vellum.NodeInputVariableCompiledValue.ChatHistory | Vellum.NodeInputVariableCompiledValue.SearchResults;
6
+ export declare namespace NodeInputVariableCompiledValue {
7
+ interface String extends Vellum.NodeInputCompiledStringValue {
8
+ type: "STRING";
9
+ }
10
+ interface Json extends Vellum.NodeInputCompiledJsonValue {
11
+ type: "JSON";
12
+ }
13
+ interface ChatHistory extends Vellum.NodeInputCompiledChatHistoryValue {
14
+ type: "CHAT_HISTORY";
15
+ }
16
+ interface SearchResults extends Vellum.NodeInputCompiledSearchResultsValue {
17
+ type: "SEARCH_RESULTS";
18
+ }
19
+ }
@@ -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 });
@@ -7,5 +7,5 @@ export interface RegisteredPromptInputVariableRequest {
7
7
  key: string;
8
8
  /** <span style="white-space: nowrap">`non-empty`</span> */
9
9
  id?: string;
10
- type?: Vellum.InputVariableType;
10
+ type?: Vellum.VellumVariableType;
11
11
  }
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Vellum from "..";
4
5
  export interface SearchNodeResultData {
5
6
  resultsOutputId: string;
6
- results: Record<string, unknown>[];
7
- textOutputId?: string;
7
+ /** The results of the search. Each result represents a chunk that matches the search query. */
8
+ results: Vellum.SearchResult[];
9
+ textOutputId: string;
8
10
  text?: string;
9
11
  }
@@ -3,11 +3,11 @@
3
3
  */
4
4
  import * as Vellum from "..";
5
5
  export interface SearchResult {
6
- /** The document that contains the chunk that matched the search query. */
7
- document: Vellum.Document;
8
6
  /** The text of the chunk that matched the search query. */
9
7
  text: string;
10
- keywords: string[];
11
8
  /** A score representing how well the chunk matches the search query. */
12
9
  score: number;
10
+ keywords: string[];
11
+ /** The document that contains the chunk that matched the search query. */
12
+ document: Vellum.Document;
13
13
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TemplatingNodeChatHistoryResult {
6
+ id: string;
7
+ value?: Vellum.ChatMessage[];
8
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TemplatingNodeJsonResult {
5
+ id: string;
6
+ value?: Record<string, unknown>;
7
+ }
@@ -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 });
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export interface SandboxNodeResult {
6
- data: Vellum.SandboxNodeResultData;
5
+ export interface TemplatingNodeResult {
6
+ data: Vellum.TemplatingNodeResultData;
7
7
  }
@@ -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 });
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export interface SandboxNodeResult {
6
- data: Vellum.SandboxNodeResultData;
5
+ export interface TemplatingNodeResultData {
6
+ output: Vellum.TemplatingNodeResultOutput;
7
7
  }
@@ -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,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export declare type TemplatingNodeResultOutput = Vellum.TemplatingNodeResultOutput.String | Vellum.TemplatingNodeResultOutput.Json | Vellum.TemplatingNodeResultOutput.ChatHistory | Vellum.TemplatingNodeResultOutput.SearchResults;
6
+ export declare namespace TemplatingNodeResultOutput {
7
+ interface String extends Vellum.TemplatingNodeStringResult {
8
+ type: "STRING";
9
+ }
10
+ interface Json extends Vellum.TemplatingNodeJsonResult {
11
+ type: "JSON";
12
+ }
13
+ interface ChatHistory extends Vellum.TemplatingNodeChatHistoryResult {
14
+ type: "CHAT_HISTORY";
15
+ }
16
+ interface SearchResults extends Vellum.TemplatingNodeSearchResultsResult {
17
+ type: "SEARCH_RESULTS";
18
+ }
19
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TemplatingNodeSearchResultsResult {
6
+ id: string;
7
+ value?: Vellum.SearchResult[];
8
+ }
@@ -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,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TemplatingNodeStringResult {
5
+ id: string;
6
+ value?: string;
7
+ }
@@ -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 });
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "..";
5
5
  export interface TerminalNodeChatHistoryResult {
6
+ id?: string;
6
7
  /** The unique name given to the terminal node that produced this output. */
7
8
  name: string;
8
9
  value?: Vellum.ChatMessage[];
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TerminalNodeJsonResult {
5
+ id?: string;
5
6
  /** The unique name given to the terminal node that produced this output. */
6
7
  name: string;
7
8
  value?: Record<string, unknown>;
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export declare type TerminalNodeResultOutput = Vellum.TerminalNodeResultOutput.String | Vellum.TerminalNodeResultOutput.Json | Vellum.TerminalNodeResultOutput.ChatHistory;
5
+ export declare type TerminalNodeResultOutput = Vellum.TerminalNodeResultOutput.String | Vellum.TerminalNodeResultOutput.Json | Vellum.TerminalNodeResultOutput.ChatHistory | Vellum.TerminalNodeResultOutput.SearchResults;
6
6
  export declare namespace TerminalNodeResultOutput {
7
7
  interface String extends Vellum.TerminalNodeStringResult {
8
8
  type: "STRING";
@@ -13,4 +13,7 @@ export declare namespace TerminalNodeResultOutput {
13
13
  interface ChatHistory extends Vellum.TerminalNodeChatHistoryResult {
14
14
  type: "CHAT_HISTORY";
15
15
  }
16
+ interface SearchResults extends Vellum.TerminalNodeSearchResultsResult {
17
+ type: "SEARCH_RESULTS";
18
+ }
16
19
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface TerminalNodeSearchResultsResult {
6
+ id?: string;
7
+ /** The unique name given to the terminal node that produced this output. */
8
+ name: string;
9
+ value?: Vellum.SearchResult[];
10
+ }
@@ -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 });
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TerminalNodeStringResult {
5
+ id?: string;
5
6
  /** The unique name given to the terminal node that produced this output. */
6
7
  name: string;
7
8
  value?: string;
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export interface InputVariable {
5
+ export interface VellumVariable {
6
6
  id: string;
7
7
  key: string;
8
- type: Vellum.InputVariableType;
8
+ type: Vellum.VellumVariableType;
9
9
  }
@@ -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,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * * `STRING` - String
6
+ * * `JSON` - JSON
7
+ * * `CHAT_HISTORY` - Chat History
8
+ * * `SEARCH_RESULTS` - Search Results
9
+ */
10
+ export declare type VellumVariableType = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
11
+ export declare const VellumVariableType: {
12
+ readonly String: "STRING";
13
+ readonly Json: "JSON";
14
+ readonly ChatHistory: "CHAT_HISTORY";
15
+ readonly SearchResults: "SEARCH_RESULTS";
16
+ };
@@ -3,9 +3,10 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.InputVariableType = void 0;
7
- exports.InputVariableType = {
6
+ exports.VellumVariableType = void 0;
7
+ exports.VellumVariableType = {
8
8
  String: "STRING",
9
9
  Json: "JSON",
10
10
  ChatHistory: "CHAT_HISTORY",
11
+ SearchResults: "SEARCH_RESULTS",
11
12
  };
@@ -6,11 +6,13 @@
6
6
  * * `NODE_EXECUTION_COUNT_LIMIT_REACHED` - NODE_EXECUTION_COUNT_LIMIT_REACHED
7
7
  * * `NODE_EXECUTION` - NODE_EXECUTION
8
8
  * * `LLM_PROVIDER` - LLM_PROVIDER
9
+ * * `INVALID_TEMPLATE` - INVALID_TEMPLATE
9
10
  */
10
- export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "NODE_EXECUTION" | "LLM_PROVIDER";
11
+ export declare type WorkflowExecutionEventErrorCode = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE";
11
12
  export declare const WorkflowExecutionEventErrorCode: {
12
13
  readonly WorkflowInitialization: "WORKFLOW_INITIALIZATION";
13
14
  readonly NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED";
14
15
  readonly NodeExecution: "NODE_EXECUTION";
15
16
  readonly LlmProvider: "LLM_PROVIDER";
17
+ readonly InvalidTemplate: "INVALID_TEMPLATE";
16
18
  };
@@ -9,4 +9,5 @@ exports.WorkflowExecutionEventErrorCode = {
9
9
  NodeExecutionCountLimitReached: "NODE_EXECUTION_COUNT_LIMIT_REACHED",
10
10
  NodeExecution: "NODE_EXECUTION",
11
11
  LlmProvider: "LLM_PROVIDER",
12
+ InvalidTemplate: "INVALID_TEMPLATE",
12
13
  };
@@ -2,20 +2,17 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export declare type WorkflowNodeResultData = Vellum.WorkflowNodeResultData.Prompt | Vellum.WorkflowNodeResultData.Sandbox | Vellum.WorkflowNodeResultData.Deployment | Vellum.WorkflowNodeResultData.Search | Vellum.WorkflowNodeResultData.Conditional | Vellum.WorkflowNodeResultData.Terminal;
5
+ export declare type WorkflowNodeResultData = Vellum.WorkflowNodeResultData.Prompt | Vellum.WorkflowNodeResultData.Search | Vellum.WorkflowNodeResultData.Templating | Vellum.WorkflowNodeResultData.Conditional | Vellum.WorkflowNodeResultData.Terminal;
6
6
  export declare namespace WorkflowNodeResultData {
7
7
  interface Prompt extends Vellum.PromptNodeResult {
8
8
  type: "PROMPT";
9
9
  }
10
- interface Sandbox extends Vellum.SandboxNodeResult {
11
- type: "SANDBOX";
12
- }
13
- interface Deployment extends Vellum.DeploymentNodeResult {
14
- type: "DEPLOYMENT";
15
- }
16
10
  interface Search extends Vellum.SearchNodeResult {
17
11
  type: "SEARCH";
18
12
  }
13
+ interface Templating extends Vellum.TemplatingNodeResult {
14
+ type: "TEMPLATING";
15
+ }
19
16
  interface Conditional extends Vellum.ConditionalNodeResult {
20
17
  type: "CONDITIONAL";
21
18
  }
@@ -10,4 +10,5 @@ export interface WorkflowNodeResultEvent {
10
10
  ts?: string;
11
11
  data?: Vellum.WorkflowNodeResultData;
12
12
  error?: Vellum.WorkflowEventError;
13
+ inputValues?: Vellum.NodeInputVariableCompiledValue[];
13
14
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "..";
5
- export declare type WorkflowResultEventOutputData = Vellum.WorkflowResultEventOutputData.String | Vellum.WorkflowResultEventOutputData.Json | Vellum.WorkflowResultEventOutputData.ChatHistory;
5
+ export declare type WorkflowResultEventOutputData = Vellum.WorkflowResultEventOutputData.String | Vellum.WorkflowResultEventOutputData.Json | Vellum.WorkflowResultEventOutputData.ChatHistory | Vellum.WorkflowResultEventOutputData.SearchResults;
6
6
  export declare namespace WorkflowResultEventOutputData {
7
7
  interface String extends Vellum.WorkflowResultEventOutputDataString {
8
8
  type: "STRING";
@@ -13,4 +13,7 @@ export declare namespace WorkflowResultEventOutputData {
13
13
  interface ChatHistory extends Vellum.WorkflowResultEventOutputDataChatHistory {
14
14
  type: "CHAT_HISTORY";
15
15
  }
16
+ interface SearchResults extends Vellum.WorkflowResultEventOutputDataSearchResults {
17
+ type: "SEARCH_RESULTS";
18
+ }
16
19
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "..";
5
5
  export interface WorkflowResultEventOutputDataChatHistory {
6
+ id?: string;
6
7
  name: string;
7
8
  state: Vellum.WorkflowNodeResultEventState;
8
9
  nodeId: string;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "..";
5
5
  export interface WorkflowResultEventOutputDataJson {
6
+ id?: string;
6
7
  name: string;
7
8
  state: Vellum.WorkflowNodeResultEventState;
8
9
  nodeId: string;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "..";
5
+ export interface WorkflowResultEventOutputDataSearchResults {
6
+ id?: string;
7
+ name: string;
8
+ state: Vellum.WorkflowNodeResultEventState;
9
+ nodeId: string;
10
+ /** The newly output string value. Only relevant for string outputs with a state of STREAMING. */
11
+ delta?: string;
12
+ value?: Vellum.SearchResult[];
13
+ }