vellum-ai 0.3.10 → 0.3.12
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.
- package/Client.js +9 -9
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
- package/api/resources/deployments/client/Client.d.ts +11 -0
- package/api/resources/deployments/client/Client.js +30 -7
- package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/api/resources/documentIndexes/client/Client.d.ts +23 -0
- package/api/resources/documentIndexes/client/Client.js +168 -3
- package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +29 -0
- package/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +5 -0
- package/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +27 -0
- package/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +5 -0
- package/api/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuites/client/Client.js +2 -2
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/ArrayVariableValueItem.d.ts +4 -1
- package/api/types/ChatMessage.d.ts +2 -0
- package/api/types/ChatMessageRequest.d.ts +2 -0
- package/api/types/ExecutionArrayVellumValue.d.ts +10 -0
- package/api/types/ExecutionArrayVellumValue.js +5 -0
- package/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
- package/api/types/ExecutionChatHistoryVellumValue.js +5 -0
- package/api/types/ExecutionErrorVellumValue.d.ts +10 -0
- package/api/types/ExecutionErrorVellumValue.js +5 -0
- package/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
- package/api/types/ExecutionFunctionCallVellumValue.js +5 -0
- package/api/types/ExecutionJsonVellumValue.d.ts +9 -0
- package/api/types/ExecutionJsonVellumValue.js +5 -0
- package/api/types/ExecutionNumberVellumValue.d.ts +9 -0
- package/api/types/ExecutionNumberVellumValue.js +5 -0
- package/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
- package/api/types/ExecutionSearchResultsVellumValue.js +5 -0
- package/api/types/ExecutionStringVellumValue.d.ts +9 -0
- package/api/types/ExecutionStringVellumValue.js +5 -0
- package/api/types/ExecutionVellumValue.d.ts +31 -0
- package/api/types/ExecutionVellumValue.js +5 -0
- package/api/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/api/types/GenerateRequest.d.ts +1 -1
- package/api/types/ImageVariableValue.d.ts +10 -0
- package/api/types/ImageVariableValue.js +5 -0
- package/api/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/api/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/api/types/WorkflowResultEvent.d.ts +1 -0
- package/api/types/index.d.ts +10 -0
- package/api/types/index.js +10 -0
- package/dist/Client.js +9 -9
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -2
- package/dist/api/resources/deployments/client/Client.d.ts +11 -0
- package/dist/api/resources/deployments/client/Client.js +30 -7
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/dist/api/resources/documentIndexes/client/Client.d.ts +23 -0
- package/dist/api/resources/documentIndexes/client/Client.js +168 -3
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +29 -0
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +5 -0
- package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +27 -0
- package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +5 -0
- package/dist/api/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuites/client/Client.js +2 -2
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/ArrayVariableValueItem.d.ts +4 -1
- package/dist/api/types/ChatMessage.d.ts +2 -0
- package/dist/api/types/ChatMessageRequest.d.ts +2 -0
- package/dist/api/types/ExecutionArrayVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionArrayVellumValue.js +5 -0
- package/dist/api/types/ExecutionChatHistoryVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionChatHistoryVellumValue.js +5 -0
- package/dist/api/types/ExecutionErrorVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionErrorVellumValue.js +5 -0
- package/dist/api/types/ExecutionFunctionCallVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionFunctionCallVellumValue.js +5 -0
- package/dist/api/types/ExecutionJsonVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionJsonVellumValue.js +5 -0
- package/dist/api/types/ExecutionNumberVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionNumberVellumValue.js +5 -0
- package/dist/api/types/ExecutionSearchResultsVellumValue.d.ts +10 -0
- package/dist/api/types/ExecutionSearchResultsVellumValue.js +5 -0
- package/dist/api/types/ExecutionStringVellumValue.d.ts +9 -0
- package/dist/api/types/ExecutionStringVellumValue.js +5 -0
- package/dist/api/types/ExecutionVellumValue.d.ts +31 -0
- package/dist/api/types/ExecutionVellumValue.js +5 -0
- package/dist/api/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/dist/api/types/GenerateRequest.d.ts +1 -1
- package/dist/api/types/ImageVariableValue.d.ts +10 -0
- package/dist/api/types/ImageVariableValue.js +5 -0
- package/dist/api/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/api/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/dist/api/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/api/types/index.js +10 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +14 -0
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +44 -0
- package/dist/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +14 -0
- package/dist/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +44 -0
- package/dist/serialization/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/documentIndexes/client/requests/index.js +5 -1
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +4 -1
- package/dist/serialization/types/ArrayVariableValueItem.js +1 -0
- package/dist/serialization/types/ChatMessage.d.ts +1 -0
- package/dist/serialization/types/ChatMessage.js +1 -0
- package/dist/serialization/types/ChatMessageRequest.d.ts +1 -0
- package/dist/serialization/types/ChatMessageRequest.js +1 -0
- package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionArrayVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionErrorVellumValue.js +44 -0
- package/dist/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
- package/dist/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionJsonVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionNumberVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
- package/dist/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
- package/dist/serialization/types/ExecutionStringVellumValue.js +35 -0
- package/dist/serialization/types/ExecutionVellumValue.d.ts +34 -0
- package/dist/serialization/types/ExecutionVellumValue.js +54 -0
- package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/dist/serialization/types/FulfilledWorkflowNodeResultEvent.js +2 -0
- package/dist/serialization/types/ImageVariableValue.d.ts +12 -0
- package/dist/serialization/types/ImageVariableValue.js +42 -0
- package/dist/serialization/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/InitiatedWorkflowNodeResultEvent.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/dist/serialization/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/RejectedWorkflowNodeResultEvent.js +1 -0
- package/dist/serialization/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/StreamingWorkflowNodeResultEvent.js +1 -0
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEvent.js +3 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/serialization/types/index.js +10 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -1
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +1 -0
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.d.ts +14 -0
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexUpdateRequest.js +44 -0
- package/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts +14 -0
- package/serialization/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.js +44 -0
- package/serialization/resources/documentIndexes/client/requests/index.d.ts +2 -0
- package/serialization/resources/documentIndexes/client/requests/index.js +5 -1
- package/serialization/types/ArrayVariableValueItem.d.ts +4 -1
- package/serialization/types/ArrayVariableValueItem.js +1 -0
- package/serialization/types/ChatMessage.d.ts +1 -0
- package/serialization/types/ChatMessage.js +1 -0
- package/serialization/types/ChatMessageRequest.d.ts +1 -0
- package/serialization/types/ChatMessageRequest.js +1 -0
- package/serialization/types/ExecutionArrayVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionArrayVellumValue.js +46 -0
- package/serialization/types/ExecutionChatHistoryVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionChatHistoryVellumValue.js +46 -0
- package/serialization/types/ExecutionErrorVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionErrorVellumValue.js +44 -0
- package/serialization/types/ExecutionFunctionCallVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionFunctionCallVellumValue.js +44 -0
- package/serialization/types/ExecutionJsonVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionJsonVellumValue.js +35 -0
- package/serialization/types/ExecutionNumberVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionNumberVellumValue.js +35 -0
- package/serialization/types/ExecutionSearchResultsVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionSearchResultsVellumValue.js +46 -0
- package/serialization/types/ExecutionStringVellumValue.d.ts +14 -0
- package/serialization/types/ExecutionStringVellumValue.js +35 -0
- package/serialization/types/ExecutionVellumValue.d.ts +34 -0
- package/serialization/types/ExecutionVellumValue.js +54 -0
- package/serialization/types/FulfilledWorkflowNodeResultEvent.d.ts +2 -0
- package/serialization/types/FulfilledWorkflowNodeResultEvent.js +2 -0
- package/serialization/types/ImageVariableValue.d.ts +12 -0
- package/serialization/types/ImageVariableValue.js +42 -0
- package/serialization/types/InitiatedWorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/InitiatedWorkflowNodeResultEvent.js +1 -0
- package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/serialization/types/RejectedWorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/RejectedWorkflowNodeResultEvent.js +1 -0
- package/serialization/types/StreamingWorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/StreamingWorkflowNodeResultEvent.js +1 -0
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/serialization/types/WorkflowResultEvent.d.ts +1 -0
- package/serialization/types/WorkflowResultEvent.js +3 -0
- package/serialization/types/index.d.ts +10 -0
- package/serialization/types/index.js +10 -0
|
@@ -58,4 +58,27 @@ export declare class DocumentIndexes {
|
|
|
58
58
|
* await vellum.documentIndexes.retrieve("id")
|
|
59
59
|
*/
|
|
60
60
|
retrieve(id: string, requestOptions?: DocumentIndexes.RequestOptions): Promise<Vellum.DocumentIndexRead>;
|
|
61
|
+
/**
|
|
62
|
+
* Used to fully update a Document Index given its ID.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await vellum.documentIndexes.update("id", {
|
|
66
|
+
* label: "label"
|
|
67
|
+
* })
|
|
68
|
+
*/
|
|
69
|
+
update(id: string, request: Vellum.DocumentIndexUpdateRequest, requestOptions?: DocumentIndexes.RequestOptions): Promise<Vellum.DocumentIndexRead>;
|
|
70
|
+
/**
|
|
71
|
+
* Used to delete a Document Index given its ID.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* await vellum.documentIndexes.destroy("id")
|
|
75
|
+
*/
|
|
76
|
+
destroy(id: string, requestOptions?: DocumentIndexes.RequestOptions): Promise<void>;
|
|
77
|
+
/**
|
|
78
|
+
* Used to partial update a Document Index given its ID.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await vellum.documentIndexes.partialUpdate("id", {})
|
|
82
|
+
*/
|
|
83
|
+
partialUpdate(id: string, request?: Vellum.PatchedDocumentIndexUpdateRequest, requestOptions?: DocumentIndexes.RequestOptions): Promise<Vellum.DocumentIndexRead>;
|
|
61
84
|
}
|
|
@@ -79,7 +79,7 @@ class DocumentIndexes {
|
|
|
79
79
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
82
|
-
"X-Fern-SDK-Version": "0.3.
|
|
82
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -154,7 +154,7 @@ class DocumentIndexes {
|
|
|
154
154
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
155
155
|
"X-Fern-Language": "JavaScript",
|
|
156
156
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
157
|
-
"X-Fern-SDK-Version": "0.3.
|
|
157
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
158
158
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
159
159
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
160
160
|
},
|
|
@@ -211,7 +211,7 @@ class DocumentIndexes {
|
|
|
211
211
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
212
212
|
"X-Fern-Language": "JavaScript",
|
|
213
213
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
214
|
-
"X-Fern-SDK-Version": "0.3.
|
|
214
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
215
215
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
216
216
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
217
217
|
},
|
|
@@ -248,5 +248,170 @@ class DocumentIndexes {
|
|
|
248
248
|
}
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Used to fully update a Document Index given its ID.
|
|
253
|
+
*
|
|
254
|
+
* @example
|
|
255
|
+
* await vellum.documentIndexes.update("id", {
|
|
256
|
+
* label: "label"
|
|
257
|
+
* })
|
|
258
|
+
*/
|
|
259
|
+
update(id, request, requestOptions) {
|
|
260
|
+
var _a;
|
|
261
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
262
|
+
const _response = yield core.fetcher({
|
|
263
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
264
|
+
.default, `v1/document-indexes/${id}`),
|
|
265
|
+
method: "PUT",
|
|
266
|
+
headers: {
|
|
267
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
268
|
+
"X-Fern-Language": "JavaScript",
|
|
269
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
270
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
271
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
272
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
273
|
+
},
|
|
274
|
+
contentType: "application/json",
|
|
275
|
+
body: yield serializers.DocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
276
|
+
unrecognizedObjectKeys: "strip",
|
|
277
|
+
}),
|
|
278
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
279
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
280
|
+
});
|
|
281
|
+
if (_response.ok) {
|
|
282
|
+
return yield serializers.DocumentIndexRead.parseOrThrow(_response.body, {
|
|
283
|
+
unrecognizedObjectKeys: "passthrough",
|
|
284
|
+
allowUnrecognizedUnionMembers: true,
|
|
285
|
+
allowUnrecognizedEnumValues: true,
|
|
286
|
+
breadcrumbsPrefix: ["response"],
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
if (_response.error.reason === "status-code") {
|
|
290
|
+
throw new errors.VellumError({
|
|
291
|
+
statusCode: _response.error.statusCode,
|
|
292
|
+
body: _response.error.body,
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
switch (_response.error.reason) {
|
|
296
|
+
case "non-json":
|
|
297
|
+
throw new errors.VellumError({
|
|
298
|
+
statusCode: _response.error.statusCode,
|
|
299
|
+
body: _response.error.rawBody,
|
|
300
|
+
});
|
|
301
|
+
case "timeout":
|
|
302
|
+
throw new errors.VellumTimeoutError();
|
|
303
|
+
case "unknown":
|
|
304
|
+
throw new errors.VellumError({
|
|
305
|
+
message: _response.error.errorMessage,
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Used to delete a Document Index given its ID.
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* await vellum.documentIndexes.destroy("id")
|
|
315
|
+
*/
|
|
316
|
+
destroy(id, requestOptions) {
|
|
317
|
+
var _a;
|
|
318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
+
const _response = yield core.fetcher({
|
|
320
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
321
|
+
.default, `v1/document-indexes/${id}`),
|
|
322
|
+
method: "DELETE",
|
|
323
|
+
headers: {
|
|
324
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
325
|
+
"X-Fern-Language": "JavaScript",
|
|
326
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
327
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
328
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
329
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
330
|
+
},
|
|
331
|
+
contentType: "application/json",
|
|
332
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
333
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
334
|
+
});
|
|
335
|
+
if (_response.ok) {
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
if (_response.error.reason === "status-code") {
|
|
339
|
+
throw new errors.VellumError({
|
|
340
|
+
statusCode: _response.error.statusCode,
|
|
341
|
+
body: _response.error.body,
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
switch (_response.error.reason) {
|
|
345
|
+
case "non-json":
|
|
346
|
+
throw new errors.VellumError({
|
|
347
|
+
statusCode: _response.error.statusCode,
|
|
348
|
+
body: _response.error.rawBody,
|
|
349
|
+
});
|
|
350
|
+
case "timeout":
|
|
351
|
+
throw new errors.VellumTimeoutError();
|
|
352
|
+
case "unknown":
|
|
353
|
+
throw new errors.VellumError({
|
|
354
|
+
message: _response.error.errorMessage,
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Used to partial update a Document Index given its ID.
|
|
361
|
+
*
|
|
362
|
+
* @example
|
|
363
|
+
* await vellum.documentIndexes.partialUpdate("id", {})
|
|
364
|
+
*/
|
|
365
|
+
partialUpdate(id, request = {}, requestOptions) {
|
|
366
|
+
var _a;
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
const _response = yield core.fetcher({
|
|
369
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
370
|
+
.default, `v1/document-indexes/${id}`),
|
|
371
|
+
method: "PATCH",
|
|
372
|
+
headers: {
|
|
373
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
374
|
+
"X-Fern-Language": "JavaScript",
|
|
375
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
376
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
377
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
378
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
379
|
+
},
|
|
380
|
+
contentType: "application/json",
|
|
381
|
+
body: yield serializers.PatchedDocumentIndexUpdateRequest.jsonOrThrow(request, {
|
|
382
|
+
unrecognizedObjectKeys: "strip",
|
|
383
|
+
}),
|
|
384
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
385
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
386
|
+
});
|
|
387
|
+
if (_response.ok) {
|
|
388
|
+
return yield serializers.DocumentIndexRead.parseOrThrow(_response.body, {
|
|
389
|
+
unrecognizedObjectKeys: "passthrough",
|
|
390
|
+
allowUnrecognizedUnionMembers: true,
|
|
391
|
+
allowUnrecognizedEnumValues: true,
|
|
392
|
+
breadcrumbsPrefix: ["response"],
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
if (_response.error.reason === "status-code") {
|
|
396
|
+
throw new errors.VellumError({
|
|
397
|
+
statusCode: _response.error.statusCode,
|
|
398
|
+
body: _response.error.body,
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
switch (_response.error.reason) {
|
|
402
|
+
case "non-json":
|
|
403
|
+
throw new errors.VellumError({
|
|
404
|
+
statusCode: _response.error.statusCode,
|
|
405
|
+
body: _response.error.rawBody,
|
|
406
|
+
});
|
|
407
|
+
case "timeout":
|
|
408
|
+
throw new errors.VellumTimeoutError();
|
|
409
|
+
case "unknown":
|
|
410
|
+
throw new errors.VellumError({
|
|
411
|
+
message: _response.error.errorMessage,
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
}
|
|
251
416
|
}
|
|
252
417
|
exports.DocumentIndexes = DocumentIndexes;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* label: "label"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface DocumentIndexUpdateRequest {
|
|
12
|
+
/** A human-readable label for the document index */
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* The current status of the document index
|
|
16
|
+
*
|
|
17
|
+
* * `ACTIVE` - Active
|
|
18
|
+
* * `ARCHIVED` - Archived
|
|
19
|
+
*/
|
|
20
|
+
status?: Vellum.EntityStatus;
|
|
21
|
+
/**
|
|
22
|
+
* The environment this document index is used in
|
|
23
|
+
*
|
|
24
|
+
* * `DEVELOPMENT` - Development
|
|
25
|
+
* * `STAGING` - Staging
|
|
26
|
+
* * `PRODUCTION` - Production
|
|
27
|
+
*/
|
|
28
|
+
environment?: Vellum.EnvironmentEnum;
|
|
29
|
+
}
|
package/dist/api/resources/documentIndexes/client/requests/PatchedDocumentIndexUpdateRequest.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface PatchedDocumentIndexUpdateRequest {
|
|
10
|
+
/** A human-readable label for the document index */
|
|
11
|
+
label?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The current status of the document index
|
|
14
|
+
*
|
|
15
|
+
* * `ACTIVE` - Active
|
|
16
|
+
* * `ARCHIVED` - Archived
|
|
17
|
+
*/
|
|
18
|
+
status?: Vellum.EntityStatus;
|
|
19
|
+
/**
|
|
20
|
+
* The environment this document index is used in
|
|
21
|
+
*
|
|
22
|
+
* * `DEVELOPMENT` - Development
|
|
23
|
+
* * `STAGING` - Staging
|
|
24
|
+
* * `PRODUCTION` - Production
|
|
25
|
+
*/
|
|
26
|
+
environment?: Vellum.EnvironmentEnum;
|
|
27
|
+
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { DocumentIndexesListRequest } from "./DocumentIndexesListRequest";
|
|
2
2
|
export { DocumentIndexCreateRequest } from "./DocumentIndexCreateRequest";
|
|
3
|
+
export { DocumentIndexUpdateRequest } from "./DocumentIndexUpdateRequest";
|
|
4
|
+
export { PatchedDocumentIndexUpdateRequest } from "./PatchedDocumentIndexUpdateRequest";
|
|
@@ -81,7 +81,7 @@ class Documents {
|
|
|
81
81
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
84
|
-
"X-Fern-SDK-Version": "0.3.
|
|
84
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -130,7 +130,7 @@ class Documents {
|
|
|
130
130
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
133
|
-
"X-Fern-SDK-Version": "0.3.
|
|
133
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
134
134
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
135
135
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
136
136
|
},
|
|
@@ -179,7 +179,7 @@ class Documents {
|
|
|
179
179
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
180
180
|
"X-Fern-Language": "JavaScript",
|
|
181
181
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
182
|
-
"X-Fern-SDK-Version": "0.3.
|
|
182
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
183
183
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
184
184
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
185
185
|
},
|
|
@@ -265,7 +265,7 @@ class Documents {
|
|
|
265
265
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
266
266
|
"X-Fern-Language": "JavaScript",
|
|
267
267
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
268
|
-
"X-Fern-SDK-Version": "0.3.
|
|
268
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
269
269
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
270
270
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
271
271
|
},
|
|
@@ -69,7 +69,7 @@ class FolderEntities {
|
|
|
69
69
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
72
|
-
"X-Fern-SDK-Version": "0.3.
|
|
72
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
},
|
|
@@ -65,7 +65,7 @@ class ModelVersions {
|
|
|
65
65
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
68
|
-
"X-Fern-SDK-Version": "0.3.
|
|
68
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
69
69
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
70
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
71
|
},
|
|
@@ -96,7 +96,7 @@ class RegisteredPrompts {
|
|
|
96
96
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
99
|
-
"X-Fern-SDK-Version": "0.3.
|
|
99
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -84,7 +84,7 @@ class Sandboxes {
|
|
|
84
84
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
87
|
-
"X-Fern-SDK-Version": "0.3.
|
|
87
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -141,7 +141,7 @@ class Sandboxes {
|
|
|
141
141
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
142
142
|
"X-Fern-Language": "JavaScript",
|
|
143
143
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
144
|
-
"X-Fern-SDK-Version": "0.3.
|
|
144
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
145
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
146
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
147
147
|
},
|
|
@@ -74,7 +74,7 @@ class TestSuites {
|
|
|
74
74
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "0.3.
|
|
77
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -131,7 +131,7 @@ class TestSuites {
|
|
|
131
131
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
134
|
-
"X-Fern-SDK-Version": "0.3.
|
|
134
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -73,7 +73,7 @@ class WorkflowDeployments {
|
|
|
73
73
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
76
|
-
"X-Fern-SDK-Version": "0.3.
|
|
76
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -128,7 +128,7 @@ class WorkflowDeployments {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "0.3.
|
|
131
|
+
"X-Fern-SDK-Version": "0.3.12",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -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 ArrayVariableValueItem = Vellum.ArrayVariableValueItem.String | Vellum.ArrayVariableValueItem.Number | Vellum.ArrayVariableValueItem.Json | Vellum.ArrayVariableValueItem.ChatHistory | Vellum.ArrayVariableValueItem.SearchResults | Vellum.ArrayVariableValueItem.Error_ | Vellum.ArrayVariableValueItem.FunctionCall;
|
|
5
|
+
export declare type ArrayVariableValueItem = Vellum.ArrayVariableValueItem.String | Vellum.ArrayVariableValueItem.Number | Vellum.ArrayVariableValueItem.Json | Vellum.ArrayVariableValueItem.ChatHistory | Vellum.ArrayVariableValueItem.SearchResults | Vellum.ArrayVariableValueItem.Error_ | Vellum.ArrayVariableValueItem.FunctionCall | Vellum.ArrayVariableValueItem.Image;
|
|
6
6
|
export declare namespace ArrayVariableValueItem {
|
|
7
7
|
interface String extends Vellum.StringVariableValue {
|
|
8
8
|
type: "STRING";
|
|
@@ -25,4 +25,7 @@ export declare namespace ArrayVariableValueItem {
|
|
|
25
25
|
interface FunctionCall extends Vellum.FunctionCallVariableValue {
|
|
26
26
|
type: "FUNCTION_CALL";
|
|
27
27
|
}
|
|
28
|
+
interface Image extends Vellum.ImageVariableValue {
|
|
29
|
+
type: "IMAGE";
|
|
30
|
+
}
|
|
28
31
|
}
|
|
@@ -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 ExecutionArrayVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.ArrayVariableValueItem[];
|
|
10
|
+
}
|
|
@@ -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 ExecutionChatHistoryVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.ChatMessage[];
|
|
10
|
+
}
|
|
@@ -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 ExecutionErrorVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.VellumError;
|
|
10
|
+
}
|
|
@@ -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 ExecutionFunctionCallVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.FunctionCall;
|
|
10
|
+
}
|
|
@@ -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 ExecutionSearchResultsVellumValue {
|
|
6
|
+
/** The variable's uniquely identifying internal id. */
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value?: Vellum.SearchResult[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "..";
|
|
5
|
+
export declare type ExecutionVellumValue = Vellum.ExecutionVellumValue.String | Vellum.ExecutionVellumValue.Number | Vellum.ExecutionVellumValue.Json | Vellum.ExecutionVellumValue.ChatHistory | Vellum.ExecutionVellumValue.SearchResults | Vellum.ExecutionVellumValue.Error_ | Vellum.ExecutionVellumValue.Array | Vellum.ExecutionVellumValue.FunctionCall;
|
|
6
|
+
export declare namespace ExecutionVellumValue {
|
|
7
|
+
interface String extends Vellum.ExecutionStringVellumValue {
|
|
8
|
+
type: "STRING";
|
|
9
|
+
}
|
|
10
|
+
interface Number extends Vellum.ExecutionNumberVellumValue {
|
|
11
|
+
type: "NUMBER";
|
|
12
|
+
}
|
|
13
|
+
interface Json extends Vellum.ExecutionJsonVellumValue {
|
|
14
|
+
type: "JSON";
|
|
15
|
+
}
|
|
16
|
+
interface ChatHistory extends Vellum.ExecutionChatHistoryVellumValue {
|
|
17
|
+
type: "CHAT_HISTORY";
|
|
18
|
+
}
|
|
19
|
+
interface SearchResults extends Vellum.ExecutionSearchResultsVellumValue {
|
|
20
|
+
type: "SEARCH_RESULTS";
|
|
21
|
+
}
|
|
22
|
+
interface Error_ extends Vellum.ExecutionErrorVellumValue {
|
|
23
|
+
type: "ERROR";
|
|
24
|
+
}
|
|
25
|
+
interface Array extends Vellum.ExecutionArrayVellumValue {
|
|
26
|
+
type: "ARRAY";
|
|
27
|
+
}
|
|
28
|
+
interface FunctionCall extends Vellum.ExecutionFunctionCallVellumValue {
|
|
29
|
+
type: "FUNCTION_CALL";
|
|
30
|
+
}
|
|
31
|
+
}
|