vellum-ai 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +0 -3
- package/Client.js +17 -22
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +1 -2
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +3 -3
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/index.d.ts +0 -20
- package/api/types/index.js +0 -20
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +17 -22
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +1 -2
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/index.d.ts +0 -20
- package/dist/api/types/index.js +0 -20
- package/dist/serialization/types/index.d.ts +0 -20
- package/dist/serialization/types/index.js +0 -20
- package/package.json +1 -1
- package/serialization/types/index.d.ts +0 -20
- package/serialization/types/index.js +0 -20
- package/api/resources/modelVersions/client/Client.d.ts +0 -30
- package/api/resources/modelVersions/client/Client.js +0 -105
- package/api/resources/modelVersions/client/index.d.ts +0 -1
- package/api/resources/modelVersions/client/index.js +0 -2
- package/api/resources/modelVersions/index.d.ts +0 -1
- package/api/resources/modelVersions/index.js +0 -17
- package/api/types/ChatHistoryPromptTemplateBlock.d.ts +0 -12
- package/api/types/ChatHistoryPromptTemplateBlock.js +0 -5
- package/api/types/ChatMessageEnum.d.ts +0 -4
- package/api/types/ChatMessageEnum.js +0 -5
- package/api/types/ChatMessagePromptTemplateBlock.d.ts +0 -12
- package/api/types/ChatMessagePromptTemplateBlock.js +0 -5
- package/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -13
- package/api/types/ChatMessagePromptTemplateBlockProperties.js +0 -5
- package/api/types/FunctionDefinitionEnum.d.ts +0 -4
- package/api/types/FunctionDefinitionEnum.js +0 -5
- package/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -12
- package/api/types/FunctionDefinitionPromptTemplateBlock.js +0 -5
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -13
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -5
- package/api/types/JinjaEnum.d.ts +0 -4
- package/api/types/JinjaEnum.js +0 -5
- package/api/types/JinjaPromptTemplateBlock.d.ts +0 -12
- package/api/types/JinjaPromptTemplateBlock.js +0 -5
- package/api/types/JinjaPromptTemplateBlockProperties.d.ts +0 -8
- package/api/types/JinjaPromptTemplateBlockProperties.js +0 -5
- package/api/types/ModelVersionBuildConfig.d.ts +0 -11
- package/api/types/ModelVersionBuildConfig.js +0 -5
- package/api/types/ModelVersionExecConfig.d.ts +0 -14
- package/api/types/ModelVersionExecConfig.js +0 -5
- package/api/types/ModelVersionExecConfigParameters.d.ts +0 -14
- package/api/types/ModelVersionExecConfigParameters.js +0 -5
- package/api/types/ModelVersionRead.d.ts +0 -37
- package/api/types/ModelVersionRead.js +0 -5
- package/api/types/ModelVersionReadStatusEnum.d.ts +0 -16
- package/api/types/ModelVersionReadStatusEnum.js +0 -12
- package/api/types/ModelVersionSandboxSnapshot.d.ts +0 -12
- package/api/types/ModelVersionSandboxSnapshot.js +0 -5
- package/api/types/PromptTemplateBlock.d.ts +0 -19
- package/api/types/PromptTemplateBlock.js +0 -5
- package/api/types/PromptTemplateBlockData.d.ts +0 -8
- package/api/types/PromptTemplateBlockData.js +0 -5
- package/api/types/PromptTemplateBlockState.d.ts +0 -12
- package/api/types/PromptTemplateBlockState.js +0 -10
- package/api/types/ProviderEnum.d.ts +0 -34
- package/api/types/ProviderEnum.js +0 -21
- package/dist/api/resources/modelVersions/client/Client.d.ts +0 -30
- package/dist/api/resources/modelVersions/client/Client.js +0 -105
- package/dist/api/resources/modelVersions/client/index.d.ts +0 -1
- package/dist/api/resources/modelVersions/client/index.js +0 -2
- package/dist/api/resources/modelVersions/index.d.ts +0 -1
- package/dist/api/resources/modelVersions/index.js +0 -17
- package/dist/api/types/ChatHistoryPromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/ChatHistoryPromptTemplateBlock.js +0 -5
- package/dist/api/types/ChatMessageEnum.d.ts +0 -4
- package/dist/api/types/ChatMessageEnum.js +0 -5
- package/dist/api/types/ChatMessagePromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/ChatMessagePromptTemplateBlock.js +0 -5
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -13
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.js +0 -5
- package/dist/api/types/FunctionDefinitionEnum.d.ts +0 -4
- package/dist/api/types/FunctionDefinitionEnum.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -13
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -5
- package/dist/api/types/JinjaEnum.d.ts +0 -4
- package/dist/api/types/JinjaEnum.js +0 -5
- package/dist/api/types/JinjaPromptTemplateBlock.d.ts +0 -12
- package/dist/api/types/JinjaPromptTemplateBlock.js +0 -5
- package/dist/api/types/JinjaPromptTemplateBlockProperties.d.ts +0 -8
- package/dist/api/types/JinjaPromptTemplateBlockProperties.js +0 -5
- package/dist/api/types/ModelVersionBuildConfig.d.ts +0 -11
- package/dist/api/types/ModelVersionBuildConfig.js +0 -5
- package/dist/api/types/ModelVersionExecConfig.d.ts +0 -14
- package/dist/api/types/ModelVersionExecConfig.js +0 -5
- package/dist/api/types/ModelVersionExecConfigParameters.d.ts +0 -14
- package/dist/api/types/ModelVersionExecConfigParameters.js +0 -5
- package/dist/api/types/ModelVersionRead.d.ts +0 -37
- package/dist/api/types/ModelVersionRead.js +0 -5
- package/dist/api/types/ModelVersionReadStatusEnum.d.ts +0 -16
- package/dist/api/types/ModelVersionReadStatusEnum.js +0 -12
- package/dist/api/types/ModelVersionSandboxSnapshot.d.ts +0 -12
- package/dist/api/types/ModelVersionSandboxSnapshot.js +0 -5
- package/dist/api/types/PromptTemplateBlock.d.ts +0 -19
- package/dist/api/types/PromptTemplateBlock.js +0 -5
- package/dist/api/types/PromptTemplateBlockData.d.ts +0 -8
- package/dist/api/types/PromptTemplateBlockData.js +0 -5
- package/dist/api/types/PromptTemplateBlockState.d.ts +0 -12
- package/dist/api/types/PromptTemplateBlockState.js +0 -10
- package/dist/api/types/ProviderEnum.d.ts +0 -34
- package/dist/api/types/ProviderEnum.js +0 -21
- package/dist/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +0 -15
- package/dist/serialization/types/ChatHistoryPromptTemplateBlock.js +0 -36
- package/dist/serialization/types/ChatMessageEnum.d.ts +0 -10
- package/dist/serialization/types/ChatMessageEnum.js +0 -31
- package/dist/serialization/types/ChatMessagePromptTemplateBlock.d.ts +0 -15
- package/dist/serialization/types/ChatMessagePromptTemplateBlock.js +0 -45
- package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -16
- package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.js +0 -46
- package/dist/serialization/types/FunctionDefinitionEnum.d.ts +0 -10
- package/dist/serialization/types/FunctionDefinitionEnum.js +0 -31
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -16
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.js +0 -37
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -15
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -36
- package/dist/serialization/types/JinjaEnum.d.ts +0 -10
- package/dist/serialization/types/JinjaEnum.js +0 -31
- package/dist/serialization/types/JinjaPromptTemplateBlock.d.ts +0 -16
- package/dist/serialization/types/JinjaPromptTemplateBlock.js +0 -37
- package/dist/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +0 -14
- package/dist/serialization/types/JinjaPromptTemplateBlockProperties.js +0 -35
- package/dist/serialization/types/ModelVersionBuildConfig.d.ts +0 -15
- package/dist/serialization/types/ModelVersionBuildConfig.js +0 -36
- package/dist/serialization/types/ModelVersionExecConfig.d.ts +0 -19
- package/dist/serialization/types/ModelVersionExecConfig.js +0 -40
- package/dist/serialization/types/ModelVersionExecConfigParameters.d.ts +0 -20
- package/dist/serialization/types/ModelVersionExecConfigParameters.js +0 -41
- package/dist/serialization/types/ModelVersionRead.d.ts +0 -23
- package/dist/serialization/types/ModelVersionRead.js +0 -44
- package/dist/serialization/types/ModelVersionReadStatusEnum.d.ts +0 -10
- package/dist/serialization/types/ModelVersionReadStatusEnum.js +0 -31
- package/dist/serialization/types/ModelVersionSandboxSnapshot.d.ts +0 -15
- package/dist/serialization/types/ModelVersionSandboxSnapshot.js +0 -36
- package/dist/serialization/types/PromptTemplateBlock.d.ts +0 -25
- package/dist/serialization/types/PromptTemplateBlock.js +0 -53
- package/dist/serialization/types/PromptTemplateBlockData.d.ts +0 -13
- package/dist/serialization/types/PromptTemplateBlockData.js +0 -43
- package/dist/serialization/types/PromptTemplateBlockState.d.ts +0 -10
- package/dist/serialization/types/PromptTemplateBlockState.js +0 -31
- package/dist/serialization/types/ProviderEnum.d.ts +0 -10
- package/dist/serialization/types/ProviderEnum.js +0 -45
- package/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +0 -15
- package/serialization/types/ChatHistoryPromptTemplateBlock.js +0 -36
- package/serialization/types/ChatMessageEnum.d.ts +0 -10
- package/serialization/types/ChatMessageEnum.js +0 -31
- package/serialization/types/ChatMessagePromptTemplateBlock.d.ts +0 -15
- package/serialization/types/ChatMessagePromptTemplateBlock.js +0 -45
- package/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +0 -16
- package/serialization/types/ChatMessagePromptTemplateBlockProperties.js +0 -46
- package/serialization/types/FunctionDefinitionEnum.d.ts +0 -10
- package/serialization/types/FunctionDefinitionEnum.js +0 -31
- package/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +0 -16
- package/serialization/types/FunctionDefinitionPromptTemplateBlock.js +0 -37
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +0 -15
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +0 -36
- package/serialization/types/JinjaEnum.d.ts +0 -10
- package/serialization/types/JinjaEnum.js +0 -31
- package/serialization/types/JinjaPromptTemplateBlock.d.ts +0 -16
- package/serialization/types/JinjaPromptTemplateBlock.js +0 -37
- package/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +0 -14
- package/serialization/types/JinjaPromptTemplateBlockProperties.js +0 -35
- package/serialization/types/ModelVersionBuildConfig.d.ts +0 -15
- package/serialization/types/ModelVersionBuildConfig.js +0 -36
- package/serialization/types/ModelVersionExecConfig.d.ts +0 -19
- package/serialization/types/ModelVersionExecConfig.js +0 -40
- package/serialization/types/ModelVersionExecConfigParameters.d.ts +0 -20
- package/serialization/types/ModelVersionExecConfigParameters.js +0 -41
- package/serialization/types/ModelVersionRead.d.ts +0 -23
- package/serialization/types/ModelVersionRead.js +0 -44
- package/serialization/types/ModelVersionReadStatusEnum.d.ts +0 -10
- package/serialization/types/ModelVersionReadStatusEnum.js +0 -31
- package/serialization/types/ModelVersionSandboxSnapshot.d.ts +0 -15
- package/serialization/types/ModelVersionSandboxSnapshot.js +0 -36
- package/serialization/types/PromptTemplateBlock.d.ts +0 -25
- package/serialization/types/PromptTemplateBlock.js +0 -53
- package/serialization/types/PromptTemplateBlockData.d.ts +0 -13
- package/serialization/types/PromptTemplateBlockData.js +0 -43
- package/serialization/types/PromptTemplateBlockState.d.ts +0 -10
- package/serialization/types/PromptTemplateBlockState.js +0 -31
- package/serialization/types/ProviderEnum.d.ts +0 -10
- package/serialization/types/ProviderEnum.js +0 -45
|
@@ -1,45 +0,0 @@
|
|
|
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.ProviderEnum = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.ProviderEnum = core.serialization.enum_([
|
|
32
|
-
"ANTHROPIC",
|
|
33
|
-
"AWS_BEDROCK",
|
|
34
|
-
"AZURE_OPENAI",
|
|
35
|
-
"COHERE",
|
|
36
|
-
"GOOGLE",
|
|
37
|
-
"HOSTED",
|
|
38
|
-
"MOSAICML",
|
|
39
|
-
"OPENAI",
|
|
40
|
-
"FIREWORKS_AI",
|
|
41
|
-
"HUGGINGFACE",
|
|
42
|
-
"MYSTIC",
|
|
43
|
-
"PYQ",
|
|
44
|
-
"REPLICATE",
|
|
45
|
-
]);
|
|
@@ -1,15 +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
|
-
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
8
|
-
export declare const ChatHistoryPromptTemplateBlock: core.serialization.ObjectSchema<serializers.ChatHistoryPromptTemplateBlock.Raw, Vellum.ChatHistoryPromptTemplateBlock>;
|
|
9
|
-
export declare namespace ChatHistoryPromptTemplateBlock {
|
|
10
|
-
interface Raw {
|
|
11
|
-
properties: Record<string, unknown>;
|
|
12
|
-
id: string;
|
|
13
|
-
state?: PromptTemplateBlockState.Raw | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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.ChatHistoryPromptTemplateBlock = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
|
|
32
|
-
exports.ChatHistoryPromptTemplateBlock = core.serialization.object({
|
|
33
|
-
properties: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
34
|
-
id: core.serialization.string(),
|
|
35
|
-
state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
|
|
36
|
-
});
|
|
@@ -1,10 +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 ChatMessageEnum: core.serialization.Schema<serializers.ChatMessageEnum.Raw, Vellum.ChatMessageEnum>;
|
|
8
|
-
export declare namespace ChatMessageEnum {
|
|
9
|
-
type Raw = "CHAT_MESSAGE";
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.ChatMessageEnum = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.ChatMessageEnum = core.serialization.stringLiteral("CHAT_MESSAGE");
|
|
@@ -1,15 +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
|
-
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
8
|
-
export declare const ChatMessagePromptTemplateBlock: core.serialization.ObjectSchema<serializers.ChatMessagePromptTemplateBlock.Raw, Vellum.ChatMessagePromptTemplateBlock>;
|
|
9
|
-
export declare namespace ChatMessagePromptTemplateBlock {
|
|
10
|
-
interface Raw {
|
|
11
|
-
properties: serializers.ChatMessagePromptTemplateBlockProperties.Raw;
|
|
12
|
-
id: string;
|
|
13
|
-
state?: PromptTemplateBlockState.Raw | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.ChatMessagePromptTemplateBlock = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
|
|
41
|
-
exports.ChatMessagePromptTemplateBlock = core.serialization.object({
|
|
42
|
-
properties: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessagePromptTemplateBlockProperties; })),
|
|
43
|
-
id: core.serialization.string(),
|
|
44
|
-
state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
|
|
45
|
-
});
|
|
@@ -1,16 +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
|
-
import { ChatMessageRole } from "./ChatMessageRole";
|
|
8
|
-
export declare const ChatMessagePromptTemplateBlockProperties: core.serialization.ObjectSchema<serializers.ChatMessagePromptTemplateBlockProperties.Raw, Vellum.ChatMessagePromptTemplateBlockProperties>;
|
|
9
|
-
export declare namespace ChatMessagePromptTemplateBlockProperties {
|
|
10
|
-
interface Raw {
|
|
11
|
-
blocks: serializers.PromptTemplateBlock.Raw[];
|
|
12
|
-
chat_role?: ChatMessageRole.Raw | null;
|
|
13
|
-
chat_source?: string | null;
|
|
14
|
-
chat_message_unterminated?: boolean | null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.ChatMessagePromptTemplateBlockProperties = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
const ChatMessageRole_1 = require("./ChatMessageRole");
|
|
41
|
-
exports.ChatMessagePromptTemplateBlockProperties = core.serialization.object({
|
|
42
|
-
blocks: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock; }))),
|
|
43
|
-
chatRole: core.serialization.property("chat_role", ChatMessageRole_1.ChatMessageRole.optional()),
|
|
44
|
-
chatSource: core.serialization.property("chat_source", core.serialization.string().optional()),
|
|
45
|
-
chatMessageUnterminated: core.serialization.property("chat_message_unterminated", core.serialization.boolean().optional()),
|
|
46
|
-
});
|
|
@@ -1,10 +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 FunctionDefinitionEnum: core.serialization.Schema<serializers.FunctionDefinitionEnum.Raw, Vellum.FunctionDefinitionEnum>;
|
|
8
|
-
export declare namespace FunctionDefinitionEnum {
|
|
9
|
-
type Raw = "FUNCTION_DEFINITION";
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.FunctionDefinitionEnum = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.FunctionDefinitionEnum = core.serialization.stringLiteral("FUNCTION_DEFINITION");
|
|
@@ -1,16 +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
|
-
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
8
|
-
import { FunctionDefinitionPromptTemplateBlockProperties } from "./FunctionDefinitionPromptTemplateBlockProperties";
|
|
9
|
-
export declare const FunctionDefinitionPromptTemplateBlock: core.serialization.ObjectSchema<serializers.FunctionDefinitionPromptTemplateBlock.Raw, Vellum.FunctionDefinitionPromptTemplateBlock>;
|
|
10
|
-
export declare namespace FunctionDefinitionPromptTemplateBlock {
|
|
11
|
-
interface Raw {
|
|
12
|
-
id: string;
|
|
13
|
-
state?: PromptTemplateBlockState.Raw | null;
|
|
14
|
-
properties: FunctionDefinitionPromptTemplateBlockProperties.Raw;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
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.FunctionDefinitionPromptTemplateBlock = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
|
|
32
|
-
const FunctionDefinitionPromptTemplateBlockProperties_1 = require("./FunctionDefinitionPromptTemplateBlockProperties");
|
|
33
|
-
exports.FunctionDefinitionPromptTemplateBlock = core.serialization.object({
|
|
34
|
-
id: core.serialization.string(),
|
|
35
|
-
state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
|
|
36
|
-
properties: FunctionDefinitionPromptTemplateBlockProperties_1.FunctionDefinitionPromptTemplateBlockProperties,
|
|
37
|
-
});
|
|
@@ -1,15 +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 FunctionDefinitionPromptTemplateBlockProperties: core.serialization.ObjectSchema<serializers.FunctionDefinitionPromptTemplateBlockProperties.Raw, Vellum.FunctionDefinitionPromptTemplateBlockProperties>;
|
|
8
|
-
export declare namespace FunctionDefinitionPromptTemplateBlockProperties {
|
|
9
|
-
interface Raw {
|
|
10
|
-
function_name?: string | null;
|
|
11
|
-
function_description?: string | null;
|
|
12
|
-
function_parameters?: Record<string, unknown> | null;
|
|
13
|
-
function_forced?: boolean | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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.FunctionDefinitionPromptTemplateBlockProperties = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.FunctionDefinitionPromptTemplateBlockProperties = core.serialization.object({
|
|
32
|
-
functionName: core.serialization.property("function_name", core.serialization.string().optional()),
|
|
33
|
-
functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
|
|
34
|
-
functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
35
|
-
functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
|
|
36
|
-
});
|
|
@@ -1,10 +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 JinjaEnum: core.serialization.Schema<serializers.JinjaEnum.Raw, Vellum.JinjaEnum>;
|
|
8
|
-
export declare namespace JinjaEnum {
|
|
9
|
-
type Raw = "JINJA";
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.JinjaEnum = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.JinjaEnum = core.serialization.stringLiteral("JINJA");
|
|
@@ -1,16 +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
|
-
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
8
|
-
import { JinjaPromptTemplateBlockProperties } from "./JinjaPromptTemplateBlockProperties";
|
|
9
|
-
export declare const JinjaPromptTemplateBlock: core.serialization.ObjectSchema<serializers.JinjaPromptTemplateBlock.Raw, Vellum.JinjaPromptTemplateBlock>;
|
|
10
|
-
export declare namespace JinjaPromptTemplateBlock {
|
|
11
|
-
interface Raw {
|
|
12
|
-
id: string;
|
|
13
|
-
state?: PromptTemplateBlockState.Raw | null;
|
|
14
|
-
properties: JinjaPromptTemplateBlockProperties.Raw;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
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.JinjaPromptTemplateBlock = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const PromptTemplateBlockState_1 = require("./PromptTemplateBlockState");
|
|
32
|
-
const JinjaPromptTemplateBlockProperties_1 = require("./JinjaPromptTemplateBlockProperties");
|
|
33
|
-
exports.JinjaPromptTemplateBlock = core.serialization.object({
|
|
34
|
-
id: core.serialization.string(),
|
|
35
|
-
state: PromptTemplateBlockState_1.PromptTemplateBlockState.optional(),
|
|
36
|
-
properties: JinjaPromptTemplateBlockProperties_1.JinjaPromptTemplateBlockProperties,
|
|
37
|
-
});
|
|
@@ -1,14 +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
|
-
import { VellumVariableType } from "./VellumVariableType";
|
|
8
|
-
export declare const JinjaPromptTemplateBlockProperties: core.serialization.ObjectSchema<serializers.JinjaPromptTemplateBlockProperties.Raw, Vellum.JinjaPromptTemplateBlockProperties>;
|
|
9
|
-
export declare namespace JinjaPromptTemplateBlockProperties {
|
|
10
|
-
interface Raw {
|
|
11
|
-
template?: string | null;
|
|
12
|
-
template_type?: VellumVariableType.Raw | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.JinjaPromptTemplateBlockProperties = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const VellumVariableType_1 = require("./VellumVariableType");
|
|
32
|
-
exports.JinjaPromptTemplateBlockProperties = core.serialization.object({
|
|
33
|
-
template: core.serialization.string().optional(),
|
|
34
|
-
templateType: core.serialization.property("template_type", VellumVariableType_1.VellumVariableType.optional()),
|
|
35
|
-
});
|
|
@@ -1,15 +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
|
-
import { ModelVersionSandboxSnapshot } from "./ModelVersionSandboxSnapshot";
|
|
8
|
-
export declare const ModelVersionBuildConfig: core.serialization.ObjectSchema<serializers.ModelVersionBuildConfig.Raw, Vellum.ModelVersionBuildConfig>;
|
|
9
|
-
export declare namespace ModelVersionBuildConfig {
|
|
10
|
-
interface Raw {
|
|
11
|
-
base_model: string;
|
|
12
|
-
sandbox_snapshot?: ModelVersionSandboxSnapshot.Raw | null;
|
|
13
|
-
prompt_version_id?: string | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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.ModelVersionBuildConfig = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const ModelVersionSandboxSnapshot_1 = require("./ModelVersionSandboxSnapshot");
|
|
32
|
-
exports.ModelVersionBuildConfig = core.serialization.object({
|
|
33
|
-
baseModel: core.serialization.property("base_model", core.serialization.string()),
|
|
34
|
-
sandboxSnapshot: core.serialization.property("sandbox_snapshot", ModelVersionSandboxSnapshot_1.ModelVersionSandboxSnapshot.optional()),
|
|
35
|
-
promptVersionId: core.serialization.property("prompt_version_id", core.serialization.string().optional()),
|
|
36
|
-
});
|
|
@@ -1,19 +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
|
-
import { ModelVersionExecConfigParameters } from "./ModelVersionExecConfigParameters";
|
|
8
|
-
import { VellumVariable } from "./VellumVariable";
|
|
9
|
-
import { PromptTemplateBlockData } from "./PromptTemplateBlockData";
|
|
10
|
-
export declare const ModelVersionExecConfig: core.serialization.ObjectSchema<serializers.ModelVersionExecConfig.Raw, Vellum.ModelVersionExecConfig>;
|
|
11
|
-
export declare namespace ModelVersionExecConfig {
|
|
12
|
-
interface Raw {
|
|
13
|
-
parameters: ModelVersionExecConfigParameters.Raw;
|
|
14
|
-
input_variables: VellumVariable.Raw[];
|
|
15
|
-
prompt_template?: string | null;
|
|
16
|
-
prompt_block_data?: PromptTemplateBlockData.Raw | null;
|
|
17
|
-
prompt_syntax_version?: number | null;
|
|
18
|
-
}
|
|
19
|
-
}
|