vellum-ai 0.7.1 → 0.7.3
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.d.ts +6 -3
- package/Client.js +15 -12
- package/api/client/requests/ExecutePromptRequest.d.ts +3 -3
- package/api/client/requests/ExecutePromptStreamRequest.d.ts +3 -3
- package/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -0
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -0
- package/api/resources/deployments/client/Client.js +5 -5
- package/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/types/ArrayVellumValueItemRequest.d.ts +25 -0
- package/api/types/ArrayVellumValueItemRequest.js +5 -0
- package/api/types/CompilePromptDeploymentExpandMetaRequest.d.ts +11 -0
- package/api/types/CompilePromptDeploymentExpandMetaRequest.js +5 -0
- package/api/types/CompilePromptMeta.d.ts +11 -0
- package/api/types/CompilePromptMeta.js +5 -0
- package/api/types/DeploymentProviderPayloadResponse.d.ts +1 -0
- package/api/types/ErrorVellumValueRequest.d.ts +10 -0
- package/api/types/ErrorVellumValueRequest.js +5 -0
- package/api/types/FunctionCallVellumValueRequest.d.ts +10 -0
- package/api/types/FunctionCallVellumValueRequest.js +5 -0
- package/api/types/ImageVellumValueRequest.d.ts +10 -0
- package/api/types/ImageVellumValueRequest.js +5 -0
- package/api/types/JsonVellumValueRequest.d.ts +9 -0
- package/api/types/JsonVellumValueRequest.js +5 -0
- package/api/types/NamedTestCaseArrayVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseArrayVariableValue.js +5 -0
- package/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +11 -0
- package/api/types/NamedTestCaseArrayVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseVariableValue.d.ts +4 -1
- package/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
- package/api/types/NumberVellumValueRequest.d.ts +9 -0
- package/api/types/NumberVellumValueRequest.js +5 -0
- package/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +5 -5
- package/api/types/PromptExecutionMeta.d.ts +1 -1
- package/api/types/PromptNodeExecutionMeta.d.ts +10 -0
- package/api/types/PromptNodeExecutionMeta.js +5 -0
- package/api/types/PromptNodeResultData.d.ts +2 -0
- package/api/types/StringVellumValueRequest.d.ts +9 -0
- package/api/types/StringVellumValueRequest.js +5 -0
- package/api/types/TestCaseArrayVariableValue.d.ts +12 -0
- package/api/types/TestCaseArrayVariableValue.js +5 -0
- package/api/types/TestCaseVariableValue.d.ts +4 -1
- package/api/types/WorkflowExpandMetaRequest.d.ts +7 -0
- package/api/types/WorkflowExpandMetaRequest.js +5 -0
- package/api/types/index.d.ts +14 -0
- package/api/types/index.js +14 -0
- package/dist/Client.d.ts +6 -3
- package/dist/Client.js +15 -12
- package/dist/api/client/requests/ExecutePromptRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecutePromptStreamRequest.d.ts +3 -3
- package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +5 -0
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +5 -0
- package/dist/api/resources/deployments/client/Client.js +5 -5
- package/dist/api/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +1 -0
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/types/ArrayVellumValueItemRequest.d.ts +25 -0
- package/dist/api/types/ArrayVellumValueItemRequest.js +5 -0
- package/dist/api/types/CompilePromptDeploymentExpandMetaRequest.d.ts +11 -0
- package/dist/api/types/CompilePromptDeploymentExpandMetaRequest.js +5 -0
- package/dist/api/types/CompilePromptMeta.d.ts +11 -0
- package/dist/api/types/CompilePromptMeta.js +5 -0
- package/dist/api/types/DeploymentProviderPayloadResponse.d.ts +1 -0
- package/dist/api/types/ErrorVellumValueRequest.d.ts +10 -0
- package/dist/api/types/ErrorVellumValueRequest.js +5 -0
- package/dist/api/types/FunctionCallVellumValueRequest.d.ts +10 -0
- package/dist/api/types/FunctionCallVellumValueRequest.js +5 -0
- package/dist/api/types/ImageVellumValueRequest.d.ts +10 -0
- package/dist/api/types/ImageVellumValueRequest.js +5 -0
- package/dist/api/types/JsonVellumValueRequest.d.ts +9 -0
- package/dist/api/types/JsonVellumValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseArrayVariableValue.d.ts +11 -0
- package/dist/api/types/NamedTestCaseArrayVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseArrayVariableValueRequest.d.ts +11 -0
- package/dist/api/types/NamedTestCaseArrayVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseVariableValue.d.ts +4 -1
- package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
- package/dist/api/types/NumberVellumValueRequest.d.ts +9 -0
- package/dist/api/types/NumberVellumValueRequest.js +5 -0
- package/dist/api/types/PromptDeploymentExpandMetaRequestRequest.d.ts +5 -5
- package/dist/api/types/PromptExecutionMeta.d.ts +1 -1
- package/dist/api/types/PromptNodeExecutionMeta.d.ts +10 -0
- package/dist/api/types/PromptNodeExecutionMeta.js +5 -0
- package/dist/api/types/PromptNodeResultData.d.ts +2 -0
- package/dist/api/types/StringVellumValueRequest.d.ts +9 -0
- package/dist/api/types/StringVellumValueRequest.js +5 -0
- package/dist/api/types/TestCaseArrayVariableValue.d.ts +12 -0
- package/dist/api/types/TestCaseArrayVariableValue.js +5 -0
- package/dist/api/types/TestCaseVariableValue.d.ts +4 -1
- package/dist/api/types/WorkflowExpandMetaRequest.d.ts +7 -0
- package/dist/api/types/WorkflowExpandMetaRequest.js +5 -0
- package/dist/api/types/index.d.ts +14 -0
- package/dist/api/types/index.js +14 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
- package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +2 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +2 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/dist/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +2 -0
- package/dist/serialization/types/ArrayVellumValueItemRequest.d.ts +34 -0
- package/dist/serialization/types/ArrayVellumValueItemRequest.js +49 -0
- package/dist/serialization/types/CompilePromptDeploymentExpandMetaRequest.d.ts +14 -0
- package/dist/serialization/types/CompilePromptDeploymentExpandMetaRequest.js +35 -0
- package/dist/serialization/types/CompilePromptMeta.d.ts +14 -0
- package/dist/serialization/types/CompilePromptMeta.js +35 -0
- package/dist/serialization/types/DeploymentProviderPayloadResponse.d.ts +2 -0
- package/dist/serialization/types/DeploymentProviderPayloadResponse.js +2 -0
- package/dist/serialization/types/ErrorVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/ErrorVellumValueRequest.js +34 -0
- package/dist/serialization/types/FunctionCallVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/FunctionCallVellumValueRequest.js +34 -0
- package/dist/serialization/types/ImageVellumValueRequest.d.ts +13 -0
- package/dist/serialization/types/ImageVellumValueRequest.js +34 -0
- package/dist/serialization/types/JsonVellumValueRequest.d.ts +12 -0
- package/dist/serialization/types/JsonVellumValueRequest.js +33 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValue.js +35 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseArrayVariableValueRequest.js +35 -0
- package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValue.js +2 -0
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
- package/dist/serialization/types/NumberVellumValueRequest.d.ts +12 -0
- package/dist/serialization/types/NumberVellumValueRequest.js +33 -0
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -2
- package/dist/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +2 -2
- package/dist/serialization/types/PromptExecutionMeta.d.ts +2 -2
- package/dist/serialization/types/PromptExecutionMeta.js +2 -2
- package/dist/serialization/types/PromptNodeExecutionMeta.d.ts +13 -0
- package/dist/serialization/types/PromptNodeExecutionMeta.js +34 -0
- package/dist/serialization/types/PromptNodeResultData.d.ts +2 -0
- package/dist/serialization/types/PromptNodeResultData.js +2 -0
- package/dist/serialization/types/StringVellumValueRequest.d.ts +12 -0
- package/dist/serialization/types/StringVellumValueRequest.js +33 -0
- package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +15 -0
- package/dist/serialization/types/TestCaseArrayVariableValue.js +36 -0
- package/dist/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/TestCaseVariableValue.js +2 -0
- package/dist/serialization/types/WorkflowExpandMetaRequest.d.ts +12 -0
- package/dist/serialization/types/WorkflowExpandMetaRequest.js +33 -0
- package/dist/serialization/types/index.d.ts +14 -0
- package/dist/serialization/types/index.js +14 -0
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
- package/serialization/client/requests/ExecuteWorkflowRequest.js +2 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +2 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts +2 -0
- package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js +2 -0
- package/serialization/types/ArrayVellumValueItemRequest.d.ts +34 -0
- package/serialization/types/ArrayVellumValueItemRequest.js +49 -0
- package/serialization/types/CompilePromptDeploymentExpandMetaRequest.d.ts +14 -0
- package/serialization/types/CompilePromptDeploymentExpandMetaRequest.js +35 -0
- package/serialization/types/CompilePromptMeta.d.ts +14 -0
- package/serialization/types/CompilePromptMeta.js +35 -0
- package/serialization/types/DeploymentProviderPayloadResponse.d.ts +2 -0
- package/serialization/types/DeploymentProviderPayloadResponse.js +2 -0
- package/serialization/types/ErrorVellumValueRequest.d.ts +13 -0
- package/serialization/types/ErrorVellumValueRequest.js +34 -0
- package/serialization/types/FunctionCallVellumValueRequest.d.ts +13 -0
- package/serialization/types/FunctionCallVellumValueRequest.js +34 -0
- package/serialization/types/ImageVellumValueRequest.d.ts +13 -0
- package/serialization/types/ImageVellumValueRequest.js +34 -0
- package/serialization/types/JsonVellumValueRequest.d.ts +12 -0
- package/serialization/types/JsonVellumValueRequest.js +33 -0
- package/serialization/types/NamedTestCaseArrayVariableValue.d.ts +14 -0
- package/serialization/types/NamedTestCaseArrayVariableValue.js +35 -0
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.d.ts +14 -0
- package/serialization/types/NamedTestCaseArrayVariableValueRequest.js +35 -0
- package/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValue.js +2 -0
- package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
- package/serialization/types/NumberVellumValueRequest.d.ts +12 -0
- package/serialization/types/NumberVellumValueRequest.js +33 -0
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.d.ts +2 -2
- package/serialization/types/PromptDeploymentExpandMetaRequestRequest.js +2 -2
- package/serialization/types/PromptExecutionMeta.d.ts +2 -2
- package/serialization/types/PromptExecutionMeta.js +2 -2
- package/serialization/types/PromptNodeExecutionMeta.d.ts +13 -0
- package/serialization/types/PromptNodeExecutionMeta.js +34 -0
- package/serialization/types/PromptNodeResultData.d.ts +2 -0
- package/serialization/types/PromptNodeResultData.js +2 -0
- package/serialization/types/StringVellumValueRequest.d.ts +12 -0
- package/serialization/types/StringVellumValueRequest.js +33 -0
- package/serialization/types/TestCaseArrayVariableValue.d.ts +15 -0
- package/serialization/types/TestCaseArrayVariableValue.js +36 -0
- package/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/serialization/types/TestCaseVariableValue.js +2 -0
- package/serialization/types/WorkflowExpandMetaRequest.d.ts +12 -0
- package/serialization/types/WorkflowExpandMetaRequest.js +33 -0
- package/serialization/types/index.d.ts +14 -0
- package/serialization/types/index.js +14 -0
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { MlModelUsage } from "./MlModelUsage";
|
|
8
7
|
import { FinishReasonEnum } from "./FinishReasonEnum";
|
|
8
|
+
import { MlModelUsage } from "./MlModelUsage";
|
|
9
9
|
export declare const PromptExecutionMeta: core.serialization.ObjectSchema<serializers.PromptExecutionMeta.Raw, Vellum.PromptExecutionMeta>;
|
|
10
10
|
export declare namespace PromptExecutionMeta {
|
|
11
11
|
interface Raw {
|
|
12
|
-
usage?: MlModelUsage.Raw | null;
|
|
13
12
|
model_name?: string | null;
|
|
14
13
|
latency?: number | null;
|
|
15
14
|
deployment_release_tag?: string | null;
|
|
16
15
|
prompt_version_id?: string | null;
|
|
17
16
|
finish_reason?: FinishReasonEnum.Raw | null;
|
|
17
|
+
usage?: MlModelUsage.Raw | null;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -28,13 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PromptExecutionMeta = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const MlModelUsage_1 = require("./MlModelUsage");
|
|
32
31
|
const FinishReasonEnum_1 = require("./FinishReasonEnum");
|
|
32
|
+
const MlModelUsage_1 = require("./MlModelUsage");
|
|
33
33
|
exports.PromptExecutionMeta = core.serialization.object({
|
|
34
|
-
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
35
34
|
modelName: core.serialization.property("model_name", core.serialization.string().optional()),
|
|
36
35
|
latency: core.serialization.number().optional(),
|
|
37
36
|
deploymentReleaseTag: core.serialization.property("deployment_release_tag", core.serialization.string().optional()),
|
|
38
37
|
promptVersionId: core.serialization.property("prompt_version_id", core.serialization.string().optional()),
|
|
39
38
|
finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
|
|
39
|
+
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
40
40
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { MlModelUsage } from "./MlModelUsage";
|
|
8
|
+
export declare const PromptNodeExecutionMeta: core.serialization.ObjectSchema<serializers.PromptNodeExecutionMeta.Raw, Vellum.PromptNodeExecutionMeta>;
|
|
9
|
+
export declare namespace PromptNodeExecutionMeta {
|
|
10
|
+
interface Raw {
|
|
11
|
+
usage?: MlModelUsage.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.PromptNodeExecutionMeta = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const MlModelUsage_1 = require("./MlModelUsage");
|
|
32
|
+
exports.PromptNodeExecutionMeta = core.serialization.object({
|
|
33
|
+
usage: MlModelUsage_1.MlModelUsage.optional(),
|
|
34
|
+
});
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { PromptNodeExecutionMeta } from "./PromptNodeExecutionMeta";
|
|
7
8
|
export declare const PromptNodeResultData: core.serialization.ObjectSchema<serializers.PromptNodeResultData.Raw, Vellum.PromptNodeResultData>;
|
|
8
9
|
export declare namespace PromptNodeResultData {
|
|
9
10
|
interface Raw {
|
|
11
|
+
execution_meta?: PromptNodeExecutionMeta.Raw | null;
|
|
10
12
|
output_id: string;
|
|
11
13
|
array_output_id?: string | null;
|
|
12
14
|
execution_id?: string | null;
|
|
@@ -28,7 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PromptNodeResultData = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const PromptNodeExecutionMeta_1 = require("./PromptNodeExecutionMeta");
|
|
31
32
|
exports.PromptNodeResultData = core.serialization.object({
|
|
33
|
+
executionMeta: core.serialization.property("execution_meta", PromptNodeExecutionMeta_1.PromptNodeExecutionMeta.optional()),
|
|
32
34
|
outputId: core.serialization.property("output_id", core.serialization.string()),
|
|
33
35
|
arrayOutputId: core.serialization.property("array_output_id", core.serialization.string().optional()),
|
|
34
36
|
executionId: core.serialization.property("execution_id", core.serialization.string().optional()),
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const StringVellumValueRequest: core.serialization.ObjectSchema<serializers.StringVellumValueRequest.Raw, Vellum.StringVellumValueRequest>;
|
|
8
|
+
export declare namespace StringVellumValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: string | 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.StringVellumValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.StringVellumValueRequest = core.serialization.object({
|
|
32
|
+
value: core.serialization.string().optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
|
|
8
|
+
export declare const TestCaseArrayVariableValue: core.serialization.ObjectSchema<serializers.TestCaseArrayVariableValue.Raw, Vellum.TestCaseArrayVariableValue>;
|
|
9
|
+
export declare namespace TestCaseArrayVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
variable_id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
value?: ArrayVellumValueItem.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.TestCaseArrayVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
|
|
32
|
+
exports.TestCaseArrayVariableValue = core.serialization.object({
|
|
33
|
+
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
|
|
36
|
+
});
|
|
@@ -11,9 +11,10 @@ import { TestCaseChatHistoryVariableValue } from "./TestCaseChatHistoryVariableV
|
|
|
11
11
|
import { TestCaseSearchResultsVariableValue } from "./TestCaseSearchResultsVariableValue";
|
|
12
12
|
import { TestCaseErrorVariableValue } from "./TestCaseErrorVariableValue";
|
|
13
13
|
import { TestCaseFunctionCallVariableValue } from "./TestCaseFunctionCallVariableValue";
|
|
14
|
+
import { TestCaseArrayVariableValue } from "./TestCaseArrayVariableValue";
|
|
14
15
|
export declare const TestCaseVariableValue: core.serialization.Schema<serializers.TestCaseVariableValue.Raw, Vellum.TestCaseVariableValue>;
|
|
15
16
|
export declare namespace TestCaseVariableValue {
|
|
16
|
-
type Raw = TestCaseVariableValue.String | TestCaseVariableValue.Number | TestCaseVariableValue.Json | TestCaseVariableValue.ChatHistory | TestCaseVariableValue.SearchResults | TestCaseVariableValue.Error | TestCaseVariableValue.FunctionCall;
|
|
17
|
+
type Raw = TestCaseVariableValue.String | TestCaseVariableValue.Number | TestCaseVariableValue.Json | TestCaseVariableValue.ChatHistory | TestCaseVariableValue.SearchResults | TestCaseVariableValue.Error | TestCaseVariableValue.FunctionCall | TestCaseVariableValue.Array;
|
|
17
18
|
interface String extends TestCaseStringVariableValue.Raw {
|
|
18
19
|
type: "STRING";
|
|
19
20
|
}
|
|
@@ -35,4 +36,7 @@ export declare namespace TestCaseVariableValue {
|
|
|
35
36
|
interface FunctionCall extends TestCaseFunctionCallVariableValue.Raw {
|
|
36
37
|
type: "FUNCTION_CALL";
|
|
37
38
|
}
|
|
39
|
+
interface Array extends TestCaseArrayVariableValue.Raw {
|
|
40
|
+
type: "ARRAY";
|
|
41
|
+
}
|
|
38
42
|
}
|
|
@@ -35,6 +35,7 @@ const TestCaseChatHistoryVariableValue_1 = require("./TestCaseChatHistoryVariabl
|
|
|
35
35
|
const TestCaseSearchResultsVariableValue_1 = require("./TestCaseSearchResultsVariableValue");
|
|
36
36
|
const TestCaseErrorVariableValue_1 = require("./TestCaseErrorVariableValue");
|
|
37
37
|
const TestCaseFunctionCallVariableValue_1 = require("./TestCaseFunctionCallVariableValue");
|
|
38
|
+
const TestCaseArrayVariableValue_1 = require("./TestCaseArrayVariableValue");
|
|
38
39
|
exports.TestCaseVariableValue = core.serialization
|
|
39
40
|
.union("type", {
|
|
40
41
|
STRING: TestCaseStringVariableValue_1.TestCaseStringVariableValue,
|
|
@@ -44,6 +45,7 @@ exports.TestCaseVariableValue = core.serialization
|
|
|
44
45
|
SEARCH_RESULTS: TestCaseSearchResultsVariableValue_1.TestCaseSearchResultsVariableValue,
|
|
45
46
|
ERROR: TestCaseErrorVariableValue_1.TestCaseErrorVariableValue,
|
|
46
47
|
FUNCTION_CALL: TestCaseFunctionCallVariableValue_1.TestCaseFunctionCallVariableValue,
|
|
48
|
+
ARRAY: TestCaseArrayVariableValue_1.TestCaseArrayVariableValue,
|
|
47
49
|
})
|
|
48
50
|
.transform({
|
|
49
51
|
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 "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WorkflowExpandMetaRequest: core.serialization.ObjectSchema<serializers.WorkflowExpandMetaRequest.Raw, Vellum.WorkflowExpandMetaRequest>;
|
|
8
|
+
export declare namespace WorkflowExpandMetaRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
usage?: boolean | 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.WorkflowExpandMetaRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkflowExpandMetaRequest = core.serialization.object({
|
|
32
|
+
usage: core.serialization.boolean().optional(),
|
|
33
|
+
});
|
|
@@ -8,6 +8,7 @@ export * from "./ArrayChatMessageContentRequest";
|
|
|
8
8
|
export * from "./ArrayEnum";
|
|
9
9
|
export * from "./ArrayVariableValueItem";
|
|
10
10
|
export * from "./ArrayVellumValueItem";
|
|
11
|
+
export * from "./ArrayVellumValueItemRequest";
|
|
11
12
|
export * from "./BasicVectorizerIntfloatMultilingualE5Large";
|
|
12
13
|
export * from "./BasicVectorizerIntfloatMultilingualE5LargeRequest";
|
|
13
14
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
@@ -32,6 +33,8 @@ export * from "./CodeExecutionNodeResultData";
|
|
|
32
33
|
export * from "./CodeExecutionNodeResultOutput";
|
|
33
34
|
export * from "./CodeExecutionNodeSearchResultsResult";
|
|
34
35
|
export * from "./CodeExecutionNodeStringResult";
|
|
36
|
+
export * from "./CompilePromptDeploymentExpandMetaRequest";
|
|
37
|
+
export * from "./CompilePromptMeta";
|
|
35
38
|
export * from "./ConditionalNodeResult";
|
|
36
39
|
export * from "./ConditionalNodeResultData";
|
|
37
40
|
export * from "./CreateEnum";
|
|
@@ -58,6 +61,7 @@ export * from "./EnvironmentEnum";
|
|
|
58
61
|
export * from "./ErrorEnum";
|
|
59
62
|
export * from "./ErrorVariableValue";
|
|
60
63
|
export * from "./ErrorVellumValue";
|
|
64
|
+
export * from "./ErrorVellumValueRequest";
|
|
61
65
|
export * from "./ExecutePromptApiErrorResponse";
|
|
62
66
|
export * from "./ExecutePromptEvent";
|
|
63
67
|
export * from "./ExecutePromptResponse";
|
|
@@ -92,6 +96,7 @@ export * from "./FunctionCallEnum";
|
|
|
92
96
|
export * from "./FunctionCallRequest";
|
|
93
97
|
export * from "./FunctionCallVariableValue";
|
|
94
98
|
export * from "./FunctionCallVellumValue";
|
|
99
|
+
export * from "./FunctionCallVellumValueRequest";
|
|
95
100
|
export * from "./GenerateErrorResponse";
|
|
96
101
|
export * from "./GenerateOptionsRequest";
|
|
97
102
|
export * from "./GenerateRequest";
|
|
@@ -109,6 +114,7 @@ export * from "./ImageChatMessageContentRequest";
|
|
|
109
114
|
export * from "./ImageEnum";
|
|
110
115
|
export * from "./ImageVariableValue";
|
|
111
116
|
export * from "./ImageVellumValue";
|
|
117
|
+
export * from "./ImageVellumValueRequest";
|
|
112
118
|
export * from "./IndexingConfigVectorizer";
|
|
113
119
|
export * from "./IndexingConfigVectorizerRequest";
|
|
114
120
|
export * from "./IndexingStateEnum";
|
|
@@ -123,6 +129,7 @@ export * from "./JsonInputRequest";
|
|
|
123
129
|
export * from "./JsonEnum";
|
|
124
130
|
export * from "./JsonVariableValue";
|
|
125
131
|
export * from "./JsonVellumValue";
|
|
132
|
+
export * from "./JsonVellumValueRequest";
|
|
126
133
|
export * from "./LogicalOperator";
|
|
127
134
|
export * from "./LogprobsEnum";
|
|
128
135
|
export * from "./MlModelUsage";
|
|
@@ -140,6 +147,8 @@ export * from "./MetricNodeResult";
|
|
|
140
147
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
141
148
|
export * from "./NamedScenarioInputRequest";
|
|
142
149
|
export * from "./NamedScenarioInputStringVariableValueRequest";
|
|
150
|
+
export * from "./NamedTestCaseArrayVariableValue";
|
|
151
|
+
export * from "./NamedTestCaseArrayVariableValueRequest";
|
|
143
152
|
export * from "./NamedTestCaseChatHistoryVariableValue";
|
|
144
153
|
export * from "./NamedTestCaseChatHistoryVariableValueRequest";
|
|
145
154
|
export * from "./NamedTestCaseErrorVariableValue";
|
|
@@ -179,6 +188,7 @@ export * from "./NormalizedTokenLogProbs";
|
|
|
179
188
|
export * from "./NumberEnum";
|
|
180
189
|
export * from "./NumberVariableValue";
|
|
181
190
|
export * from "./NumberVellumValue";
|
|
191
|
+
export * from "./NumberVellumValueRequest";
|
|
182
192
|
export * from "./OpenAiVectorizerConfig";
|
|
183
193
|
export * from "./OpenAiVectorizerConfigRequest";
|
|
184
194
|
export * from "./OpenAiVectorizerTextEmbedding3Large";
|
|
@@ -201,6 +211,7 @@ export * from "./ProcessingStateEnum";
|
|
|
201
211
|
export * from "./PromptDeploymentExpandMetaRequestRequest";
|
|
202
212
|
export * from "./PromptDeploymentInputRequest";
|
|
203
213
|
export * from "./PromptExecutionMeta";
|
|
214
|
+
export * from "./PromptNodeExecutionMeta";
|
|
204
215
|
export * from "./PromptNodeResult";
|
|
205
216
|
export * from "./PromptNodeResultData";
|
|
206
217
|
export * from "./PromptOutput";
|
|
@@ -257,6 +268,7 @@ export * from "./StringEnum";
|
|
|
257
268
|
export * from "./StringInputRequest";
|
|
258
269
|
export * from "./StringVariableValue";
|
|
259
270
|
export * from "./StringVellumValue";
|
|
271
|
+
export * from "./StringVellumValueRequest";
|
|
260
272
|
export * from "./SubmitCompletionActualRequest";
|
|
261
273
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
262
274
|
export * from "./SubmitWorkflowExecutionActualRequest";
|
|
@@ -285,6 +297,7 @@ export * from "./TerminalNodeResultData";
|
|
|
285
297
|
export * from "./TerminalNodeResultOutput";
|
|
286
298
|
export * from "./TerminalNodeSearchResultsResult";
|
|
287
299
|
export * from "./TerminalNodeStringResult";
|
|
300
|
+
export * from "./TestCaseArrayVariableValue";
|
|
288
301
|
export * from "./TestCaseChatHistoryVariableValue";
|
|
289
302
|
export * from "./TestCaseErrorVariableValue";
|
|
290
303
|
export * from "./TestCaseFunctionCallVariableValue";
|
|
@@ -371,6 +384,7 @@ export * from "./WorkflowExecutionEventErrorCode";
|
|
|
371
384
|
export * from "./WorkflowExecutionEventType";
|
|
372
385
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
373
386
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
387
|
+
export * from "./WorkflowExpandMetaRequest";
|
|
374
388
|
export * from "./WorkflowNodeResultData";
|
|
375
389
|
export * from "./WorkflowNodeResultEvent";
|
|
376
390
|
export * from "./WorkflowNodeResultEventState";
|
|
@@ -24,6 +24,7 @@ __exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
|
24
24
|
__exportStar(require("./ArrayEnum"), exports);
|
|
25
25
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
26
26
|
__exportStar(require("./ArrayVellumValueItem"), exports);
|
|
27
|
+
__exportStar(require("./ArrayVellumValueItemRequest"), exports);
|
|
27
28
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5Large"), exports);
|
|
28
29
|
__exportStar(require("./BasicVectorizerIntfloatMultilingualE5LargeRequest"), exports);
|
|
29
30
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1"), exports);
|
|
@@ -48,6 +49,8 @@ __exportStar(require("./CodeExecutionNodeResultData"), exports);
|
|
|
48
49
|
__exportStar(require("./CodeExecutionNodeResultOutput"), exports);
|
|
49
50
|
__exportStar(require("./CodeExecutionNodeSearchResultsResult"), exports);
|
|
50
51
|
__exportStar(require("./CodeExecutionNodeStringResult"), exports);
|
|
52
|
+
__exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
|
|
53
|
+
__exportStar(require("./CompilePromptMeta"), exports);
|
|
51
54
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
52
55
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
53
56
|
__exportStar(require("./CreateEnum"), exports);
|
|
@@ -74,6 +77,7 @@ __exportStar(require("./EnvironmentEnum"), exports);
|
|
|
74
77
|
__exportStar(require("./ErrorEnum"), exports);
|
|
75
78
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
76
79
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
80
|
+
__exportStar(require("./ErrorVellumValueRequest"), exports);
|
|
77
81
|
__exportStar(require("./ExecutePromptApiErrorResponse"), exports);
|
|
78
82
|
__exportStar(require("./ExecutePromptEvent"), exports);
|
|
79
83
|
__exportStar(require("./ExecutePromptResponse"), exports);
|
|
@@ -108,6 +112,7 @@ __exportStar(require("./FunctionCallEnum"), exports);
|
|
|
108
112
|
__exportStar(require("./FunctionCallRequest"), exports);
|
|
109
113
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
110
114
|
__exportStar(require("./FunctionCallVellumValue"), exports);
|
|
115
|
+
__exportStar(require("./FunctionCallVellumValueRequest"), exports);
|
|
111
116
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
112
117
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
113
118
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -125,6 +130,7 @@ __exportStar(require("./ImageChatMessageContentRequest"), exports);
|
|
|
125
130
|
__exportStar(require("./ImageEnum"), exports);
|
|
126
131
|
__exportStar(require("./ImageVariableValue"), exports);
|
|
127
132
|
__exportStar(require("./ImageVellumValue"), exports);
|
|
133
|
+
__exportStar(require("./ImageVellumValueRequest"), exports);
|
|
128
134
|
__exportStar(require("./IndexingConfigVectorizer"), exports);
|
|
129
135
|
__exportStar(require("./IndexingConfigVectorizerRequest"), exports);
|
|
130
136
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
@@ -139,6 +145,7 @@ __exportStar(require("./JsonInputRequest"), exports);
|
|
|
139
145
|
__exportStar(require("./JsonEnum"), exports);
|
|
140
146
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
141
147
|
__exportStar(require("./JsonVellumValue"), exports);
|
|
148
|
+
__exportStar(require("./JsonVellumValueRequest"), exports);
|
|
142
149
|
__exportStar(require("./LogicalOperator"), exports);
|
|
143
150
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
144
151
|
__exportStar(require("./MlModelUsage"), exports);
|
|
@@ -156,6 +163,8 @@ __exportStar(require("./MetricNodeResult"), exports);
|
|
|
156
163
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
157
164
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
|
158
165
|
__exportStar(require("./NamedScenarioInputStringVariableValueRequest"), exports);
|
|
166
|
+
__exportStar(require("./NamedTestCaseArrayVariableValue"), exports);
|
|
167
|
+
__exportStar(require("./NamedTestCaseArrayVariableValueRequest"), exports);
|
|
159
168
|
__exportStar(require("./NamedTestCaseChatHistoryVariableValue"), exports);
|
|
160
169
|
__exportStar(require("./NamedTestCaseChatHistoryVariableValueRequest"), exports);
|
|
161
170
|
__exportStar(require("./NamedTestCaseErrorVariableValue"), exports);
|
|
@@ -195,6 +204,7 @@ __exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
|
195
204
|
__exportStar(require("./NumberEnum"), exports);
|
|
196
205
|
__exportStar(require("./NumberVariableValue"), exports);
|
|
197
206
|
__exportStar(require("./NumberVellumValue"), exports);
|
|
207
|
+
__exportStar(require("./NumberVellumValueRequest"), exports);
|
|
198
208
|
__exportStar(require("./OpenAiVectorizerConfig"), exports);
|
|
199
209
|
__exportStar(require("./OpenAiVectorizerConfigRequest"), exports);
|
|
200
210
|
__exportStar(require("./OpenAiVectorizerTextEmbedding3Large"), exports);
|
|
@@ -217,6 +227,7 @@ __exportStar(require("./ProcessingStateEnum"), exports);
|
|
|
217
227
|
__exportStar(require("./PromptDeploymentExpandMetaRequestRequest"), exports);
|
|
218
228
|
__exportStar(require("./PromptDeploymentInputRequest"), exports);
|
|
219
229
|
__exportStar(require("./PromptExecutionMeta"), exports);
|
|
230
|
+
__exportStar(require("./PromptNodeExecutionMeta"), exports);
|
|
220
231
|
__exportStar(require("./PromptNodeResult"), exports);
|
|
221
232
|
__exportStar(require("./PromptNodeResultData"), exports);
|
|
222
233
|
__exportStar(require("./PromptOutput"), exports);
|
|
@@ -273,6 +284,7 @@ __exportStar(require("./StringEnum"), exports);
|
|
|
273
284
|
__exportStar(require("./StringInputRequest"), exports);
|
|
274
285
|
__exportStar(require("./StringVariableValue"), exports);
|
|
275
286
|
__exportStar(require("./StringVellumValue"), exports);
|
|
287
|
+
__exportStar(require("./StringVellumValueRequest"), exports);
|
|
276
288
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
277
289
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
278
290
|
__exportStar(require("./SubmitWorkflowExecutionActualRequest"), exports);
|
|
@@ -301,6 +313,7 @@ __exportStar(require("./TerminalNodeResultData"), exports);
|
|
|
301
313
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
302
314
|
__exportStar(require("./TerminalNodeSearchResultsResult"), exports);
|
|
303
315
|
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
316
|
+
__exportStar(require("./TestCaseArrayVariableValue"), exports);
|
|
304
317
|
__exportStar(require("./TestCaseChatHistoryVariableValue"), exports);
|
|
305
318
|
__exportStar(require("./TestCaseErrorVariableValue"), exports);
|
|
306
319
|
__exportStar(require("./TestCaseFunctionCallVariableValue"), exports);
|
|
@@ -387,6 +400,7 @@ __exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
|
387
400
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
388
401
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
389
402
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
403
|
+
__exportStar(require("./WorkflowExpandMetaRequest"), exports);
|
|
390
404
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
|
391
405
|
__exportStar(require("./WorkflowNodeResultEvent"), exports);
|
|
392
406
|
__exportStar(require("./WorkflowNodeResultEventState"), exports);
|
package/package.json
CHANGED
|
@@ -5,10 +5,12 @@ import * as serializers from "../../index";
|
|
|
5
5
|
import * as Vellum from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
import { WorkflowRequestInputRequest } from "../../types/WorkflowRequestInputRequest";
|
|
8
|
+
import { WorkflowExpandMetaRequest } from "../../types/WorkflowExpandMetaRequest";
|
|
8
9
|
export declare const ExecuteWorkflowRequest: core.serialization.Schema<serializers.ExecuteWorkflowRequest.Raw, Vellum.ExecuteWorkflowRequest>;
|
|
9
10
|
export declare namespace ExecuteWorkflowRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
inputs: WorkflowRequestInputRequest.Raw[];
|
|
13
|
+
expand_meta?: WorkflowExpandMetaRequest.Raw | null;
|
|
12
14
|
workflow_deployment_id?: string | null;
|
|
13
15
|
workflow_deployment_name?: string | null;
|
|
14
16
|
release_tag?: string | null;
|
|
@@ -29,8 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ExecuteWorkflowRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../core"));
|
|
31
31
|
const WorkflowRequestInputRequest_1 = require("../../types/WorkflowRequestInputRequest");
|
|
32
|
+
const WorkflowExpandMetaRequest_1 = require("../../types/WorkflowExpandMetaRequest");
|
|
32
33
|
exports.ExecuteWorkflowRequest = core.serialization.object({
|
|
33
34
|
inputs: core.serialization.list(WorkflowRequestInputRequest_1.WorkflowRequestInputRequest),
|
|
35
|
+
expandMeta: core.serialization.property("expand_meta", WorkflowExpandMetaRequest_1.WorkflowExpandMetaRequest.optional()),
|
|
34
36
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
35
37
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
36
38
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
@@ -5,11 +5,13 @@ import * as serializers from "../../index";
|
|
|
5
5
|
import * as Vellum from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
import { WorkflowRequestInputRequest } from "../../types/WorkflowRequestInputRequest";
|
|
8
|
+
import { WorkflowExpandMetaRequest } from "../../types/WorkflowExpandMetaRequest";
|
|
8
9
|
import { WorkflowExecutionEventType } from "../../types/WorkflowExecutionEventType";
|
|
9
10
|
export declare const ExecuteWorkflowStreamRequest: core.serialization.Schema<serializers.ExecuteWorkflowStreamRequest.Raw, Vellum.ExecuteWorkflowStreamRequest>;
|
|
10
11
|
export declare namespace ExecuteWorkflowStreamRequest {
|
|
11
12
|
interface Raw {
|
|
12
13
|
inputs: WorkflowRequestInputRequest.Raw[];
|
|
14
|
+
expand_meta?: WorkflowExpandMetaRequest.Raw | null;
|
|
13
15
|
workflow_deployment_id?: string | null;
|
|
14
16
|
workflow_deployment_name?: string | null;
|
|
15
17
|
release_tag?: string | null;
|
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ExecuteWorkflowStreamRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../core"));
|
|
31
31
|
const WorkflowRequestInputRequest_1 = require("../../types/WorkflowRequestInputRequest");
|
|
32
|
+
const WorkflowExpandMetaRequest_1 = require("../../types/WorkflowExpandMetaRequest");
|
|
32
33
|
const WorkflowExecutionEventType_1 = require("../../types/WorkflowExecutionEventType");
|
|
33
34
|
exports.ExecuteWorkflowStreamRequest = core.serialization.object({
|
|
34
35
|
inputs: core.serialization.list(WorkflowRequestInputRequest_1.WorkflowRequestInputRequest),
|
|
36
|
+
expandMeta: core.serialization.property("expand_meta", WorkflowExpandMetaRequest_1.WorkflowExpandMetaRequest.optional()),
|
|
35
37
|
workflowDeploymentId: core.serialization.property("workflow_deployment_id", core.serialization.string().optional()),
|
|
36
38
|
workflowDeploymentName: core.serialization.property("workflow_deployment_name", core.serialization.string().optional()),
|
|
37
39
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as Vellum from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { PromptDeploymentInputRequest } from "../../../../types/PromptDeploymentInputRequest";
|
|
8
|
+
import { CompilePromptDeploymentExpandMetaRequest } from "../../../../types/CompilePromptDeploymentExpandMetaRequest";
|
|
8
9
|
export declare const DeploymentProviderPayloadRequest: core.serialization.Schema<serializers.DeploymentProviderPayloadRequest.Raw, Vellum.DeploymentProviderPayloadRequest>;
|
|
9
10
|
export declare namespace DeploymentProviderPayloadRequest {
|
|
10
11
|
interface Raw {
|
|
@@ -12,5 +13,6 @@ export declare namespace DeploymentProviderPayloadRequest {
|
|
|
12
13
|
deployment_name?: string | null;
|
|
13
14
|
inputs: PromptDeploymentInputRequest.Raw[];
|
|
14
15
|
release_tag?: string | null;
|
|
16
|
+
expand_meta?: CompilePromptDeploymentExpandMetaRequest.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
package/serialization/resources/deployments/client/requests/DeploymentProviderPayloadRequest.js
CHANGED
|
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.DeploymentProviderPayloadRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const PromptDeploymentInputRequest_1 = require("../../../../types/PromptDeploymentInputRequest");
|
|
32
|
+
const CompilePromptDeploymentExpandMetaRequest_1 = require("../../../../types/CompilePromptDeploymentExpandMetaRequest");
|
|
32
33
|
exports.DeploymentProviderPayloadRequest = core.serialization.object({
|
|
33
34
|
deploymentId: core.serialization.property("deployment_id", core.serialization.string().optional()),
|
|
34
35
|
deploymentName: core.serialization.property("deployment_name", core.serialization.string().optional()),
|
|
35
36
|
inputs: core.serialization.list(PromptDeploymentInputRequest_1.PromptDeploymentInputRequest),
|
|
36
37
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
38
|
+
expandMeta: core.serialization.property("expand_meta", CompilePromptDeploymentExpandMetaRequest_1.CompilePromptDeploymentExpandMetaRequest.optional()),
|
|
37
39
|
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { StringVellumValueRequest } from "./StringVellumValueRequest";
|
|
8
|
+
import { NumberVellumValueRequest } from "./NumberVellumValueRequest";
|
|
9
|
+
import { JsonVellumValueRequest } from "./JsonVellumValueRequest";
|
|
10
|
+
import { ImageVellumValueRequest } from "./ImageVellumValueRequest";
|
|
11
|
+
import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest";
|
|
12
|
+
import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
|
|
13
|
+
export declare const ArrayVellumValueItemRequest: core.serialization.Schema<serializers.ArrayVellumValueItemRequest.Raw, Vellum.ArrayVellumValueItemRequest>;
|
|
14
|
+
export declare namespace ArrayVellumValueItemRequest {
|
|
15
|
+
type Raw = ArrayVellumValueItemRequest.String | ArrayVellumValueItemRequest.Number | ArrayVellumValueItemRequest.Json | ArrayVellumValueItemRequest.Image | ArrayVellumValueItemRequest.FunctionCall | ArrayVellumValueItemRequest.Error;
|
|
16
|
+
interface String extends StringVellumValueRequest.Raw {
|
|
17
|
+
type: "STRING";
|
|
18
|
+
}
|
|
19
|
+
interface Number extends NumberVellumValueRequest.Raw {
|
|
20
|
+
type: "NUMBER";
|
|
21
|
+
}
|
|
22
|
+
interface Json extends JsonVellumValueRequest.Raw {
|
|
23
|
+
type: "JSON";
|
|
24
|
+
}
|
|
25
|
+
interface Image extends ImageVellumValueRequest.Raw {
|
|
26
|
+
type: "IMAGE";
|
|
27
|
+
}
|
|
28
|
+
interface FunctionCall extends FunctionCallVellumValueRequest.Raw {
|
|
29
|
+
type: "FUNCTION_CALL";
|
|
30
|
+
}
|
|
31
|
+
interface Error extends ErrorVellumValueRequest.Raw {
|
|
32
|
+
type: "ERROR";
|
|
33
|
+
}
|
|
34
|
+
}
|