vellum-ai 0.0.14 → 0.0.16
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 +6 -0
- package/Client.js +18 -8
- package/api/errors/ConflictError.d.ts +8 -0
- package/api/errors/ConflictError.js +41 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/documentIndexes/client/Client.d.ts +22 -0
- package/api/resources/documentIndexes/client/Client.js +88 -0
- package/api/resources/documentIndexes/client/index.d.ts +1 -0
- package/api/resources/documentIndexes/client/index.js +17 -0
- package/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +15 -0
- package/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.js +5 -0
- package/api/resources/documentIndexes/client/requests/index.d.ts +1 -0
- package/api/resources/documentIndexes/client/requests/index.js +2 -0
- package/api/resources/documentIndexes/index.d.ts +1 -0
- package/api/resources/documentIndexes/index.js +17 -0
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +5 -1
- package/api/resources/registeredPrompts/client/Client.d.ts +26 -0
- package/api/resources/registeredPrompts/client/Client.js +102 -0
- package/api/resources/registeredPrompts/client/index.d.ts +1 -0
- package/api/resources/registeredPrompts/client/index.js +17 -0
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +20 -0
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +5 -0
- package/api/resources/registeredPrompts/client/requests/index.d.ts +1 -0
- package/api/resources/registeredPrompts/client/requests/index.js +2 -0
- package/api/resources/registeredPrompts/index.d.ts +1 -0
- package/api/resources/registeredPrompts/index.js +17 -0
- package/api/types/DocumentIndexRead.d.ts +16 -0
- package/api/types/DocumentIndexRead.js +5 -0
- package/api/types/DocumentIndexStatus.d.ts +8 -0
- package/api/types/DocumentIndexStatus.js +10 -0
- package/api/types/PromptTemplateBlockDataRequest.d.ts +8 -0
- package/api/types/PromptTemplateBlockDataRequest.js +5 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +10 -0
- package/api/types/PromptTemplateBlockPropertiesRequest.js +5 -0
- package/api/types/PromptTemplateBlockRequest.d.ts +9 -0
- package/api/types/PromptTemplateBlockRequest.js +5 -0
- package/api/types/PromptTemplateInputVariableRequest.d.ts +7 -0
- package/api/types/PromptTemplateInputVariableRequest.js +5 -0
- package/api/types/RegisterPromptErrorResponse.d.ts +7 -0
- package/api/types/RegisterPromptErrorResponse.js +5 -0
- package/api/types/RegisterPromptModelParametersRequest.d.ts +13 -0
- package/api/types/RegisterPromptModelParametersRequest.js +5 -0
- package/api/types/RegisterPromptPrompt.d.ts +9 -0
- package/api/types/RegisterPromptPrompt.js +5 -0
- package/api/types/RegisterPromptPromptInfoRequest.d.ts +10 -0
- package/api/types/RegisterPromptPromptInfoRequest.js +5 -0
- package/api/types/RegisterPromptResponse.d.ts +16 -0
- package/api/types/RegisterPromptResponse.js +5 -0
- package/api/types/RegisteredPromptDeployment.d.ts +11 -0
- package/api/types/RegisteredPromptDeployment.js +5 -0
- package/api/types/RegisteredPromptModelVersion.d.ts +9 -0
- package/api/types/RegisteredPromptModelVersion.js +5 -0
- package/api/types/RegisteredPromptSandbox.d.ts +9 -0
- package/api/types/RegisteredPromptSandbox.js +5 -0
- package/api/types/RegisteredPromptSandboxSnapshot.d.ts +7 -0
- package/api/types/RegisteredPromptSandboxSnapshot.js +5 -0
- package/api/types/index.d.ts +15 -0
- package/api/types/index.js +15 -0
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +18 -8
- package/dist/api/errors/ConflictError.d.ts +8 -0
- package/dist/api/errors/ConflictError.js +41 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/resources/documentIndexes/client/Client.d.ts +22 -0
- package/dist/api/resources/documentIndexes/client/Client.js +88 -0
- package/dist/api/resources/documentIndexes/client/index.d.ts +1 -0
- package/dist/api/resources/documentIndexes/client/index.js +17 -0
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +15 -0
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.js +5 -0
- package/dist/api/resources/documentIndexes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/documentIndexes/client/requests/index.js +2 -0
- package/dist/api/resources/documentIndexes/index.d.ts +1 -0
- package/dist/api/resources/documentIndexes/index.js +17 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +5 -1
- package/dist/api/resources/registeredPrompts/client/Client.d.ts +26 -0
- package/dist/api/resources/registeredPrompts/client/Client.js +102 -0
- package/dist/api/resources/registeredPrompts/client/index.d.ts +1 -0
- package/dist/api/resources/registeredPrompts/client/index.js +17 -0
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +20 -0
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +5 -0
- package/dist/api/resources/registeredPrompts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/registeredPrompts/client/requests/index.js +2 -0
- package/dist/api/resources/registeredPrompts/index.d.ts +1 -0
- package/dist/api/resources/registeredPrompts/index.js +17 -0
- package/dist/api/types/DocumentIndexRead.d.ts +16 -0
- package/dist/api/types/DocumentIndexRead.js +5 -0
- package/dist/api/types/DocumentIndexStatus.d.ts +8 -0
- package/dist/api/types/DocumentIndexStatus.js +10 -0
- package/dist/api/types/PromptTemplateBlockDataRequest.d.ts +8 -0
- package/dist/api/types/PromptTemplateBlockDataRequest.js +5 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +10 -0
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.js +5 -0
- package/dist/api/types/PromptTemplateBlockRequest.d.ts +9 -0
- package/dist/api/types/PromptTemplateBlockRequest.js +5 -0
- package/dist/api/types/PromptTemplateInputVariableRequest.d.ts +7 -0
- package/dist/api/types/PromptTemplateInputVariableRequest.js +5 -0
- package/dist/api/types/RegisterPromptErrorResponse.d.ts +7 -0
- package/dist/api/types/RegisterPromptErrorResponse.js +5 -0
- package/dist/api/types/RegisterPromptModelParametersRequest.d.ts +13 -0
- package/dist/api/types/RegisterPromptModelParametersRequest.js +5 -0
- package/dist/api/types/RegisterPromptPrompt.d.ts +9 -0
- package/dist/api/types/RegisterPromptPrompt.js +5 -0
- package/dist/api/types/RegisterPromptPromptInfoRequest.d.ts +10 -0
- package/dist/api/types/RegisterPromptPromptInfoRequest.js +5 -0
- package/dist/api/types/RegisterPromptResponse.d.ts +16 -0
- package/dist/api/types/RegisterPromptResponse.js +5 -0
- package/dist/api/types/RegisteredPromptDeployment.d.ts +11 -0
- package/dist/api/types/RegisteredPromptDeployment.js +5 -0
- package/dist/api/types/RegisteredPromptModelVersion.d.ts +9 -0
- package/dist/api/types/RegisteredPromptModelVersion.js +5 -0
- package/dist/api/types/RegisteredPromptSandbox.d.ts +9 -0
- package/dist/api/types/RegisteredPromptSandbox.js +5 -0
- package/dist/api/types/RegisteredPromptSandboxSnapshot.d.ts +7 -0
- package/dist/api/types/RegisteredPromptSandboxSnapshot.js +5 -0
- package/dist/api/types/index.d.ts +15 -0
- package/dist/api/types/index.js +15 -0
- package/dist/serialization/resources/documentIndexes/client/index.d.ts +1 -0
- package/dist/serialization/resources/documentIndexes/client/index.js +17 -0
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +16 -0
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.js +37 -0
- package/dist/serialization/resources/documentIndexes/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/documentIndexes/client/requests/index.js +5 -0
- package/dist/serialization/resources/documentIndexes/index.d.ts +1 -0
- package/dist/serialization/resources/documentIndexes/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +4 -0
- package/dist/serialization/resources/index.js +5 -1
- package/dist/serialization/resources/registeredPrompts/client/index.d.ts +1 -0
- package/dist/serialization/resources/registeredPrompts/client/index.js +17 -0
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +18 -0
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +39 -0
- package/dist/serialization/resources/registeredPrompts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/registeredPrompts/client/requests/index.js +5 -0
- package/dist/serialization/resources/registeredPrompts/index.d.ts +1 -0
- package/dist/serialization/resources/registeredPrompts/index.js +17 -0
- package/dist/serialization/types/DocumentIndexRead.d.ts +17 -0
- package/dist/serialization/types/DocumentIndexRead.js +38 -0
- package/dist/serialization/types/DocumentIndexStatus.d.ts +10 -0
- package/dist/serialization/types/DocumentIndexStatus.js +31 -0
- package/dist/serialization/types/PromptTemplateBlockDataRequest.d.ts +13 -0
- package/dist/serialization/types/PromptTemplateBlockDataRequest.js +34 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +15 -0
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +38 -0
- package/dist/serialization/types/PromptTemplateBlockRequest.d.ts +14 -0
- package/dist/serialization/types/PromptTemplateBlockRequest.js +35 -0
- package/dist/serialization/types/PromptTemplateInputVariableRequest.d.ts +12 -0
- package/dist/serialization/types/PromptTemplateInputVariableRequest.js +33 -0
- package/dist/serialization/types/RegisterPromptErrorResponse.d.ts +12 -0
- package/dist/serialization/types/RegisterPromptErrorResponse.js +33 -0
- package/dist/serialization/types/RegisterPromptModelParametersRequest.d.ts +19 -0
- package/dist/serialization/types/RegisterPromptModelParametersRequest.js +40 -0
- package/dist/serialization/types/RegisterPromptPrompt.d.ts +13 -0
- package/dist/serialization/types/RegisterPromptPrompt.js +34 -0
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.d.ts +14 -0
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.js +37 -0
- package/dist/serialization/types/RegisterPromptResponse.d.ts +16 -0
- package/dist/serialization/types/RegisterPromptResponse.js +37 -0
- package/dist/serialization/types/RegisteredPromptDeployment.d.ts +14 -0
- package/dist/serialization/types/RegisteredPromptDeployment.js +35 -0
- package/dist/serialization/types/RegisteredPromptModelVersion.d.ts +13 -0
- package/dist/serialization/types/RegisteredPromptModelVersion.js +34 -0
- package/dist/serialization/types/RegisteredPromptSandbox.d.ts +13 -0
- package/dist/serialization/types/RegisteredPromptSandbox.js +34 -0
- package/dist/serialization/types/RegisteredPromptSandboxSnapshot.d.ts +12 -0
- package/dist/serialization/types/RegisteredPromptSandboxSnapshot.js +33 -0
- package/dist/serialization/types/index.d.ts +15 -0
- package/dist/serialization/types/index.js +15 -0
- package/package.json +1 -1
- package/serialization/resources/documentIndexes/client/index.d.ts +1 -0
- package/serialization/resources/documentIndexes/client/index.js +17 -0
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +16 -0
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.js +37 -0
- package/serialization/resources/documentIndexes/client/requests/index.d.ts +1 -0
- package/serialization/resources/documentIndexes/client/requests/index.js +5 -0
- package/serialization/resources/documentIndexes/index.d.ts +1 -0
- package/serialization/resources/documentIndexes/index.js +17 -0
- package/serialization/resources/index.d.ts +4 -0
- package/serialization/resources/index.js +5 -1
- package/serialization/resources/registeredPrompts/client/index.d.ts +1 -0
- package/serialization/resources/registeredPrompts/client/index.js +17 -0
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +18 -0
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +39 -0
- package/serialization/resources/registeredPrompts/client/requests/index.d.ts +1 -0
- package/serialization/resources/registeredPrompts/client/requests/index.js +5 -0
- package/serialization/resources/registeredPrompts/index.d.ts +1 -0
- package/serialization/resources/registeredPrompts/index.js +17 -0
- package/serialization/types/DocumentIndexRead.d.ts +17 -0
- package/serialization/types/DocumentIndexRead.js +38 -0
- package/serialization/types/DocumentIndexStatus.d.ts +10 -0
- package/serialization/types/DocumentIndexStatus.js +31 -0
- package/serialization/types/PromptTemplateBlockDataRequest.d.ts +13 -0
- package/serialization/types/PromptTemplateBlockDataRequest.js +34 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +15 -0
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +38 -0
- package/serialization/types/PromptTemplateBlockRequest.d.ts +14 -0
- package/serialization/types/PromptTemplateBlockRequest.js +35 -0
- package/serialization/types/PromptTemplateInputVariableRequest.d.ts +12 -0
- package/serialization/types/PromptTemplateInputVariableRequest.js +33 -0
- package/serialization/types/RegisterPromptErrorResponse.d.ts +12 -0
- package/serialization/types/RegisterPromptErrorResponse.js +33 -0
- package/serialization/types/RegisterPromptModelParametersRequest.d.ts +19 -0
- package/serialization/types/RegisterPromptModelParametersRequest.js +40 -0
- package/serialization/types/RegisterPromptPrompt.d.ts +13 -0
- package/serialization/types/RegisterPromptPrompt.js +34 -0
- package/serialization/types/RegisterPromptPromptInfoRequest.d.ts +14 -0
- package/serialization/types/RegisterPromptPromptInfoRequest.js +37 -0
- package/serialization/types/RegisterPromptResponse.d.ts +16 -0
- package/serialization/types/RegisterPromptResponse.js +37 -0
- package/serialization/types/RegisteredPromptDeployment.d.ts +14 -0
- package/serialization/types/RegisteredPromptDeployment.js +35 -0
- package/serialization/types/RegisteredPromptModelVersion.d.ts +13 -0
- package/serialization/types/RegisteredPromptModelVersion.js +34 -0
- package/serialization/types/RegisteredPromptSandbox.d.ts +13 -0
- package/serialization/types/RegisteredPromptSandbox.js +34 -0
- package/serialization/types/RegisteredPromptSandboxSnapshot.d.ts +12 -0
- package/serialization/types/RegisteredPromptSandboxSnapshot.js +33 -0
- package/serialization/types/index.d.ts +15 -0
- package/serialization/types/index.js +15 -0
|
@@ -0,0 +1,14 @@
|
|
|
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 RegisterPromptPromptInfoRequest: core.serialization.ObjectSchema<serializers.RegisterPromptPromptInfoRequest.Raw, Vellum.RegisterPromptPromptInfoRequest>;
|
|
8
|
+
export declare namespace RegisterPromptPromptInfoRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
prompt_syntax_version?: number | null;
|
|
11
|
+
prompt_block_data?: serializers.PromptTemplateBlockDataRequest.Raw | null;
|
|
12
|
+
input_variables?: serializers.PromptTemplateInputVariableRequest.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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.RegisterPromptPromptInfoRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisterPromptPromptInfoRequest = core.serialization.object({
|
|
32
|
+
promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
|
|
33
|
+
promptBlockData: core.serialization.property("prompt_block_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockDataRequest).optional()),
|
|
34
|
+
inputVariables: core.serialization.property("input_variables", core.serialization
|
|
35
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateInputVariableRequest))
|
|
36
|
+
.optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 RegisterPromptResponse: core.serialization.ObjectSchema<serializers.RegisterPromptResponse.Raw, Vellum.RegisterPromptResponse>;
|
|
8
|
+
export declare namespace RegisterPromptResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
prompt: serializers.RegisterPromptPrompt.Raw;
|
|
11
|
+
sandbox_snapshot: serializers.RegisteredPromptSandboxSnapshot.Raw;
|
|
12
|
+
sandbox: serializers.RegisteredPromptSandbox.Raw;
|
|
13
|
+
model_version: serializers.RegisteredPromptModelVersion.Raw;
|
|
14
|
+
deployment: serializers.RegisteredPromptDeployment.Raw;
|
|
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.RegisterPromptResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisterPromptResponse = core.serialization.object({
|
|
32
|
+
prompt: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisterPromptPrompt),
|
|
33
|
+
sandboxSnapshot: core.serialization.property("sandbox_snapshot", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisteredPromptSandboxSnapshot)),
|
|
34
|
+
sandbox: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisteredPromptSandbox),
|
|
35
|
+
modelVersion: core.serialization.property("model_version", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisteredPromptModelVersion)),
|
|
36
|
+
deployment: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisteredPromptDeployment),
|
|
37
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 RegisteredPromptDeployment: core.serialization.ObjectSchema<serializers.RegisteredPromptDeployment.Raw, Vellum.RegisteredPromptDeployment>;
|
|
8
|
+
export declare namespace RegisteredPromptDeployment {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
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.RegisteredPromptDeployment = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisteredPromptDeployment = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
label: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 RegisteredPromptModelVersion: core.serialization.ObjectSchema<serializers.RegisteredPromptModelVersion.Raw, Vellum.RegisteredPromptModelVersion>;
|
|
8
|
+
export declare namespace RegisteredPromptModelVersion {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.RegisteredPromptModelVersion = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisteredPromptModelVersion = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
label: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 RegisteredPromptSandbox: core.serialization.ObjectSchema<serializers.RegisteredPromptSandbox.Raw, Vellum.RegisteredPromptSandbox>;
|
|
8
|
+
export declare namespace RegisteredPromptSandbox {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.RegisteredPromptSandbox = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisteredPromptSandbox = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
label: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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 RegisteredPromptSandboxSnapshot: core.serialization.ObjectSchema<serializers.RegisteredPromptSandboxSnapshot.Raw, Vellum.RegisteredPromptSandboxSnapshot>;
|
|
8
|
+
export declare namespace RegisteredPromptSandboxSnapshot {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
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.RegisteredPromptSandboxSnapshot = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RegisteredPromptSandboxSnapshot = core.serialization.object({
|
|
32
|
+
id: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -6,6 +6,8 @@ export * from "./DeploymentRead";
|
|
|
6
6
|
export * from "./DeploymentReadStatusEnum";
|
|
7
7
|
export * from "./Document";
|
|
8
8
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
9
|
+
export * from "./DocumentIndexRead";
|
|
10
|
+
export * from "./DocumentIndexStatus";
|
|
9
11
|
export * from "./EnrichedNormalizedCompletion";
|
|
10
12
|
export * from "./EnvironmentEnum";
|
|
11
13
|
export * from "./EvaluationParams";
|
|
@@ -39,9 +41,22 @@ export * from "./ProcessingFailureReasonEnum";
|
|
|
39
41
|
export * from "./ProcessingStateEnum";
|
|
40
42
|
export * from "./PromptTemplateBlock";
|
|
41
43
|
export * from "./PromptTemplateBlockData";
|
|
44
|
+
export * from "./PromptTemplateBlockDataRequest";
|
|
42
45
|
export * from "./PromptTemplateBlockProperties";
|
|
46
|
+
export * from "./PromptTemplateBlockPropertiesRequest";
|
|
47
|
+
export * from "./PromptTemplateBlockRequest";
|
|
43
48
|
export * from "./PromptTemplateInputVariable";
|
|
49
|
+
export * from "./PromptTemplateInputVariableRequest";
|
|
44
50
|
export * from "./ProviderEnum";
|
|
51
|
+
export * from "./RegisterPromptErrorResponse";
|
|
52
|
+
export * from "./RegisterPromptModelParametersRequest";
|
|
53
|
+
export * from "./RegisterPromptPrompt";
|
|
54
|
+
export * from "./RegisterPromptPromptInfoRequest";
|
|
55
|
+
export * from "./RegisterPromptResponse";
|
|
56
|
+
export * from "./RegisteredPromptDeployment";
|
|
57
|
+
export * from "./RegisteredPromptModelVersion";
|
|
58
|
+
export * from "./RegisteredPromptSandbox";
|
|
59
|
+
export * from "./RegisteredPromptSandboxSnapshot";
|
|
45
60
|
export * from "./SandboxMetricInputParams";
|
|
46
61
|
export * from "./SandboxMetricInputParamsRequest";
|
|
47
62
|
export * from "./SandboxScenario";
|
|
@@ -22,6 +22,8 @@ __exportStar(require("./DeploymentRead"), exports);
|
|
|
22
22
|
__exportStar(require("./DeploymentReadStatusEnum"), exports);
|
|
23
23
|
__exportStar(require("./Document"), exports);
|
|
24
24
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
25
|
+
__exportStar(require("./DocumentIndexRead"), exports);
|
|
26
|
+
__exportStar(require("./DocumentIndexStatus"), exports);
|
|
25
27
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
26
28
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
27
29
|
__exportStar(require("./EvaluationParams"), exports);
|
|
@@ -55,9 +57,22 @@ __exportStar(require("./ProcessingFailureReasonEnum"), exports);
|
|
|
55
57
|
__exportStar(require("./ProcessingStateEnum"), exports);
|
|
56
58
|
__exportStar(require("./PromptTemplateBlock"), exports);
|
|
57
59
|
__exportStar(require("./PromptTemplateBlockData"), exports);
|
|
60
|
+
__exportStar(require("./PromptTemplateBlockDataRequest"), exports);
|
|
58
61
|
__exportStar(require("./PromptTemplateBlockProperties"), exports);
|
|
62
|
+
__exportStar(require("./PromptTemplateBlockPropertiesRequest"), exports);
|
|
63
|
+
__exportStar(require("./PromptTemplateBlockRequest"), exports);
|
|
59
64
|
__exportStar(require("./PromptTemplateInputVariable"), exports);
|
|
65
|
+
__exportStar(require("./PromptTemplateInputVariableRequest"), exports);
|
|
60
66
|
__exportStar(require("./ProviderEnum"), exports);
|
|
67
|
+
__exportStar(require("./RegisterPromptErrorResponse"), exports);
|
|
68
|
+
__exportStar(require("./RegisterPromptModelParametersRequest"), exports);
|
|
69
|
+
__exportStar(require("./RegisterPromptPrompt"), exports);
|
|
70
|
+
__exportStar(require("./RegisterPromptPromptInfoRequest"), exports);
|
|
71
|
+
__exportStar(require("./RegisterPromptResponse"), exports);
|
|
72
|
+
__exportStar(require("./RegisteredPromptDeployment"), exports);
|
|
73
|
+
__exportStar(require("./RegisteredPromptModelVersion"), exports);
|
|
74
|
+
__exportStar(require("./RegisteredPromptSandbox"), exports);
|
|
75
|
+
__exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
61
76
|
__exportStar(require("./SandboxMetricInputParams"), exports);
|
|
62
77
|
__exportStar(require("./SandboxMetricInputParamsRequest"), exports);
|
|
63
78
|
__exportStar(require("./SandboxScenario"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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 DocumentIndexCreateRequest: core.serialization.Schema<serializers.DocumentIndexCreateRequest.Raw, Vellum.DocumentIndexCreateRequest>;
|
|
8
|
+
export declare namespace DocumentIndexCreateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label: string;
|
|
11
|
+
name: string;
|
|
12
|
+
status?: serializers.DocumentIndexStatus.Raw | null;
|
|
13
|
+
indexing_config: Record<string, unknown>;
|
|
14
|
+
copy_documents_from_index_id?: string | 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.DocumentIndexCreateRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.DocumentIndexCreateRequest = core.serialization.object({
|
|
32
|
+
label: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).DocumentIndexStatus).optional(),
|
|
35
|
+
indexingConfig: core.serialization.property("indexing_config", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
36
|
+
copyDocumentsFromIndexId: core.serialization.property("copy_documents_from_index_id", core.serialization.string().optional()),
|
|
37
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DocumentIndexCreateRequest } from "./DocumentIndexCreateRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentIndexCreateRequest = void 0;
|
|
4
|
+
var DocumentIndexCreateRequest_1 = require("./DocumentIndexCreateRequest");
|
|
5
|
+
Object.defineProperty(exports, "DocumentIndexCreateRequest", { enumerable: true, get: function () { return DocumentIndexCreateRequest_1.DocumentIndexCreateRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export * as documentIndexes from "./documentIndexes";
|
|
2
|
+
export * from "./documentIndexes/client/requests";
|
|
1
3
|
export * as modelVersions from "./modelVersions";
|
|
2
4
|
export * from "./modelVersions/client/requests";
|
|
5
|
+
export * as registeredPrompts from "./registeredPrompts";
|
|
6
|
+
export * from "./registeredPrompts/client/requests";
|
|
3
7
|
export * as sandboxes from "./sandboxes";
|
|
4
8
|
export * from "./sandboxes/client/requests";
|
|
5
9
|
export * as testSuites from "./testSuites";
|
|
@@ -26,9 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.testSuites = exports.sandboxes = exports.modelVersions = void 0;
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.documentIndexes = void 0;
|
|
30
|
+
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
31
|
+
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
30
32
|
exports.modelVersions = __importStar(require("./modelVersions"));
|
|
31
33
|
__exportStar(require("./modelVersions/client/requests"), exports);
|
|
34
|
+
exports.registeredPrompts = __importStar(require("./registeredPrompts"));
|
|
35
|
+
__exportStar(require("./registeredPrompts/client/requests"), exports);
|
|
32
36
|
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
33
37
|
__exportStar(require("./sandboxes/client/requests"), exports);
|
|
34
38
|
exports.testSuites = __importStar(require("./testSuites"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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 RegisterPromptRequestRequest: core.serialization.Schema<serializers.RegisterPromptRequestRequest.Raw, Vellum.RegisterPromptRequestRequest>;
|
|
8
|
+
export declare namespace RegisterPromptRequestRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label: string;
|
|
11
|
+
name: string;
|
|
12
|
+
prompt: serializers.RegisterPromptPromptInfoRequest.Raw;
|
|
13
|
+
provider: serializers.ProviderEnum.Raw;
|
|
14
|
+
model: string;
|
|
15
|
+
parameters: serializers.RegisterPromptModelParametersRequest.Raw;
|
|
16
|
+
meta?: Record<string, unknown> | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js
ADDED
|
@@ -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.RegisterPromptRequestRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.RegisterPromptRequestRequest = core.serialization.object({
|
|
32
|
+
label: core.serialization.string(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
prompt: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).RegisterPromptPromptInfoRequest),
|
|
35
|
+
provider: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).ProviderEnum),
|
|
36
|
+
model: core.serialization.string(),
|
|
37
|
+
parameters: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).RegisterPromptModelParametersRequest),
|
|
38
|
+
meta: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
39
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RegisterPromptRequestRequest } from "./RegisterPromptRequestRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterPromptRequestRequest = void 0;
|
|
4
|
+
var RegisterPromptRequestRequest_1 = require("./RegisterPromptRequestRequest");
|
|
5
|
+
Object.defineProperty(exports, "RegisterPromptRequestRequest", { enumerable: true, get: function () { return RegisterPromptRequestRequest_1.RegisterPromptRequestRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|