vellum-ai 0.14.81 → 0.14.83
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 +11 -11
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +2 -0
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/releaseReviews/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ContainerImageBuildConfig.d.ts +1 -0
- package/api/types/DocumentRead.d.ts +2 -0
- package/api/types/ExecutionThinkingVellumValue.d.ts +14 -0
- package/api/types/ExecutionThinkingVellumValue.js +5 -0
- package/api/types/ExecutionVellumValue.d.ts +1 -1
- package/api/types/GoogleVertexAiVectorizerGeminiEmbedding001.d.ts +8 -0
- package/api/types/GoogleVertexAiVectorizerGeminiEmbedding001.js +5 -0
- package/api/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.d.ts +8 -0
- package/api/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.js +5 -0
- package/api/types/IndexingConfigVectorizer.d.ts +1 -1
- package/api/types/IndexingConfigVectorizerRequest.d.ts +1 -1
- package/api/types/PromptOutput.d.ts +1 -1
- package/api/types/ThinkingVellumValue.d.ts +11 -0
- package/api/types/ThinkingVellumValue.js +5 -0
- package/api/types/ThinkingVellumValueRequest.d.ts +11 -0
- package/api/types/ThinkingVellumValueRequest.js +5 -0
- package/api/types/VellumValue.d.ts +1 -1
- package/api/types/VellumValueRequest.d.ts +1 -1
- package/api/types/VellumVariableType.d.ts +3 -1
- package/api/types/VellumVariableType.js +1 -0
- package/api/types/WorkflowSandboxExample.d.ts +2 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +2 -0
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/releaseReviews/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ContainerImageBuildConfig.d.ts +1 -0
- package/dist/api/types/DocumentRead.d.ts +2 -0
- package/dist/api/types/ExecutionThinkingVellumValue.d.ts +14 -0
- package/dist/api/types/ExecutionThinkingVellumValue.js +5 -0
- package/dist/api/types/ExecutionVellumValue.d.ts +1 -1
- package/dist/api/types/GoogleVertexAiVectorizerGeminiEmbedding001.d.ts +8 -0
- package/dist/api/types/GoogleVertexAiVectorizerGeminiEmbedding001.js +5 -0
- package/dist/api/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.d.ts +8 -0
- package/dist/api/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.js +5 -0
- package/dist/api/types/IndexingConfigVectorizer.d.ts +1 -1
- package/dist/api/types/IndexingConfigVectorizerRequest.d.ts +1 -1
- package/dist/api/types/PromptOutput.d.ts +1 -1
- package/dist/api/types/ThinkingVellumValue.d.ts +11 -0
- package/dist/api/types/ThinkingVellumValue.js +5 -0
- package/dist/api/types/ThinkingVellumValueRequest.d.ts +11 -0
- package/dist/api/types/ThinkingVellumValueRequest.js +5 -0
- package/dist/api/types/VellumValue.d.ts +1 -1
- package/dist/api/types/VellumValueRequest.d.ts +1 -1
- package/dist/api/types/VellumVariableType.d.ts +3 -1
- package/dist/api/types/VellumVariableType.js +1 -0
- package/dist/api/types/WorkflowSandboxExample.d.ts +2 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +1 -0
- package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +1 -0
- package/dist/serialization/types/ContainerImageBuildConfig.d.ts +1 -0
- package/dist/serialization/types/ContainerImageBuildConfig.js +1 -0
- package/dist/serialization/types/DocumentRead.d.ts +1 -0
- package/dist/serialization/types/DocumentRead.js +1 -0
- package/dist/serialization/types/ExecutionThinkingVellumValue.d.ts +16 -0
- package/dist/serialization/types/ExecutionThinkingVellumValue.js +47 -0
- package/dist/serialization/types/ExecutionVellumValue.d.ts +2 -1
- package/dist/serialization/types/ExecutionVellumValue.js +2 -0
- package/dist/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001.d.ts +14 -0
- package/dist/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001.js +45 -0
- package/dist/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.d.ts +14 -0
- package/dist/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.js +45 -0
- package/dist/serialization/types/IndexingConfigVectorizer.d.ts +2 -1
- package/dist/serialization/types/IndexingConfigVectorizer.js +2 -0
- package/dist/serialization/types/IndexingConfigVectorizerRequest.d.ts +2 -1
- package/dist/serialization/types/IndexingConfigVectorizerRequest.js +2 -0
- package/dist/serialization/types/PromptOutput.d.ts +2 -1
- package/dist/serialization/types/PromptOutput.js +2 -0
- package/dist/serialization/types/ThinkingVellumValue.d.ts +14 -0
- package/dist/serialization/types/ThinkingVellumValue.js +45 -0
- package/dist/serialization/types/ThinkingVellumValueRequest.d.ts +14 -0
- package/dist/serialization/types/ThinkingVellumValueRequest.js +45 -0
- package/dist/serialization/types/VellumValue.d.ts +2 -1
- package/dist/serialization/types/VellumValue.js +2 -0
- package/dist/serialization/types/VellumValueRequest.d.ts +2 -1
- package/dist/serialization/types/VellumValueRequest.js +2 -0
- package/dist/serialization/types/VellumVariableType.d.ts +1 -1
- package/dist/serialization/types/VellumVariableType.js +1 -0
- package/dist/serialization/types/WorkflowSandboxExample.d.ts +2 -0
- package/dist/serialization/types/WorkflowSandboxExample.js +2 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +1 -0
- package/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +1 -0
- package/serialization/types/ContainerImageBuildConfig.d.ts +1 -0
- package/serialization/types/ContainerImageBuildConfig.js +1 -0
- package/serialization/types/DocumentRead.d.ts +1 -0
- package/serialization/types/DocumentRead.js +1 -0
- package/serialization/types/ExecutionThinkingVellumValue.d.ts +16 -0
- package/serialization/types/ExecutionThinkingVellumValue.js +47 -0
- package/serialization/types/ExecutionVellumValue.d.ts +2 -1
- package/serialization/types/ExecutionVellumValue.js +2 -0
- package/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001.d.ts +14 -0
- package/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001.js +45 -0
- package/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.d.ts +14 -0
- package/serialization/types/GoogleVertexAiVectorizerGeminiEmbedding001Request.js +45 -0
- package/serialization/types/IndexingConfigVectorizer.d.ts +2 -1
- package/serialization/types/IndexingConfigVectorizer.js +2 -0
- package/serialization/types/IndexingConfigVectorizerRequest.d.ts +2 -1
- package/serialization/types/IndexingConfigVectorizerRequest.js +2 -0
- package/serialization/types/PromptOutput.d.ts +2 -1
- package/serialization/types/PromptOutput.js +2 -0
- package/serialization/types/ThinkingVellumValue.d.ts +14 -0
- package/serialization/types/ThinkingVellumValue.js +45 -0
- package/serialization/types/ThinkingVellumValueRequest.d.ts +14 -0
- package/serialization/types/ThinkingVellumValueRequest.js +45 -0
- package/serialization/types/VellumValue.d.ts +2 -1
- package/serialization/types/VellumValue.js +2 -0
- package/serialization/types/VellumValueRequest.d.ts +2 -1
- package/serialization/types/VellumValueRequest.js +2 -0
- package/serialization/types/VellumVariableType.d.ts +1 -1
- package/serialization/types/VellumVariableType.js +1 -0
- package/serialization/types/WorkflowSandboxExample.d.ts +2 -0
- package/serialization/types/WorkflowSandboxExample.js +2 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -84,7 +84,7 @@ class TestSuiteRuns {
|
|
|
84
84
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
85
85
|
.default, "v1/test-suite-runs"),
|
|
86
86
|
method: "POST",
|
|
87
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
87
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.TestSuiteRunCreateRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -146,7 +146,7 @@ class TestSuiteRuns {
|
|
|
146
146
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
147
147
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}`),
|
|
148
148
|
method: "GET",
|
|
149
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
149
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
150
150
|
contentType: "application/json",
|
|
151
151
|
requestType: "json",
|
|
152
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -222,7 +222,7 @@ class TestSuiteRuns {
|
|
|
222
222
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
223
223
|
.default, `v1/test-suite-runs/${encodeURIComponent(id)}/executions`),
|
|
224
224
|
method: "GET",
|
|
225
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
225
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
226
226
|
contentType: "application/json",
|
|
227
227
|
queryParameters: _queryParams,
|
|
228
228
|
requestType: "json",
|
|
@@ -86,7 +86,7 @@ class TestSuites {
|
|
|
86
86
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
87
87
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
88
88
|
method: "GET",
|
|
89
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
89
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -176,7 +176,7 @@ class TestSuites {
|
|
|
176
176
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
177
177
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
178
178
|
method: "POST",
|
|
179
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
179
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
180
180
|
contentType: "application/json",
|
|
181
181
|
requestType: "json",
|
|
182
182
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -232,7 +232,7 @@ class TestSuites {
|
|
|
232
232
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
233
233
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
234
234
|
method: "POST",
|
|
235
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
235
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
236
236
|
contentType: "application/x-ndjson",
|
|
237
237
|
requestType: "json",
|
|
238
238
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -308,7 +308,7 @@ class TestSuites {
|
|
|
308
308
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
309
309
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
310
310
|
method: "DELETE",
|
|
311
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
311
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
312
312
|
contentType: "application/json",
|
|
313
313
|
requestType: "json",
|
|
314
314
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -93,7 +93,7 @@ class WorkflowDeployments {
|
|
|
93
93
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
94
94
|
.default, "v1/workflow-deployments"),
|
|
95
95
|
method: "GET",
|
|
96
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
96
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
99
99
|
requestType: "json",
|
|
@@ -155,7 +155,7 @@ class WorkflowDeployments {
|
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
156
156
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
158
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
requestType: "json",
|
|
161
161
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -226,7 +226,7 @@ class WorkflowDeployments {
|
|
|
226
226
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
227
227
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
|
|
228
228
|
method: "GET",
|
|
229
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
229
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
230
230
|
contentType: "application/json",
|
|
231
231
|
queryParameters: _queryParams,
|
|
232
232
|
requestType: "json",
|
|
@@ -287,7 +287,7 @@ class WorkflowDeployments {
|
|
|
287
287
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
288
288
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events/${encodeURIComponent(executionId)}`),
|
|
289
289
|
method: "GET",
|
|
290
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
290
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
291
291
|
contentType: "application/json",
|
|
292
292
|
requestType: "json",
|
|
293
293
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -350,7 +350,7 @@ class WorkflowDeployments {
|
|
|
350
350
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
351
351
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
|
|
352
352
|
method: "GET",
|
|
353
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
353
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
354
354
|
contentType: "application/json",
|
|
355
355
|
requestType: "json",
|
|
356
356
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -428,7 +428,7 @@ class WorkflowDeployments {
|
|
|
428
428
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
429
429
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
|
|
430
430
|
method: "GET",
|
|
431
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
431
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
432
432
|
contentType: "application/json",
|
|
433
433
|
queryParameters: _queryParams,
|
|
434
434
|
requestType: "json",
|
|
@@ -491,7 +491,7 @@ class WorkflowDeployments {
|
|
|
491
491
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
492
492
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
493
493
|
method: "GET",
|
|
494
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
494
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
495
495
|
contentType: "application/json",
|
|
496
496
|
requestType: "json",
|
|
497
497
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -554,7 +554,7 @@ class WorkflowDeployments {
|
|
|
554
554
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
555
555
|
.default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
|
|
556
556
|
method: "PATCH",
|
|
557
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
557
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
558
558
|
contentType: "application/json",
|
|
559
559
|
requestType: "json",
|
|
560
560
|
body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
|
|
@@ -77,7 +77,7 @@ class WorkflowSandboxes {
|
|
|
77
77
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
78
78
|
.default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
|
|
79
79
|
method: "POST",
|
|
80
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
80
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -155,7 +155,7 @@ class WorkflowSandboxes {
|
|
|
155
155
|
url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
|
|
156
156
|
.default, "v1/workflow-sandboxes/examples"),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
158
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
queryParameters: _queryParams,
|
|
161
161
|
requestType: "json",
|
|
@@ -87,7 +87,7 @@ class Workflows {
|
|
|
87
87
|
url: (0, url_join_1.default)((_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : ((_f = (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.VellumEnvironment.Production)
|
|
88
88
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
89
89
|
method: "GET",
|
|
90
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
90
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
queryParameters: _queryParams,
|
|
93
93
|
requestType: "json",
|
|
@@ -168,7 +168,7 @@ class Workflows {
|
|
|
168
168
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
169
169
|
.default, "v1/workflows/push"),
|
|
170
170
|
method: "POST",
|
|
171
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
171
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
172
172
|
requestType: "file",
|
|
173
173
|
duplex: _maybeEncodedRequest.duplex,
|
|
174
174
|
body: _maybeEncodedRequest.body,
|
|
@@ -77,7 +77,7 @@ class WorkspaceSecrets {
|
|
|
77
77
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
78
78
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
79
79
|
method: "GET",
|
|
80
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
80
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
contentType: "application/json",
|
|
82
82
|
requestType: "json",
|
|
83
83
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -139,7 +139,7 @@ class WorkspaceSecrets {
|
|
|
139
139
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
140
140
|
.default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
|
|
141
141
|
method: "PATCH",
|
|
142
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
142
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
143
143
|
contentType: "application/json",
|
|
144
144
|
requestType: "json",
|
|
145
145
|
body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
|
|
@@ -76,7 +76,7 @@ class Workspaces {
|
|
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
|
|
77
77
|
.default, "v1/workspaces/identity"),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
79
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.83", "User-Agent": "vellum-ai/0.14.83", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -16,6 +16,8 @@ export interface DocumentRead {
|
|
|
16
16
|
* * `ACTIVE` - Active
|
|
17
17
|
*/
|
|
18
18
|
status?: Vellum.DocumentStatus;
|
|
19
|
+
/** A list of keywords that'll be associated with the document. Used as part of keyword search. */
|
|
20
|
+
keywords?: string[];
|
|
19
21
|
originalFileUrl?: string | null;
|
|
20
22
|
documentToDocumentIndexes: Vellum.DocumentDocumentToDocumentIndex[];
|
|
21
23
|
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Thinking mode output.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionThinkingVellumValue {
|
|
9
|
+
/** The variable's uniquely identifying internal id. */
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: "THINKING";
|
|
13
|
+
value: Vellum.StringVellumValue;
|
|
14
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type ExecutionVellumValue = Vellum.ExecutionStringVellumValue | Vellum.ExecutionNumberVellumValue | Vellum.ExecutionJsonVellumValue | Vellum.ExecutionChatHistoryVellumValue | Vellum.ExecutionSearchResultsVellumValue | Vellum.ExecutionErrorVellumValue | Vellum.ExecutionArrayVellumValue | Vellum.ExecutionFunctionCallVellumValue;
|
|
5
|
+
export type ExecutionVellumValue = Vellum.ExecutionStringVellumValue | Vellum.ExecutionNumberVellumValue | Vellum.ExecutionJsonVellumValue | Vellum.ExecutionChatHistoryVellumValue | Vellum.ExecutionSearchResultsVellumValue | Vellum.ExecutionErrorVellumValue | Vellum.ExecutionArrayVellumValue | Vellum.ExecutionFunctionCallVellumValue | Vellum.ExecutionThinkingVellumValue;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface GoogleVertexAiVectorizerGeminiEmbedding001 {
|
|
6
|
+
modelName: "gemini-embedding-001";
|
|
7
|
+
config: Vellum.GoogleVertexAiVectorizerConfig;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface GoogleVertexAiVectorizerGeminiEmbedding001Request {
|
|
6
|
+
modelName: "gemini-embedding-001";
|
|
7
|
+
config: Vellum.GoogleVertexAiVectorizerConfigRequest;
|
|
8
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type IndexingConfigVectorizer = Vellum.OpenAiVectorizerTextEmbedding3Small | Vellum.OpenAiVectorizerTextEmbedding3Large | Vellum.OpenAiVectorizerTextEmbeddingAda002 | Vellum.BasicVectorizerIntfloatMultilingualE5Large | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1 | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1 | Vellum.HkunlpInstructorXlVectorizer | Vellum.GoogleVertexAiVectorizerTextEmbedding004 | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002 | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15;
|
|
5
|
+
export type IndexingConfigVectorizer = Vellum.OpenAiVectorizerTextEmbedding3Small | Vellum.OpenAiVectorizerTextEmbedding3Large | Vellum.OpenAiVectorizerTextEmbeddingAda002 | Vellum.BasicVectorizerIntfloatMultilingualE5Large | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1 | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1 | Vellum.HkunlpInstructorXlVectorizer | Vellum.GoogleVertexAiVectorizerTextEmbedding004 | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002 | Vellum.GoogleVertexAiVectorizerGeminiEmbedding001 | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type IndexingConfigVectorizerRequest = Vellum.OpenAiVectorizerTextEmbedding3SmallRequest | Vellum.OpenAiVectorizerTextEmbedding3LargeRequest | Vellum.OpenAiVectorizerTextEmbeddingAda002Request | Vellum.BasicVectorizerIntfloatMultilingualE5LargeRequest | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request | Vellum.HkunlpInstructorXlVectorizerRequest | Vellum.GoogleVertexAiVectorizerTextEmbedding004Request | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002Request | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15Request;
|
|
5
|
+
export type IndexingConfigVectorizerRequest = Vellum.OpenAiVectorizerTextEmbedding3SmallRequest | Vellum.OpenAiVectorizerTextEmbedding3LargeRequest | Vellum.OpenAiVectorizerTextEmbeddingAda002Request | Vellum.BasicVectorizerIntfloatMultilingualE5LargeRequest | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request | Vellum.HkunlpInstructorXlVectorizerRequest | Vellum.GoogleVertexAiVectorizerTextEmbedding004Request | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002Request | Vellum.GoogleVertexAiVectorizerGeminiEmbedding001Request | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15Request;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type PromptOutput = Vellum.StringVellumValue | Vellum.JsonVellumValue | Vellum.ErrorVellumValue | Vellum.FunctionCallVellumValue;
|
|
5
|
+
export type PromptOutput = Vellum.StringVellumValue | Vellum.JsonVellumValue | Vellum.ErrorVellumValue | Vellum.FunctionCallVellumValue | Vellum.ThinkingVellumValue;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Thinking mode output.
|
|
7
|
+
*/
|
|
8
|
+
export interface ThinkingVellumValue {
|
|
9
|
+
type: "THINKING";
|
|
10
|
+
value: Vellum.StringVellumValue;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A value representing Thinking mode output.
|
|
7
|
+
*/
|
|
8
|
+
export interface ThinkingVellumValueRequest {
|
|
9
|
+
type: "THINKING";
|
|
10
|
+
value: Vellum.StringVellumValueRequest;
|
|
11
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.AudioVellumValue | Vellum.DocumentVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue;
|
|
5
|
+
export type VellumValue = Vellum.StringVellumValue | Vellum.NumberVellumValue | Vellum.JsonVellumValue | Vellum.ImageVellumValue | Vellum.AudioVellumValue | Vellum.DocumentVellumValue | Vellum.FunctionCallVellumValue | Vellum.ErrorVellumValue | Vellum.ArrayVellumValue | Vellum.ChatHistoryVellumValue | Vellum.SearchResultsVellumValue | Vellum.ThinkingVellumValue;
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "../index";
|
|
5
|
-
export type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.AudioVellumValueRequest | Vellum.DocumentVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest;
|
|
5
|
+
export type VellumValueRequest = Vellum.StringVellumValueRequest | Vellum.NumberVellumValueRequest | Vellum.JsonVellumValueRequest | Vellum.ImageVellumValueRequest | Vellum.AudioVellumValueRequest | Vellum.DocumentVellumValueRequest | Vellum.FunctionCallVellumValueRequest | Vellum.ErrorVellumValueRequest | Vellum.ArrayVellumValueRequest | Vellum.ChatHistoryVellumValueRequest | Vellum.SearchResultsVellumValueRequest | Vellum.ThinkingVellumValueRequest;
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
* * `AUDIO` - AUDIO
|
|
15
15
|
* * `DOCUMENT` - DOCUMENT
|
|
16
16
|
* * `NULL` - NULL
|
|
17
|
+
* * `THINKING` - THINKING
|
|
17
18
|
*/
|
|
18
|
-
export type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "DOCUMENT" | "NULL";
|
|
19
|
+
export type VellumVariableType = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "DOCUMENT" | "NULL" | "THINKING";
|
|
19
20
|
export declare const VellumVariableType: {
|
|
20
21
|
readonly String: "STRING";
|
|
21
22
|
readonly Number: "NUMBER";
|
|
@@ -29,4 +30,5 @@ export declare const VellumVariableType: {
|
|
|
29
30
|
readonly Audio: "AUDIO";
|
|
30
31
|
readonly Document: "DOCUMENT";
|
|
31
32
|
readonly Null: "NULL";
|
|
33
|
+
readonly Thinking: "THINKING";
|
|
32
34
|
};
|
|
@@ -112,6 +112,7 @@ export * from "./ExecutionJsonVellumValue";
|
|
|
112
112
|
export * from "./ExecutionNumberVellumValue";
|
|
113
113
|
export * from "./ExecutionSearchResultsVellumValue";
|
|
114
114
|
export * from "./ExecutionStringVellumValue";
|
|
115
|
+
export * from "./ExecutionThinkingVellumValue";
|
|
115
116
|
export * from "./ExecutionVellumValue";
|
|
116
117
|
export * from "./ExternalInputDescriptor";
|
|
117
118
|
export * from "./ExternalTestCaseExecution";
|
|
@@ -160,6 +161,8 @@ export * from "./GenerateStreamResult";
|
|
|
160
161
|
export * from "./GenerateStreamResultData";
|
|
161
162
|
export * from "./GoogleVertexAiVectorizerConfig";
|
|
162
163
|
export * from "./GoogleVertexAiVectorizerConfigRequest";
|
|
164
|
+
export * from "./GoogleVertexAiVectorizerGeminiEmbedding001";
|
|
165
|
+
export * from "./GoogleVertexAiVectorizerGeminiEmbedding001Request";
|
|
163
166
|
export * from "./GoogleVertexAiVectorizerTextEmbedding004";
|
|
164
167
|
export * from "./GoogleVertexAiVectorizerTextEmbedding004Request";
|
|
165
168
|
export * from "./GoogleVertexAiVectorizerTextMultilingualEmbedding002";
|
|
@@ -481,6 +484,8 @@ export * from "./TestSuiteTestCaseReplaceBulkOperationRequest";
|
|
|
481
484
|
export * from "./TestSuiteTestCaseReplacedBulkResult";
|
|
482
485
|
export * from "./TestSuiteTestCaseReplacedBulkResultData";
|
|
483
486
|
export * from "./TestSuiteTestCaseUpsertBulkOperationRequest";
|
|
487
|
+
export * from "./ThinkingVellumValue";
|
|
488
|
+
export * from "./ThinkingVellumValueRequest";
|
|
484
489
|
export * from "./TokenOverlappingWindowChunkerConfig";
|
|
485
490
|
export * from "./TokenOverlappingWindowChunkerConfigRequest";
|
|
486
491
|
export * from "./TokenOverlappingWindowChunking";
|
package/dist/api/types/index.js
CHANGED
|
@@ -128,6 +128,7 @@ __exportStar(require("./ExecutionJsonVellumValue"), exports);
|
|
|
128
128
|
__exportStar(require("./ExecutionNumberVellumValue"), exports);
|
|
129
129
|
__exportStar(require("./ExecutionSearchResultsVellumValue"), exports);
|
|
130
130
|
__exportStar(require("./ExecutionStringVellumValue"), exports);
|
|
131
|
+
__exportStar(require("./ExecutionThinkingVellumValue"), exports);
|
|
131
132
|
__exportStar(require("./ExecutionVellumValue"), exports);
|
|
132
133
|
__exportStar(require("./ExternalInputDescriptor"), exports);
|
|
133
134
|
__exportStar(require("./ExternalTestCaseExecution"), exports);
|
|
@@ -176,6 +177,8 @@ __exportStar(require("./GenerateStreamResult"), exports);
|
|
|
176
177
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
177
178
|
__exportStar(require("./GoogleVertexAiVectorizerConfig"), exports);
|
|
178
179
|
__exportStar(require("./GoogleVertexAiVectorizerConfigRequest"), exports);
|
|
180
|
+
__exportStar(require("./GoogleVertexAiVectorizerGeminiEmbedding001"), exports);
|
|
181
|
+
__exportStar(require("./GoogleVertexAiVectorizerGeminiEmbedding001Request"), exports);
|
|
179
182
|
__exportStar(require("./GoogleVertexAiVectorizerTextEmbedding004"), exports);
|
|
180
183
|
__exportStar(require("./GoogleVertexAiVectorizerTextEmbedding004Request"), exports);
|
|
181
184
|
__exportStar(require("./GoogleVertexAiVectorizerTextMultilingualEmbedding002"), exports);
|
|
@@ -497,6 +500,8 @@ __exportStar(require("./TestSuiteTestCaseReplaceBulkOperationRequest"), exports)
|
|
|
497
500
|
__exportStar(require("./TestSuiteTestCaseReplacedBulkResult"), exports);
|
|
498
501
|
__exportStar(require("./TestSuiteTestCaseReplacedBulkResultData"), exports);
|
|
499
502
|
__exportStar(require("./TestSuiteTestCaseUpsertBulkOperationRequest"), exports);
|
|
503
|
+
__exportStar(require("./ThinkingVellumValue"), exports);
|
|
504
|
+
__exportStar(require("./ThinkingVellumValueRequest"), exports);
|
|
500
505
|
__exportStar(require("./TokenOverlappingWindowChunkerConfig"), exports);
|
|
501
506
|
__exportStar(require("./TokenOverlappingWindowChunkerConfigRequest"), exports);
|
|
502
507
|
__exportStar(require("./TokenOverlappingWindowChunking"), exports);
|
package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js
CHANGED
|
@@ -42,5 +42,6 @@ const DocumentStatus_1 = require("../../../../types/DocumentStatus");
|
|
|
42
42
|
exports.PatchedDocumentUpdateRequest = core.serialization.object({
|
|
43
43
|
label: core.serialization.string().optional(),
|
|
44
44
|
status: DocumentStatus_1.DocumentStatus.optional(),
|
|
45
|
+
keywords: core.serialization.list(core.serialization.string()).optional(),
|
|
45
46
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable(),
|
|
46
47
|
});
|
|
@@ -41,4 +41,5 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
const CodeExecutionPackage_1 = require("./CodeExecutionPackage");
|
|
42
42
|
exports.ContainerImageBuildConfig = core.serialization.object({
|
|
43
43
|
packages: core.serialization.list(CodeExecutionPackage_1.CodeExecutionPackage),
|
|
44
|
+
userScript: core.serialization.property("user_script", core.serialization.string().optionalNullable()),
|
|
44
45
|
});
|
|
@@ -16,6 +16,7 @@ export declare namespace DocumentRead {
|
|
|
16
16
|
label: string;
|
|
17
17
|
processing_state: DocumentProcessingState.Raw;
|
|
18
18
|
status?: DocumentStatus.Raw | null;
|
|
19
|
+
keywords?: string[] | null;
|
|
19
20
|
original_file_url?: (string | null) | null;
|
|
20
21
|
document_to_document_indexes: DocumentDocumentToDocumentIndex.Raw[];
|
|
21
22
|
metadata?: (Record<string, unknown> | null) | null;
|
|
@@ -48,6 +48,7 @@ exports.DocumentRead = core.serialization.object({
|
|
|
48
48
|
label: core.serialization.string(),
|
|
49
49
|
processingState: core.serialization.property("processing_state", DocumentProcessingState_1.DocumentProcessingState),
|
|
50
50
|
status: DocumentStatus_1.DocumentStatus.optional(),
|
|
51
|
+
keywords: core.serialization.list(core.serialization.string()).optional(),
|
|
51
52
|
originalFileUrl: core.serialization.property("original_file_url", core.serialization.string().optionalNullable()),
|
|
52
53
|
documentToDocumentIndexes: core.serialization.property("document_to_document_indexes", core.serialization.list(DocumentDocumentToDocumentIndex_1.DocumentDocumentToDocumentIndex)),
|
|
53
54
|
metadata: core.serialization
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { StringVellumValue } from "./StringVellumValue";
|
|
8
|
+
export declare const ExecutionThinkingVellumValue: core.serialization.ObjectSchema<serializers.ExecutionThinkingVellumValue.Raw, Vellum.ExecutionThinkingVellumValue>;
|
|
9
|
+
export declare namespace ExecutionThinkingVellumValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
type: "THINKING";
|
|
14
|
+
value: StringVellumValue.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|