vellum-ai 0.7.6 → 0.7.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/Client.js +9 -9
- package/api/resources/deployments/client/Client.js +5 -5
- 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 +1 -1
- package/api/resources/mlModels/client/Client.d.ts +5 -3
- package/api/resources/mlModels/client/Client.js +10 -8
- package/api/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +4 -2
- 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 +4 -4
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/types/MlModelExecConfig.d.ts +0 -1
- package/api/types/MlModelExecConfigRequest.d.ts +0 -1
- package/api/types/NamedScenarioInputJsonVariableValueRequest.d.ts +10 -0
- package/api/types/NamedScenarioInputJsonVariableValueRequest.js +5 -0
- package/api/types/NamedScenarioInputRequest.d.ts +4 -1
- package/api/types/ScenarioInput.d.ts +4 -1
- package/api/types/ScenarioInputJsonVariableValue.d.ts +10 -0
- package/api/types/ScenarioInputJsonVariableValue.js +5 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.js +9 -9
- package/dist/api/resources/deployments/client/Client.js +5 -5
- 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 +1 -1
- package/dist/api/resources/mlModels/client/Client.d.ts +5 -3
- package/dist/api/resources/mlModels/client/Client.js +10 -8
- package/dist/api/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +4 -2
- 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 +4 -4
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/types/MlModelExecConfig.d.ts +0 -1
- package/dist/api/types/MlModelExecConfigRequest.d.ts +0 -1
- package/dist/api/types/NamedScenarioInputJsonVariableValueRequest.d.ts +10 -0
- package/dist/api/types/NamedScenarioInputJsonVariableValueRequest.js +5 -0
- package/dist/api/types/NamedScenarioInputRequest.d.ts +4 -1
- package/dist/api/types/ScenarioInput.d.ts +4 -1
- package/dist/api/types/ScenarioInputJsonVariableValue.d.ts +10 -0
- package/dist/api/types/ScenarioInputJsonVariableValue.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +2 -2
- package/dist/serialization/resources/mlModels/client/requests/MlModelCreateRequest.js +2 -2
- package/dist/serialization/types/MlModelExecConfig.d.ts +0 -1
- package/dist/serialization/types/MlModelExecConfig.js +0 -1
- package/dist/serialization/types/MlModelExecConfigRequest.d.ts +0 -1
- package/dist/serialization/types/MlModelExecConfigRequest.js +0 -1
- package/dist/serialization/types/NamedScenarioInputJsonVariableValueRequest.d.ts +13 -0
- package/dist/serialization/types/NamedScenarioInputJsonVariableValueRequest.js +34 -0
- package/dist/serialization/types/NamedScenarioInputRequest.d.ts +5 -1
- package/dist/serialization/types/NamedScenarioInputRequest.js +2 -0
- package/dist/serialization/types/ScenarioInput.d.ts +5 -1
- package/dist/serialization/types/ScenarioInput.js +2 -0
- package/dist/serialization/types/ScenarioInputJsonVariableValue.d.ts +13 -0
- package/dist/serialization/types/ScenarioInputJsonVariableValue.js +34 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/package.json +1 -1
- package/reference.md +5 -3
- package/serialization/resources/mlModels/client/requests/MlModelCreateRequest.d.ts +2 -2
- package/serialization/resources/mlModels/client/requests/MlModelCreateRequest.js +2 -2
- package/serialization/types/MlModelExecConfig.d.ts +0 -1
- package/serialization/types/MlModelExecConfig.js +0 -1
- package/serialization/types/MlModelExecConfigRequest.d.ts +0 -1
- package/serialization/types/MlModelExecConfigRequest.js +0 -1
- package/serialization/types/NamedScenarioInputJsonVariableValueRequest.d.ts +13 -0
- package/serialization/types/NamedScenarioInputJsonVariableValueRequest.js +34 -0
- package/serialization/types/NamedScenarioInputRequest.d.ts +5 -1
- package/serialization/types/NamedScenarioInputRequest.js +2 -0
- package/serialization/types/ScenarioInput.d.ts +5 -1
- package/serialization/types/ScenarioInput.js +2 -0
- package/serialization/types/ScenarioInputJsonVariableValue.d.ts +13 -0
- package/serialization/types/ScenarioInputJsonVariableValue.js +34 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
|
@@ -73,7 +73,7 @@ class TestSuites {
|
|
|
73
73
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
74
74
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
76
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
queryParameters: _queryParams,
|
|
79
79
|
requestType: "json",
|
|
@@ -136,7 +136,7 @@ class TestSuites {
|
|
|
136
136
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
137
137
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
138
138
|
method: "POST",
|
|
139
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
139
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
requestType: "json",
|
|
142
142
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -183,7 +183,7 @@ class TestSuites {
|
|
|
183
183
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
184
184
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
185
185
|
method: "POST",
|
|
186
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
186
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
187
187
|
contentType: "application/json",
|
|
188
188
|
requestType: "json",
|
|
189
189
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -250,7 +250,7 @@ class TestSuites {
|
|
|
250
250
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
251
251
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
252
252
|
method: "DELETE",
|
|
253
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
253
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
254
254
|
contentType: "application/json",
|
|
255
255
|
requestType: "json",
|
|
256
256
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -78,7 +78,7 @@ class WorkflowDeployments {
|
|
|
78
78
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
79
79
|
.default, "v1/workflow-deployments"),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -131,7 +131,7 @@ class WorkflowDeployments {
|
|
|
131
131
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
132
132
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
133
133
|
method: "GET",
|
|
134
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
134
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -184,7 +184,7 @@ class WorkflowDeployments {
|
|
|
184
184
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
185
185
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
186
186
|
method: "GET",
|
|
187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
187
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
188
188
|
contentType: "application/json",
|
|
189
189
|
requestType: "json",
|
|
190
190
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -238,7 +238,7 @@ class WorkflowDeployments {
|
|
|
238
238
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
239
239
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
240
240
|
method: "PATCH",
|
|
241
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
241
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
requestType: "json",
|
|
244
244
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -64,7 +64,7 @@ class WorkflowSandboxes {
|
|
|
64
64
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
65
65
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
66
66
|
method: "POST",
|
|
67
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.
|
|
67
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.7.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
68
68
|
contentType: "application/json",
|
|
69
69
|
requestType: "json",
|
|
70
70
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -7,7 +7,6 @@ export interface MlModelExecConfig {
|
|
|
7
7
|
baseUrl: string;
|
|
8
8
|
metadata: Record<string, unknown>;
|
|
9
9
|
features: Vellum.MlModelFeature[];
|
|
10
|
-
forceSystemCredentials?: boolean;
|
|
11
10
|
tokenizerConfig?: Vellum.MlModelTokenizerConfig;
|
|
12
11
|
requestConfig?: Vellum.MlModelRequestConfig;
|
|
13
12
|
responseConfig?: Vellum.MlModelResponseConfig;
|
|
@@ -7,7 +7,6 @@ export interface MlModelExecConfigRequest {
|
|
|
7
7
|
baseUrl: string;
|
|
8
8
|
metadata: Record<string, unknown>;
|
|
9
9
|
features: Vellum.MlModelFeature[];
|
|
10
|
-
forceSystemCredentials?: boolean;
|
|
11
10
|
tokenizerConfig?: Vellum.MlModelTokenizerConfigRequest;
|
|
12
11
|
requestConfig?: Vellum.MlModelRequestConfigRequest;
|
|
13
12
|
responseConfig?: Vellum.MlModelResponseConfigRequest;
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type NamedScenarioInputRequest = Vellum.NamedScenarioInputRequest.String | Vellum.NamedScenarioInputRequest.ChatHistory;
|
|
5
|
+
export declare type NamedScenarioInputRequest = Vellum.NamedScenarioInputRequest.String | Vellum.NamedScenarioInputRequest.Json | Vellum.NamedScenarioInputRequest.ChatHistory;
|
|
6
6
|
export declare namespace NamedScenarioInputRequest {
|
|
7
7
|
interface String extends Vellum.NamedScenarioInputStringVariableValueRequest {
|
|
8
8
|
type: "STRING";
|
|
9
9
|
}
|
|
10
|
+
interface Json extends Vellum.NamedScenarioInputJsonVariableValueRequest {
|
|
11
|
+
type: "JSON";
|
|
12
|
+
}
|
|
10
13
|
interface ChatHistory extends Vellum.NamedScenarioInputChatHistoryVariableValueRequest {
|
|
11
14
|
type: "CHAT_HISTORY";
|
|
12
15
|
}
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export declare type ScenarioInput = Vellum.ScenarioInput.String | Vellum.ScenarioInput.ChatHistory;
|
|
5
|
+
export declare type ScenarioInput = Vellum.ScenarioInput.String | Vellum.ScenarioInput.Json | Vellum.ScenarioInput.ChatHistory;
|
|
6
6
|
export declare namespace ScenarioInput {
|
|
7
7
|
interface String extends Vellum.ScenarioInputStringVariableValue {
|
|
8
8
|
type: "STRING";
|
|
9
9
|
}
|
|
10
|
+
interface Json extends Vellum.ScenarioInputJsonVariableValue {
|
|
11
|
+
type: "JSON";
|
|
12
|
+
}
|
|
10
13
|
interface ChatHistory extends Vellum.ScenarioInputChatHistoryVariableValue {
|
|
11
14
|
type: "CHAT_HISTORY";
|
|
12
15
|
}
|
|
@@ -153,6 +153,7 @@ export * from "./MetadataFilterRuleCombinator";
|
|
|
153
153
|
export * from "./MetadataFilterRuleRequest";
|
|
154
154
|
export * from "./MetricNodeResult";
|
|
155
155
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
156
|
+
export * from "./NamedScenarioInputJsonVariableValueRequest";
|
|
156
157
|
export * from "./NamedScenarioInputRequest";
|
|
157
158
|
export * from "./NamedScenarioInputStringVariableValueRequest";
|
|
158
159
|
export * from "./NamedTestCaseArrayVariableValue";
|
|
@@ -255,6 +256,7 @@ export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
|
255
256
|
export * from "./SandboxScenario";
|
|
256
257
|
export * from "./ScenarioInput";
|
|
257
258
|
export * from "./ScenarioInputChatHistoryVariableValue";
|
|
259
|
+
export * from "./ScenarioInputJsonVariableValue";
|
|
258
260
|
export * from "./ScenarioInputStringVariableValue";
|
|
259
261
|
export * from "./SearchFiltersRequest";
|
|
260
262
|
export * from "./SearchNodeResult";
|
package/dist/api/types/index.js
CHANGED
|
@@ -169,6 +169,7 @@ __exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
|
169
169
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
170
170
|
__exportStar(require("./MetricNodeResult"), exports);
|
|
171
171
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
172
|
+
__exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
|
|
172
173
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
|
173
174
|
__exportStar(require("./NamedScenarioInputStringVariableValueRequest"), exports);
|
|
174
175
|
__exportStar(require("./NamedTestCaseArrayVariableValue"), exports);
|
|
@@ -271,6 +272,7 @@ __exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
|
271
272
|
__exportStar(require("./SandboxScenario"), exports);
|
|
272
273
|
__exportStar(require("./ScenarioInput"), exports);
|
|
273
274
|
__exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
|
|
275
|
+
__exportStar(require("./ScenarioInputJsonVariableValue"), exports);
|
|
274
276
|
__exportStar(require("./ScenarioInputStringVariableValue"), exports);
|
|
275
277
|
__exportStar(require("./SearchFiltersRequest"), exports);
|
|
276
278
|
__exportStar(require("./SearchNodeResult"), exports);
|
|
@@ -16,8 +16,8 @@ export declare namespace MlModelCreateRequest {
|
|
|
16
16
|
interface Raw {
|
|
17
17
|
name: string;
|
|
18
18
|
family: MlModelFamily.Raw;
|
|
19
|
-
hosted_by
|
|
20
|
-
developed_by
|
|
19
|
+
hosted_by: HostedByEnum.Raw;
|
|
20
|
+
developed_by: MlModelDeveloper.Raw;
|
|
21
21
|
exec_config: MlModelExecConfigRequest.Raw;
|
|
22
22
|
parameter_config?: MlModelParameterConfigRequest.Raw | null;
|
|
23
23
|
display_config?: MlModelDisplayConfigRequest.Raw | null;
|
|
@@ -38,8 +38,8 @@ const VisibilityEnum_1 = require("../../../../types/VisibilityEnum");
|
|
|
38
38
|
exports.MlModelCreateRequest = core.serialization.object({
|
|
39
39
|
name: core.serialization.string(),
|
|
40
40
|
family: MlModelFamily_1.MlModelFamily,
|
|
41
|
-
hostedBy: core.serialization.property("hosted_by", HostedByEnum_1.HostedByEnum
|
|
42
|
-
developedBy: core.serialization.property("developed_by", MlModelDeveloper_1.MlModelDeveloper
|
|
41
|
+
hostedBy: core.serialization.property("hosted_by", HostedByEnum_1.HostedByEnum),
|
|
42
|
+
developedBy: core.serialization.property("developed_by", MlModelDeveloper_1.MlModelDeveloper),
|
|
43
43
|
execConfig: core.serialization.property("exec_config", MlModelExecConfigRequest_1.MlModelExecConfigRequest),
|
|
44
44
|
parameterConfig: core.serialization.property("parameter_config", MlModelParameterConfigRequest_1.MlModelParameterConfigRequest.optional()),
|
|
45
45
|
displayConfig: core.serialization.property("display_config", MlModelDisplayConfigRequest_1.MlModelDisplayConfigRequest.optional()),
|
|
@@ -15,7 +15,6 @@ export declare namespace MlModelExecConfig {
|
|
|
15
15
|
base_url: string;
|
|
16
16
|
metadata: Record<string, unknown>;
|
|
17
17
|
features: MlModelFeature.Raw[];
|
|
18
|
-
force_system_credentials?: boolean | null;
|
|
19
18
|
tokenizer_config?: MlModelTokenizerConfig.Raw | null;
|
|
20
19
|
request_config?: MlModelRequestConfig.Raw | null;
|
|
21
20
|
response_config?: MlModelResponseConfig.Raw | null;
|
|
@@ -37,7 +37,6 @@ exports.MlModelExecConfig = core.serialization.object({
|
|
|
37
37
|
baseUrl: core.serialization.property("base_url", core.serialization.string()),
|
|
38
38
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
39
39
|
features: core.serialization.list(MlModelFeature_1.MlModelFeature),
|
|
40
|
-
forceSystemCredentials: core.serialization.property("force_system_credentials", core.serialization.boolean().optional()),
|
|
41
40
|
tokenizerConfig: core.serialization.property("tokenizer_config", MlModelTokenizerConfig_1.MlModelTokenizerConfig.optional()),
|
|
42
41
|
requestConfig: core.serialization.property("request_config", MlModelRequestConfig_1.MlModelRequestConfig.optional()),
|
|
43
42
|
responseConfig: core.serialization.property("response_config", MlModelResponseConfig_1.MlModelResponseConfig.optional()),
|
|
@@ -15,7 +15,6 @@ export declare namespace MlModelExecConfigRequest {
|
|
|
15
15
|
base_url: string;
|
|
16
16
|
metadata: Record<string, unknown>;
|
|
17
17
|
features: MlModelFeature.Raw[];
|
|
18
|
-
force_system_credentials?: boolean | null;
|
|
19
18
|
tokenizer_config?: MlModelTokenizerConfigRequest.Raw | null;
|
|
20
19
|
request_config?: MlModelRequestConfigRequest.Raw | null;
|
|
21
20
|
response_config?: MlModelResponseConfigRequest.Raw | null;
|
|
@@ -37,7 +37,6 @@ exports.MlModelExecConfigRequest = core.serialization.object({
|
|
|
37
37
|
baseUrl: core.serialization.property("base_url", core.serialization.string()),
|
|
38
38
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
39
39
|
features: core.serialization.list(MlModelFeature_1.MlModelFeature),
|
|
40
|
-
forceSystemCredentials: core.serialization.property("force_system_credentials", core.serialization.boolean().optional()),
|
|
41
40
|
tokenizerConfig: core.serialization.property("tokenizer_config", MlModelTokenizerConfigRequest_1.MlModelTokenizerConfigRequest.optional()),
|
|
42
41
|
requestConfig: core.serialization.property("request_config", MlModelRequestConfigRequest_1.MlModelRequestConfigRequest.optional()),
|
|
43
42
|
responseConfig: core.serialization.property("response_config", MlModelResponseConfigRequest_1.MlModelResponseConfigRequest.optional()),
|
|
@@ -0,0 +1,13 @@
|
|
|
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 NamedScenarioInputJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedScenarioInputJsonVariableValueRequest.Raw, Vellum.NamedScenarioInputJsonVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedScenarioInputJsonVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: unknown;
|
|
11
|
+
name: 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.NamedScenarioInputJsonVariableValueRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NamedScenarioInputJsonVariableValueRequest = core.serialization.object({
|
|
32
|
+
value: core.serialization.unknown(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -5,13 +5,17 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { NamedScenarioInputStringVariableValueRequest } from "./NamedScenarioInputStringVariableValueRequest";
|
|
8
|
+
import { NamedScenarioInputJsonVariableValueRequest } from "./NamedScenarioInputJsonVariableValueRequest";
|
|
8
9
|
import { NamedScenarioInputChatHistoryVariableValueRequest } from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
9
10
|
export declare const NamedScenarioInputRequest: core.serialization.Schema<serializers.NamedScenarioInputRequest.Raw, Vellum.NamedScenarioInputRequest>;
|
|
10
11
|
export declare namespace NamedScenarioInputRequest {
|
|
11
|
-
type Raw = NamedScenarioInputRequest.String | NamedScenarioInputRequest.ChatHistory;
|
|
12
|
+
type Raw = NamedScenarioInputRequest.String | NamedScenarioInputRequest.Json | NamedScenarioInputRequest.ChatHistory;
|
|
12
13
|
interface String extends NamedScenarioInputStringVariableValueRequest.Raw {
|
|
13
14
|
type: "STRING";
|
|
14
15
|
}
|
|
16
|
+
interface Json extends NamedScenarioInputJsonVariableValueRequest.Raw {
|
|
17
|
+
type: "JSON";
|
|
18
|
+
}
|
|
15
19
|
interface ChatHistory extends NamedScenarioInputChatHistoryVariableValueRequest.Raw {
|
|
16
20
|
type: "CHAT_HISTORY";
|
|
17
21
|
}
|
|
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NamedScenarioInputRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const NamedScenarioInputStringVariableValueRequest_1 = require("./NamedScenarioInputStringVariableValueRequest");
|
|
32
|
+
const NamedScenarioInputJsonVariableValueRequest_1 = require("./NamedScenarioInputJsonVariableValueRequest");
|
|
32
33
|
const NamedScenarioInputChatHistoryVariableValueRequest_1 = require("./NamedScenarioInputChatHistoryVariableValueRequest");
|
|
33
34
|
exports.NamedScenarioInputRequest = core.serialization
|
|
34
35
|
.union("type", {
|
|
35
36
|
STRING: NamedScenarioInputStringVariableValueRequest_1.NamedScenarioInputStringVariableValueRequest,
|
|
37
|
+
JSON: NamedScenarioInputJsonVariableValueRequest_1.NamedScenarioInputJsonVariableValueRequest,
|
|
36
38
|
CHAT_HISTORY: NamedScenarioInputChatHistoryVariableValueRequest_1.NamedScenarioInputChatHistoryVariableValueRequest,
|
|
37
39
|
})
|
|
38
40
|
.transform({
|
|
@@ -5,13 +5,17 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Vellum from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ScenarioInputStringVariableValue } from "./ScenarioInputStringVariableValue";
|
|
8
|
+
import { ScenarioInputJsonVariableValue } from "./ScenarioInputJsonVariableValue";
|
|
8
9
|
import { ScenarioInputChatHistoryVariableValue } from "./ScenarioInputChatHistoryVariableValue";
|
|
9
10
|
export declare const ScenarioInput: core.serialization.Schema<serializers.ScenarioInput.Raw, Vellum.ScenarioInput>;
|
|
10
11
|
export declare namespace ScenarioInput {
|
|
11
|
-
type Raw = ScenarioInput.String | ScenarioInput.ChatHistory;
|
|
12
|
+
type Raw = ScenarioInput.String | ScenarioInput.Json | ScenarioInput.ChatHistory;
|
|
12
13
|
interface String extends ScenarioInputStringVariableValue.Raw {
|
|
13
14
|
type: "STRING";
|
|
14
15
|
}
|
|
16
|
+
interface Json extends ScenarioInputJsonVariableValue.Raw {
|
|
17
|
+
type: "JSON";
|
|
18
|
+
}
|
|
15
19
|
interface ChatHistory extends ScenarioInputChatHistoryVariableValue.Raw {
|
|
16
20
|
type: "CHAT_HISTORY";
|
|
17
21
|
}
|
|
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ScenarioInput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const ScenarioInputStringVariableValue_1 = require("./ScenarioInputStringVariableValue");
|
|
32
|
+
const ScenarioInputJsonVariableValue_1 = require("./ScenarioInputJsonVariableValue");
|
|
32
33
|
const ScenarioInputChatHistoryVariableValue_1 = require("./ScenarioInputChatHistoryVariableValue");
|
|
33
34
|
exports.ScenarioInput = core.serialization
|
|
34
35
|
.union("type", {
|
|
35
36
|
STRING: ScenarioInputStringVariableValue_1.ScenarioInputStringVariableValue,
|
|
37
|
+
JSON: ScenarioInputJsonVariableValue_1.ScenarioInputJsonVariableValue,
|
|
36
38
|
CHAT_HISTORY: ScenarioInputChatHistoryVariableValue_1.ScenarioInputChatHistoryVariableValue,
|
|
37
39
|
})
|
|
38
40
|
.transform({
|
|
@@ -0,0 +1,13 @@
|
|
|
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 ScenarioInputJsonVariableValue: core.serialization.ObjectSchema<serializers.ScenarioInputJsonVariableValue.Raw, Vellum.ScenarioInputJsonVariableValue>;
|
|
8
|
+
export declare namespace ScenarioInputJsonVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: unknown;
|
|
11
|
+
input_variable_id: 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.ScenarioInputJsonVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ScenarioInputJsonVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.unknown(),
|
|
33
|
+
inputVariableId: core.serialization.property("input_variable_id", core.serialization.string()),
|
|
34
|
+
});
|
|
@@ -153,6 +153,7 @@ export * from "./MetadataFilterRuleCombinator";
|
|
|
153
153
|
export * from "./MetadataFilterRuleRequest";
|
|
154
154
|
export * from "./MetricNodeResult";
|
|
155
155
|
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
156
|
+
export * from "./NamedScenarioInputJsonVariableValueRequest";
|
|
156
157
|
export * from "./NamedScenarioInputRequest";
|
|
157
158
|
export * from "./NamedScenarioInputStringVariableValueRequest";
|
|
158
159
|
export * from "./NamedTestCaseArrayVariableValue";
|
|
@@ -255,6 +256,7 @@ export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
|
255
256
|
export * from "./SandboxScenario";
|
|
256
257
|
export * from "./ScenarioInput";
|
|
257
258
|
export * from "./ScenarioInputChatHistoryVariableValue";
|
|
259
|
+
export * from "./ScenarioInputJsonVariableValue";
|
|
258
260
|
export * from "./ScenarioInputStringVariableValue";
|
|
259
261
|
export * from "./SearchFiltersRequest";
|
|
260
262
|
export * from "./SearchNodeResult";
|
|
@@ -169,6 +169,7 @@ __exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
|
169
169
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
170
170
|
__exportStar(require("./MetricNodeResult"), exports);
|
|
171
171
|
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
172
|
+
__exportStar(require("./NamedScenarioInputJsonVariableValueRequest"), exports);
|
|
172
173
|
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
|
173
174
|
__exportStar(require("./NamedScenarioInputStringVariableValueRequest"), exports);
|
|
174
175
|
__exportStar(require("./NamedTestCaseArrayVariableValue"), exports);
|
|
@@ -271,6 +272,7 @@ __exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
|
271
272
|
__exportStar(require("./SandboxScenario"), exports);
|
|
272
273
|
__exportStar(require("./ScenarioInput"), exports);
|
|
273
274
|
__exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
|
|
275
|
+
__exportStar(require("./ScenarioInputJsonVariableValue"), exports);
|
|
274
276
|
__exportStar(require("./ScenarioInputStringVariableValue"), exports);
|
|
275
277
|
__exportStar(require("./SearchFiltersRequest"), exports);
|
|
276
278
|
__exportStar(require("./SearchNodeResult"), exports);
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1498,6 +1498,8 @@ Creates a new ML Model.
|
|
|
1498
1498
|
await client.mlModels.create({
|
|
1499
1499
|
name: "name",
|
|
1500
1500
|
family: Vellum.MlModelFamily.Capybara,
|
|
1501
|
+
hostedBy: Vellum.HostedByEnum.Anthropic,
|
|
1502
|
+
developedBy: Vellum.MlModelDeveloper.OneAi,
|
|
1501
1503
|
execConfig: {
|
|
1502
1504
|
modelIdentifier: "model_identifier",
|
|
1503
1505
|
baseUrl: "base_url",
|
|
@@ -1585,7 +1587,7 @@ await client.mlModels.retrieve("id");
|
|
|
1585
1587
|
<dl>
|
|
1586
1588
|
<dd>
|
|
1587
1589
|
|
|
1588
|
-
**id:** `string` —
|
|
1590
|
+
**id:** `string` — Either the ML Model's ID or its unique name
|
|
1589
1591
|
|
|
1590
1592
|
</dd>
|
|
1591
1593
|
</dl>
|
|
@@ -1648,7 +1650,7 @@ await client.mlModels.update("id");
|
|
|
1648
1650
|
<dl>
|
|
1649
1651
|
<dd>
|
|
1650
1652
|
|
|
1651
|
-
**id:** `string` —
|
|
1653
|
+
**id:** `string` — Either the ML Model's ID or its unique name
|
|
1652
1654
|
|
|
1653
1655
|
</dd>
|
|
1654
1656
|
</dl>
|
|
@@ -1719,7 +1721,7 @@ await client.mlModels.partialUpdate("id");
|
|
|
1719
1721
|
<dl>
|
|
1720
1722
|
<dd>
|
|
1721
1723
|
|
|
1722
|
-
**id:** `string` —
|
|
1724
|
+
**id:** `string` — Either the ML Model's ID or its unique name
|
|
1723
1725
|
|
|
1724
1726
|
</dd>
|
|
1725
1727
|
</dl>
|
|
@@ -16,8 +16,8 @@ export declare namespace MlModelCreateRequest {
|
|
|
16
16
|
interface Raw {
|
|
17
17
|
name: string;
|
|
18
18
|
family: MlModelFamily.Raw;
|
|
19
|
-
hosted_by
|
|
20
|
-
developed_by
|
|
19
|
+
hosted_by: HostedByEnum.Raw;
|
|
20
|
+
developed_by: MlModelDeveloper.Raw;
|
|
21
21
|
exec_config: MlModelExecConfigRequest.Raw;
|
|
22
22
|
parameter_config?: MlModelParameterConfigRequest.Raw | null;
|
|
23
23
|
display_config?: MlModelDisplayConfigRequest.Raw | null;
|
|
@@ -38,8 +38,8 @@ const VisibilityEnum_1 = require("../../../../types/VisibilityEnum");
|
|
|
38
38
|
exports.MlModelCreateRequest = core.serialization.object({
|
|
39
39
|
name: core.serialization.string(),
|
|
40
40
|
family: MlModelFamily_1.MlModelFamily,
|
|
41
|
-
hostedBy: core.serialization.property("hosted_by", HostedByEnum_1.HostedByEnum
|
|
42
|
-
developedBy: core.serialization.property("developed_by", MlModelDeveloper_1.MlModelDeveloper
|
|
41
|
+
hostedBy: core.serialization.property("hosted_by", HostedByEnum_1.HostedByEnum),
|
|
42
|
+
developedBy: core.serialization.property("developed_by", MlModelDeveloper_1.MlModelDeveloper),
|
|
43
43
|
execConfig: core.serialization.property("exec_config", MlModelExecConfigRequest_1.MlModelExecConfigRequest),
|
|
44
44
|
parameterConfig: core.serialization.property("parameter_config", MlModelParameterConfigRequest_1.MlModelParameterConfigRequest.optional()),
|
|
45
45
|
displayConfig: core.serialization.property("display_config", MlModelDisplayConfigRequest_1.MlModelDisplayConfigRequest.optional()),
|
|
@@ -15,7 +15,6 @@ export declare namespace MlModelExecConfig {
|
|
|
15
15
|
base_url: string;
|
|
16
16
|
metadata: Record<string, unknown>;
|
|
17
17
|
features: MlModelFeature.Raw[];
|
|
18
|
-
force_system_credentials?: boolean | null;
|
|
19
18
|
tokenizer_config?: MlModelTokenizerConfig.Raw | null;
|
|
20
19
|
request_config?: MlModelRequestConfig.Raw | null;
|
|
21
20
|
response_config?: MlModelResponseConfig.Raw | null;
|
|
@@ -37,7 +37,6 @@ exports.MlModelExecConfig = core.serialization.object({
|
|
|
37
37
|
baseUrl: core.serialization.property("base_url", core.serialization.string()),
|
|
38
38
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
39
39
|
features: core.serialization.list(MlModelFeature_1.MlModelFeature),
|
|
40
|
-
forceSystemCredentials: core.serialization.property("force_system_credentials", core.serialization.boolean().optional()),
|
|
41
40
|
tokenizerConfig: core.serialization.property("tokenizer_config", MlModelTokenizerConfig_1.MlModelTokenizerConfig.optional()),
|
|
42
41
|
requestConfig: core.serialization.property("request_config", MlModelRequestConfig_1.MlModelRequestConfig.optional()),
|
|
43
42
|
responseConfig: core.serialization.property("response_config", MlModelResponseConfig_1.MlModelResponseConfig.optional()),
|
|
@@ -15,7 +15,6 @@ export declare namespace MlModelExecConfigRequest {
|
|
|
15
15
|
base_url: string;
|
|
16
16
|
metadata: Record<string, unknown>;
|
|
17
17
|
features: MlModelFeature.Raw[];
|
|
18
|
-
force_system_credentials?: boolean | null;
|
|
19
18
|
tokenizer_config?: MlModelTokenizerConfigRequest.Raw | null;
|
|
20
19
|
request_config?: MlModelRequestConfigRequest.Raw | null;
|
|
21
20
|
response_config?: MlModelResponseConfigRequest.Raw | null;
|
|
@@ -37,7 +37,6 @@ exports.MlModelExecConfigRequest = core.serialization.object({
|
|
|
37
37
|
baseUrl: core.serialization.property("base_url", core.serialization.string()),
|
|
38
38
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
39
39
|
features: core.serialization.list(MlModelFeature_1.MlModelFeature),
|
|
40
|
-
forceSystemCredentials: core.serialization.property("force_system_credentials", core.serialization.boolean().optional()),
|
|
41
40
|
tokenizerConfig: core.serialization.property("tokenizer_config", MlModelTokenizerConfigRequest_1.MlModelTokenizerConfigRequest.optional()),
|
|
42
41
|
requestConfig: core.serialization.property("request_config", MlModelRequestConfigRequest_1.MlModelRequestConfigRequest.optional()),
|
|
43
42
|
responseConfig: core.serialization.property("response_config", MlModelResponseConfigRequest_1.MlModelResponseConfigRequest.optional()),
|
|
@@ -0,0 +1,13 @@
|
|
|
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 NamedScenarioInputJsonVariableValueRequest: core.serialization.ObjectSchema<serializers.NamedScenarioInputJsonVariableValueRequest.Raw, Vellum.NamedScenarioInputJsonVariableValueRequest>;
|
|
8
|
+
export declare namespace NamedScenarioInputJsonVariableValueRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|