vellum-ai 0.5.1 → 0.5.2

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 (131) hide show
  1. package/Client.js +9 -9
  2. package/api/resources/deployments/client/Client.js +3 -3
  3. package/api/resources/documentIndexes/client/Client.js +6 -6
  4. package/api/resources/documents/client/Client.js +5 -5
  5. package/api/resources/folderEntities/client/Client.js +1 -1
  6. package/api/resources/sandboxes/client/Client.js +2 -2
  7. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  8. package/api/resources/testSuites/client/Client.js +3 -3
  9. package/api/resources/workflowDeployments/client/Client.js +2 -2
  10. package/api/types/ErrorVellumValue.d.ts +10 -0
  11. package/api/types/FunctionCallVariableValue.d.ts +1 -1
  12. package/api/types/FunctionCallVellumValue.d.ts +10 -0
  13. package/api/types/JsonVellumValue.d.ts +9 -0
  14. package/api/types/JsonVellumValue.js +5 -0
  15. package/api/types/NodeOutputCompiledArrayValue.d.ts +5 -1
  16. package/api/types/NodeOutputCompiledChatHistoryValue.d.ts +5 -1
  17. package/api/types/NodeOutputCompiledErrorValue.d.ts +5 -1
  18. package/api/types/NodeOutputCompiledFunctionCallValue.d.ts +12 -0
  19. package/api/types/NodeOutputCompiledFunctionCallValue.js +5 -0
  20. package/api/types/NodeOutputCompiledJsonValue.d.ts +6 -1
  21. package/api/types/NodeOutputCompiledNumberValue.d.ts +6 -1
  22. package/api/types/NodeOutputCompiledSearchResultsValue.d.ts +5 -1
  23. package/api/types/NodeOutputCompiledStringValue.d.ts +6 -1
  24. package/api/types/NodeOutputCompiledValue.d.ts +1 -1
  25. package/api/types/PromptOutput.d.ts +4 -4
  26. package/api/types/StringVellumValue.d.ts +9 -0
  27. package/api/types/StringVellumValue.js +5 -0
  28. package/api/types/index.d.ts +5 -1
  29. package/api/types/index.js +5 -1
  30. package/dist/Client.js +9 -9
  31. package/dist/api/resources/deployments/client/Client.js +3 -3
  32. package/dist/api/resources/documentIndexes/client/Client.js +6 -6
  33. package/dist/api/resources/documents/client/Client.js +5 -5
  34. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  35. package/dist/api/resources/sandboxes/client/Client.js +2 -2
  36. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  37. package/dist/api/resources/testSuites/client/Client.js +3 -3
  38. package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
  39. package/dist/api/types/ErrorVellumValue.d.ts +10 -0
  40. package/dist/api/types/ErrorVellumValue.js +5 -0
  41. package/dist/api/types/FunctionCallVariableValue.d.ts +1 -1
  42. package/dist/api/types/FunctionCallVellumValue.d.ts +10 -0
  43. package/dist/api/types/FunctionCallVellumValue.js +5 -0
  44. package/dist/api/types/JsonVellumValue.d.ts +9 -0
  45. package/dist/api/types/JsonVellumValue.js +5 -0
  46. package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +5 -1
  47. package/dist/api/types/NodeOutputCompiledChatHistoryValue.d.ts +5 -1
  48. package/dist/api/types/NodeOutputCompiledErrorValue.d.ts +5 -1
  49. package/dist/api/types/NodeOutputCompiledFunctionCallValue.d.ts +12 -0
  50. package/dist/api/types/NodeOutputCompiledFunctionCallValue.js +5 -0
  51. package/dist/api/types/NodeOutputCompiledJsonValue.d.ts +6 -1
  52. package/dist/api/types/NodeOutputCompiledNumberValue.d.ts +6 -1
  53. package/dist/api/types/NodeOutputCompiledSearchResultsValue.d.ts +5 -1
  54. package/dist/api/types/NodeOutputCompiledStringValue.d.ts +6 -1
  55. package/dist/api/types/NodeOutputCompiledValue.d.ts +1 -1
  56. package/dist/api/types/PromptOutput.d.ts +4 -4
  57. package/dist/api/types/StringVellumValue.d.ts +9 -0
  58. package/dist/api/types/StringVellumValue.js +5 -0
  59. package/dist/api/types/index.d.ts +5 -1
  60. package/dist/api/types/index.js +5 -1
  61. package/dist/serialization/types/ErrorVellumValue.d.ts +13 -0
  62. package/dist/serialization/types/ErrorVellumValue.js +34 -0
  63. package/dist/serialization/types/FunctionCallVariableValue.d.ts +1 -1
  64. package/dist/serialization/types/FunctionCallVariableValue.js +1 -1
  65. package/dist/serialization/types/FunctionCallVellumValue.d.ts +13 -0
  66. package/dist/serialization/types/FunctionCallVellumValue.js +34 -0
  67. package/dist/serialization/types/JsonVellumValue.d.ts +12 -0
  68. package/dist/serialization/types/JsonVellumValue.js +33 -0
  69. package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +3 -1
  70. package/dist/serialization/types/NodeOutputCompiledArrayValue.js +3 -1
  71. package/dist/serialization/types/NodeOutputCompiledChatHistoryValue.d.ts +3 -1
  72. package/dist/serialization/types/NodeOutputCompiledChatHistoryValue.js +3 -1
  73. package/dist/serialization/types/NodeOutputCompiledErrorValue.d.ts +3 -1
  74. package/dist/serialization/types/NodeOutputCompiledErrorValue.js +3 -1
  75. package/dist/serialization/types/NodeOutputCompiledFunctionCallValue.d.ts +16 -0
  76. package/dist/serialization/types/{NodeOutputCompiledFunctionValue.js → NodeOutputCompiledFunctionCallValue.js} +5 -3
  77. package/dist/serialization/types/NodeOutputCompiledJsonValue.d.ts +3 -1
  78. package/dist/serialization/types/NodeOutputCompiledJsonValue.js +3 -1
  79. package/dist/serialization/types/NodeOutputCompiledNumberValue.d.ts +3 -1
  80. package/dist/serialization/types/NodeOutputCompiledNumberValue.js +3 -1
  81. package/dist/serialization/types/NodeOutputCompiledSearchResultsValue.d.ts +3 -1
  82. package/dist/serialization/types/NodeOutputCompiledSearchResultsValue.js +3 -1
  83. package/dist/serialization/types/NodeOutputCompiledStringValue.d.ts +3 -1
  84. package/dist/serialization/types/NodeOutputCompiledStringValue.js +3 -1
  85. package/dist/serialization/types/NodeOutputCompiledValue.d.ts +2 -2
  86. package/dist/serialization/types/NodeOutputCompiledValue.js +2 -2
  87. package/dist/serialization/types/PromptOutput.d.ts +8 -8
  88. package/dist/serialization/types/PromptOutput.js +8 -8
  89. package/dist/serialization/types/StringVellumValue.d.ts +12 -0
  90. package/dist/serialization/types/StringVellumValue.js +33 -0
  91. package/dist/serialization/types/index.d.ts +5 -1
  92. package/dist/serialization/types/index.js +5 -1
  93. package/package.json +1 -1
  94. package/serialization/types/ErrorVellumValue.d.ts +13 -0
  95. package/serialization/types/ErrorVellumValue.js +34 -0
  96. package/serialization/types/FunctionCallVariableValue.d.ts +1 -1
  97. package/serialization/types/FunctionCallVariableValue.js +1 -1
  98. package/serialization/types/FunctionCallVellumValue.d.ts +13 -0
  99. package/serialization/types/FunctionCallVellumValue.js +34 -0
  100. package/serialization/types/JsonVellumValue.d.ts +12 -0
  101. package/serialization/types/JsonVellumValue.js +33 -0
  102. package/serialization/types/NodeOutputCompiledArrayValue.d.ts +3 -1
  103. package/serialization/types/NodeOutputCompiledArrayValue.js +3 -1
  104. package/serialization/types/NodeOutputCompiledChatHistoryValue.d.ts +3 -1
  105. package/serialization/types/NodeOutputCompiledChatHistoryValue.js +3 -1
  106. package/serialization/types/NodeOutputCompiledErrorValue.d.ts +3 -1
  107. package/serialization/types/NodeOutputCompiledErrorValue.js +3 -1
  108. package/serialization/types/NodeOutputCompiledFunctionCallValue.d.ts +16 -0
  109. package/serialization/types/{NodeOutputCompiledFunctionValue.js → NodeOutputCompiledFunctionCallValue.js} +5 -3
  110. package/serialization/types/NodeOutputCompiledJsonValue.d.ts +3 -1
  111. package/serialization/types/NodeOutputCompiledJsonValue.js +3 -1
  112. package/serialization/types/NodeOutputCompiledNumberValue.d.ts +3 -1
  113. package/serialization/types/NodeOutputCompiledNumberValue.js +3 -1
  114. package/serialization/types/NodeOutputCompiledSearchResultsValue.d.ts +3 -1
  115. package/serialization/types/NodeOutputCompiledSearchResultsValue.js +3 -1
  116. package/serialization/types/NodeOutputCompiledStringValue.d.ts +3 -1
  117. package/serialization/types/NodeOutputCompiledStringValue.js +3 -1
  118. package/serialization/types/NodeOutputCompiledValue.d.ts +2 -2
  119. package/serialization/types/NodeOutputCompiledValue.js +2 -2
  120. package/serialization/types/PromptOutput.d.ts +8 -8
  121. package/serialization/types/PromptOutput.js +8 -8
  122. package/serialization/types/StringVellumValue.d.ts +12 -0
  123. package/serialization/types/StringVellumValue.js +33 -0
  124. package/serialization/types/index.d.ts +5 -1
  125. package/serialization/types/index.js +5 -1
  126. package/api/types/NodeOutputCompiledFunctionValue.d.ts +0 -8
  127. package/dist/api/types/NodeOutputCompiledFunctionValue.d.ts +0 -8
  128. package/dist/serialization/types/NodeOutputCompiledFunctionValue.d.ts +0 -14
  129. package/serialization/types/NodeOutputCompiledFunctionValue.d.ts +0 -14
  130. /package/api/types/{NodeOutputCompiledFunctionValue.js → ErrorVellumValue.js} +0 -0
  131. /package/{dist/api/types/NodeOutputCompiledFunctionValue.js → api/types/FunctionCallVellumValue.js} +0 -0
@@ -38,6 +38,7 @@ export * from "./EntityStatus";
38
38
  export * from "./EnvironmentEnum";
39
39
  export * from "./ErrorEnum";
40
40
  export * from "./ErrorVariableValue";
41
+ export * from "./ErrorVellumValue";
41
42
  export * from "./ExecutePromptApiErrorResponse";
42
43
  export * from "./ExecutePromptEvent";
43
44
  export * from "./ExecutePromptResponse";
@@ -72,6 +73,7 @@ export * from "./FunctionCallChatMessageContentValue";
72
73
  export * from "./FunctionCallChatMessageContentValueRequest";
73
74
  export * from "./FunctionCallEnum";
74
75
  export * from "./FunctionCallVariableValue";
76
+ export * from "./FunctionCallVellumValue";
75
77
  export * from "./GenerateErrorResponse";
76
78
  export * from "./GenerateOptionsRequest";
77
79
  export * from "./GenerateRequest";
@@ -94,6 +96,7 @@ export * from "./InitiatedWorkflowNodeResultEvent";
94
96
  export * from "./JsonInputRequest";
95
97
  export * from "./JsonEnum";
96
98
  export * from "./JsonVariableValue";
99
+ export * from "./JsonVellumValue";
97
100
  export * from "./LogicalOperator";
98
101
  export * from "./LogprobsEnum";
99
102
  export * from "./MlModelUsage";
@@ -131,7 +134,7 @@ export * from "./NodeInputVariableCompiledValue";
131
134
  export * from "./NodeOutputCompiledArrayValue";
132
135
  export * from "./NodeOutputCompiledChatHistoryValue";
133
136
  export * from "./NodeOutputCompiledErrorValue";
134
- export * from "./NodeOutputCompiledFunctionValue";
137
+ export * from "./NodeOutputCompiledFunctionCallValue";
135
138
  export * from "./NodeOutputCompiledJsonValue";
136
139
  export * from "./NodeOutputCompiledNumberValue";
137
140
  export * from "./NodeOutputCompiledSearchResultsValue";
@@ -193,6 +196,7 @@ export * from "./StringChatMessageContentRequest";
193
196
  export * from "./StringEnum";
194
197
  export * from "./StringInputRequest";
195
198
  export * from "./StringVariableValue";
199
+ export * from "./StringVellumValue";
196
200
  export * from "./SubmitCompletionActualRequest";
197
201
  export * from "./SubmitCompletionActualsErrorResponse";
198
202
  export * from "./SubmitWorkflowExecutionActualRequest";
@@ -54,6 +54,7 @@ __exportStar(require("./EntityStatus"), exports);
54
54
  __exportStar(require("./EnvironmentEnum"), exports);
55
55
  __exportStar(require("./ErrorEnum"), exports);
56
56
  __exportStar(require("./ErrorVariableValue"), exports);
57
+ __exportStar(require("./ErrorVellumValue"), exports);
57
58
  __exportStar(require("./ExecutePromptApiErrorResponse"), exports);
58
59
  __exportStar(require("./ExecutePromptEvent"), exports);
59
60
  __exportStar(require("./ExecutePromptResponse"), exports);
@@ -88,6 +89,7 @@ __exportStar(require("./FunctionCallChatMessageContentValue"), exports);
88
89
  __exportStar(require("./FunctionCallChatMessageContentValueRequest"), exports);
89
90
  __exportStar(require("./FunctionCallEnum"), exports);
90
91
  __exportStar(require("./FunctionCallVariableValue"), exports);
92
+ __exportStar(require("./FunctionCallVellumValue"), exports);
91
93
  __exportStar(require("./GenerateErrorResponse"), exports);
92
94
  __exportStar(require("./GenerateOptionsRequest"), exports);
93
95
  __exportStar(require("./GenerateRequest"), exports);
@@ -110,6 +112,7 @@ __exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
110
112
  __exportStar(require("./JsonInputRequest"), exports);
111
113
  __exportStar(require("./JsonEnum"), exports);
112
114
  __exportStar(require("./JsonVariableValue"), exports);
115
+ __exportStar(require("./JsonVellumValue"), exports);
113
116
  __exportStar(require("./LogicalOperator"), exports);
114
117
  __exportStar(require("./LogprobsEnum"), exports);
115
118
  __exportStar(require("./MlModelUsage"), exports);
@@ -147,7 +150,7 @@ __exportStar(require("./NodeInputVariableCompiledValue"), exports);
147
150
  __exportStar(require("./NodeOutputCompiledArrayValue"), exports);
148
151
  __exportStar(require("./NodeOutputCompiledChatHistoryValue"), exports);
149
152
  __exportStar(require("./NodeOutputCompiledErrorValue"), exports);
150
- __exportStar(require("./NodeOutputCompiledFunctionValue"), exports);
153
+ __exportStar(require("./NodeOutputCompiledFunctionCallValue"), exports);
151
154
  __exportStar(require("./NodeOutputCompiledJsonValue"), exports);
152
155
  __exportStar(require("./NodeOutputCompiledNumberValue"), exports);
153
156
  __exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
@@ -209,6 +212,7 @@ __exportStar(require("./StringChatMessageContentRequest"), exports);
209
212
  __exportStar(require("./StringEnum"), exports);
210
213
  __exportStar(require("./StringInputRequest"), exports);
211
214
  __exportStar(require("./StringVariableValue"), exports);
215
+ __exportStar(require("./StringVellumValue"), exports);
212
216
  __exportStar(require("./SubmitCompletionActualRequest"), exports);
213
217
  __exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
214
218
  __exportStar(require("./SubmitWorkflowExecutionActualRequest"), exports);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "..";
5
- export interface NodeOutputCompiledFunctionValue {
6
- nodeOutputId: string;
7
- value?: Vellum.FunctionCall;
8
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Vellum from "..";
5
- export interface NodeOutputCompiledFunctionValue {
6
- nodeOutputId: string;
7
- value?: Vellum.FunctionCall;
8
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- import { FunctionCall } from "./FunctionCall";
8
- export declare const NodeOutputCompiledFunctionValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledFunctionValue.Raw, Vellum.NodeOutputCompiledFunctionValue>;
9
- export declare namespace NodeOutputCompiledFunctionValue {
10
- interface Raw {
11
- node_output_id: string;
12
- value?: FunctionCall.Raw | null;
13
- }
14
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- import { FunctionCall } from "./FunctionCall";
8
- export declare const NodeOutputCompiledFunctionValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledFunctionValue.Raw, Vellum.NodeOutputCompiledFunctionValue>;
9
- export declare namespace NodeOutputCompiledFunctionValue {
10
- interface Raw {
11
- node_output_id: string;
12
- value?: FunctionCall.Raw | null;
13
- }
14
- }