vellum-ai 0.9.7 → 0.9.8
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/.mock/definition/__package__.yml +2 -2
- package/.mock/definition/adHoc.yml +1 -1
- package/.mock/openapi/openapi.yml +1 -1
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +10 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/types/ChatMessagePromptBlock.d.ts +13 -0
- package/api/types/ChatMessagePromptBlock.js +5 -0
- package/api/types/ChatMessagePromptBlockProperties.d.ts +13 -0
- package/api/types/ChatMessagePromptBlockProperties.js +5 -0
- package/api/types/EphemeralPromptCacheConfig.d.ts +7 -0
- package/api/types/EphemeralPromptCacheConfig.js +5 -0
- package/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +7 -0
- package/api/types/EphemeralPromptCacheConfigTypeEnum.js +5 -0
- package/api/types/FunctionDefinitionPromptBlock.d.ts +13 -0
- package/api/types/FunctionDefinitionPromptBlock.js +5 -0
- package/api/types/FunctionDefinitionPromptBlockProperties.d.ts +15 -0
- package/api/types/FunctionDefinitionPromptBlockProperties.js +5 -0
- package/api/types/JinjaPromptBlock.d.ts +13 -0
- package/api/types/JinjaPromptBlock.js +5 -0
- package/api/types/JinjaPromptBlockProperties.d.ts +8 -0
- package/api/types/JinjaPromptBlockProperties.js +5 -0
- package/api/types/PlainTextPromptBlock.d.ts +13 -0
- package/api/types/PlainTextPromptBlock.js +5 -0
- package/api/types/PromptBlock.d.ts +5 -0
- package/api/types/PromptBlock.js +5 -0
- package/api/types/PromptBlockState.d.ts +12 -0
- package/api/types/PromptBlockState.js +10 -0
- package/api/types/RichTextChildBlock.d.ts +5 -0
- package/api/types/RichTextChildBlock.js +5 -0
- package/api/types/RichTextPromptBlock.d.ts +13 -0
- package/api/types/RichTextPromptBlock.js +5 -0
- package/api/types/VariablePromptBlock.d.ts +13 -0
- package/api/types/VariablePromptBlock.js +5 -0
- package/api/types/index.d.ts +14 -0
- package/api/types/index.js +14 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +10 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/types/ChatMessagePromptBlock.d.ts +13 -0
- package/dist/api/types/ChatMessagePromptBlock.js +5 -0
- package/dist/api/types/ChatMessagePromptBlockProperties.d.ts +13 -0
- package/dist/api/types/ChatMessagePromptBlockProperties.js +5 -0
- package/dist/api/types/EphemeralPromptCacheConfig.d.ts +7 -0
- package/dist/api/types/EphemeralPromptCacheConfig.js +5 -0
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +7 -0
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.js +5 -0
- package/dist/api/types/FunctionDefinitionPromptBlock.d.ts +13 -0
- package/dist/api/types/FunctionDefinitionPromptBlock.js +5 -0
- package/dist/api/types/FunctionDefinitionPromptBlockProperties.d.ts +15 -0
- package/dist/api/types/FunctionDefinitionPromptBlockProperties.js +5 -0
- package/dist/api/types/JinjaPromptBlock.d.ts +13 -0
- package/dist/api/types/JinjaPromptBlock.js +5 -0
- package/dist/api/types/JinjaPromptBlockProperties.d.ts +8 -0
- package/dist/api/types/JinjaPromptBlockProperties.js +5 -0
- package/dist/api/types/PlainTextPromptBlock.d.ts +13 -0
- package/dist/api/types/PlainTextPromptBlock.js +5 -0
- package/dist/api/types/PromptBlock.d.ts +5 -0
- package/dist/api/types/PromptBlock.js +5 -0
- package/dist/api/types/PromptBlockState.d.ts +12 -0
- package/dist/api/types/PromptBlockState.js +10 -0
- package/dist/api/types/RichTextChildBlock.d.ts +5 -0
- package/dist/api/types/RichTextChildBlock.js +5 -0
- package/dist/api/types/RichTextPromptBlock.d.ts +13 -0
- package/dist/api/types/RichTextPromptBlock.js +5 -0
- package/dist/api/types/VariablePromptBlock.d.ts +13 -0
- package/dist/api/types/VariablePromptBlock.js +5 -0
- package/dist/api/types/index.d.ts +14 -0
- package/dist/api/types/index.js +14 -0
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +1 -1
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -1
- package/dist/serialization/types/ChatMessagePromptBlock.d.ts +17 -0
- package/dist/serialization/types/ChatMessagePromptBlock.js +39 -0
- package/dist/serialization/types/ChatMessagePromptBlockProperties.d.ts +16 -0
- package/dist/serialization/types/ChatMessagePromptBlockProperties.js +38 -0
- package/dist/serialization/types/EphemeralPromptCacheConfig.d.ts +13 -0
- package/dist/serialization/types/EphemeralPromptCacheConfig.js +34 -0
- package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +10 -0
- package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +31 -0
- package/dist/serialization/types/FunctionDefinitionPromptBlock.d.ts +18 -0
- package/dist/serialization/types/FunctionDefinitionPromptBlock.js +39 -0
- package/dist/serialization/types/FunctionDefinitionPromptBlockProperties.d.ts +16 -0
- package/dist/serialization/types/FunctionDefinitionPromptBlockProperties.js +37 -0
- package/dist/serialization/types/JinjaPromptBlock.d.ts +18 -0
- package/dist/serialization/types/JinjaPromptBlock.js +39 -0
- package/dist/serialization/types/JinjaPromptBlockProperties.d.ts +14 -0
- package/dist/serialization/types/JinjaPromptBlockProperties.js +35 -0
- package/dist/serialization/types/PlainTextPromptBlock.d.ts +17 -0
- package/dist/serialization/types/PlainTextPromptBlock.js +38 -0
- package/dist/serialization/types/PromptBlock.d.ts +14 -0
- package/dist/serialization/types/PromptBlock.js +42 -0
- package/dist/serialization/types/PromptBlockState.d.ts +10 -0
- package/dist/serialization/types/PromptBlockState.js +31 -0
- package/dist/serialization/types/RichTextChildBlock.d.ts +12 -0
- package/dist/serialization/types/RichTextChildBlock.js +33 -0
- package/dist/serialization/types/RichTextPromptBlock.d.ts +18 -0
- package/dist/serialization/types/RichTextPromptBlock.js +39 -0
- package/dist/serialization/types/VariablePromptBlock.d.ts +17 -0
- package/dist/serialization/types/VariablePromptBlock.js +38 -0
- package/dist/serialization/types/index.d.ts +14 -0
- package/dist/serialization/types/index.js +14 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +9 -1
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +1 -1
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -1
- package/serialization/types/ChatMessagePromptBlock.d.ts +17 -0
- package/serialization/types/ChatMessagePromptBlock.js +39 -0
- package/serialization/types/ChatMessagePromptBlockProperties.d.ts +16 -0
- package/serialization/types/ChatMessagePromptBlockProperties.js +38 -0
- package/serialization/types/EphemeralPromptCacheConfig.d.ts +13 -0
- package/serialization/types/EphemeralPromptCacheConfig.js +34 -0
- package/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +10 -0
- package/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +31 -0
- package/serialization/types/FunctionDefinitionPromptBlock.d.ts +18 -0
- package/serialization/types/FunctionDefinitionPromptBlock.js +39 -0
- package/serialization/types/FunctionDefinitionPromptBlockProperties.d.ts +16 -0
- package/serialization/types/FunctionDefinitionPromptBlockProperties.js +37 -0
- package/serialization/types/JinjaPromptBlock.d.ts +18 -0
- package/serialization/types/JinjaPromptBlock.js +39 -0
- package/serialization/types/JinjaPromptBlockProperties.d.ts +14 -0
- package/serialization/types/JinjaPromptBlockProperties.js +35 -0
- package/serialization/types/PlainTextPromptBlock.d.ts +17 -0
- package/serialization/types/PlainTextPromptBlock.js +38 -0
- package/serialization/types/PromptBlock.d.ts +14 -0
- package/serialization/types/PromptBlock.js +42 -0
- package/serialization/types/PromptBlockState.d.ts +10 -0
- package/serialization/types/PromptBlockState.js +31 -0
- package/serialization/types/RichTextChildBlock.d.ts +12 -0
- package/serialization/types/RichTextChildBlock.js +33 -0
- package/serialization/types/RichTextPromptBlock.d.ts +18 -0
- package/serialization/types/RichTextPromptBlock.js +39 -0
- package/serialization/types/VariablePromptBlock.d.ts +17 -0
- package/serialization/types/VariablePromptBlock.js +38 -0
- package/serialization/types/index.d.ts +14 -0
- package/serialization/types/index.js +14 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const FunctionDefinitionPromptBlockProperties: core.serialization.ObjectSchema<serializers.FunctionDefinitionPromptBlockProperties.Raw, Vellum.FunctionDefinitionPromptBlockProperties>;
|
|
8
|
+
export declare namespace FunctionDefinitionPromptBlockProperties {
|
|
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
|
+
function_strict?: boolean | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.FunctionDefinitionPromptBlockProperties = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.FunctionDefinitionPromptBlockProperties = 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
|
+
functionStrict: core.serialization.property("function_strict", core.serialization.boolean().optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PromptBlockState } from "./PromptBlockState";
|
|
8
|
+
import { EphemeralPromptCacheConfig } from "./EphemeralPromptCacheConfig";
|
|
9
|
+
import { JinjaPromptBlockProperties } from "./JinjaPromptBlockProperties";
|
|
10
|
+
export declare const JinjaPromptBlock: core.serialization.ObjectSchema<serializers.JinjaPromptBlock.Raw, Vellum.JinjaPromptBlock>;
|
|
11
|
+
export declare namespace JinjaPromptBlock {
|
|
12
|
+
interface Raw {
|
|
13
|
+
state?: PromptBlockState.Raw | null;
|
|
14
|
+
cache_config?: EphemeralPromptCacheConfig.Raw | null;
|
|
15
|
+
block_type: "JINJA";
|
|
16
|
+
properties: JinjaPromptBlockProperties.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.JinjaPromptBlock = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
|
+
const EphemeralPromptCacheConfig_1 = require("./EphemeralPromptCacheConfig");
|
|
33
|
+
const JinjaPromptBlockProperties_1 = require("./JinjaPromptBlockProperties");
|
|
34
|
+
exports.JinjaPromptBlock = core.serialization.object({
|
|
35
|
+
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
36
|
+
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optional()),
|
|
37
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("JINJA")),
|
|
38
|
+
properties: JinjaPromptBlockProperties_1.JinjaPromptBlockProperties,
|
|
39
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VellumVariableType } from "./VellumVariableType";
|
|
8
|
+
export declare const JinjaPromptBlockProperties: core.serialization.ObjectSchema<serializers.JinjaPromptBlockProperties.Raw, Vellum.JinjaPromptBlockProperties>;
|
|
9
|
+
export declare namespace JinjaPromptBlockProperties {
|
|
10
|
+
interface Raw {
|
|
11
|
+
template?: string | null;
|
|
12
|
+
template_type?: VellumVariableType.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.JinjaPromptBlockProperties = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VellumVariableType_1 = require("./VellumVariableType");
|
|
32
|
+
exports.JinjaPromptBlockProperties = core.serialization.object({
|
|
33
|
+
template: core.serialization.string().optional(),
|
|
34
|
+
templateType: core.serialization.property("template_type", VellumVariableType_1.VellumVariableType.optional()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PromptBlockState } from "./PromptBlockState";
|
|
8
|
+
import { EphemeralPromptCacheConfig } from "./EphemeralPromptCacheConfig";
|
|
9
|
+
export declare const PlainTextPromptBlock: core.serialization.ObjectSchema<serializers.PlainTextPromptBlock.Raw, Vellum.PlainTextPromptBlock>;
|
|
10
|
+
export declare namespace PlainTextPromptBlock {
|
|
11
|
+
interface Raw {
|
|
12
|
+
state?: PromptBlockState.Raw | null;
|
|
13
|
+
cache_config?: EphemeralPromptCacheConfig.Raw | null;
|
|
14
|
+
block_type: "PLAIN_TEXT";
|
|
15
|
+
text: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.PlainTextPromptBlock = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
|
+
const EphemeralPromptCacheConfig_1 = require("./EphemeralPromptCacheConfig");
|
|
33
|
+
exports.PlainTextPromptBlock = core.serialization.object({
|
|
34
|
+
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
35
|
+
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optional()),
|
|
36
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("PLAIN_TEXT")),
|
|
37
|
+
text: core.serialization.string(),
|
|
38
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { JinjaPromptBlock } from "./JinjaPromptBlock";
|
|
8
|
+
import { FunctionDefinitionPromptBlock } from "./FunctionDefinitionPromptBlock";
|
|
9
|
+
import { VariablePromptBlock } from "./VariablePromptBlock";
|
|
10
|
+
import { RichTextPromptBlock } from "./RichTextPromptBlock";
|
|
11
|
+
export declare const PromptBlock: core.serialization.Schema<serializers.PromptBlock.Raw, Vellum.PromptBlock>;
|
|
12
|
+
export declare namespace PromptBlock {
|
|
13
|
+
type Raw = JinjaPromptBlock.Raw | serializers.ChatMessagePromptBlock.Raw | FunctionDefinitionPromptBlock.Raw | VariablePromptBlock.Raw | RichTextPromptBlock.Raw;
|
|
14
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.PromptBlock = void 0;
|
|
30
|
+
const serializers = __importStar(require("../index"));
|
|
31
|
+
const core = __importStar(require("../../core"));
|
|
32
|
+
const JinjaPromptBlock_1 = require("./JinjaPromptBlock");
|
|
33
|
+
const FunctionDefinitionPromptBlock_1 = require("./FunctionDefinitionPromptBlock");
|
|
34
|
+
const VariablePromptBlock_1 = require("./VariablePromptBlock");
|
|
35
|
+
const RichTextPromptBlock_1 = require("./RichTextPromptBlock");
|
|
36
|
+
exports.PromptBlock = core.serialization.undiscriminatedUnion([
|
|
37
|
+
JinjaPromptBlock_1.JinjaPromptBlock,
|
|
38
|
+
core.serialization.lazyObject(() => serializers.ChatMessagePromptBlock),
|
|
39
|
+
FunctionDefinitionPromptBlock_1.FunctionDefinitionPromptBlock,
|
|
40
|
+
VariablePromptBlock_1.VariablePromptBlock,
|
|
41
|
+
RichTextPromptBlock_1.RichTextPromptBlock,
|
|
42
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const PromptBlockState: core.serialization.Schema<serializers.PromptBlockState.Raw, Vellum.PromptBlockState>;
|
|
8
|
+
export declare namespace PromptBlockState {
|
|
9
|
+
type Raw = "ENABLED" | "DISABLED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.PromptBlockState = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PromptBlockState = core.serialization.enum_(["ENABLED", "DISABLED"]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { VariablePromptBlock } from "./VariablePromptBlock";
|
|
8
|
+
import { PlainTextPromptBlock } from "./PlainTextPromptBlock";
|
|
9
|
+
export declare const RichTextChildBlock: core.serialization.Schema<serializers.RichTextChildBlock.Raw, Vellum.RichTextChildBlock>;
|
|
10
|
+
export declare namespace RichTextChildBlock {
|
|
11
|
+
type Raw = VariablePromptBlock.Raw | PlainTextPromptBlock.Raw;
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.RichTextChildBlock = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const VariablePromptBlock_1 = require("./VariablePromptBlock");
|
|
32
|
+
const PlainTextPromptBlock_1 = require("./PlainTextPromptBlock");
|
|
33
|
+
exports.RichTextChildBlock = core.serialization.undiscriminatedUnion([VariablePromptBlock_1.VariablePromptBlock, PlainTextPromptBlock_1.PlainTextPromptBlock]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PromptBlockState } from "./PromptBlockState";
|
|
8
|
+
import { EphemeralPromptCacheConfig } from "./EphemeralPromptCacheConfig";
|
|
9
|
+
import { RichTextChildBlock } from "./RichTextChildBlock";
|
|
10
|
+
export declare const RichTextPromptBlock: core.serialization.ObjectSchema<serializers.RichTextPromptBlock.Raw, Vellum.RichTextPromptBlock>;
|
|
11
|
+
export declare namespace RichTextPromptBlock {
|
|
12
|
+
interface Raw {
|
|
13
|
+
state?: PromptBlockState.Raw | null;
|
|
14
|
+
cache_config?: EphemeralPromptCacheConfig.Raw | null;
|
|
15
|
+
block_type: "RICH_TEXT";
|
|
16
|
+
blocks: RichTextChildBlock.Raw[];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.RichTextPromptBlock = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
|
+
const EphemeralPromptCacheConfig_1 = require("./EphemeralPromptCacheConfig");
|
|
33
|
+
const RichTextChildBlock_1 = require("./RichTextChildBlock");
|
|
34
|
+
exports.RichTextPromptBlock = core.serialization.object({
|
|
35
|
+
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
36
|
+
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optional()),
|
|
37
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("RICH_TEXT")),
|
|
38
|
+
blocks: core.serialization.list(RichTextChildBlock_1.RichTextChildBlock),
|
|
39
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { PromptBlockState } from "./PromptBlockState";
|
|
8
|
+
import { EphemeralPromptCacheConfig } from "./EphemeralPromptCacheConfig";
|
|
9
|
+
export declare const VariablePromptBlock: core.serialization.ObjectSchema<serializers.VariablePromptBlock.Raw, Vellum.VariablePromptBlock>;
|
|
10
|
+
export declare namespace VariablePromptBlock {
|
|
11
|
+
interface Raw {
|
|
12
|
+
state?: PromptBlockState.Raw | null;
|
|
13
|
+
cache_config?: EphemeralPromptCacheConfig.Raw | null;
|
|
14
|
+
block_type: "VARIABLE";
|
|
15
|
+
input_variable_id: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.VariablePromptBlock = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const PromptBlockState_1 = require("./PromptBlockState");
|
|
32
|
+
const EphemeralPromptCacheConfig_1 = require("./EphemeralPromptCacheConfig");
|
|
33
|
+
exports.VariablePromptBlock = core.serialization.object({
|
|
34
|
+
state: PromptBlockState_1.PromptBlockState.optional(),
|
|
35
|
+
cacheConfig: core.serialization.property("cache_config", EphemeralPromptCacheConfig_1.EphemeralPromptCacheConfig.optional()),
|
|
36
|
+
blockType: core.serialization.property("block_type", core.serialization.stringLiteral("VARIABLE")),
|
|
37
|
+
inputVariableId: core.serialization.property("input_variable_id", core.serialization.string()),
|
|
38
|
+
});
|
|
@@ -34,6 +34,8 @@ export * from "./ChatHistoryVellumValueRequest";
|
|
|
34
34
|
export * from "./ChatMessage";
|
|
35
35
|
export * from "./ChatMessageContent";
|
|
36
36
|
export * from "./ChatMessageContentRequest";
|
|
37
|
+
export * from "./ChatMessagePromptBlock";
|
|
38
|
+
export * from "./ChatMessagePromptBlockProperties";
|
|
37
39
|
export * from "./ChatMessageRequest";
|
|
38
40
|
export * from "./ChatMessageRole";
|
|
39
41
|
export * from "./CodeExecutionNodeArrayResult";
|
|
@@ -77,6 +79,8 @@ export * from "./EnrichedNormalizedCompletion";
|
|
|
77
79
|
export * from "./EntityStatus";
|
|
78
80
|
export * from "./EntityVisibility";
|
|
79
81
|
export * from "./EnvironmentEnum";
|
|
82
|
+
export * from "./EphemeralPromptCacheConfig";
|
|
83
|
+
export * from "./EphemeralPromptCacheConfigTypeEnum";
|
|
80
84
|
export * from "./ErrorInputRequest";
|
|
81
85
|
export * from "./ErrorVariableValue";
|
|
82
86
|
export * from "./ErrorVellumValue";
|
|
@@ -125,6 +129,8 @@ export * from "./FunctionCallRequest";
|
|
|
125
129
|
export * from "./FunctionCallVariableValue";
|
|
126
130
|
export * from "./FunctionCallVellumValue";
|
|
127
131
|
export * from "./FunctionCallVellumValueRequest";
|
|
132
|
+
export * from "./FunctionDefinitionPromptBlock";
|
|
133
|
+
export * from "./FunctionDefinitionPromptBlockProperties";
|
|
128
134
|
export * from "./GenerateOptionsRequest";
|
|
129
135
|
export * from "./GenerateRequest";
|
|
130
136
|
export * from "./GenerateResponse";
|
|
@@ -158,6 +164,8 @@ export * from "./InstructorVectorizerConfig";
|
|
|
158
164
|
export * from "./InstructorVectorizerConfigRequest";
|
|
159
165
|
export * from "./IterationStateEnum";
|
|
160
166
|
export * from "./JsonInputRequest";
|
|
167
|
+
export * from "./JinjaPromptBlock";
|
|
168
|
+
export * from "./JinjaPromptBlockProperties";
|
|
161
169
|
export * from "./JsonVariableValue";
|
|
162
170
|
export * from "./JsonVellumValue";
|
|
163
171
|
export * from "./JsonVellumValueRequest";
|
|
@@ -241,9 +249,12 @@ export * from "./PaginatedTestSuiteTestCaseList";
|
|
|
241
249
|
export * from "./PaginatedWorkflowReleaseTagReadList";
|
|
242
250
|
export * from "./PdfSearchResultMetaSource";
|
|
243
251
|
export * from "./PdfSearchResultMetaSourceRequest";
|
|
252
|
+
export * from "./PlainTextPromptBlock";
|
|
244
253
|
export * from "./Price";
|
|
245
254
|
export * from "./ProcessingFailureReasonEnum";
|
|
246
255
|
export * from "./ProcessingStateEnum";
|
|
256
|
+
export * from "./PromptBlock";
|
|
257
|
+
export * from "./PromptBlockState";
|
|
247
258
|
export * from "./PromptDeploymentExpandMetaRequest";
|
|
248
259
|
export * from "./PromptDeploymentInputRequest";
|
|
249
260
|
export * from "./PromptExecutionMeta";
|
|
@@ -270,6 +281,8 @@ export * from "./RejectedPromptExecutionMeta";
|
|
|
270
281
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
271
282
|
export * from "./ReleaseTagSource";
|
|
272
283
|
export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
284
|
+
export * from "./RichTextChildBlock";
|
|
285
|
+
export * from "./RichTextPromptBlock";
|
|
273
286
|
export * from "./SandboxScenario";
|
|
274
287
|
export * from "./ScenarioInput";
|
|
275
288
|
export * from "./ScenarioInputChatHistoryVariableValue";
|
|
@@ -403,6 +416,7 @@ export * from "./TokenOverlappingWindowChunkingRequest";
|
|
|
403
416
|
export * from "./UnitEnum";
|
|
404
417
|
export * from "./UploadDocumentResponse";
|
|
405
418
|
export * from "./UpsertTestSuiteTestCaseRequest";
|
|
419
|
+
export * from "./VariablePromptBlock";
|
|
406
420
|
export * from "./VellumAudio";
|
|
407
421
|
export * from "./VellumAudioRequest";
|
|
408
422
|
export * from "./VellumError";
|
|
@@ -50,6 +50,8 @@ __exportStar(require("./ChatHistoryVellumValueRequest"), exports);
|
|
|
50
50
|
__exportStar(require("./ChatMessage"), exports);
|
|
51
51
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
52
52
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
53
|
+
__exportStar(require("./ChatMessagePromptBlock"), exports);
|
|
54
|
+
__exportStar(require("./ChatMessagePromptBlockProperties"), exports);
|
|
53
55
|
__exportStar(require("./ChatMessageRequest"), exports);
|
|
54
56
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
55
57
|
__exportStar(require("./CodeExecutionNodeArrayResult"), exports);
|
|
@@ -93,6 +95,8 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
|
93
95
|
__exportStar(require("./EntityStatus"), exports);
|
|
94
96
|
__exportStar(require("./EntityVisibility"), exports);
|
|
95
97
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
98
|
+
__exportStar(require("./EphemeralPromptCacheConfig"), exports);
|
|
99
|
+
__exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
|
|
96
100
|
__exportStar(require("./ErrorInputRequest"), exports);
|
|
97
101
|
__exportStar(require("./ErrorVariableValue"), exports);
|
|
98
102
|
__exportStar(require("./ErrorVellumValue"), exports);
|
|
@@ -141,6 +145,8 @@ __exportStar(require("./FunctionCallRequest"), exports);
|
|
|
141
145
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
142
146
|
__exportStar(require("./FunctionCallVellumValue"), exports);
|
|
143
147
|
__exportStar(require("./FunctionCallVellumValueRequest"), exports);
|
|
148
|
+
__exportStar(require("./FunctionDefinitionPromptBlock"), exports);
|
|
149
|
+
__exportStar(require("./FunctionDefinitionPromptBlockProperties"), exports);
|
|
144
150
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
145
151
|
__exportStar(require("./GenerateRequest"), exports);
|
|
146
152
|
__exportStar(require("./GenerateResponse"), exports);
|
|
@@ -174,6 +180,8 @@ __exportStar(require("./InstructorVectorizerConfig"), exports);
|
|
|
174
180
|
__exportStar(require("./InstructorVectorizerConfigRequest"), exports);
|
|
175
181
|
__exportStar(require("./IterationStateEnum"), exports);
|
|
176
182
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
183
|
+
__exportStar(require("./JinjaPromptBlock"), exports);
|
|
184
|
+
__exportStar(require("./JinjaPromptBlockProperties"), exports);
|
|
177
185
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
178
186
|
__exportStar(require("./JsonVellumValue"), exports);
|
|
179
187
|
__exportStar(require("./JsonVellumValueRequest"), exports);
|
|
@@ -257,9 +265,12 @@ __exportStar(require("./PaginatedTestSuiteTestCaseList"), exports);
|
|
|
257
265
|
__exportStar(require("./PaginatedWorkflowReleaseTagReadList"), exports);
|
|
258
266
|
__exportStar(require("./PdfSearchResultMetaSource"), exports);
|
|
259
267
|
__exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
|
|
268
|
+
__exportStar(require("./PlainTextPromptBlock"), exports);
|
|
260
269
|
__exportStar(require("./Price"), exports);
|
|
261
270
|
__exportStar(require("./ProcessingFailureReasonEnum"), exports);
|
|
262
271
|
__exportStar(require("./ProcessingStateEnum"), exports);
|
|
272
|
+
__exportStar(require("./PromptBlock"), exports);
|
|
273
|
+
__exportStar(require("./PromptBlockState"), exports);
|
|
263
274
|
__exportStar(require("./PromptDeploymentExpandMetaRequest"), exports);
|
|
264
275
|
__exportStar(require("./PromptDeploymentInputRequest"), exports);
|
|
265
276
|
__exportStar(require("./PromptExecutionMeta"), exports);
|
|
@@ -286,6 +297,8 @@ __exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
|
286
297
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
287
298
|
__exportStar(require("./ReleaseTagSource"), exports);
|
|
288
299
|
__exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
300
|
+
__exportStar(require("./RichTextChildBlock"), exports);
|
|
301
|
+
__exportStar(require("./RichTextPromptBlock"), exports);
|
|
289
302
|
__exportStar(require("./SandboxScenario"), exports);
|
|
290
303
|
__exportStar(require("./ScenarioInput"), exports);
|
|
291
304
|
__exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
|
|
@@ -419,6 +432,7 @@ __exportStar(require("./TokenOverlappingWindowChunkingRequest"), exports);
|
|
|
419
432
|
__exportStar(require("./UnitEnum"), exports);
|
|
420
433
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
421
434
|
__exportStar(require("./UpsertTestSuiteTestCaseRequest"), exports);
|
|
435
|
+
__exportStar(require("./VariablePromptBlock"), exports);
|
|
422
436
|
__exportStar(require("./VellumAudio"), exports);
|
|
423
437
|
__exportStar(require("./VellumAudioRequest"), exports);
|
|
424
438
|
__exportStar(require("./VellumError"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.9.
|
|
1
|
+
export declare const SDK_VERSION = "0.9.8";
|
package/dist/version.js
CHANGED