vellum-ai 0.1.9 → 0.1.10
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 +14 -8
- package/api/resources/deployments/client/Client.js +2 -2
- package/api/resources/documentIndexes/client/Client.js +2 -2
- package/api/resources/documents/client/Client.js +4 -4
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +2 -2
- package/api/resources/testSuites/client/Client.js +2 -2
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +14 -8
- package/dist/api/resources/deployments/client/Client.js +2 -2
- package/dist/api/resources/documentIndexes/client/Client.js +2 -2
- package/dist/api/resources/documents/client/Client.js +4 -4
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +2 -2
- package/dist/api/resources/testSuites/client/Client.js +2 -2
- package/package.json +1 -1
package/Client.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export declare class VellumClient {
|
|
|
26
26
|
constructor(_options: VellumClient.Options);
|
|
27
27
|
/**
|
|
28
28
|
* Executes a deployed Prompt and returns the result.
|
|
29
|
+
*
|
|
30
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
31
|
+
* In the meantime, we recommend still using the `/generate` endpoint for prompts with function calling.
|
|
29
32
|
* @throws {@link Vellum.BadRequestError}
|
|
30
33
|
* @throws {@link Vellum.ForbiddenError}
|
|
31
34
|
* @throws {@link Vellum.NotFoundError}
|
|
@@ -34,6 +37,9 @@ export declare class VellumClient {
|
|
|
34
37
|
executePrompt(request: Vellum.ExecutePromptRequest, requestOptions?: VellumClient.RequestOptions): Promise<Vellum.ExecutePromptResponse>;
|
|
35
38
|
/**
|
|
36
39
|
* Executes a deployed Prompt and streams back the results.
|
|
40
|
+
*
|
|
41
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
42
|
+
* In the meantime, we recommend still using the `/generate-stream` endpoint for prompts with function calling
|
|
37
43
|
*/
|
|
38
44
|
executePromptStream(request: Vellum.ExecutePromptStreamRequest, requestOptions?: VellumClient.RequestOptions): Promise<core.Stream<Vellum.ExecutePromptEvent>>;
|
|
39
45
|
/**
|
package/Client.js
CHANGED
|
@@ -58,6 +58,9 @@ class VellumClient {
|
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Executes a deployed Prompt and returns the result.
|
|
61
|
+
*
|
|
62
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
63
|
+
* In the meantime, we recommend still using the `/generate` endpoint for prompts with function calling.
|
|
61
64
|
* @throws {@link Vellum.BadRequestError}
|
|
62
65
|
* @throws {@link Vellum.ForbiddenError}
|
|
63
66
|
* @throws {@link Vellum.NotFoundError}
|
|
@@ -74,7 +77,7 @@ class VellumClient {
|
|
|
74
77
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
78
|
"X-Fern-Language": "JavaScript",
|
|
76
79
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
80
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
78
81
|
},
|
|
79
82
|
contentType: "application/json",
|
|
80
83
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -123,6 +126,9 @@ class VellumClient {
|
|
|
123
126
|
}
|
|
124
127
|
/**
|
|
125
128
|
* Executes a deployed Prompt and streams back the results.
|
|
129
|
+
*
|
|
130
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
131
|
+
* In the meantime, we recommend still using the `/generate-stream` endpoint for prompts with function calling
|
|
126
132
|
*/
|
|
127
133
|
executePromptStream(request, requestOptions) {
|
|
128
134
|
var _a;
|
|
@@ -135,7 +141,7 @@ class VellumClient {
|
|
|
135
141
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
136
142
|
"X-Fern-Language": "JavaScript",
|
|
137
143
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
138
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
144
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
139
145
|
},
|
|
140
146
|
contentType: "application/json",
|
|
141
147
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -205,7 +211,7 @@ class VellumClient {
|
|
|
205
211
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
206
212
|
"X-Fern-Language": "JavaScript",
|
|
207
213
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
208
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
214
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
209
215
|
},
|
|
210
216
|
contentType: "application/json",
|
|
211
217
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -289,7 +295,7 @@ class VellumClient {
|
|
|
289
295
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
290
296
|
"X-Fern-Language": "JavaScript",
|
|
291
297
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
292
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
298
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
293
299
|
},
|
|
294
300
|
contentType: "application/json",
|
|
295
301
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -352,7 +358,7 @@ class VellumClient {
|
|
|
352
358
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
353
359
|
"X-Fern-Language": "JavaScript",
|
|
354
360
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
355
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
361
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
356
362
|
},
|
|
357
363
|
contentType: "application/json",
|
|
358
364
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -425,7 +431,7 @@ class VellumClient {
|
|
|
425
431
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
426
432
|
"X-Fern-Language": "JavaScript",
|
|
427
433
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
428
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
434
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
429
435
|
},
|
|
430
436
|
contentType: "application/json",
|
|
431
437
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -494,7 +500,7 @@ class VellumClient {
|
|
|
494
500
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
495
501
|
"X-Fern-Language": "JavaScript",
|
|
496
502
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
497
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
503
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
498
504
|
},
|
|
499
505
|
contentType: "application/json",
|
|
500
506
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -557,7 +563,7 @@ class VellumClient {
|
|
|
557
563
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
558
564
|
"X-Fern-Language": "JavaScript",
|
|
559
565
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
560
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
566
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
561
567
|
},
|
|
562
568
|
contentType: "application/json",
|
|
563
569
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class Deployments {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -108,7 +108,7 @@ class Deployments {
|
|
|
108
108
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
111
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
111
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class DocumentIndexes {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -114,7 +114,7 @@ class DocumentIndexes {
|
|
|
114
114
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
117
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
117
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class Documents {
|
|
|
81
81
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
84
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
84
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
85
85
|
},
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
queryParameters: _queryParams,
|
|
@@ -128,7 +128,7 @@ class Documents {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
131
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -172,7 +172,7 @@ class Documents {
|
|
|
172
172
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
173
173
|
"X-Fern-Language": "JavaScript",
|
|
174
174
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
175
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
175
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -248,7 +248,7 @@ class Documents {
|
|
|
248
248
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
249
249
|
"X-Fern-Language": "JavaScript",
|
|
250
250
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
251
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
251
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
252
252
|
},
|
|
253
253
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
254
254
|
body: _request,
|
|
@@ -62,7 +62,7 @@ class ModelVersions {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -69,7 +69,7 @@ class RegisteredPrompts {
|
|
|
69
69
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
72
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
72
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
73
73
|
},
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class Sandboxes {
|
|
|
68
68
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
71
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
71
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -123,7 +123,7 @@ class Sandboxes {
|
|
|
123
123
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
126
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
126
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -74,7 +74,7 @@ class TestSuites {
|
|
|
74
74
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
77
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
@@ -129,7 +129,7 @@ class TestSuites {
|
|
|
129
129
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
132
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
132
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
package/dist/Client.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export declare class VellumClient {
|
|
|
26
26
|
constructor(_options: VellumClient.Options);
|
|
27
27
|
/**
|
|
28
28
|
* Executes a deployed Prompt and returns the result.
|
|
29
|
+
*
|
|
30
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
31
|
+
* In the meantime, we recommend still using the `/generate` endpoint for prompts with function calling.
|
|
29
32
|
* @throws {@link Vellum.BadRequestError}
|
|
30
33
|
* @throws {@link Vellum.ForbiddenError}
|
|
31
34
|
* @throws {@link Vellum.NotFoundError}
|
|
@@ -34,6 +37,9 @@ export declare class VellumClient {
|
|
|
34
37
|
executePrompt(request: Vellum.ExecutePromptRequest, requestOptions?: VellumClient.RequestOptions): Promise<Vellum.ExecutePromptResponse>;
|
|
35
38
|
/**
|
|
36
39
|
* Executes a deployed Prompt and streams back the results.
|
|
40
|
+
*
|
|
41
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
42
|
+
* In the meantime, we recommend still using the `/generate-stream` endpoint for prompts with function calling
|
|
37
43
|
*/
|
|
38
44
|
executePromptStream(request: Vellum.ExecutePromptStreamRequest, requestOptions?: VellumClient.RequestOptions): Promise<core.Stream<Vellum.ExecutePromptEvent>>;
|
|
39
45
|
/**
|
package/dist/Client.js
CHANGED
|
@@ -58,6 +58,9 @@ class VellumClient {
|
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Executes a deployed Prompt and returns the result.
|
|
61
|
+
*
|
|
62
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
63
|
+
* In the meantime, we recommend still using the `/generate` endpoint for prompts with function calling.
|
|
61
64
|
* @throws {@link Vellum.BadRequestError}
|
|
62
65
|
* @throws {@link Vellum.ForbiddenError}
|
|
63
66
|
* @throws {@link Vellum.NotFoundError}
|
|
@@ -74,7 +77,7 @@ class VellumClient {
|
|
|
74
77
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
78
|
"X-Fern-Language": "JavaScript",
|
|
76
79
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
80
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
78
81
|
},
|
|
79
82
|
contentType: "application/json",
|
|
80
83
|
body: yield serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -123,6 +126,9 @@ class VellumClient {
|
|
|
123
126
|
}
|
|
124
127
|
/**
|
|
125
128
|
* Executes a deployed Prompt and streams back the results.
|
|
129
|
+
*
|
|
130
|
+
* Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
|
131
|
+
* In the meantime, we recommend still using the `/generate-stream` endpoint for prompts with function calling
|
|
126
132
|
*/
|
|
127
133
|
executePromptStream(request, requestOptions) {
|
|
128
134
|
var _a;
|
|
@@ -135,7 +141,7 @@ class VellumClient {
|
|
|
135
141
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
136
142
|
"X-Fern-Language": "JavaScript",
|
|
137
143
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
138
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
144
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
139
145
|
},
|
|
140
146
|
contentType: "application/json",
|
|
141
147
|
body: yield serializers.ExecutePromptStreamRequest.jsonOrThrow(request, {
|
|
@@ -205,7 +211,7 @@ class VellumClient {
|
|
|
205
211
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
206
212
|
"X-Fern-Language": "JavaScript",
|
|
207
213
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
208
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
214
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
209
215
|
},
|
|
210
216
|
contentType: "application/json",
|
|
211
217
|
body: yield serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, {
|
|
@@ -289,7 +295,7 @@ class VellumClient {
|
|
|
289
295
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
290
296
|
"X-Fern-Language": "JavaScript",
|
|
291
297
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
292
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
298
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
293
299
|
},
|
|
294
300
|
contentType: "application/json",
|
|
295
301
|
body: yield serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -352,7 +358,7 @@ class VellumClient {
|
|
|
352
358
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
353
359
|
"X-Fern-Language": "JavaScript",
|
|
354
360
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
355
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
361
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
356
362
|
},
|
|
357
363
|
contentType: "application/json",
|
|
358
364
|
body: yield serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -425,7 +431,7 @@ class VellumClient {
|
|
|
425
431
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
426
432
|
"X-Fern-Language": "JavaScript",
|
|
427
433
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
428
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
434
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
429
435
|
},
|
|
430
436
|
contentType: "application/json",
|
|
431
437
|
body: yield serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -494,7 +500,7 @@ class VellumClient {
|
|
|
494
500
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
495
501
|
"X-Fern-Language": "JavaScript",
|
|
496
502
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
497
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
503
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
498
504
|
},
|
|
499
505
|
contentType: "application/json",
|
|
500
506
|
body: yield serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, {
|
|
@@ -557,7 +563,7 @@ class VellumClient {
|
|
|
557
563
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
558
564
|
"X-Fern-Language": "JavaScript",
|
|
559
565
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
560
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
566
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
561
567
|
},
|
|
562
568
|
contentType: "application/json",
|
|
563
569
|
body: yield serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class Deployments {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -108,7 +108,7 @@ class Deployments {
|
|
|
108
108
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
109
109
|
"X-Fern-Language": "JavaScript",
|
|
110
110
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
111
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
111
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
112
112
|
},
|
|
113
113
|
contentType: "application/json",
|
|
114
114
|
body: yield serializers.DeploymentProviderPayloadRequest.jsonOrThrow(request, {
|
|
@@ -62,7 +62,7 @@ class DocumentIndexes {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: yield serializers.DocumentIndexCreateRequest.jsonOrThrow(request, {
|
|
@@ -114,7 +114,7 @@ class DocumentIndexes {
|
|
|
114
114
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
115
115
|
"X-Fern-Language": "JavaScript",
|
|
116
116
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
117
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
117
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
118
118
|
},
|
|
119
119
|
contentType: "application/json",
|
|
120
120
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -81,7 +81,7 @@ class Documents {
|
|
|
81
81
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
84
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
84
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
85
85
|
},
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
queryParameters: _queryParams,
|
|
@@ -128,7 +128,7 @@ class Documents {
|
|
|
128
128
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
131
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
131
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
132
132
|
},
|
|
133
133
|
contentType: "application/json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -172,7 +172,7 @@ class Documents {
|
|
|
172
172
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
173
173
|
"X-Fern-Language": "JavaScript",
|
|
174
174
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
175
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
175
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
176
176
|
},
|
|
177
177
|
contentType: "application/json",
|
|
178
178
|
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
@@ -248,7 +248,7 @@ class Documents {
|
|
|
248
248
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
249
249
|
"X-Fern-Language": "JavaScript",
|
|
250
250
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
251
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
251
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
252
252
|
},
|
|
253
253
|
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
254
254
|
body: _request,
|
|
@@ -62,7 +62,7 @@ class ModelVersions {
|
|
|
62
62
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
65
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
65
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -69,7 +69,7 @@ class RegisteredPrompts {
|
|
|
69
69
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
70
70
|
"X-Fern-Language": "JavaScript",
|
|
71
71
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
72
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
72
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
73
73
|
},
|
|
74
74
|
contentType: "application/json",
|
|
75
75
|
body: yield serializers.RegisterPromptRequestRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class Sandboxes {
|
|
|
68
68
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
71
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
71
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
|
|
@@ -123,7 +123,7 @@ class Sandboxes {
|
|
|
123
123
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
126
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
126
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -74,7 +74,7 @@ class TestSuites {
|
|
|
74
74
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
77
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
77
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
78
78
|
},
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
|
|
@@ -129,7 +129,7 @@ class TestSuites {
|
|
|
129
129
|
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "vellum-ai",
|
|
132
|
-
"X-Fern-SDK-Version": "v0.1.
|
|
132
|
+
"X-Fern-SDK-Version": "v0.1.10",
|
|
133
133
|
},
|
|
134
134
|
contentType: "application/json",
|
|
135
135
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|