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,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* - `CREATING` - Creating
|
|
6
|
-
* - `READY` - Ready
|
|
7
|
-
* - `CREATION_FAILED` - Creation Failed
|
|
8
|
-
* - `DISABLED` - Disabled
|
|
9
|
-
*/
|
|
10
|
-
export declare type ModelVersionReadStatusEnum = "CREATING" | "READY" | "CREATION_FAILED" | "DISABLED";
|
|
11
|
-
export declare const ModelVersionReadStatusEnum: {
|
|
12
|
-
readonly Creating: "CREATING";
|
|
13
|
-
readonly Ready: "READY";
|
|
14
|
-
readonly CreationFailed: "CREATION_FAILED";
|
|
15
|
-
readonly Disabled: "DISABLED";
|
|
16
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ModelVersionReadStatusEnum = void 0;
|
|
7
|
-
exports.ModelVersionReadStatusEnum = {
|
|
8
|
-
Creating: "CREATING",
|
|
9
|
-
Ready: "READY",
|
|
10
|
-
CreationFailed: "CREATION_FAILED",
|
|
11
|
-
Disabled: "DISABLED",
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ModelVersionSandboxSnapshot {
|
|
5
|
-
/** The ID of the sandbox snapshot. */
|
|
6
|
-
id: string;
|
|
7
|
-
/** The index of the prompt in the sandbox snapshot. */
|
|
8
|
-
promptIndex?: number;
|
|
9
|
-
/** The id of the prompt in the sandbox snapshot. */
|
|
10
|
-
promptId?: string;
|
|
11
|
-
sandboxId?: string;
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Vellum from "..";
|
|
5
|
-
export declare type PromptTemplateBlock = Vellum.PromptTemplateBlock.Jinja | Vellum.PromptTemplateBlock.ChatHistory | Vellum.PromptTemplateBlock.ChatMessage | Vellum.PromptTemplateBlock.FunctionDefinition;
|
|
6
|
-
export declare namespace PromptTemplateBlock {
|
|
7
|
-
interface Jinja extends Vellum.JinjaPromptTemplateBlock {
|
|
8
|
-
blockType: "JINJA";
|
|
9
|
-
}
|
|
10
|
-
interface ChatHistory extends Vellum.ChatHistoryPromptTemplateBlock {
|
|
11
|
-
blockType: "CHAT_HISTORY";
|
|
12
|
-
}
|
|
13
|
-
interface ChatMessage extends Vellum.ChatMessagePromptTemplateBlock {
|
|
14
|
-
blockType: "CHAT_MESSAGE";
|
|
15
|
-
}
|
|
16
|
-
interface FunctionDefinition extends Vellum.FunctionDefinitionPromptTemplateBlock {
|
|
17
|
-
blockType: "FUNCTION_DEFINITION";
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* - `ENABLED` - ENABLED
|
|
6
|
-
* - `DISABLED` - DISABLED
|
|
7
|
-
*/
|
|
8
|
-
export declare type PromptTemplateBlockState = "ENABLED" | "DISABLED";
|
|
9
|
-
export declare const PromptTemplateBlockState: {
|
|
10
|
-
readonly Enabled: "ENABLED";
|
|
11
|
-
readonly Disabled: "DISABLED";
|
|
12
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PromptTemplateBlockState = void 0;
|
|
7
|
-
exports.PromptTemplateBlockState = {
|
|
8
|
-
Enabled: "ENABLED",
|
|
9
|
-
Disabled: "DISABLED",
|
|
10
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* - `ANTHROPIC` - Anthropic
|
|
6
|
-
* - `AWS_BEDROCK` - AWS Bedrock
|
|
7
|
-
* - `AZURE_OPENAI` - Azure OpenAI
|
|
8
|
-
* - `COHERE` - Cohere
|
|
9
|
-
* - `GOOGLE` - Google
|
|
10
|
-
* - `HOSTED` - Hosted
|
|
11
|
-
* - `MOSAICML` - MosaicML
|
|
12
|
-
* - `OPENAI` - OpenAI
|
|
13
|
-
* - `FIREWORKS_AI` - Fireworks AI
|
|
14
|
-
* - `HUGGINGFACE` - HuggingFace
|
|
15
|
-
* - `MYSTIC` - Mystic
|
|
16
|
-
* - `PYQ` - Pyq
|
|
17
|
-
* - `REPLICATE` - Replicate
|
|
18
|
-
*/
|
|
19
|
-
export declare type ProviderEnum = "ANTHROPIC" | "AWS_BEDROCK" | "AZURE_OPENAI" | "COHERE" | "GOOGLE" | "HOSTED" | "MOSAICML" | "OPENAI" | "FIREWORKS_AI" | "HUGGINGFACE" | "MYSTIC" | "PYQ" | "REPLICATE";
|
|
20
|
-
export declare const ProviderEnum: {
|
|
21
|
-
readonly Anthropic: "ANTHROPIC";
|
|
22
|
-
readonly AwsBedrock: "AWS_BEDROCK";
|
|
23
|
-
readonly AzureOpenai: "AZURE_OPENAI";
|
|
24
|
-
readonly Cohere: "COHERE";
|
|
25
|
-
readonly Google: "GOOGLE";
|
|
26
|
-
readonly Hosted: "HOSTED";
|
|
27
|
-
readonly Mosaicml: "MOSAICML";
|
|
28
|
-
readonly Openai: "OPENAI";
|
|
29
|
-
readonly FireworksAi: "FIREWORKS_AI";
|
|
30
|
-
readonly Huggingface: "HUGGINGFACE";
|
|
31
|
-
readonly Mystic: "MYSTIC";
|
|
32
|
-
readonly Pyq: "PYQ";
|
|
33
|
-
readonly Replicate: "REPLICATE";
|
|
34
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ProviderEnum = void 0;
|
|
7
|
-
exports.ProviderEnum = {
|
|
8
|
-
Anthropic: "ANTHROPIC",
|
|
9
|
-
AwsBedrock: "AWS_BEDROCK",
|
|
10
|
-
AzureOpenai: "AZURE_OPENAI",
|
|
11
|
-
Cohere: "COHERE",
|
|
12
|
-
Google: "GOOGLE",
|
|
13
|
-
Hosted: "HOSTED",
|
|
14
|
-
Mosaicml: "MOSAICML",
|
|
15
|
-
Openai: "OPENAI",
|
|
16
|
-
FireworksAi: "FIREWORKS_AI",
|
|
17
|
-
Huggingface: "HUGGINGFACE",
|
|
18
|
-
Mystic: "MYSTIC",
|
|
19
|
-
Pyq: "PYQ",
|
|
20
|
-
Replicate: "REPLICATE",
|
|
21
|
-
};
|
|
@@ -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
|
-
}
|