vellum-ai 0.0.36 → 0.0.37
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/api/types/DeploymentRead.d.ts +1 -1
- package/api/types/ModelVersionExecConfig.d.ts +1 -1
- package/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/api/types/{InputVariable.d.ts → VellumVariable.d.ts} +2 -2
- package/{dist/api/types/InputVariableType.d.ts → api/types/VellumVariableType.d.ts} +5 -5
- package/{dist/api/types/InputVariableType.js → api/types/VellumVariableType.js} +2 -2
- package/api/types/index.d.ts +2 -2
- package/api/types/index.js +2 -2
- package/dist/api/types/DeploymentRead.d.ts +1 -1
- package/dist/api/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/dist/api/types/{InputVariable.d.ts → VellumVariable.d.ts} +2 -2
- package/{api/types/InputVariableType.d.ts → dist/api/types/VellumVariableType.d.ts} +5 -5
- package/{api/types/InputVariableType.js → dist/api/types/VellumVariableType.js} +2 -2
- package/dist/api/types/index.d.ts +2 -2
- package/dist/api/types/index.js +2 -2
- package/dist/serialization/types/DeploymentRead.d.ts +1 -1
- package/dist/serialization/types/DeploymentRead.js +1 -1
- package/dist/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/serialization/types/ModelVersionExecConfig.js +1 -1
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
- package/dist/serialization/types/{InputVariable.d.ts → VellumVariable.d.ts} +3 -3
- package/dist/serialization/types/{InputVariable.js → VellumVariable.js} +3 -3
- package/dist/serialization/types/{InputVariableType.d.ts → VellumVariableType.d.ts} +2 -2
- package/dist/serialization/types/{InputVariableType.js → VellumVariableType.js} +2 -2
- package/dist/serialization/types/index.d.ts +2 -2
- package/dist/serialization/types/index.js +2 -2
- package/package.json +1 -1
- package/serialization/types/DeploymentRead.d.ts +1 -1
- package/serialization/types/DeploymentRead.js +1 -1
- package/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/serialization/types/ModelVersionExecConfig.js +1 -1
- package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
- package/serialization/types/{InputVariable.d.ts → VellumVariable.d.ts} +3 -3
- package/serialization/types/{InputVariable.js → VellumVariable.js} +3 -3
- package/serialization/types/{InputVariableType.d.ts → VellumVariableType.d.ts} +2 -2
- package/serialization/types/{InputVariableType.js → VellumVariableType.js} +2 -2
- package/serialization/types/index.d.ts +2 -2
- package/serialization/types/index.js +2 -2
- /package/api/types/{InputVariable.js → VellumVariable.js} +0 -0
- /package/dist/api/types/{InputVariable.js → VellumVariable.js} +0 -0
|
@@ -6,7 +6,7 @@ export interface ModelVersionExecConfig {
|
|
|
6
6
|
/** The generation parameters that are passed to the LLM provider at runtime. */
|
|
7
7
|
parameters: Vellum.ModelVersionExecConfigParameters;
|
|
8
8
|
/** Input variables specified in the prompt template. */
|
|
9
|
-
inputVariables: Vellum.
|
|
9
|
+
inputVariables: Vellum.VellumVariable[];
|
|
10
10
|
/** The template used to generate prompts for this model version. */
|
|
11
11
|
promptTemplate?: string;
|
|
12
12
|
promptBlockData?: Vellum.PromptTemplateBlockData;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
-
export interface
|
|
5
|
+
export interface VellumVariable {
|
|
6
6
|
id: string;
|
|
7
7
|
key: string;
|
|
8
|
-
type: Vellum.
|
|
8
|
+
type: Vellum.VellumVariableType;
|
|
9
9
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* * `STRING` -
|
|
5
|
+
* * `STRING` - String
|
|
6
6
|
* * `JSON` - JSON
|
|
7
|
-
* * `CHAT_HISTORY` -
|
|
8
|
-
* * `SEARCH_RESULTS` -
|
|
7
|
+
* * `CHAT_HISTORY` - Chat History
|
|
8
|
+
* * `SEARCH_RESULTS` - Search Results
|
|
9
9
|
*/
|
|
10
|
-
export declare type
|
|
11
|
-
export declare const
|
|
10
|
+
export declare type VellumVariableType = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
11
|
+
export declare const VellumVariableType: {
|
|
12
12
|
readonly String: "STRING";
|
|
13
13
|
readonly Json: "JSON";
|
|
14
14
|
readonly ChatHistory: "CHAT_HISTORY";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.VellumVariableType = void 0;
|
|
7
|
+
exports.VellumVariableType = {
|
|
8
8
|
String: "STRING",
|
|
9
9
|
Json: "JSON",
|
|
10
10
|
ChatHistory: "CHAT_HISTORY",
|
package/api/types/index.d.ts
CHANGED
|
@@ -30,8 +30,6 @@ 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";
|
|
35
33
|
export * from "./LogprobsEnum";
|
|
36
34
|
export * from "./MetadataFilterConfigRequest";
|
|
37
35
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
package/api/types/index.js
CHANGED
|
@@ -46,8 +46,6 @@ __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);
|
|
51
49
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
50
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
51
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
@@ -6,7 +6,7 @@ export interface ModelVersionExecConfig {
|
|
|
6
6
|
/** The generation parameters that are passed to the LLM provider at runtime. */
|
|
7
7
|
parameters: Vellum.ModelVersionExecConfigParameters;
|
|
8
8
|
/** Input variables specified in the prompt template. */
|
|
9
|
-
inputVariables: Vellum.
|
|
9
|
+
inputVariables: Vellum.VellumVariable[];
|
|
10
10
|
/** The template used to generate prompts for this model version. */
|
|
11
11
|
promptTemplate?: string;
|
|
12
12
|
promptBlockData?: Vellum.PromptTemplateBlockData;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
-
export interface
|
|
5
|
+
export interface VellumVariable {
|
|
6
6
|
id: string;
|
|
7
7
|
key: string;
|
|
8
|
-
type: Vellum.
|
|
8
|
+
type: Vellum.VellumVariableType;
|
|
9
9
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* * `STRING` -
|
|
5
|
+
* * `STRING` - String
|
|
6
6
|
* * `JSON` - JSON
|
|
7
|
-
* * `CHAT_HISTORY` -
|
|
8
|
-
* * `SEARCH_RESULTS` -
|
|
7
|
+
* * `CHAT_HISTORY` - Chat History
|
|
8
|
+
* * `SEARCH_RESULTS` - Search Results
|
|
9
9
|
*/
|
|
10
|
-
export declare type
|
|
11
|
-
export declare const
|
|
10
|
+
export declare type VellumVariableType = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
11
|
+
export declare const VellumVariableType: {
|
|
12
12
|
readonly String: "STRING";
|
|
13
13
|
readonly Json: "JSON";
|
|
14
14
|
readonly ChatHistory: "CHAT_HISTORY";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.VellumVariableType = void 0;
|
|
7
|
+
exports.VellumVariableType = {
|
|
8
8
|
String: "STRING",
|
|
9
9
|
Json: "JSON",
|
|
10
10
|
ChatHistory: "CHAT_HISTORY",
|
|
@@ -30,8 +30,6 @@ 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";
|
|
35
33
|
export * from "./LogprobsEnum";
|
|
36
34
|
export * from "./MetadataFilterConfigRequest";
|
|
37
35
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
package/dist/api/types/index.js
CHANGED
|
@@ -46,8 +46,6 @@ __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);
|
|
51
49
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
50
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
51
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
@@ -16,6 +16,6 @@ export declare namespace DeploymentRead {
|
|
|
16
16
|
model_type: serializers.ModelTypeDeprecated.Raw;
|
|
17
17
|
active_model_version_ids: string[];
|
|
18
18
|
last_deployed_on: string;
|
|
19
|
-
input_variables: serializers.
|
|
19
|
+
input_variables: serializers.VellumVariable.Raw[];
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -38,5 +38,5 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
38
38
|
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelTypeDeprecated)),
|
|
39
39
|
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string())),
|
|
40
40
|
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.string()),
|
|
41
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
41
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariable))),
|
|
42
42
|
});
|
|
@@ -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.VellumVariable.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("..")))).VellumVariable))),
|
|
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()),
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
exports.RegisteredPromptInputVariableRequest = core.serialization.object({
|
|
32
32
|
key: core.serialization.string(),
|
|
33
33
|
id: core.serialization.string().optional(),
|
|
34
|
-
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType).optional(),
|
|
35
35
|
});
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const VellumVariable: core.serialization.ObjectSchema<serializers.VellumVariable.Raw, Vellum.VellumVariable>;
|
|
8
|
+
export declare namespace VellumVariable {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
11
|
key: string;
|
|
12
|
-
type: serializers.
|
|
12
|
+
type: serializers.VellumVariableType.Raw;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -26,10 +26,10 @@ 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.VellumVariable = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariable = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
key: core.serialization.string(),
|
|
34
|
-
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType),
|
|
35
35
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
|
+
export declare namespace VellumVariableType {
|
|
9
9
|
type Raw = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ 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.VellumVariableType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariableType = core.serialization.enum_(["STRING", "JSON", "CHAT_HISTORY", "SEARCH_RESULTS"]);
|
|
@@ -30,8 +30,6 @@ 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";
|
|
35
33
|
export * from "./LogprobsEnum";
|
|
36
34
|
export * from "./MetadataFilterConfigRequest";
|
|
37
35
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
|
@@ -46,8 +46,6 @@ __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);
|
|
51
49
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
50
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
51
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
package/package.json
CHANGED
|
@@ -16,6 +16,6 @@ export declare namespace DeploymentRead {
|
|
|
16
16
|
model_type: serializers.ModelTypeDeprecated.Raw;
|
|
17
17
|
active_model_version_ids: string[];
|
|
18
18
|
last_deployed_on: string;
|
|
19
|
-
input_variables: serializers.
|
|
19
|
+
input_variables: serializers.VellumVariable.Raw[];
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -38,5 +38,5 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
38
38
|
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelTypeDeprecated)),
|
|
39
39
|
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string())),
|
|
40
40
|
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.string()),
|
|
41
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
41
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariable))),
|
|
42
42
|
});
|
|
@@ -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.VellumVariable.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("..")))).VellumVariable))),
|
|
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()),
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
exports.RegisteredPromptInputVariableRequest = core.serialization.object({
|
|
32
32
|
key: core.serialization.string(),
|
|
33
33
|
id: core.serialization.string().optional(),
|
|
34
|
-
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType).optional(),
|
|
35
35
|
});
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const VellumVariable: core.serialization.ObjectSchema<serializers.VellumVariable.Raw, Vellum.VellumVariable>;
|
|
8
|
+
export declare namespace VellumVariable {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
11
|
key: string;
|
|
12
|
-
type: serializers.
|
|
12
|
+
type: serializers.VellumVariableType.Raw;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -26,10 +26,10 @@ 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.VellumVariable = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariable = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
key: core.serialization.string(),
|
|
34
|
-
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType),
|
|
35
35
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
|
+
export declare namespace VellumVariableType {
|
|
9
9
|
type Raw = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ 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.VellumVariableType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariableType = core.serialization.enum_(["STRING", "JSON", "CHAT_HISTORY", "SEARCH_RESULTS"]);
|
|
@@ -30,8 +30,6 @@ 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";
|
|
35
33
|
export * from "./LogprobsEnum";
|
|
36
34
|
export * from "./MetadataFilterConfigRequest";
|
|
37
35
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
|
@@ -46,8 +46,6 @@ __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);
|
|
51
49
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
50
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
51
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
File without changes
|
|
File without changes
|