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,40 +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.ModelVersionExecConfig = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const ModelVersionExecConfigParameters_1 = require("./ModelVersionExecConfigParameters");
|
|
32
|
-
const VellumVariable_1 = require("./VellumVariable");
|
|
33
|
-
const PromptTemplateBlockData_1 = require("./PromptTemplateBlockData");
|
|
34
|
-
exports.ModelVersionExecConfig = core.serialization.object({
|
|
35
|
-
parameters: ModelVersionExecConfigParameters_1.ModelVersionExecConfigParameters,
|
|
36
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
|
|
37
|
-
promptTemplate: core.serialization.property("prompt_template", core.serialization.string().optional()),
|
|
38
|
-
promptBlockData: core.serialization.property("prompt_block_data", PromptTemplateBlockData_1.PromptTemplateBlockData.optional()),
|
|
39
|
-
promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
|
|
40
|
-
});
|
|
@@ -1,20 +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 ModelVersionExecConfigParameters: core.serialization.ObjectSchema<serializers.ModelVersionExecConfigParameters.Raw, Vellum.ModelVersionExecConfigParameters>;
|
|
8
|
-
export declare namespace ModelVersionExecConfigParameters {
|
|
9
|
-
interface Raw {
|
|
10
|
-
temperature?: number | null;
|
|
11
|
-
max_tokens?: number | null;
|
|
12
|
-
top_p: number;
|
|
13
|
-
frequency_penalty: number;
|
|
14
|
-
presence_penalty: number;
|
|
15
|
-
logit_bias?: Record<string, number | null | undefined> | null;
|
|
16
|
-
stop?: string[] | null;
|
|
17
|
-
top_k?: number | null;
|
|
18
|
-
custom_parameters?: Record<string, unknown> | null;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,41 +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.ModelVersionExecConfigParameters = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.ModelVersionExecConfigParameters = core.serialization.object({
|
|
32
|
-
temperature: core.serialization.number().optional(),
|
|
33
|
-
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
|
|
34
|
-
topP: core.serialization.property("top_p", core.serialization.number()),
|
|
35
|
-
frequencyPenalty: core.serialization.property("frequency_penalty", core.serialization.number()),
|
|
36
|
-
presencePenalty: core.serialization.property("presence_penalty", core.serialization.number()),
|
|
37
|
-
logitBias: core.serialization.property("logit_bias", core.serialization.record(core.serialization.string(), core.serialization.number().optional()).optional()),
|
|
38
|
-
stop: core.serialization.list(core.serialization.string()).optional(),
|
|
39
|
-
topK: core.serialization.property("top_k", core.serialization.number().optional()),
|
|
40
|
-
customParameters: core.serialization.property("custom_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
|
-
});
|
|
@@ -1,23 +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 { ProviderEnum } from "./ProviderEnum";
|
|
8
|
-
import { ModelVersionBuildConfig } from "./ModelVersionBuildConfig";
|
|
9
|
-
import { ModelVersionExecConfig } from "./ModelVersionExecConfig";
|
|
10
|
-
import { ModelVersionReadStatusEnum } from "./ModelVersionReadStatusEnum";
|
|
11
|
-
export declare const ModelVersionRead: core.serialization.ObjectSchema<serializers.ModelVersionRead.Raw, Vellum.ModelVersionRead>;
|
|
12
|
-
export declare namespace ModelVersionRead {
|
|
13
|
-
interface Raw {
|
|
14
|
-
id: string;
|
|
15
|
-
created: string;
|
|
16
|
-
label: string;
|
|
17
|
-
provider: ProviderEnum.Raw;
|
|
18
|
-
external_id: string;
|
|
19
|
-
build_config: ModelVersionBuildConfig.Raw;
|
|
20
|
-
exec_config: ModelVersionExecConfig.Raw;
|
|
21
|
-
status?: ModelVersionReadStatusEnum.Raw | null;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,44 +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.ModelVersionRead = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const ProviderEnum_1 = require("./ProviderEnum");
|
|
32
|
-
const ModelVersionBuildConfig_1 = require("./ModelVersionBuildConfig");
|
|
33
|
-
const ModelVersionExecConfig_1 = require("./ModelVersionExecConfig");
|
|
34
|
-
const ModelVersionReadStatusEnum_1 = require("./ModelVersionReadStatusEnum");
|
|
35
|
-
exports.ModelVersionRead = core.serialization.object({
|
|
36
|
-
id: core.serialization.string(),
|
|
37
|
-
created: core.serialization.date(),
|
|
38
|
-
label: core.serialization.string(),
|
|
39
|
-
provider: ProviderEnum_1.ProviderEnum,
|
|
40
|
-
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
41
|
-
buildConfig: core.serialization.property("build_config", ModelVersionBuildConfig_1.ModelVersionBuildConfig),
|
|
42
|
-
execConfig: core.serialization.property("exec_config", ModelVersionExecConfig_1.ModelVersionExecConfig),
|
|
43
|
-
status: ModelVersionReadStatusEnum_1.ModelVersionReadStatusEnum.optional(),
|
|
44
|
-
});
|
|
@@ -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 ModelVersionReadStatusEnum: core.serialization.Schema<serializers.ModelVersionReadStatusEnum.Raw, Vellum.ModelVersionReadStatusEnum>;
|
|
8
|
-
export declare namespace ModelVersionReadStatusEnum {
|
|
9
|
-
type Raw = "CREATING" | "READY" | "CREATION_FAILED" | "DISABLED";
|
|
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.ModelVersionReadStatusEnum = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.ModelVersionReadStatusEnum = core.serialization.enum_(["CREATING", "READY", "CREATION_FAILED", "DISABLED"]);
|
|
@@ -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 ModelVersionSandboxSnapshot: core.serialization.ObjectSchema<serializers.ModelVersionSandboxSnapshot.Raw, Vellum.ModelVersionSandboxSnapshot>;
|
|
8
|
-
export declare namespace ModelVersionSandboxSnapshot {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
prompt_index?: number | null;
|
|
12
|
-
prompt_id?: string | null;
|
|
13
|
-
sandbox_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.ModelVersionSandboxSnapshot = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.ModelVersionSandboxSnapshot = core.serialization.object({
|
|
32
|
-
id: core.serialization.string(),
|
|
33
|
-
promptIndex: core.serialization.property("prompt_index", core.serialization.number().optional()),
|
|
34
|
-
promptId: core.serialization.property("prompt_id", core.serialization.string().optional()),
|
|
35
|
-
sandboxId: core.serialization.property("sandbox_id", core.serialization.string().optional()),
|
|
36
|
-
});
|
|
@@ -1,25 +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 { JinjaPromptTemplateBlock } from "./JinjaPromptTemplateBlock";
|
|
8
|
-
import { ChatHistoryPromptTemplateBlock } from "./ChatHistoryPromptTemplateBlock";
|
|
9
|
-
import { FunctionDefinitionPromptTemplateBlock } from "./FunctionDefinitionPromptTemplateBlock";
|
|
10
|
-
export declare const PromptTemplateBlock: core.serialization.Schema<serializers.PromptTemplateBlock.Raw, Vellum.PromptTemplateBlock>;
|
|
11
|
-
export declare namespace PromptTemplateBlock {
|
|
12
|
-
type Raw = PromptTemplateBlock.Jinja | PromptTemplateBlock.ChatHistory | PromptTemplateBlock.ChatMessage | PromptTemplateBlock.FunctionDefinition;
|
|
13
|
-
interface Jinja extends JinjaPromptTemplateBlock.Raw {
|
|
14
|
-
block_type: "JINJA";
|
|
15
|
-
}
|
|
16
|
-
interface ChatHistory extends ChatHistoryPromptTemplateBlock.Raw {
|
|
17
|
-
block_type: "CHAT_HISTORY";
|
|
18
|
-
}
|
|
19
|
-
interface ChatMessage extends serializers.ChatMessagePromptTemplateBlock.Raw {
|
|
20
|
-
block_type: "CHAT_MESSAGE";
|
|
21
|
-
}
|
|
22
|
-
interface FunctionDefinition extends FunctionDefinitionPromptTemplateBlock.Raw {
|
|
23
|
-
block_type: "FUNCTION_DEFINITION";
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,53 +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.PromptTemplateBlock = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
const JinjaPromptTemplateBlock_1 = require("./JinjaPromptTemplateBlock");
|
|
41
|
-
const ChatHistoryPromptTemplateBlock_1 = require("./ChatHistoryPromptTemplateBlock");
|
|
42
|
-
const FunctionDefinitionPromptTemplateBlock_1 = require("./FunctionDefinitionPromptTemplateBlock");
|
|
43
|
-
exports.PromptTemplateBlock = core.serialization
|
|
44
|
-
.union(core.serialization.discriminant("blockType", "block_type"), {
|
|
45
|
-
JINJA: JinjaPromptTemplateBlock_1.JinjaPromptTemplateBlock,
|
|
46
|
-
CHAT_HISTORY: ChatHistoryPromptTemplateBlock_1.ChatHistoryPromptTemplateBlock,
|
|
47
|
-
CHAT_MESSAGE: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessagePromptTemplateBlock; })),
|
|
48
|
-
FUNCTION_DEFINITION: FunctionDefinitionPromptTemplateBlock_1.FunctionDefinitionPromptTemplateBlock,
|
|
49
|
-
})
|
|
50
|
-
.transform({
|
|
51
|
-
transform: (value) => value,
|
|
52
|
-
untransform: (value) => value,
|
|
53
|
-
});
|
|
@@ -1,13 +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 PromptTemplateBlockData: core.serialization.ObjectSchema<serializers.PromptTemplateBlockData.Raw, Vellum.PromptTemplateBlockData>;
|
|
8
|
-
export declare namespace PromptTemplateBlockData {
|
|
9
|
-
interface Raw {
|
|
10
|
-
blocks: serializers.PromptTemplateBlock.Raw[];
|
|
11
|
-
version: number;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,43 +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.PromptTemplateBlockData = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
exports.PromptTemplateBlockData = core.serialization.object({
|
|
41
|
-
blocks: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock; }))),
|
|
42
|
-
version: core.serialization.number(),
|
|
43
|
-
});
|
|
@@ -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 PromptTemplateBlockState: core.serialization.Schema<serializers.PromptTemplateBlockState.Raw, Vellum.PromptTemplateBlockState>;
|
|
8
|
-
export declare namespace PromptTemplateBlockState {
|
|
9
|
-
type Raw = "ENABLED" | "DISABLED";
|
|
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.PromptTemplateBlockState = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.PromptTemplateBlockState = core.serialization.enum_(["ENABLED", "DISABLED"]);
|
|
@@ -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 ProviderEnum: core.serialization.Schema<serializers.ProviderEnum.Raw, Vellum.ProviderEnum>;
|
|
8
|
-
export declare namespace ProviderEnum {
|
|
9
|
-
type Raw = "ANTHROPIC" | "AWS_BEDROCK" | "AZURE_OPENAI" | "COHERE" | "GOOGLE" | "HOSTED" | "MOSAICML" | "OPENAI" | "FIREWORKS_AI" | "HUGGINGFACE" | "MYSTIC" | "PYQ" | "REPLICATE";
|
|
10
|
-
}
|
|
@@ -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
|
-
]);
|