vellum-ai 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +1 -1
- package/api/resources/documents/client/Client.d.ts +11 -0
- package/api/resources/documents/client/Client.js +58 -0
- package/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +11 -0
- package/api/resources/documents/client/requests/index.d.ts +1 -0
- package/api/types/DeploymentRead.d.ts +1 -0
- package/api/types/InputVariable.d.ts +9 -0
- package/api/types/InputVariableType.d.ts +14 -0
- package/api/types/InputVariableType.js +11 -0
- package/api/types/MetadataFilterConfigRequest.d.ts +15 -0
- package/api/types/MetadataFilterRuleCombinator.d.ts +12 -0
- package/api/types/MetadataFilterRuleCombinator.js +10 -0
- package/api/types/MetadataFilterRuleRequest.d.ts +15 -0
- package/api/types/ModelVersionExecConfig.d.ts +2 -2
- package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/api/types/RegisterPromptPromptInfoRequest.d.ts +2 -2
- package/api/types/RegisteredPromptInputVariableRequest.d.ts +11 -0
- package/api/types/RegisteredPromptInputVariableRequest.js +5 -0
- package/api/types/SearchFiltersRequest.d.ts +3 -0
- package/api/types/SetDocumentMetadataErrorResponse.d.ts +6 -0
- package/api/types/SetDocumentMetadataErrorResponse.js +5 -0
- package/api/types/SetDocumentMetadataResponse.d.ts +7 -0
- package/api/types/SetDocumentMetadataResponse.js +5 -0
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/api/types/index.d.ts +8 -2
- package/api/types/index.js +8 -2
- package/dist/Client.js +1 -1
- package/dist/api/resources/documents/client/Client.d.ts +11 -0
- package/dist/api/resources/documents/client/Client.js +58 -0
- package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +11 -0
- package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +5 -0
- package/dist/api/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/api/types/DeploymentRead.d.ts +1 -0
- package/dist/api/types/InputVariable.d.ts +9 -0
- package/dist/api/types/InputVariable.js +5 -0
- package/dist/api/types/InputVariableType.d.ts +14 -0
- package/dist/api/types/InputVariableType.js +11 -0
- package/dist/api/types/MetadataFilterConfigRequest.d.ts +15 -0
- package/dist/api/types/MetadataFilterConfigRequest.js +5 -0
- package/dist/api/types/MetadataFilterRuleCombinator.d.ts +12 -0
- package/dist/api/types/MetadataFilterRuleCombinator.js +10 -0
- package/dist/api/types/MetadataFilterRuleRequest.d.ts +15 -0
- package/dist/api/types/MetadataFilterRuleRequest.js +5 -0
- package/dist/api/types/ModelVersionExecConfig.d.ts +2 -2
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/api/types/RegisterPromptPromptInfoRequest.d.ts +2 -2
- package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +11 -0
- package/dist/api/types/RegisteredPromptInputVariableRequest.js +5 -0
- package/dist/api/types/SearchFiltersRequest.d.ts +3 -0
- package/dist/api/types/SetDocumentMetadataErrorResponse.d.ts +6 -0
- package/dist/api/types/SetDocumentMetadataErrorResponse.js +5 -0
- package/dist/api/types/SetDocumentMetadataResponse.d.ts +7 -0
- package/dist/api/types/SetDocumentMetadataResponse.js +5 -0
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/index.d.ts +8 -2
- package/dist/api/types/index.js +8 -2
- package/dist/serialization/resources/documents/client/index.d.ts +1 -0
- package/dist/serialization/resources/documents/client/index.js +17 -0
- package/dist/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +14 -0
- package/dist/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +35 -0
- package/dist/serialization/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/documents/client/requests/index.js +5 -0
- package/dist/serialization/resources/documents/index.d.ts +1 -0
- package/dist/serialization/resources/documents/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/types/DeploymentRead.d.ts +1 -0
- package/dist/serialization/types/DeploymentRead.js +1 -0
- package/dist/serialization/types/InputVariable.d.ts +14 -0
- package/dist/serialization/types/InputVariable.js +35 -0
- package/dist/serialization/types/InputVariableType.d.ts +10 -0
- package/dist/serialization/types/{PromptTemplateInputVariable.js → InputVariableType.js} +2 -4
- package/dist/serialization/types/MetadataFilterConfigRequest.d.ts +17 -0
- package/dist/serialization/types/MetadataFilterConfigRequest.js +40 -0
- package/dist/serialization/types/MetadataFilterRuleCombinator.d.ts +10 -0
- package/{serialization/types/PromptTemplateInputVariable.js → dist/serialization/types/MetadataFilterRuleCombinator.js} +2 -4
- package/dist/serialization/types/MetadataFilterRuleRequest.d.ts +17 -0
- package/dist/serialization/types/MetadataFilterRuleRequest.js +40 -0
- package/dist/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/serialization/types/ModelVersionExecConfig.js +1 -1
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.d.ts +1 -1
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.js +1 -1
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +14 -0
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +35 -0
- package/dist/serialization/types/SearchFiltersRequest.d.ts +1 -0
- package/dist/serialization/types/SearchFiltersRequest.js +1 -0
- package/dist/serialization/types/SetDocumentMetadataErrorResponse.d.ts +12 -0
- package/dist/serialization/types/{PromptTemplateInputVariableRequest.js → SetDocumentMetadataErrorResponse.js} +3 -3
- package/dist/serialization/types/SetDocumentMetadataResponse.d.ts +12 -0
- package/dist/serialization/types/SetDocumentMetadataResponse.js +33 -0
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
- package/dist/serialization/types/index.d.ts +8 -2
- package/dist/serialization/types/index.js +8 -2
- package/package.json +1 -1
- package/serialization/resources/documents/client/index.d.ts +1 -0
- package/serialization/resources/documents/client/index.js +17 -0
- package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +14 -0
- package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +35 -0
- package/serialization/resources/documents/client/requests/index.d.ts +1 -0
- package/serialization/resources/documents/client/requests/index.js +5 -0
- package/serialization/resources/documents/index.d.ts +1 -0
- package/serialization/resources/documents/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/types/DeploymentRead.d.ts +1 -0
- package/serialization/types/DeploymentRead.js +1 -0
- package/serialization/types/InputVariable.d.ts +14 -0
- package/serialization/types/InputVariable.js +35 -0
- package/serialization/types/InputVariableType.d.ts +10 -0
- package/serialization/types/InputVariableType.js +31 -0
- package/serialization/types/MetadataFilterConfigRequest.d.ts +17 -0
- package/serialization/types/MetadataFilterConfigRequest.js +40 -0
- package/serialization/types/MetadataFilterRuleCombinator.d.ts +10 -0
- package/serialization/types/MetadataFilterRuleCombinator.js +31 -0
- package/serialization/types/MetadataFilterRuleRequest.d.ts +17 -0
- package/serialization/types/MetadataFilterRuleRequest.js +40 -0
- package/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/serialization/types/ModelVersionExecConfig.js +1 -1
- package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockProperties.js +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
- package/serialization/types/RegisterPromptPromptInfoRequest.d.ts +1 -1
- package/serialization/types/RegisterPromptPromptInfoRequest.js +1 -1
- package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +14 -0
- package/serialization/types/RegisteredPromptInputVariableRequest.js +35 -0
- package/serialization/types/SearchFiltersRequest.d.ts +1 -0
- package/serialization/types/SearchFiltersRequest.js +1 -0
- package/serialization/types/SetDocumentMetadataErrorResponse.d.ts +12 -0
- package/serialization/types/{PromptTemplateInputVariableRequest.js → SetDocumentMetadataErrorResponse.js} +3 -3
- package/serialization/types/SetDocumentMetadataResponse.d.ts +12 -0
- package/serialization/types/SetDocumentMetadataResponse.js +33 -0
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
- package/serialization/types/index.d.ts +8 -2
- package/serialization/types/index.js +8 -2
- package/api/types/PromptTemplateInputVariable.d.ts +0 -7
- package/api/types/PromptTemplateInputVariableRequest.d.ts +0 -7
- package/dist/api/types/PromptTemplateInputVariable.d.ts +0 -7
- package/dist/api/types/PromptTemplateInputVariableRequest.d.ts +0 -7
- package/dist/serialization/types/PromptTemplateInputVariable.d.ts +0 -12
- package/dist/serialization/types/PromptTemplateInputVariableRequest.d.ts +0 -12
- package/serialization/types/PromptTemplateInputVariable.d.ts +0 -12
- package/serialization/types/PromptTemplateInputVariableRequest.d.ts +0 -12
- /package/api/{types/PromptTemplateInputVariable.js → resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js} +0 -0
- /package/api/types/{PromptTemplateInputVariableRequest.js → InputVariable.js} +0 -0
- /package/{dist/api/types/PromptTemplateInputVariable.js → api/types/MetadataFilterConfigRequest.js} +0 -0
- /package/{dist/api/types/PromptTemplateInputVariableRequest.js → api/types/MetadataFilterRuleRequest.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MetadataFilterRuleRequest: core.serialization.ObjectSchema<serializers.MetadataFilterRuleRequest.Raw, Vellum.MetadataFilterRuleRequest>;
|
|
8
|
+
export declare namespace MetadataFilterRuleRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
combinator?: serializers.MetadataFilterRuleCombinator.Raw | null;
|
|
11
|
+
negated?: boolean | null;
|
|
12
|
+
rules?: serializers.MetadataFilterRuleRequest.Raw[] | null;
|
|
13
|
+
field?: string | null;
|
|
14
|
+
operator?: string | null;
|
|
15
|
+
value?: string | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.MetadataFilterRuleRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.MetadataFilterRuleRequest = core.serialization.object({
|
|
32
|
+
combinator: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).MetadataFilterRuleCombinator).optional(),
|
|
33
|
+
negated: core.serialization.boolean().optional(),
|
|
34
|
+
rules: core.serialization
|
|
35
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).MetadataFilterRuleRequest))
|
|
36
|
+
.optional(),
|
|
37
|
+
field: core.serialization.string().optional(),
|
|
38
|
+
operator: core.serialization.string().optional(),
|
|
39
|
+
value: core.serialization.string().optional(),
|
|
40
|
+
});
|
|
@@ -8,7 +8,7 @@ export declare const ModelVersionExecConfig: core.serialization.ObjectSchema<ser
|
|
|
8
8
|
export declare namespace ModelVersionExecConfig {
|
|
9
9
|
interface Raw {
|
|
10
10
|
parameters: serializers.ModelVersionExecConfigParameters.Raw;
|
|
11
|
-
input_variables: serializers.
|
|
11
|
+
input_variables: serializers.InputVariable.Raw[];
|
|
12
12
|
prompt_template?: string | null;
|
|
13
13
|
prompt_block_data?: serializers.PromptTemplateBlockData.Raw | null;
|
|
14
14
|
prompt_syntax_version?: number | null;
|
|
@@ -30,7 +30,7 @@ exports.ModelVersionExecConfig = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.ModelVersionExecConfig = core.serialization.object({
|
|
32
32
|
parameters: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelVersionExecConfigParameters),
|
|
33
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
33
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).InputVariable))),
|
|
34
34
|
promptTemplate: core.serialization.property("prompt_template", core.serialization.string().optional()),
|
|
35
35
|
promptBlockData: core.serialization.property("prompt_block_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockData).optional()),
|
|
36
36
|
promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
|
|
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockProperties {
|
|
|
14
14
|
function_name?: string | null;
|
|
15
15
|
function_description?: string | null;
|
|
16
16
|
function_parameters?: Record<string, unknown> | null;
|
|
17
|
+
function_forced?: boolean | null;
|
|
17
18
|
blocks?: serializers.PromptTemplateBlock.Raw[] | null;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockProperties = core.serialization.object({
|
|
|
36
36
|
functionName: core.serialization.property("function_name", core.serialization.string().optional()),
|
|
37
37
|
functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
|
|
38
38
|
functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
39
|
+
functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
|
|
39
40
|
blocks: core.serialization
|
|
40
41
|
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock))
|
|
41
42
|
.optional(),
|
|
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockPropertiesRequest {
|
|
|
14
14
|
function_name?: string | null;
|
|
15
15
|
function_description?: string | null;
|
|
16
16
|
function_parameters?: Record<string, unknown> | null;
|
|
17
|
+
function_forced?: boolean | null;
|
|
17
18
|
blocks?: serializers.PromptTemplateBlockRequest.Raw[] | null;
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockPropertiesRequest = core.serialization.object({
|
|
|
36
36
|
functionName: core.serialization.property("function_name", core.serialization.string().optional()),
|
|
37
37
|
functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
|
|
38
38
|
functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
39
|
+
functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
|
|
39
40
|
blocks: core.serialization
|
|
40
41
|
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockRequest))
|
|
41
42
|
.optional(),
|
|
@@ -9,6 +9,6 @@ export declare namespace RegisterPromptPromptInfoRequest {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
prompt_syntax_version?: number | null;
|
|
11
11
|
prompt_block_data: serializers.PromptTemplateBlockDataRequest.Raw;
|
|
12
|
-
input_variables: serializers.
|
|
12
|
+
input_variables: serializers.RegisteredPromptInputVariableRequest.Raw[];
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
exports.RegisterPromptPromptInfoRequest = core.serialization.object({
|
|
32
32
|
promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
|
|
33
33
|
promptBlockData: core.serialization.property("prompt_block_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockDataRequest)),
|
|
34
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisteredPromptInputVariableRequest))),
|
|
35
35
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const RegisteredPromptInputVariableRequest: core.serialization.ObjectSchema<serializers.RegisteredPromptInputVariableRequest.Raw, Vellum.RegisteredPromptInputVariableRequest>;
|
|
8
|
+
export declare namespace RegisteredPromptInputVariableRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
key: string;
|
|
11
|
+
id?: string | null;
|
|
12
|
+
type?: serializers.InputVariableType.Raw | null;
|
|
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.RegisteredPromptInputVariableRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisteredPromptInputVariableRequest = core.serialization.object({
|
|
32
|
+
key: core.serialization.string(),
|
|
33
|
+
id: core.serialization.string().optional(),
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).InputVariableType).optional(),
|
|
35
|
+
});
|
|
@@ -30,4 +30,5 @@ exports.SearchFiltersRequest = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.SearchFiltersRequest = core.serialization.object({
|
|
32
32
|
externalIds: core.serialization.property("external_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
33
|
+
metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).MetadataFilterConfigRequest).optional(),
|
|
33
34
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SetDocumentMetadataErrorResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataErrorResponse.Raw, Vellum.SetDocumentMetadataErrorResponse>;
|
|
8
|
+
export declare namespace SetDocumentMetadataErrorResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
detail: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -26,8 +26,8 @@ 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.SetDocumentMetadataErrorResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.SetDocumentMetadataErrorResponse = core.serialization.object({
|
|
32
|
+
detail: core.serialization.string(),
|
|
33
33
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SetDocumentMetadataResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataResponse.Raw, Vellum.SetDocumentMetadataResponse>;
|
|
8
|
+
export declare namespace SetDocumentMetadataResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
document_id: string;
|
|
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.SetDocumentMetadataResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SetDocumentMetadataResponse = core.serialization.object({
|
|
32
|
+
documentId: core.serialization.property("document_id", core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
|
|
8
8
|
export declare namespace WorkflowExecutionEventErrorCode {
|
|
9
|
-
type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION";
|
|
9
|
+
type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.WorkflowExecutionEventErrorCode = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION"]);
|
|
31
|
+
exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION", "NODE_EXECUTION_COUNT_LIMIT_REACHED"]);
|
|
@@ -30,7 +30,12 @@ export * from "./GenerateStreamResponse";
|
|
|
30
30
|
export * from "./GenerateStreamResult";
|
|
31
31
|
export * from "./GenerateStreamResultData";
|
|
32
32
|
export * from "./IndexingStateEnum";
|
|
33
|
+
export * from "./InputVariable";
|
|
34
|
+
export * from "./InputVariableType";
|
|
33
35
|
export * from "./LogprobsEnum";
|
|
36
|
+
export * from "./MetadataFilterConfigRequest";
|
|
37
|
+
export * from "./MetadataFilterRuleCombinator";
|
|
38
|
+
export * from "./MetadataFilterRuleRequest";
|
|
34
39
|
export * from "./ModelTypeEnum";
|
|
35
40
|
export * from "./ModelVersionBuildConfig";
|
|
36
41
|
export * from "./ModelVersionCompilePromptResponse";
|
|
@@ -53,8 +58,6 @@ export * from "./PromptTemplateBlockDataRequest";
|
|
|
53
58
|
export * from "./PromptTemplateBlockProperties";
|
|
54
59
|
export * from "./PromptTemplateBlockPropertiesRequest";
|
|
55
60
|
export * from "./PromptTemplateBlockRequest";
|
|
56
|
-
export * from "./PromptTemplateInputVariable";
|
|
57
|
-
export * from "./PromptTemplateInputVariableRequest";
|
|
58
61
|
export * from "./ProviderEnum";
|
|
59
62
|
export * from "./RegisterPromptErrorResponse";
|
|
60
63
|
export * from "./RegisterPromptModelParametersRequest";
|
|
@@ -62,6 +65,7 @@ export * from "./RegisterPromptPrompt";
|
|
|
62
65
|
export * from "./RegisterPromptPromptInfoRequest";
|
|
63
66
|
export * from "./RegisterPromptResponse";
|
|
64
67
|
export * from "./RegisteredPromptDeployment";
|
|
68
|
+
export * from "./RegisteredPromptInputVariableRequest";
|
|
65
69
|
export * from "./RegisteredPromptModelVersion";
|
|
66
70
|
export * from "./RegisteredPromptSandbox";
|
|
67
71
|
export * from "./RegisteredPromptSandboxSnapshot";
|
|
@@ -82,6 +86,8 @@ export * from "./SearchResponse";
|
|
|
82
86
|
export * from "./SearchResult";
|
|
83
87
|
export * from "./SearchResultMergingRequest";
|
|
84
88
|
export * from "./SearchWeightsRequest";
|
|
89
|
+
export * from "./SetDocumentMetadataErrorResponse";
|
|
90
|
+
export * from "./SetDocumentMetadataResponse";
|
|
85
91
|
export * from "./SlimDocument";
|
|
86
92
|
export * from "./SlimDocumentStatusEnum";
|
|
87
93
|
export * from "./SubmitCompletionActualRequest";
|
|
@@ -46,7 +46,12 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
46
46
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
47
47
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
48
48
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
49
|
+
__exportStar(require("./InputVariable"), exports);
|
|
50
|
+
__exportStar(require("./InputVariableType"), exports);
|
|
49
51
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
|
+
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
|
+
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
54
|
+
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
50
55
|
__exportStar(require("./ModelTypeEnum"), exports);
|
|
51
56
|
__exportStar(require("./ModelVersionBuildConfig"), exports);
|
|
52
57
|
__exportStar(require("./ModelVersionCompilePromptResponse"), exports);
|
|
@@ -69,8 +74,6 @@ __exportStar(require("./PromptTemplateBlockDataRequest"), exports);
|
|
|
69
74
|
__exportStar(require("./PromptTemplateBlockProperties"), exports);
|
|
70
75
|
__exportStar(require("./PromptTemplateBlockPropertiesRequest"), exports);
|
|
71
76
|
__exportStar(require("./PromptTemplateBlockRequest"), exports);
|
|
72
|
-
__exportStar(require("./PromptTemplateInputVariable"), exports);
|
|
73
|
-
__exportStar(require("./PromptTemplateInputVariableRequest"), exports);
|
|
74
77
|
__exportStar(require("./ProviderEnum"), exports);
|
|
75
78
|
__exportStar(require("./RegisterPromptErrorResponse"), exports);
|
|
76
79
|
__exportStar(require("./RegisterPromptModelParametersRequest"), exports);
|
|
@@ -78,6 +81,7 @@ __exportStar(require("./RegisterPromptPrompt"), exports);
|
|
|
78
81
|
__exportStar(require("./RegisterPromptPromptInfoRequest"), exports);
|
|
79
82
|
__exportStar(require("./RegisterPromptResponse"), exports);
|
|
80
83
|
__exportStar(require("./RegisteredPromptDeployment"), exports);
|
|
84
|
+
__exportStar(require("./RegisteredPromptInputVariableRequest"), exports);
|
|
81
85
|
__exportStar(require("./RegisteredPromptModelVersion"), exports);
|
|
82
86
|
__exportStar(require("./RegisteredPromptSandbox"), exports);
|
|
83
87
|
__exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
@@ -98,6 +102,8 @@ __exportStar(require("./SearchResponse"), exports);
|
|
|
98
102
|
__exportStar(require("./SearchResult"), exports);
|
|
99
103
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
100
104
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
105
|
+
__exportStar(require("./SetDocumentMetadataErrorResponse"), exports);
|
|
106
|
+
__exportStar(require("./SetDocumentMetadataResponse"), exports);
|
|
101
107
|
__exportStar(require("./SlimDocument"), exports);
|
|
102
108
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
103
109
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const PromptTemplateInputVariable: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariable.Raw, Vellum.PromptTemplateInputVariable>;
|
|
8
|
-
export declare namespace PromptTemplateInputVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
key: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const PromptTemplateInputVariableRequest: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariableRequest.Raw, Vellum.PromptTemplateInputVariableRequest>;
|
|
8
|
-
export declare namespace PromptTemplateInputVariableRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
key: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const PromptTemplateInputVariable: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariable.Raw, Vellum.PromptTemplateInputVariable>;
|
|
8
|
-
export declare namespace PromptTemplateInputVariable {
|
|
9
|
-
interface Raw {
|
|
10
|
-
key: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const PromptTemplateInputVariableRequest: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariableRequest.Raw, Vellum.PromptTemplateInputVariableRequest>;
|
|
8
|
-
export declare namespace PromptTemplateInputVariableRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
key: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
File without changes
|
|
File without changes
|
/package/{dist/api/types/PromptTemplateInputVariable.js → api/types/MetadataFilterConfigRequest.js}
RENAMED
|
File without changes
|
|
File without changes
|