vellum-ai 0.3.7 → 0.3.8
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/ExecutePromptRequest.d.ts +1 -0
- package/api/client/requests/ExecutePromptStreamRequest.d.ts +1 -0
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/deployments/client/requests/DeploymentsListRequest.d.ts +1 -1
- package/api/resources/documentIndexes/client/Client.js +2 -2
- 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.d.ts +7 -0
- package/api/resources/workflowDeployments/client/Client.js +55 -1
- package/api/resources/workflowDeployments/client/requests/WorkflowDeploymentsListRequest.d.ts +1 -4
- package/api/types/ArrayEnum.d.ts +4 -0
- package/api/types/ArrayEnum.js +5 -0
- package/api/types/ArrayVariableValueItem.d.ts +28 -0
- package/api/types/ArrayVariableValueItem.js +5 -0
- package/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/api/types/ChatHistoryVariableValue.js +5 -0
- package/api/types/NodeInputCompiledArrayValue.d.ts +9 -0
- package/api/types/NodeInputCompiledArrayValue.js +5 -0
- package/api/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/api/types/NodeOutputCompiledArrayValue.d.ts +8 -0
- package/api/types/NodeOutputCompiledArrayValue.js +5 -0
- package/api/types/NodeOutputCompiledFunctionValue.d.ts +8 -0
- package/api/types/NodeOutputCompiledFunctionValue.js +5 -0
- package/api/types/NodeOutputCompiledValue.d.ts +7 -1
- package/api/types/NumberVariableValue.d.ts +6 -0
- package/api/types/NumberVariableValue.js +5 -0
- package/api/types/PromptNodeResultData.d.ts +1 -0
- package/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/api/types/SearchResultsVariableValue.js +5 -0
- package/api/types/WorkflowDeploymentRead.d.ts +32 -0
- package/api/types/WorkflowDeploymentRead.js +5 -0
- package/api/types/WorkflowRequestChatHistoryInputRequest.d.ts +3 -0
- package/api/types/WorkflowRequestJsonInputRequest.d.ts +3 -0
- package/api/types/WorkflowRequestNumberInputRequest.d.ts +3 -0
- package/api/types/WorkflowRequestStringInputRequest.d.ts +3 -0
- package/api/types/index.d.ts +9 -0
- package/api/types/index.js +9 -0
- package/dist/Client.js +9 -9
- package/dist/api/client/requests/ExecutePromptRequest.d.ts +1 -0
- package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +1 -0
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +1 -1
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -1
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/deployments/client/requests/DeploymentsListRequest.d.ts +1 -1
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- 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.d.ts +7 -0
- package/dist/api/resources/workflowDeployments/client/Client.js +55 -1
- package/dist/api/resources/workflowDeployments/client/requests/WorkflowDeploymentsListRequest.d.ts +1 -4
- package/dist/api/types/ArrayEnum.d.ts +4 -0
- package/dist/api/types/ArrayEnum.js +5 -0
- package/dist/api/types/ArrayVariableValueItem.d.ts +28 -0
- package/dist/api/types/ArrayVariableValueItem.js +5 -0
- package/dist/api/types/ChatHistoryVariableValue.d.ts +7 -0
- package/dist/api/types/ChatHistoryVariableValue.js +5 -0
- package/dist/api/types/NodeInputCompiledArrayValue.d.ts +9 -0
- package/dist/api/types/NodeInputCompiledArrayValue.js +5 -0
- package/dist/api/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/dist/api/types/NodeOutputCompiledArrayValue.d.ts +8 -0
- package/dist/api/types/NodeOutputCompiledArrayValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledFunctionValue.d.ts +8 -0
- package/dist/api/types/NodeOutputCompiledFunctionValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledValue.d.ts +7 -1
- package/dist/api/types/NumberVariableValue.d.ts +6 -0
- package/dist/api/types/NumberVariableValue.js +5 -0
- package/dist/api/types/PromptNodeResultData.d.ts +1 -0
- package/dist/api/types/SearchResultsVariableValue.d.ts +7 -0
- package/dist/api/types/SearchResultsVariableValue.js +5 -0
- package/dist/api/types/WorkflowDeploymentRead.d.ts +32 -0
- package/dist/api/types/WorkflowDeploymentRead.js +5 -0
- package/dist/api/types/WorkflowRequestChatHistoryInputRequest.d.ts +3 -0
- package/dist/api/types/WorkflowRequestJsonInputRequest.d.ts +3 -0
- package/dist/api/types/WorkflowRequestNumberInputRequest.d.ts +3 -0
- package/dist/api/types/WorkflowRequestStringInputRequest.d.ts +3 -0
- package/dist/api/types/index.d.ts +9 -0
- package/dist/api/types/index.js +9 -0
- package/dist/serialization/types/ArrayEnum.d.ts +10 -0
- package/dist/serialization/types/ArrayEnum.js +31 -0
- package/dist/serialization/types/ArrayVariableValueItem.d.ts +31 -0
- package/dist/serialization/types/ArrayVariableValueItem.js +53 -0
- package/dist/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/dist/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/dist/serialization/types/NodeInputCompiledArrayValue.d.ts +14 -0
- package/dist/serialization/types/NodeInputCompiledArrayValue.js +44 -0
- package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/dist/serialization/types/NodeInputVariableCompiledValue.js +1 -0
- package/dist/serialization/types/NodeOutputCompiledArrayValue.d.ts +13 -0
- package/dist/serialization/types/NodeOutputCompiledArrayValue.js +43 -0
- package/dist/serialization/types/NodeOutputCompiledFunctionValue.d.ts +13 -0
- package/dist/serialization/types/NodeOutputCompiledFunctionValue.js +43 -0
- package/dist/serialization/types/NodeOutputCompiledValue.d.ts +7 -1
- package/dist/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/dist/serialization/types/NumberVariableValue.d.ts +12 -0
- package/dist/serialization/types/NumberVariableValue.js +33 -0
- package/dist/serialization/types/PromptNodeResultData.d.ts +1 -0
- package/dist/serialization/types/PromptNodeResultData.js +1 -0
- package/dist/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/dist/serialization/types/SearchResultsVariableValue.js +44 -0
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +20 -0
- package/dist/serialization/types/WorkflowDeploymentRead.js +50 -0
- package/dist/serialization/types/index.d.ts +9 -0
- package/dist/serialization/types/index.js +9 -0
- package/package.json +1 -1
- package/serialization/types/ArrayEnum.d.ts +10 -0
- package/serialization/types/ArrayEnum.js +31 -0
- package/serialization/types/ArrayVariableValueItem.d.ts +31 -0
- package/serialization/types/ArrayVariableValueItem.js +53 -0
- package/serialization/types/ChatHistoryVariableValue.d.ts +12 -0
- package/serialization/types/ChatHistoryVariableValue.js +44 -0
- package/serialization/types/NodeInputCompiledArrayValue.d.ts +14 -0
- package/serialization/types/NodeInputCompiledArrayValue.js +44 -0
- package/serialization/types/NodeInputVariableCompiledValue.d.ts +4 -1
- package/serialization/types/NodeInputVariableCompiledValue.js +1 -0
- package/serialization/types/NodeOutputCompiledArrayValue.d.ts +13 -0
- package/serialization/types/NodeOutputCompiledArrayValue.js +43 -0
- package/serialization/types/NodeOutputCompiledFunctionValue.d.ts +13 -0
- package/serialization/types/NodeOutputCompiledFunctionValue.js +43 -0
- package/serialization/types/NodeOutputCompiledValue.d.ts +7 -1
- package/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/serialization/types/NumberVariableValue.d.ts +12 -0
- package/serialization/types/NumberVariableValue.js +33 -0
- package/serialization/types/PromptNodeResultData.d.ts +1 -0
- package/serialization/types/PromptNodeResultData.js +1 -0
- package/serialization/types/SearchResultsVariableValue.d.ts +12 -0
- package/serialization/types/SearchResultsVariableValue.js +44 -0
- package/serialization/types/WorkflowDeploymentRead.d.ts +20 -0
- package/serialization/types/WorkflowDeploymentRead.js +50 -0
- package/serialization/types/index.d.ts +9 -0
- package/serialization/types/index.js +9 -0
|
@@ -6,7 +6,7 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const NodeInputVariableCompiledValue: core.serialization.Schema<serializers.NodeInputVariableCompiledValue.Raw, Vellum.NodeInputVariableCompiledValue>;
|
|
8
8
|
export declare namespace NodeInputVariableCompiledValue {
|
|
9
|
-
type Raw = NodeInputVariableCompiledValue.String | NodeInputVariableCompiledValue.Number | NodeInputVariableCompiledValue.Json | NodeInputVariableCompiledValue.ChatHistory | NodeInputVariableCompiledValue.SearchResults | NodeInputVariableCompiledValue.Error;
|
|
9
|
+
type Raw = NodeInputVariableCompiledValue.String | NodeInputVariableCompiledValue.Number | NodeInputVariableCompiledValue.Json | NodeInputVariableCompiledValue.ChatHistory | NodeInputVariableCompiledValue.SearchResults | NodeInputVariableCompiledValue.Error | NodeInputVariableCompiledValue.Array;
|
|
10
10
|
interface String extends serializers.NodeInputCompiledStringValue.Raw {
|
|
11
11
|
type: "STRING";
|
|
12
12
|
}
|
|
@@ -25,4 +25,7 @@ export declare namespace NodeInputVariableCompiledValue {
|
|
|
25
25
|
interface Error extends serializers.NodeInputCompiledErrorValue.Raw {
|
|
26
26
|
type: "ERROR";
|
|
27
27
|
}
|
|
28
|
+
interface Array extends serializers.NodeInputCompiledArrayValue.Raw {
|
|
29
|
+
type: "ARRAY";
|
|
30
|
+
}
|
|
28
31
|
}
|
|
@@ -45,6 +45,7 @@ exports.NodeInputVariableCompiledValue = core.serialization
|
|
|
45
45
|
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledChatHistoryValue; })),
|
|
46
46
|
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledSearchResultsValue; })),
|
|
47
47
|
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledErrorValue; })),
|
|
48
|
+
ARRAY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledArrayValue; })),
|
|
48
49
|
})
|
|
49
50
|
.transform({
|
|
50
51
|
transform: (value) => value,
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export declare const NodeOutputCompiledArrayValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledArrayValue.Raw, Vellum.NodeOutputCompiledArrayValue>;
|
|
8
|
+
export declare namespace NodeOutputCompiledArrayValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_output_id: string;
|
|
11
|
+
value: serializers.ArrayVariableValueItem.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.NodeOutputCompiledArrayValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.NodeOutputCompiledArrayValue = core.serialization.object({
|
|
41
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
42
|
+
value: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ArrayVariableValueItem; }))),
|
|
43
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export declare const NodeOutputCompiledFunctionValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledFunctionValue.Raw, Vellum.NodeOutputCompiledFunctionValue>;
|
|
8
|
+
export declare namespace NodeOutputCompiledFunctionValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_output_id: string;
|
|
11
|
+
value?: serializers.FunctionCall.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.NodeOutputCompiledFunctionValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.NodeOutputCompiledFunctionValue = core.serialization.object({
|
|
41
|
+
nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
|
|
42
|
+
value: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FunctionCall; })).optional(),
|
|
43
|
+
});
|
|
@@ -6,7 +6,7 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const NodeOutputCompiledValue: core.serialization.Schema<serializers.NodeOutputCompiledValue.Raw, Vellum.NodeOutputCompiledValue>;
|
|
8
8
|
export declare namespace NodeOutputCompiledValue {
|
|
9
|
-
type Raw = NodeOutputCompiledValue.String | NodeOutputCompiledValue.Number | NodeOutputCompiledValue.Json | NodeOutputCompiledValue.ChatHistory | NodeOutputCompiledValue.SearchResults | NodeOutputCompiledValue.Error;
|
|
9
|
+
type Raw = NodeOutputCompiledValue.String | NodeOutputCompiledValue.Number | NodeOutputCompiledValue.Json | NodeOutputCompiledValue.ChatHistory | NodeOutputCompiledValue.SearchResults | NodeOutputCompiledValue.Error | NodeOutputCompiledValue.Array | NodeOutputCompiledValue.FunctionCall;
|
|
10
10
|
interface String extends serializers.NodeOutputCompiledStringValue.Raw {
|
|
11
11
|
type: "STRING";
|
|
12
12
|
}
|
|
@@ -25,4 +25,10 @@ export declare namespace NodeOutputCompiledValue {
|
|
|
25
25
|
interface Error extends serializers.NodeOutputCompiledErrorValue.Raw {
|
|
26
26
|
type: "ERROR";
|
|
27
27
|
}
|
|
28
|
+
interface Array extends serializers.NodeOutputCompiledArrayValue.Raw {
|
|
29
|
+
type: "ARRAY";
|
|
30
|
+
}
|
|
31
|
+
interface FunctionCall extends serializers.NodeOutputCompiledFunctionValue.Raw {
|
|
32
|
+
type: "FUNCTION_CALL";
|
|
33
|
+
}
|
|
28
34
|
}
|
|
@@ -45,6 +45,8 @@ exports.NodeOutputCompiledValue = core.serialization
|
|
|
45
45
|
CHAT_HISTORY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledChatHistoryValue; })),
|
|
46
46
|
SEARCH_RESULTS: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledSearchResultsValue; })),
|
|
47
47
|
ERROR: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledErrorValue; })),
|
|
48
|
+
ARRAY: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledArrayValue; })),
|
|
49
|
+
FUNCTION_CALL: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeOutputCompiledFunctionValue; })),
|
|
48
50
|
})
|
|
49
51
|
.transform({
|
|
50
52
|
transform: (value) => value,
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export declare const NumberVariableValue: core.serialization.ObjectSchema<serializers.NumberVariableValue.Raw, Vellum.NumberVariableValue>;
|
|
8
|
+
export declare namespace NumberVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: number | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NumberVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NumberVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.number().optional(),
|
|
33
|
+
});
|
|
@@ -30,6 +30,7 @@ exports.PromptNodeResultData = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.PromptNodeResultData = core.serialization.object({
|
|
32
32
|
outputId: core.serialization.property("output_id", core.serialization.string()),
|
|
33
|
+
arrayOutputId: core.serialization.property("array_output_id", core.serialization.string().optional()),
|
|
33
34
|
text: core.serialization.string().optional(),
|
|
34
35
|
delta: core.serialization.string().optional(),
|
|
35
36
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export declare const SearchResultsVariableValue: core.serialization.ObjectSchema<serializers.SearchResultsVariableValue.Raw, Vellum.SearchResultsVariableValue>;
|
|
8
|
+
export declare namespace SearchResultsVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: serializers.SearchResult.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.SearchResultsVariableValue = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.SearchResultsVariableValue = core.serialization.object({
|
|
41
|
+
value: core.serialization
|
|
42
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SearchResult; })))
|
|
43
|
+
.optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
export declare const WorkflowDeploymentRead: core.serialization.ObjectSchema<serializers.WorkflowDeploymentRead.Raw, Vellum.WorkflowDeploymentRead>;
|
|
8
|
+
export declare namespace WorkflowDeploymentRead {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
status?: serializers.EntityStatus.Raw | null;
|
|
14
|
+
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
15
|
+
created: string;
|
|
16
|
+
last_deployed_on: string;
|
|
17
|
+
input_variables: serializers.VellumVariable.Raw[];
|
|
18
|
+
output_variables: serializers.VellumVariable.Raw[];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.WorkflowDeploymentRead = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.WorkflowDeploymentRead = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
label: core.serialization.string(),
|
|
44
|
+
status: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EntityStatus; })).optional(),
|
|
45
|
+
environment: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).EnvironmentEnum; })).optional(),
|
|
46
|
+
created: core.serialization.date(),
|
|
47
|
+
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date()),
|
|
48
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariable; })))),
|
|
49
|
+
outputVariables: core.serialization.property("output_variables", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).VellumVariable; })))),
|
|
50
|
+
});
|
|
@@ -4,9 +4,12 @@ export * from "./ArrayChatMessageContent";
|
|
|
4
4
|
export * from "./ArrayChatMessageContentItem";
|
|
5
5
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
6
6
|
export * from "./ArrayChatMessageContentRequest";
|
|
7
|
+
export * from "./ArrayEnum";
|
|
8
|
+
export * from "./ArrayVariableValueItem";
|
|
7
9
|
export * from "./BlockTypeEnum";
|
|
8
10
|
export * from "./ChatHistoryEnum";
|
|
9
11
|
export * from "./ChatHistoryInputRequest";
|
|
12
|
+
export * from "./ChatHistoryVariableValue";
|
|
10
13
|
export * from "./ChatMessage";
|
|
11
14
|
export * from "./ChatMessageContent";
|
|
12
15
|
export * from "./ChatMessageContentRequest";
|
|
@@ -95,6 +98,7 @@ export * from "./NamedTestCaseNumberVariableValueRequest";
|
|
|
95
98
|
export * from "./NamedTestCaseSearchResultsVariableValueRequest";
|
|
96
99
|
export * from "./NamedTestCaseStringVariableValueRequest";
|
|
97
100
|
export * from "./NamedTestCaseVariableValueRequest";
|
|
101
|
+
export * from "./NodeInputCompiledArrayValue";
|
|
98
102
|
export * from "./NodeInputCompiledChatHistoryValue";
|
|
99
103
|
export * from "./NodeInputCompiledErrorValue";
|
|
100
104
|
export * from "./NodeInputCompiledJsonValue";
|
|
@@ -102,8 +106,10 @@ export * from "./NodeInputCompiledNumberValue";
|
|
|
102
106
|
export * from "./NodeInputCompiledSearchResultsValue";
|
|
103
107
|
export * from "./NodeInputCompiledStringValue";
|
|
104
108
|
export * from "./NodeInputVariableCompiledValue";
|
|
109
|
+
export * from "./NodeOutputCompiledArrayValue";
|
|
105
110
|
export * from "./NodeOutputCompiledChatHistoryValue";
|
|
106
111
|
export * from "./NodeOutputCompiledErrorValue";
|
|
112
|
+
export * from "./NodeOutputCompiledFunctionValue";
|
|
107
113
|
export * from "./NodeOutputCompiledJsonValue";
|
|
108
114
|
export * from "./NodeOutputCompiledNumberValue";
|
|
109
115
|
export * from "./NodeOutputCompiledSearchResultsValue";
|
|
@@ -112,6 +118,7 @@ export * from "./NodeOutputCompiledValue";
|
|
|
112
118
|
export * from "./NormalizedLogProbs";
|
|
113
119
|
export * from "./NormalizedTokenLogProbs";
|
|
114
120
|
export * from "./NumberEnum";
|
|
121
|
+
export * from "./NumberVariableValue";
|
|
115
122
|
export * from "./PaginatedSlimDeploymentReadList";
|
|
116
123
|
export * from "./PaginatedSlimDocumentList";
|
|
117
124
|
export * from "./PaginatedSlimWorkflowDeploymentList";
|
|
@@ -164,6 +171,7 @@ export * from "./SearchResultDocumentRequest";
|
|
|
164
171
|
export * from "./SearchResultMergingRequest";
|
|
165
172
|
export * from "./SearchResultRequest";
|
|
166
173
|
export * from "./SearchResultsEnum";
|
|
174
|
+
export * from "./SearchResultsVariableValue";
|
|
167
175
|
export * from "./SearchWeightsRequest";
|
|
168
176
|
export * from "./SlimDeploymentRead";
|
|
169
177
|
export * from "./SlimDocument";
|
|
@@ -215,6 +223,7 @@ export * from "./VellumImage";
|
|
|
215
223
|
export * from "./VellumImageRequest";
|
|
216
224
|
export * from "./VellumVariable";
|
|
217
225
|
export * from "./VellumVariableType";
|
|
226
|
+
export * from "./WorkflowDeploymentRead";
|
|
218
227
|
export * from "./WorkflowEventError";
|
|
219
228
|
export * from "./WorkflowExecutionActualChatHistoryRequest";
|
|
220
229
|
export * from "./WorkflowExecutionActualJsonRequest";
|
|
@@ -20,9 +20,12 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
|
|
|
20
20
|
__exportStar(require("./ArrayChatMessageContentItem"), exports);
|
|
21
21
|
__exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
22
22
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
23
|
+
__exportStar(require("./ArrayEnum"), exports);
|
|
24
|
+
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
23
25
|
__exportStar(require("./BlockTypeEnum"), exports);
|
|
24
26
|
__exportStar(require("./ChatHistoryEnum"), exports);
|
|
25
27
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
28
|
+
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
26
29
|
__exportStar(require("./ChatMessage"), exports);
|
|
27
30
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
28
31
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
@@ -111,6 +114,7 @@ __exportStar(require("./NamedTestCaseNumberVariableValueRequest"), exports);
|
|
|
111
114
|
__exportStar(require("./NamedTestCaseSearchResultsVariableValueRequest"), exports);
|
|
112
115
|
__exportStar(require("./NamedTestCaseStringVariableValueRequest"), exports);
|
|
113
116
|
__exportStar(require("./NamedTestCaseVariableValueRequest"), exports);
|
|
117
|
+
__exportStar(require("./NodeInputCompiledArrayValue"), exports);
|
|
114
118
|
__exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
|
|
115
119
|
__exportStar(require("./NodeInputCompiledErrorValue"), exports);
|
|
116
120
|
__exportStar(require("./NodeInputCompiledJsonValue"), exports);
|
|
@@ -118,8 +122,10 @@ __exportStar(require("./NodeInputCompiledNumberValue"), exports);
|
|
|
118
122
|
__exportStar(require("./NodeInputCompiledSearchResultsValue"), exports);
|
|
119
123
|
__exportStar(require("./NodeInputCompiledStringValue"), exports);
|
|
120
124
|
__exportStar(require("./NodeInputVariableCompiledValue"), exports);
|
|
125
|
+
__exportStar(require("./NodeOutputCompiledArrayValue"), exports);
|
|
121
126
|
__exportStar(require("./NodeOutputCompiledChatHistoryValue"), exports);
|
|
122
127
|
__exportStar(require("./NodeOutputCompiledErrorValue"), exports);
|
|
128
|
+
__exportStar(require("./NodeOutputCompiledFunctionValue"), exports);
|
|
123
129
|
__exportStar(require("./NodeOutputCompiledJsonValue"), exports);
|
|
124
130
|
__exportStar(require("./NodeOutputCompiledNumberValue"), exports);
|
|
125
131
|
__exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
|
|
@@ -128,6 +134,7 @@ __exportStar(require("./NodeOutputCompiledValue"), exports);
|
|
|
128
134
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
129
135
|
__exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
130
136
|
__exportStar(require("./NumberEnum"), exports);
|
|
137
|
+
__exportStar(require("./NumberVariableValue"), exports);
|
|
131
138
|
__exportStar(require("./PaginatedSlimDeploymentReadList"), exports);
|
|
132
139
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
133
140
|
__exportStar(require("./PaginatedSlimWorkflowDeploymentList"), exports);
|
|
@@ -180,6 +187,7 @@ __exportStar(require("./SearchResultDocumentRequest"), exports);
|
|
|
180
187
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
181
188
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
182
189
|
__exportStar(require("./SearchResultsEnum"), exports);
|
|
190
|
+
__exportStar(require("./SearchResultsVariableValue"), exports);
|
|
183
191
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
184
192
|
__exportStar(require("./SlimDeploymentRead"), exports);
|
|
185
193
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -231,6 +239,7 @@ __exportStar(require("./VellumImage"), exports);
|
|
|
231
239
|
__exportStar(require("./VellumImageRequest"), exports);
|
|
232
240
|
__exportStar(require("./VellumVariable"), exports);
|
|
233
241
|
__exportStar(require("./VellumVariableType"), exports);
|
|
242
|
+
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
234
243
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
235
244
|
__exportStar(require("./WorkflowExecutionActualChatHistoryRequest"), exports);
|
|
236
245
|
__exportStar(require("./WorkflowExecutionActualJsonRequest"), exports);
|