vellum-ai 0.9.10 → 0.9.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/.mock/definition/__package__.yml +86 -68
- package/.mock/definition/metricDefinitions.yml +2 -2
- package/.mock/openapi/openapi.yml +132 -96
- package/Client.d.ts +2 -2
- package/Client.js +12 -12
- package/api/client/requests/{CodeExecutorRequest.d.ts → CodeExecutor.d.ts} +3 -3
- package/api/client/requests/index.d.ts +1 -1
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -5
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- 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 +2 -2
- package/api/resources/metricDefinitions/client/Client.d.ts +2 -2
- package/api/resources/metricDefinitions/client/Client.js +3 -3
- package/api/resources/metricDefinitions/client/requests/{ExecuteMetricDefinitionRequest.d.ts → ExecuteMetricDefinition.d.ts} +2 -2
- package/api/resources/metricDefinitions/client/requests/index.d.ts +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 +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +2 -2
- package/api/types/ChatHistoryInput.d.ts +13 -0
- package/{dist/api/types/CodeExecutionPackageRequest.d.ts → api/types/CodeExecutionPackage.d.ts} +1 -1
- package/api/types/CodeExecutorInput.d.ts +5 -0
- package/{dist/api/types/CodeExecutorSecretInputRequest.d.ts → api/types/CodeExecutorSecretInput.d.ts} +1 -1
- package/api/types/{ProcessingStateEnum.d.ts → DocumentProcessingState.d.ts} +4 -2
- package/api/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +3 -2
- package/api/types/DocumentRead.d.ts +1 -9
- package/api/types/{ErrorInputRequest.d.ts → ErrorInput.d.ts} +2 -2
- package/{dist/api/types/FunctionCallInputRequest.d.ts → api/types/FunctionCallInput.d.ts} +2 -2
- package/api/types/JinjaPromptBlock.d.ts +0 -1
- package/api/types/JsonInput.d.ts +12 -0
- package/api/types/MetricDefinitionInput.d.ts +5 -0
- package/api/types/{NumberInputRequest.d.ts → NumberInput.d.ts} +1 -1
- package/{dist/api/types/SearchResultsInputRequest.d.ts → api/types/SearchResultsInput.d.ts} +2 -2
- package/api/types/SlimDocument.d.ts +1 -9
- package/api/types/StringInput.d.ts +12 -0
- package/api/types/VariablePromptBlock.d.ts +1 -1
- package/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/api/types/VellumErrorCodeEnum.js +1 -0
- package/api/types/index.d.ts +13 -10
- package/api/types/index.js +13 -10
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +12 -12
- package/dist/api/client/requests/{CodeExecutorRequest.d.ts → CodeExecutor.d.ts} +3 -3
- package/dist/api/client/requests/index.d.ts +1 -1
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -5
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- 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 +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.d.ts +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
- package/dist/api/resources/metricDefinitions/client/requests/{ExecuteMetricDefinitionRequest.d.ts → ExecuteMetricDefinition.d.ts} +2 -2
- package/dist/api/resources/metricDefinitions/client/requests/index.d.ts +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 +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +2 -2
- package/dist/api/types/ChatHistoryInput.d.ts +13 -0
- package/{api/types/CodeExecutionPackageRequest.d.ts → dist/api/types/CodeExecutionPackage.d.ts} +1 -1
- package/dist/api/types/CodeExecutorInput.d.ts +5 -0
- package/{api/types/CodeExecutorSecretInputRequest.d.ts → dist/api/types/CodeExecutorSecretInput.d.ts} +1 -1
- package/dist/api/types/{ProcessingStateEnum.d.ts → DocumentProcessingState.d.ts} +4 -2
- package/dist/api/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +3 -2
- package/dist/api/types/DocumentRead.d.ts +1 -9
- package/dist/api/types/{ErrorInputRequest.d.ts → ErrorInput.d.ts} +2 -2
- package/{api/types/FunctionCallInputRequest.d.ts → dist/api/types/FunctionCallInput.d.ts} +2 -2
- package/dist/api/types/FunctionCallInput.js +5 -0
- package/dist/api/types/JinjaPromptBlock.d.ts +0 -1
- package/dist/api/types/JsonInput.d.ts +12 -0
- package/dist/api/types/JsonInput.js +5 -0
- package/dist/api/types/MetricDefinitionInput.d.ts +5 -0
- package/dist/api/types/MetricDefinitionInput.js +5 -0
- package/dist/api/types/{NumberInputRequest.d.ts → NumberInput.d.ts} +1 -1
- package/dist/api/types/NumberInput.js +5 -0
- package/{api/types/SearchResultsInputRequest.d.ts → dist/api/types/SearchResultsInput.d.ts} +2 -2
- package/dist/api/types/SearchResultsInput.js +5 -0
- package/dist/api/types/SlimDocument.d.ts +1 -9
- package/dist/api/types/StringInput.d.ts +12 -0
- package/dist/api/types/StringInput.js +5 -0
- package/dist/api/types/VariablePromptBlock.d.ts +1 -1
- package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -1
- package/dist/api/types/VellumErrorCodeEnum.js +1 -0
- package/dist/api/types/index.d.ts +13 -10
- package/dist/api/types/index.js +13 -10
- package/{serialization/client/requests/CodeExecutorRequest.d.ts → dist/serialization/client/requests/CodeExecutor.d.ts} +6 -6
- package/dist/serialization/client/requests/{CodeExecutorRequest.js → CodeExecutor.js} +6 -6
- package/dist/serialization/client/requests/index.d.ts +1 -1
- package/dist/serialization/client/requests/index.js +3 -3
- package/dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.d.ts +14 -0
- package/{serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.js → dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.js} +4 -4
- package/dist/serialization/resources/metricDefinitions/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/metricDefinitions/client/requests/index.js +3 -3
- package/dist/serialization/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +3 -3
- package/{serialization/types/ArrayInputRequest.js → dist/serialization/types/ArrayInput.js} +3 -3
- package/dist/serialization/types/ChatHistoryInput.d.ts +15 -0
- package/dist/serialization/types/ChatHistoryInput.js +36 -0
- package/{serialization/types/CodeExecutionPackageRequest.d.ts → dist/serialization/types/CodeExecutionPackage.d.ts} +2 -2
- package/dist/serialization/types/{CodeExecutionPackageRequest.js → CodeExecutionPackage.js} +2 -2
- package/dist/serialization/types/CodeExecutorInput.d.ts +19 -0
- package/dist/serialization/types/{MetricDefinitionInputRequest.js → CodeExecutorInput.js} +20 -10
- package/{serialization/types/CodeExecutorSecretInputRequest.d.ts → dist/serialization/types/CodeExecutorSecretInput.d.ts} +2 -2
- package/{serialization/types/CodeExecutorSecretInputRequest.js → dist/serialization/types/CodeExecutorSecretInput.js} +2 -2
- package/dist/serialization/types/DocumentProcessingState.d.ts +10 -0
- package/dist/serialization/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +2 -2
- package/dist/serialization/types/DocumentRead.d.ts +2 -2
- package/dist/serialization/types/DocumentRead.js +2 -2
- package/dist/serialization/types/ErrorInput.d.ts +15 -0
- package/dist/serialization/types/{ErrorInputRequest.js → ErrorInput.js} +4 -4
- package/dist/serialization/types/FunctionCallInput.d.ts +15 -0
- package/{serialization/types/FunctionCallInputRequest.js → dist/serialization/types/FunctionCallInput.js} +4 -4
- package/dist/serialization/types/JinjaPromptBlock.d.ts +0 -2
- package/dist/serialization/types/JinjaPromptBlock.js +0 -2
- package/dist/serialization/types/JsonInput.d.ts +14 -0
- package/dist/serialization/types/JsonInput.js +35 -0
- package/dist/serialization/types/MetricDefinitionInput.d.ts +14 -0
- package/dist/serialization/types/MetricDefinitionInput.js +35 -0
- package/{serialization/types/NumberInputRequest.d.ts → dist/serialization/types/NumberInput.d.ts} +2 -2
- package/dist/serialization/types/{NumberInputRequest.js → NumberInput.js} +2 -2
- package/dist/serialization/types/SearchResultsInput.d.ts +15 -0
- package/dist/serialization/types/{SearchResultsInputRequest.js → SearchResultsInput.js} +4 -4
- package/dist/serialization/types/SlimDocument.d.ts +2 -2
- package/dist/serialization/types/SlimDocument.js +2 -2
- package/dist/serialization/types/StringInput.d.ts +14 -0
- package/dist/serialization/types/StringInput.js +35 -0
- package/dist/serialization/types/VariablePromptBlock.d.ts +1 -1
- package/dist/serialization/types/VariablePromptBlock.js +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/dist/serialization/types/VellumErrorCodeEnum.js +1 -0
- package/dist/serialization/types/index.d.ts +13 -10
- package/dist/serialization/types/index.js +13 -10
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +2 -5
- package/{dist/serialization/client/requests/CodeExecutorRequest.d.ts → serialization/client/requests/CodeExecutor.d.ts} +6 -6
- package/serialization/client/requests/{CodeExecutorRequest.js → CodeExecutor.js} +6 -6
- package/serialization/client/requests/index.d.ts +1 -1
- package/serialization/client/requests/index.js +3 -3
- package/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.d.ts +14 -0
- package/{dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.js → serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinition.js} +4 -4
- package/serialization/resources/metricDefinitions/client/requests/index.d.ts +1 -1
- package/serialization/resources/metricDefinitions/client/requests/index.js +3 -3
- package/serialization/types/{ArrayInputRequest.d.ts → ArrayInput.d.ts} +3 -3
- package/{dist/serialization/types/ArrayInputRequest.js → serialization/types/ArrayInput.js} +3 -3
- package/serialization/types/ChatHistoryInput.d.ts +15 -0
- package/serialization/types/ChatHistoryInput.js +36 -0
- package/{dist/serialization/types/CodeExecutionPackageRequest.d.ts → serialization/types/CodeExecutionPackage.d.ts} +2 -2
- package/serialization/types/{CodeExecutionPackageRequest.js → CodeExecutionPackage.js} +2 -2
- package/serialization/types/CodeExecutorInput.d.ts +19 -0
- package/serialization/types/{MetricDefinitionInputRequest.js → CodeExecutorInput.js} +20 -10
- package/{dist/serialization/types/CodeExecutorSecretInputRequest.d.ts → serialization/types/CodeExecutorSecretInput.d.ts} +2 -2
- package/{dist/serialization/types/CodeExecutorSecretInputRequest.js → serialization/types/CodeExecutorSecretInput.js} +2 -2
- package/serialization/types/DocumentProcessingState.d.ts +10 -0
- package/serialization/types/{ProcessingStateEnum.js → DocumentProcessingState.js} +2 -2
- package/serialization/types/DocumentRead.d.ts +2 -2
- package/serialization/types/DocumentRead.js +2 -2
- package/serialization/types/ErrorInput.d.ts +15 -0
- package/serialization/types/{ErrorInputRequest.js → ErrorInput.js} +4 -4
- package/serialization/types/FunctionCallInput.d.ts +15 -0
- package/{dist/serialization/types/FunctionCallInputRequest.js → serialization/types/FunctionCallInput.js} +4 -4
- package/serialization/types/JinjaPromptBlock.d.ts +0 -2
- package/serialization/types/JinjaPromptBlock.js +0 -2
- package/serialization/types/JsonInput.d.ts +14 -0
- package/serialization/types/JsonInput.js +35 -0
- package/serialization/types/MetricDefinitionInput.d.ts +14 -0
- package/serialization/types/MetricDefinitionInput.js +35 -0
- package/{dist/serialization/types/NumberInputRequest.d.ts → serialization/types/NumberInput.d.ts} +2 -2
- package/serialization/types/{NumberInputRequest.js → NumberInput.js} +2 -2
- package/serialization/types/SearchResultsInput.d.ts +15 -0
- package/serialization/types/{SearchResultsInputRequest.js → SearchResultsInput.js} +4 -4
- package/serialization/types/SlimDocument.d.ts +2 -2
- package/serialization/types/SlimDocument.js +2 -2
- package/serialization/types/StringInput.d.ts +14 -0
- package/serialization/types/StringInput.js +35 -0
- package/serialization/types/VariablePromptBlock.d.ts +1 -1
- package/serialization/types/VariablePromptBlock.js +1 -1
- package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
- package/serialization/types/VellumErrorCodeEnum.js +1 -0
- package/serialization/types/index.d.ts +13 -10
- package/serialization/types/index.js +13 -10
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/CodeExecutorInputRequest.d.ts +0 -5
- package/api/types/MetricDefinitionInputRequest.d.ts +0 -5
- package/dist/api/types/CodeExecutorInputRequest.d.ts +0 -5
- package/dist/api/types/MetricDefinitionInputRequest.d.ts +0 -5
- package/dist/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.d.ts +0 -14
- package/dist/serialization/types/CodeExecutorInputRequest.d.ts +0 -19
- package/dist/serialization/types/CodeExecutorInputRequest.js +0 -50
- package/dist/serialization/types/ErrorInputRequest.d.ts +0 -15
- package/dist/serialization/types/FunctionCallInputRequest.d.ts +0 -15
- package/dist/serialization/types/MetricDefinitionInputRequest.d.ts +0 -14
- package/dist/serialization/types/ProcessingStateEnum.d.ts +0 -10
- package/dist/serialization/types/SearchResultsInputRequest.d.ts +0 -15
- package/serialization/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.d.ts +0 -14
- package/serialization/types/CodeExecutorInputRequest.d.ts +0 -19
- package/serialization/types/CodeExecutorInputRequest.js +0 -50
- package/serialization/types/ErrorInputRequest.d.ts +0 -15
- package/serialization/types/FunctionCallInputRequest.d.ts +0 -15
- package/serialization/types/MetricDefinitionInputRequest.d.ts +0 -14
- package/serialization/types/ProcessingStateEnum.d.ts +0 -10
- package/serialization/types/SearchResultsInputRequest.d.ts +0 -15
- /package/api/client/requests/{CodeExecutorRequest.js → CodeExecutor.js} +0 -0
- /package/api/resources/metricDefinitions/client/requests/{ExecuteMetricDefinitionRequest.js → ExecuteMetricDefinition.js} +0 -0
- /package/api/types/{ArrayInputRequest.js → ArrayInput.js} +0 -0
- /package/api/types/{CodeExecutionPackageRequest.js → ChatHistoryInput.js} +0 -0
- /package/api/types/{CodeExecutorInputRequest.js → CodeExecutionPackage.js} +0 -0
- /package/api/types/{CodeExecutorSecretInputRequest.js → CodeExecutorInput.js} +0 -0
- /package/api/types/{ErrorInputRequest.js → CodeExecutorSecretInput.js} +0 -0
- /package/api/types/{FunctionCallInputRequest.js → ErrorInput.js} +0 -0
- /package/api/types/{MetricDefinitionInputRequest.js → FunctionCallInput.js} +0 -0
- /package/api/types/{NumberInputRequest.js → JsonInput.js} +0 -0
- /package/api/types/{SearchResultsInputRequest.js → MetricDefinitionInput.js} +0 -0
- /package/{dist/api/client/requests/CodeExecutorRequest.js → api/types/NumberInput.js} +0 -0
- /package/{dist/api/resources/metricDefinitions/client/requests/ExecuteMetricDefinitionRequest.js → api/types/SearchResultsInput.js} +0 -0
- /package/{dist/api/types/ArrayInputRequest.js → api/types/StringInput.js} +0 -0
- /package/dist/api/{types/CodeExecutionPackageRequest.js → client/requests/CodeExecutor.js} +0 -0
- /package/dist/api/{types/CodeExecutorInputRequest.js → resources/metricDefinitions/client/requests/ExecuteMetricDefinition.js} +0 -0
- /package/dist/api/types/{CodeExecutorSecretInputRequest.js → ArrayInput.js} +0 -0
- /package/dist/api/types/{ErrorInputRequest.js → ChatHistoryInput.js} +0 -0
- /package/dist/api/types/{FunctionCallInputRequest.js → CodeExecutionPackage.js} +0 -0
- /package/dist/api/types/{MetricDefinitionInputRequest.js → CodeExecutorInput.js} +0 -0
- /package/dist/api/types/{NumberInputRequest.js → CodeExecutorSecretInput.js} +0 -0
- /package/dist/api/types/{SearchResultsInputRequest.js → ErrorInput.js} +0 -0
|
@@ -30,11 +30,9 @@ exports.JinjaPromptBlock = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
32
|
const EphemeralPromptCacheConfig_1 = require("./EphemeralPromptCacheConfig");
|
|
33
|
-
const VellumVariableType_1 = require("./VellumVariableType");
|
|
34
33
|
exports.JinjaPromptBlock = core.serialization.object({
|
|
35
34
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
36
35
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optional()),
|
|
37
36
|
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("JINJA")),
|
|
38
37
|
template: core.serialization.string(),
|
|
39
|
-
templateType: core.serialization.property("template_type", VellumVariableType_1.VellumVariableType),
|
|
40
38
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 JsonInput: core.serialization.ObjectSchema<serializers.JsonInput.Raw, Vellum.JsonInput>;
|
|
8
|
+
export declare namespace JsonInput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
type: "JSON";
|
|
12
|
+
value?: unknown;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.JsonInput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.JsonInput = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
type: core.serialization.stringLiteral("JSON"),
|
|
34
|
+
value: core.serialization.unknown(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { StringInput } from "./StringInput";
|
|
8
|
+
import { JsonInput } from "./JsonInput";
|
|
9
|
+
import { ChatHistoryInput } from "./ChatHistoryInput";
|
|
10
|
+
import { NumberInput } from "./NumberInput";
|
|
11
|
+
export declare const MetricDefinitionInput: core.serialization.Schema<serializers.MetricDefinitionInput.Raw, Vellum.MetricDefinitionInput>;
|
|
12
|
+
export declare namespace MetricDefinitionInput {
|
|
13
|
+
type Raw = StringInput.Raw | JsonInput.Raw | ChatHistoryInput.Raw | NumberInput.Raw;
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.MetricDefinitionInput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const StringInput_1 = require("./StringInput");
|
|
32
|
+
const JsonInput_1 = require("./JsonInput");
|
|
33
|
+
const ChatHistoryInput_1 = require("./ChatHistoryInput");
|
|
34
|
+
const NumberInput_1 = require("./NumberInput");
|
|
35
|
+
exports.MetricDefinitionInput = core.serialization.undiscriminatedUnion([StringInput_1.StringInput, JsonInput_1.JsonInput, ChatHistoryInput_1.ChatHistoryInput, NumberInput_1.NumberInput]);
|
package/{dist/serialization/types/NumberInputRequest.d.ts → serialization/types/NumberInput.d.ts}
RENAMED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const NumberInput: core.serialization.ObjectSchema<serializers.NumberInput.Raw, Vellum.NumberInput>;
|
|
8
|
+
export declare namespace NumberInput {
|
|
9
9
|
interface Raw {
|
|
10
10
|
name: string;
|
|
11
11
|
type: "NUMBER";
|
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.NumberInput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.NumberInput = core.serialization.object({
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
type: core.serialization.stringLiteral("NUMBER"),
|
|
34
34
|
value: core.serialization.number(),
|
|
@@ -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 { SearchResult } from "./SearchResult";
|
|
8
|
+
export declare const SearchResultsInput: core.serialization.ObjectSchema<serializers.SearchResultsInput.Raw, Vellum.SearchResultsInput>;
|
|
9
|
+
export declare namespace SearchResultsInput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
type: "SEARCH_RESULTS";
|
|
13
|
+
value: SearchResult.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -26,11 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.SearchResultsInput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
32
|
-
exports.
|
|
31
|
+
const SearchResult_1 = require("./SearchResult");
|
|
32
|
+
exports.SearchResultsInput = core.serialization.object({
|
|
33
33
|
name: core.serialization.string(),
|
|
34
34
|
type: core.serialization.stringLiteral("SEARCH_RESULTS"),
|
|
35
|
-
value: core.serialization.list(
|
|
35
|
+
value: core.serialization.list(SearchResult_1.SearchResult),
|
|
36
36
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { DocumentProcessingState } from "./DocumentProcessingState";
|
|
8
8
|
import { ProcessingFailureReasonEnum } from "./ProcessingFailureReasonEnum";
|
|
9
9
|
import { DocumentStatus } from "./DocumentStatus";
|
|
10
10
|
import { DocumentDocumentToDocumentIndex } from "./DocumentDocumentToDocumentIndex";
|
|
@@ -15,7 +15,7 @@ export declare namespace SlimDocument {
|
|
|
15
15
|
external_id?: string | null;
|
|
16
16
|
last_uploaded_at: string;
|
|
17
17
|
label: string;
|
|
18
|
-
processing_state
|
|
18
|
+
processing_state: DocumentProcessingState.Raw;
|
|
19
19
|
processing_failure_reason?: ProcessingFailureReasonEnum.Raw | null;
|
|
20
20
|
status?: DocumentStatus.Raw | null;
|
|
21
21
|
keywords?: string[] | null;
|
|
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.SlimDocument = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
31
|
+
const DocumentProcessingState_1 = require("./DocumentProcessingState");
|
|
32
32
|
const ProcessingFailureReasonEnum_1 = require("./ProcessingFailureReasonEnum");
|
|
33
33
|
const DocumentStatus_1 = require("./DocumentStatus");
|
|
34
34
|
const DocumentDocumentToDocumentIndex_1 = require("./DocumentDocumentToDocumentIndex");
|
|
@@ -37,7 +37,7 @@ exports.SlimDocument = core.serialization.object({
|
|
|
37
37
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
38
38
|
lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.date()),
|
|
39
39
|
label: core.serialization.string(),
|
|
40
|
-
processingState: core.serialization.property("processing_state",
|
|
40
|
+
processingState: core.serialization.property("processing_state", DocumentProcessingState_1.DocumentProcessingState),
|
|
41
41
|
processingFailureReason: core.serialization.property("processing_failure_reason", ProcessingFailureReasonEnum_1.ProcessingFailureReasonEnum.optional()),
|
|
42
42
|
status: DocumentStatus_1.DocumentStatus.optional(),
|
|
43
43
|
keywords: core.serialization.list(core.serialization.string()).optional(),
|
|
@@ -0,0 +1,14 @@
|
|
|
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 StringInput: core.serialization.ObjectSchema<serializers.StringInput.Raw, Vellum.StringInput>;
|
|
8
|
+
export declare namespace StringInput {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
type: "STRING";
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.StringInput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.StringInput = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
type: core.serialization.stringLiteral("STRING"),
|
|
34
|
+
value: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -34,5 +34,5 @@ exports.VariablePromptBlock = core.serialization.object({
|
|
|
34
34
|
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
35
35
|
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optional()),
|
|
36
36
|
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("VARIABLE")),
|
|
37
|
-
|
|
37
|
+
inputVariable: core.serialization.property("input_variable", core.serialization.string()),
|
|
38
38
|
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumErrorCodeEnum: core.serialization.Schema<serializers.VellumErrorCodeEnum.Raw, Vellum.VellumErrorCodeEnum>;
|
|
8
8
|
export declare namespace VellumErrorCodeEnum {
|
|
9
|
-
type Raw = "INVALID_REQUEST" | "PROVIDER_ERROR" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
9
|
+
type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR";
|
|
10
10
|
}
|
|
@@ -30,6 +30,7 @@ exports.VellumErrorCodeEnum = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.VellumErrorCodeEnum = core.serialization.enum_([
|
|
32
32
|
"INVALID_REQUEST",
|
|
33
|
+
"INVALID_INPUTS",
|
|
33
34
|
"PROVIDER_ERROR",
|
|
34
35
|
"REQUEST_TIMEOUT",
|
|
35
36
|
"INTERNAL_SERVER_ERROR",
|
|
@@ -11,7 +11,7 @@ export * from "./ArrayChatMessageContent";
|
|
|
11
11
|
export * from "./ArrayChatMessageContentItem";
|
|
12
12
|
export * from "./ArrayChatMessageContentItemRequest";
|
|
13
13
|
export * from "./ArrayChatMessageContentRequest";
|
|
14
|
-
export * from "./
|
|
14
|
+
export * from "./ArrayInput";
|
|
15
15
|
export * from "./ArrayVariableValue";
|
|
16
16
|
export * from "./ArrayVariableValueItem";
|
|
17
17
|
export * from "./ArrayVellumValue";
|
|
@@ -27,6 +27,7 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
|
|
|
27
27
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request";
|
|
28
28
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
|
|
29
29
|
export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
|
|
30
|
+
export * from "./ChatHistoryInput";
|
|
30
31
|
export * from "./ChatHistoryInputRequest";
|
|
31
32
|
export * from "./ChatHistoryVariableValue";
|
|
32
33
|
export * from "./ChatHistoryVellumValue";
|
|
@@ -48,11 +49,11 @@ export * from "./CodeExecutionNodeResultData";
|
|
|
48
49
|
export * from "./CodeExecutionNodeResultOutput";
|
|
49
50
|
export * from "./CodeExecutionNodeSearchResultsResult";
|
|
50
51
|
export * from "./CodeExecutionNodeStringResult";
|
|
51
|
-
export * from "./
|
|
52
|
+
export * from "./CodeExecutionPackage";
|
|
52
53
|
export * from "./CodeExecutionRuntime";
|
|
53
|
-
export * from "./
|
|
54
|
+
export * from "./CodeExecutorInput";
|
|
54
55
|
export * from "./CodeExecutorResponse";
|
|
55
|
-
export * from "./
|
|
56
|
+
export * from "./CodeExecutorSecretInput";
|
|
56
57
|
export * from "./CompilePromptDeploymentExpandMetaRequest";
|
|
57
58
|
export * from "./CompilePromptMeta";
|
|
58
59
|
export * from "./ConditionCombinator";
|
|
@@ -72,6 +73,7 @@ export * from "./DocumentIndexChunkingRequest";
|
|
|
72
73
|
export * from "./DocumentIndexIndexingConfig";
|
|
73
74
|
export * from "./DocumentIndexIndexingConfigRequest";
|
|
74
75
|
export * from "./DocumentIndexRead";
|
|
76
|
+
export * from "./DocumentProcessingState";
|
|
75
77
|
export * from "./DocumentRead";
|
|
76
78
|
export * from "./DocumentStatus";
|
|
77
79
|
export * from "./EnrichedNormalizedCompletion";
|
|
@@ -80,7 +82,7 @@ export * from "./EntityVisibility";
|
|
|
80
82
|
export * from "./EnvironmentEnum";
|
|
81
83
|
export * from "./EphemeralPromptCacheConfig";
|
|
82
84
|
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
83
|
-
export * from "./
|
|
85
|
+
export * from "./ErrorInput";
|
|
84
86
|
export * from "./ErrorVariableValue";
|
|
85
87
|
export * from "./ErrorVellumValue";
|
|
86
88
|
export * from "./ErrorVellumValueRequest";
|
|
@@ -123,7 +125,7 @@ export * from "./FunctionCallChatMessageContent";
|
|
|
123
125
|
export * from "./FunctionCallChatMessageContentRequest";
|
|
124
126
|
export * from "./FunctionCallChatMessageContentValue";
|
|
125
127
|
export * from "./FunctionCallChatMessageContentValueRequest";
|
|
126
|
-
export * from "./
|
|
128
|
+
export * from "./FunctionCallInput";
|
|
127
129
|
export * from "./FunctionCallRequest";
|
|
128
130
|
export * from "./FunctionCallVariableValue";
|
|
129
131
|
export * from "./FunctionCallVellumValue";
|
|
@@ -161,6 +163,7 @@ export * from "./InitiatedWorkflowNodeResultEvent";
|
|
|
161
163
|
export * from "./InstructorVectorizerConfig";
|
|
162
164
|
export * from "./InstructorVectorizerConfigRequest";
|
|
163
165
|
export * from "./IterationStateEnum";
|
|
166
|
+
export * from "./JsonInput";
|
|
164
167
|
export * from "./JsonInputRequest";
|
|
165
168
|
export * from "./JinjaPromptBlock";
|
|
166
169
|
export * from "./JsonVariableValue";
|
|
@@ -178,7 +181,7 @@ export * from "./MetadataFilterRuleCombinator";
|
|
|
178
181
|
export * from "./MetadataFilterRuleRequest";
|
|
179
182
|
export * from "./MetadataFiltersRequest";
|
|
180
183
|
export * from "./MetricDefinitionExecution";
|
|
181
|
-
export * from "./
|
|
184
|
+
export * from "./MetricDefinitionInput";
|
|
182
185
|
export * from "./MetricNodeResult";
|
|
183
186
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
184
187
|
export * from "./NamedScenarioInputJsonVariableValueRequest";
|
|
@@ -222,7 +225,7 @@ export * from "./NodeOutputCompiledStringValue";
|
|
|
222
225
|
export * from "./NodeOutputCompiledValue";
|
|
223
226
|
export * from "./NormalizedLogProbs";
|
|
224
227
|
export * from "./NormalizedTokenLogProbs";
|
|
225
|
-
export * from "./
|
|
228
|
+
export * from "./NumberInput";
|
|
226
229
|
export * from "./NumberVariableValue";
|
|
227
230
|
export * from "./NumberVellumValue";
|
|
228
231
|
export * from "./NumberVellumValueRequest";
|
|
@@ -249,7 +252,6 @@ export * from "./PdfSearchResultMetaSourceRequest";
|
|
|
249
252
|
export * from "./PlainTextPromptBlock";
|
|
250
253
|
export * from "./Price";
|
|
251
254
|
export * from "./ProcessingFailureReasonEnum";
|
|
252
|
-
export * from "./ProcessingStateEnum";
|
|
253
255
|
export * from "./PromptBlock";
|
|
254
256
|
export * from "./PromptBlockState";
|
|
255
257
|
export * from "./PromptDeploymentExpandMetaRequest";
|
|
@@ -299,7 +301,7 @@ export * from "./SearchResultMetaRequest";
|
|
|
299
301
|
export * from "./ComponentsSchemasPdfSearchResultMetaSource";
|
|
300
302
|
export * from "./ComponentsSchemasPdfSearchResultMetaSourceRequest";
|
|
301
303
|
export * from "./SearchResultRequest";
|
|
302
|
-
export * from "./
|
|
304
|
+
export * from "./SearchResultsInput";
|
|
303
305
|
export * from "./SearchResultsVariableValue";
|
|
304
306
|
export * from "./SearchResultsVellumValue";
|
|
305
307
|
export * from "./SearchResultsVellumValueRequest";
|
|
@@ -318,6 +320,7 @@ export * from "./StreamingPromptExecutionMeta";
|
|
|
318
320
|
export * from "./StreamingWorkflowNodeResultEvent";
|
|
319
321
|
export * from "./StringChatMessageContent";
|
|
320
322
|
export * from "./StringChatMessageContentRequest";
|
|
323
|
+
export * from "./StringInput";
|
|
321
324
|
export * from "./StringInputRequest";
|
|
322
325
|
export * from "./StringVariableValue";
|
|
323
326
|
export * from "./StringVellumValue";
|
|
@@ -27,7 +27,7 @@ __exportStar(require("./ArrayChatMessageContent"), exports);
|
|
|
27
27
|
__exportStar(require("./ArrayChatMessageContentItem"), exports);
|
|
28
28
|
__exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
29
29
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
30
|
-
__exportStar(require("./
|
|
30
|
+
__exportStar(require("./ArrayInput"), exports);
|
|
31
31
|
__exportStar(require("./ArrayVariableValue"), exports);
|
|
32
32
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
33
33
|
__exportStar(require("./ArrayVellumValue"), exports);
|
|
@@ -43,6 +43,7 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
|
|
|
43
43
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request"), exports);
|
|
44
44
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
|
|
45
45
|
__exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
|
|
46
|
+
__exportStar(require("./ChatHistoryInput"), exports);
|
|
46
47
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
47
48
|
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
48
49
|
__exportStar(require("./ChatHistoryVellumValue"), exports);
|
|
@@ -64,11 +65,11 @@ __exportStar(require("./CodeExecutionNodeResultData"), exports);
|
|
|
64
65
|
__exportStar(require("./CodeExecutionNodeResultOutput"), exports);
|
|
65
66
|
__exportStar(require("./CodeExecutionNodeSearchResultsResult"), exports);
|
|
66
67
|
__exportStar(require("./CodeExecutionNodeStringResult"), exports);
|
|
67
|
-
__exportStar(require("./
|
|
68
|
+
__exportStar(require("./CodeExecutionPackage"), exports);
|
|
68
69
|
__exportStar(require("./CodeExecutionRuntime"), exports);
|
|
69
|
-
__exportStar(require("./
|
|
70
|
+
__exportStar(require("./CodeExecutorInput"), exports);
|
|
70
71
|
__exportStar(require("./CodeExecutorResponse"), exports);
|
|
71
|
-
__exportStar(require("./
|
|
72
|
+
__exportStar(require("./CodeExecutorSecretInput"), exports);
|
|
72
73
|
__exportStar(require("./CompilePromptDeploymentExpandMetaRequest"), exports);
|
|
73
74
|
__exportStar(require("./CompilePromptMeta"), exports);
|
|
74
75
|
__exportStar(require("./ConditionCombinator"), exports);
|
|
@@ -88,6 +89,7 @@ __exportStar(require("./DocumentIndexChunkingRequest"), exports);
|
|
|
88
89
|
__exportStar(require("./DocumentIndexIndexingConfig"), exports);
|
|
89
90
|
__exportStar(require("./DocumentIndexIndexingConfigRequest"), exports);
|
|
90
91
|
__exportStar(require("./DocumentIndexRead"), exports);
|
|
92
|
+
__exportStar(require("./DocumentProcessingState"), exports);
|
|
91
93
|
__exportStar(require("./DocumentRead"), exports);
|
|
92
94
|
__exportStar(require("./DocumentStatus"), exports);
|
|
93
95
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
@@ -96,7 +98,7 @@ __exportStar(require("./EntityVisibility"), exports);
|
|
|
96
98
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
97
99
|
__exportStar(require("./EphemeralPromptCacheConfig"), exports);
|
|
98
100
|
__exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
99
|
-
__exportStar(require("./
|
|
101
|
+
__exportStar(require("./ErrorInput"), exports);
|
|
100
102
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
101
103
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
102
104
|
__exportStar(require("./ErrorVellumValueRequest"), exports);
|
|
@@ -139,7 +141,7 @@ __exportStar(require("./FunctionCallChatMessageContent"), exports);
|
|
|
139
141
|
__exportStar(require("./FunctionCallChatMessageContentRequest"), exports);
|
|
140
142
|
__exportStar(require("./FunctionCallChatMessageContentValue"), exports);
|
|
141
143
|
__exportStar(require("./FunctionCallChatMessageContentValueRequest"), exports);
|
|
142
|
-
__exportStar(require("./
|
|
144
|
+
__exportStar(require("./FunctionCallInput"), exports);
|
|
143
145
|
__exportStar(require("./FunctionCallRequest"), exports);
|
|
144
146
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
145
147
|
__exportStar(require("./FunctionCallVellumValue"), exports);
|
|
@@ -177,6 +179,7 @@ __exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
|
|
|
177
179
|
__exportStar(require("./InstructorVectorizerConfig"), exports);
|
|
178
180
|
__exportStar(require("./InstructorVectorizerConfigRequest"), exports);
|
|
179
181
|
__exportStar(require("./IterationStateEnum"), exports);
|
|
182
|
+
__exportStar(require("./JsonInput"), exports);
|
|
180
183
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
181
184
|
__exportStar(require("./JinjaPromptBlock"), exports);
|
|
182
185
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
@@ -194,7 +197,7 @@ __exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
|
194
197
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
195
198
|
__exportStar(require("./MetadataFiltersRequest"), exports);
|
|
196
199
|
__exportStar(require("./MetricDefinitionExecution"), exports);
|
|
197
|
-
__exportStar(require("./
|
|
200
|
+
__exportStar(require("./MetricDefinitionInput"), exports);
|
|
198
201
|
__exportStar(require("./MetricNodeResult"), exports);
|
|
199
202
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
200
203
|
__exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
|
|
@@ -238,7 +241,7 @@ __exportStar(require("./NodeOutputCompiledStringValue"), exports);
|
|
|
238
241
|
__exportStar(require("./NodeOutputCompiledValue"), exports);
|
|
239
242
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
240
243
|
__exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
241
|
-
__exportStar(require("./
|
|
244
|
+
__exportStar(require("./NumberInput"), exports);
|
|
242
245
|
__exportStar(require("./NumberVariableValue"), exports);
|
|
243
246
|
__exportStar(require("./NumberVellumValue"), exports);
|
|
244
247
|
__exportStar(require("./NumberVellumValueRequest"), exports);
|
|
@@ -265,7 +268,6 @@ __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
|
265
268
|
__exportStar(require("./PlainTextPromptBlock"), exports);
|
|
266
269
|
__exportStar(require("./Price"), exports);
|
|
267
270
|
__exportStar(require("./ProcessingFailureReasonEnum"), exports);
|
|
268
|
-
__exportStar(require("./ProcessingStateEnum"), exports);
|
|
269
271
|
__exportStar(require("./PromptBlock"), exports);
|
|
270
272
|
__exportStar(require("./PromptBlockState"), exports);
|
|
271
273
|
__exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
|
|
@@ -315,7 +317,7 @@ __exportStar(require("./SearchResultMetaRequest"), exports);
|
|
|
315
317
|
__exportStar(require("./ComponentsSchemasPdfSearchResultMetaSource"), exports);
|
|
316
318
|
__exportStar(require("./ComponentsSchemasPdfSearchResultMetaSourceRequest"), exports);
|
|
317
319
|
__exportStar(require("./SearchResultRequest"), exports);
|
|
318
|
-
__exportStar(require("./
|
|
320
|
+
__exportStar(require("./SearchResultsInput"), exports);
|
|
319
321
|
__exportStar(require("./SearchResultsVariableValue"), exports);
|
|
320
322
|
__exportStar(require("./SearchResultsVellumValue"), exports);
|
|
321
323
|
__exportStar(require("./SearchResultsVellumValueRequest"), exports);
|
|
@@ -334,6 +336,7 @@ __exportStar(require("./StreamingPromptExecutionMeta"), exports);
|
|
|
334
336
|
__exportStar(require("./StreamingWorkflowNodeResultEvent"), exports);
|
|
335
337
|
__exportStar(require("./StringChatMessageContent"), exports);
|
|
336
338
|
__exportStar(require("./StringChatMessageContentRequest"), exports);
|
|
339
|
+
__exportStar(require("./StringInput"), exports);
|
|
337
340
|
__exportStar(require("./StringInputRequest"), exports);
|
|
338
341
|
__exportStar(require("./StringVariableValue"), exports);
|
|
339
342
|
__exportStar(require("./StringVellumValue"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.12";
|
package/version.js
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type CodeExecutorInputRequest = Vellum.StringInputRequest | Vellum.JsonInputRequest | Vellum.ChatHistoryInputRequest | Vellum.NumberInputRequest | Vellum.SearchResultsInputRequest | Vellum.ErrorInputRequest | Vellum.ArrayInputRequest | Vellum.FunctionCallInputRequest | Vellum.CodeExecutorSecretInputRequest;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type MetricDefinitionInputRequest = Vellum.StringInputRequest | Vellum.JsonInputRequest | Vellum.ChatHistoryInputRequest | Vellum.NumberInputRequest;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type CodeExecutorInputRequest = Vellum.StringInputRequest | Vellum.JsonInputRequest | Vellum.ChatHistoryInputRequest | Vellum.NumberInputRequest | Vellum.SearchResultsInputRequest | Vellum.ErrorInputRequest | Vellum.ArrayInputRequest | Vellum.FunctionCallInputRequest | Vellum.CodeExecutorSecretInputRequest;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "../index";
|
|
5
|
-
export declare type MetricDefinitionInputRequest = Vellum.StringInputRequest | Vellum.JsonInputRequest | Vellum.ChatHistoryInputRequest | Vellum.NumberInputRequest;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { MetricDefinitionInputRequest } from "../../../../types/MetricDefinitionInputRequest";
|
|
8
|
-
export declare const ExecuteMetricDefinitionRequest: core.serialization.Schema<serializers.ExecuteMetricDefinitionRequest.Raw, Vellum.ExecuteMetricDefinitionRequest>;
|
|
9
|
-
export declare namespace ExecuteMetricDefinitionRequest {
|
|
10
|
-
interface Raw {
|
|
11
|
-
inputs: MetricDefinitionInputRequest.Raw[];
|
|
12
|
-
release_tag?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { StringInputRequest } from "./StringInputRequest";
|
|
8
|
-
import { JsonInputRequest } from "./JsonInputRequest";
|
|
9
|
-
import { ChatHistoryInputRequest } from "./ChatHistoryInputRequest";
|
|
10
|
-
import { NumberInputRequest } from "./NumberInputRequest";
|
|
11
|
-
import { SearchResultsInputRequest } from "./SearchResultsInputRequest";
|
|
12
|
-
import { ErrorInputRequest } from "./ErrorInputRequest";
|
|
13
|
-
import { ArrayInputRequest } from "./ArrayInputRequest";
|
|
14
|
-
import { FunctionCallInputRequest } from "./FunctionCallInputRequest";
|
|
15
|
-
import { CodeExecutorSecretInputRequest } from "./CodeExecutorSecretInputRequest";
|
|
16
|
-
export declare const CodeExecutorInputRequest: core.serialization.Schema<serializers.CodeExecutorInputRequest.Raw, Vellum.CodeExecutorInputRequest>;
|
|
17
|
-
export declare namespace CodeExecutorInputRequest {
|
|
18
|
-
type Raw = StringInputRequest.Raw | JsonInputRequest.Raw | ChatHistoryInputRequest.Raw | NumberInputRequest.Raw | SearchResultsInputRequest.Raw | ErrorInputRequest.Raw | ArrayInputRequest.Raw | FunctionCallInputRequest.Raw | CodeExecutorSecretInputRequest.Raw;
|
|
19
|
-
}
|