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
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ExecutionThinkingVellumValue = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const StringVellumValue_1 = require("./StringVellumValue");
|
|
42
|
+
exports.ExecutionThinkingVellumValue = core.serialization.object({
|
|
43
|
+
id: core.serialization.string(),
|
|
44
|
+
name: core.serialization.string(),
|
|
45
|
+
type: core.serialization.stringLiteral("THINKING"),
|
|
46
|
+
value: StringVellumValue_1.StringVellumValue,
|
|
47
|
+
});
|
|
@@ -12,7 +12,8 @@ import { ExecutionSearchResultsVellumValue } from "./ExecutionSearchResultsVellu
|
|
|
12
12
|
import { ExecutionErrorVellumValue } from "./ExecutionErrorVellumValue";
|
|
13
13
|
import { ExecutionArrayVellumValue } from "./ExecutionArrayVellumValue";
|
|
14
14
|
import { ExecutionFunctionCallVellumValue } from "./ExecutionFunctionCallVellumValue";
|
|
15
|
+
import { ExecutionThinkingVellumValue } from "./ExecutionThinkingVellumValue";
|
|
15
16
|
export declare const ExecutionVellumValue: core.serialization.Schema<serializers.ExecutionVellumValue.Raw, Vellum.ExecutionVellumValue>;
|
|
16
17
|
export declare namespace ExecutionVellumValue {
|
|
17
|
-
type Raw = ExecutionStringVellumValue.Raw | ExecutionNumberVellumValue.Raw | ExecutionJsonVellumValue.Raw | ExecutionChatHistoryVellumValue.Raw | ExecutionSearchResultsVellumValue.Raw | ExecutionErrorVellumValue.Raw | ExecutionArrayVellumValue.Raw | ExecutionFunctionCallVellumValue.Raw;
|
|
18
|
+
type Raw = ExecutionStringVellumValue.Raw | ExecutionNumberVellumValue.Raw | ExecutionJsonVellumValue.Raw | ExecutionChatHistoryVellumValue.Raw | ExecutionSearchResultsVellumValue.Raw | ExecutionErrorVellumValue.Raw | ExecutionArrayVellumValue.Raw | ExecutionFunctionCallVellumValue.Raw | ExecutionThinkingVellumValue.Raw;
|
|
18
19
|
}
|
|
@@ -46,6 +46,7 @@ const ExecutionSearchResultsVellumValue_1 = require("./ExecutionSearchResultsVel
|
|
|
46
46
|
const ExecutionErrorVellumValue_1 = require("./ExecutionErrorVellumValue");
|
|
47
47
|
const ExecutionArrayVellumValue_1 = require("./ExecutionArrayVellumValue");
|
|
48
48
|
const ExecutionFunctionCallVellumValue_1 = require("./ExecutionFunctionCallVellumValue");
|
|
49
|
+
const ExecutionThinkingVellumValue_1 = require("./ExecutionThinkingVellumValue");
|
|
49
50
|
exports.ExecutionVellumValue = core.serialization.undiscriminatedUnion([
|
|
50
51
|
ExecutionStringVellumValue_1.ExecutionStringVellumValue,
|
|
51
52
|
ExecutionNumberVellumValue_1.ExecutionNumberVellumValue,
|
|
@@ -55,4 +56,5 @@ exports.ExecutionVellumValue = core.serialization.undiscriminatedUnion([
|
|
|
55
56
|
ExecutionErrorVellumValue_1.ExecutionErrorVellumValue,
|
|
56
57
|
ExecutionArrayVellumValue_1.ExecutionArrayVellumValue,
|
|
57
58
|
ExecutionFunctionCallVellumValue_1.ExecutionFunctionCallVellumValue,
|
|
59
|
+
ExecutionThinkingVellumValue_1.ExecutionThinkingVellumValue,
|
|
58
60
|
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { GoogleVertexAiVectorizerConfig } from "./GoogleVertexAiVectorizerConfig";
|
|
8
|
+
export declare const GoogleVertexAiVectorizerGeminiEmbedding001: core.serialization.ObjectSchema<serializers.GoogleVertexAiVectorizerGeminiEmbedding001.Raw, Vellum.GoogleVertexAiVectorizerGeminiEmbedding001>;
|
|
9
|
+
export declare namespace GoogleVertexAiVectorizerGeminiEmbedding001 {
|
|
10
|
+
interface Raw {
|
|
11
|
+
model_name: "gemini-embedding-001";
|
|
12
|
+
config: GoogleVertexAiVectorizerConfig.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GoogleVertexAiVectorizerGeminiEmbedding001 = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const GoogleVertexAiVectorizerConfig_1 = require("./GoogleVertexAiVectorizerConfig");
|
|
42
|
+
exports.GoogleVertexAiVectorizerGeminiEmbedding001 = core.serialization.object({
|
|
43
|
+
modelName: core.serialization.property("model_name", core.serialization.stringLiteral("gemini-embedding-001")),
|
|
44
|
+
config: GoogleVertexAiVectorizerConfig_1.GoogleVertexAiVectorizerConfig,
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { GoogleVertexAiVectorizerConfigRequest } from "./GoogleVertexAiVectorizerConfigRequest";
|
|
8
|
+
export declare const GoogleVertexAiVectorizerGeminiEmbedding001Request: core.serialization.ObjectSchema<serializers.GoogleVertexAiVectorizerGeminiEmbedding001Request.Raw, Vellum.GoogleVertexAiVectorizerGeminiEmbedding001Request>;
|
|
9
|
+
export declare namespace GoogleVertexAiVectorizerGeminiEmbedding001Request {
|
|
10
|
+
interface Raw {
|
|
11
|
+
model_name: "gemini-embedding-001";
|
|
12
|
+
config: GoogleVertexAiVectorizerConfigRequest.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GoogleVertexAiVectorizerGeminiEmbedding001Request = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const GoogleVertexAiVectorizerConfigRequest_1 = require("./GoogleVertexAiVectorizerConfigRequest");
|
|
42
|
+
exports.GoogleVertexAiVectorizerGeminiEmbedding001Request = core.serialization.object({
|
|
43
|
+
modelName: core.serialization.property("model_name", core.serialization.stringLiteral("gemini-embedding-001")),
|
|
44
|
+
config: GoogleVertexAiVectorizerConfigRequest_1.GoogleVertexAiVectorizerConfigRequest,
|
|
45
|
+
});
|
|
@@ -13,8 +13,9 @@ import { BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1 } from "./Basi
|
|
|
13
13
|
import { HkunlpInstructorXlVectorizer } from "./HkunlpInstructorXlVectorizer";
|
|
14
14
|
import { GoogleVertexAiVectorizerTextEmbedding004 } from "./GoogleVertexAiVectorizerTextEmbedding004";
|
|
15
15
|
import { GoogleVertexAiVectorizerTextMultilingualEmbedding002 } from "./GoogleVertexAiVectorizerTextMultilingualEmbedding002";
|
|
16
|
+
import { GoogleVertexAiVectorizerGeminiEmbedding001 } from "./GoogleVertexAiVectorizerGeminiEmbedding001";
|
|
16
17
|
import { FastEmbedVectorizerBaaiBgeSmallEnV15 } from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
|
|
17
18
|
export declare const IndexingConfigVectorizer: core.serialization.Schema<serializers.IndexingConfigVectorizer.Raw, Vellum.IndexingConfigVectorizer>;
|
|
18
19
|
export declare namespace IndexingConfigVectorizer {
|
|
19
|
-
type Raw = OpenAiVectorizerTextEmbedding3Small.Raw | OpenAiVectorizerTextEmbedding3Large.Raw | OpenAiVectorizerTextEmbeddingAda002.Raw | BasicVectorizerIntfloatMultilingualE5Large.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1.Raw | HkunlpInstructorXlVectorizer.Raw | GoogleVertexAiVectorizerTextEmbedding004.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15.Raw;
|
|
20
|
+
type Raw = OpenAiVectorizerTextEmbedding3Small.Raw | OpenAiVectorizerTextEmbedding3Large.Raw | OpenAiVectorizerTextEmbeddingAda002.Raw | BasicVectorizerIntfloatMultilingualE5Large.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1.Raw | HkunlpInstructorXlVectorizer.Raw | GoogleVertexAiVectorizerTextEmbedding004.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002.Raw | GoogleVertexAiVectorizerGeminiEmbedding001.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15.Raw;
|
|
20
21
|
}
|
|
@@ -47,6 +47,7 @@ const BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1_1 = require("./Ba
|
|
|
47
47
|
const HkunlpInstructorXlVectorizer_1 = require("./HkunlpInstructorXlVectorizer");
|
|
48
48
|
const GoogleVertexAiVectorizerTextEmbedding004_1 = require("./GoogleVertexAiVectorizerTextEmbedding004");
|
|
49
49
|
const GoogleVertexAiVectorizerTextMultilingualEmbedding002_1 = require("./GoogleVertexAiVectorizerTextMultilingualEmbedding002");
|
|
50
|
+
const GoogleVertexAiVectorizerGeminiEmbedding001_1 = require("./GoogleVertexAiVectorizerGeminiEmbedding001");
|
|
50
51
|
const FastEmbedVectorizerBaaiBgeSmallEnV15_1 = require("./FastEmbedVectorizerBaaiBgeSmallEnV15");
|
|
51
52
|
exports.IndexingConfigVectorizer = core.serialization.undiscriminatedUnion([
|
|
52
53
|
OpenAiVectorizerTextEmbedding3Small_1.OpenAiVectorizerTextEmbedding3Small,
|
|
@@ -58,5 +59,6 @@ exports.IndexingConfigVectorizer = core.serialization.undiscriminatedUnion([
|
|
|
58
59
|
HkunlpInstructorXlVectorizer_1.HkunlpInstructorXlVectorizer,
|
|
59
60
|
GoogleVertexAiVectorizerTextEmbedding004_1.GoogleVertexAiVectorizerTextEmbedding004,
|
|
60
61
|
GoogleVertexAiVectorizerTextMultilingualEmbedding002_1.GoogleVertexAiVectorizerTextMultilingualEmbedding002,
|
|
62
|
+
GoogleVertexAiVectorizerGeminiEmbedding001_1.GoogleVertexAiVectorizerGeminiEmbedding001,
|
|
61
63
|
FastEmbedVectorizerBaaiBgeSmallEnV15_1.FastEmbedVectorizerBaaiBgeSmallEnV15,
|
|
62
64
|
]);
|
|
@@ -13,8 +13,9 @@ import { BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request } from
|
|
|
13
13
|
import { HkunlpInstructorXlVectorizerRequest } from "./HkunlpInstructorXlVectorizerRequest";
|
|
14
14
|
import { GoogleVertexAiVectorizerTextEmbedding004Request } from "./GoogleVertexAiVectorizerTextEmbedding004Request";
|
|
15
15
|
import { GoogleVertexAiVectorizerTextMultilingualEmbedding002Request } from "./GoogleVertexAiVectorizerTextMultilingualEmbedding002Request";
|
|
16
|
+
import { GoogleVertexAiVectorizerGeminiEmbedding001Request } from "./GoogleVertexAiVectorizerGeminiEmbedding001Request";
|
|
16
17
|
import { FastEmbedVectorizerBaaiBgeSmallEnV15Request } from "./FastEmbedVectorizerBaaiBgeSmallEnV15Request";
|
|
17
18
|
export declare const IndexingConfigVectorizerRequest: core.serialization.Schema<serializers.IndexingConfigVectorizerRequest.Raw, Vellum.IndexingConfigVectorizerRequest>;
|
|
18
19
|
export declare namespace IndexingConfigVectorizerRequest {
|
|
19
|
-
type Raw = OpenAiVectorizerTextEmbedding3SmallRequest.Raw | OpenAiVectorizerTextEmbedding3LargeRequest.Raw | OpenAiVectorizerTextEmbeddingAda002Request.Raw | BasicVectorizerIntfloatMultilingualE5LargeRequest.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request.Raw | HkunlpInstructorXlVectorizerRequest.Raw | GoogleVertexAiVectorizerTextEmbedding004Request.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002Request.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15Request.Raw;
|
|
20
|
+
type Raw = OpenAiVectorizerTextEmbedding3SmallRequest.Raw | OpenAiVectorizerTextEmbedding3LargeRequest.Raw | OpenAiVectorizerTextEmbeddingAda002Request.Raw | BasicVectorizerIntfloatMultilingualE5LargeRequest.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request.Raw | HkunlpInstructorXlVectorizerRequest.Raw | GoogleVertexAiVectorizerTextEmbedding004Request.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002Request.Raw | GoogleVertexAiVectorizerGeminiEmbedding001Request.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15Request.Raw;
|
|
20
21
|
}
|
|
@@ -47,6 +47,7 @@ const BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request_1 = requir
|
|
|
47
47
|
const HkunlpInstructorXlVectorizerRequest_1 = require("./HkunlpInstructorXlVectorizerRequest");
|
|
48
48
|
const GoogleVertexAiVectorizerTextEmbedding004Request_1 = require("./GoogleVertexAiVectorizerTextEmbedding004Request");
|
|
49
49
|
const GoogleVertexAiVectorizerTextMultilingualEmbedding002Request_1 = require("./GoogleVertexAiVectorizerTextMultilingualEmbedding002Request");
|
|
50
|
+
const GoogleVertexAiVectorizerGeminiEmbedding001Request_1 = require("./GoogleVertexAiVectorizerGeminiEmbedding001Request");
|
|
50
51
|
const FastEmbedVectorizerBaaiBgeSmallEnV15Request_1 = require("./FastEmbedVectorizerBaaiBgeSmallEnV15Request");
|
|
51
52
|
exports.IndexingConfigVectorizerRequest = core.serialization.undiscriminatedUnion([
|
|
52
53
|
OpenAiVectorizerTextEmbedding3SmallRequest_1.OpenAiVectorizerTextEmbedding3SmallRequest,
|
|
@@ -58,5 +59,6 @@ exports.IndexingConfigVectorizerRequest = core.serialization.undiscriminatedUnio
|
|
|
58
59
|
HkunlpInstructorXlVectorizerRequest_1.HkunlpInstructorXlVectorizerRequest,
|
|
59
60
|
GoogleVertexAiVectorizerTextEmbedding004Request_1.GoogleVertexAiVectorizerTextEmbedding004Request,
|
|
60
61
|
GoogleVertexAiVectorizerTextMultilingualEmbedding002Request_1.GoogleVertexAiVectorizerTextMultilingualEmbedding002Request,
|
|
62
|
+
GoogleVertexAiVectorizerGeminiEmbedding001Request_1.GoogleVertexAiVectorizerGeminiEmbedding001Request,
|
|
61
63
|
FastEmbedVectorizerBaaiBgeSmallEnV15Request_1.FastEmbedVectorizerBaaiBgeSmallEnV15Request,
|
|
62
64
|
]);
|
|
@@ -8,7 +8,8 @@ import { StringVellumValue } from "./StringVellumValue";
|
|
|
8
8
|
import { JsonVellumValue } from "./JsonVellumValue";
|
|
9
9
|
import { ErrorVellumValue } from "./ErrorVellumValue";
|
|
10
10
|
import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
|
|
11
|
+
import { ThinkingVellumValue } from "./ThinkingVellumValue";
|
|
11
12
|
export declare const PromptOutput: core.serialization.Schema<serializers.PromptOutput.Raw, Vellum.PromptOutput>;
|
|
12
13
|
export declare namespace PromptOutput {
|
|
13
|
-
type Raw = StringVellumValue.Raw | JsonVellumValue.Raw | ErrorVellumValue.Raw | FunctionCallVellumValue.Raw;
|
|
14
|
+
type Raw = StringVellumValue.Raw | JsonVellumValue.Raw | ErrorVellumValue.Raw | FunctionCallVellumValue.Raw | ThinkingVellumValue.Raw;
|
|
14
15
|
}
|
|
@@ -42,9 +42,11 @@ const StringVellumValue_1 = require("./StringVellumValue");
|
|
|
42
42
|
const JsonVellumValue_1 = require("./JsonVellumValue");
|
|
43
43
|
const ErrorVellumValue_1 = require("./ErrorVellumValue");
|
|
44
44
|
const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
|
|
45
|
+
const ThinkingVellumValue_1 = require("./ThinkingVellumValue");
|
|
45
46
|
exports.PromptOutput = core.serialization.undiscriminatedUnion([
|
|
46
47
|
StringVellumValue_1.StringVellumValue,
|
|
47
48
|
JsonVellumValue_1.JsonVellumValue,
|
|
48
49
|
ErrorVellumValue_1.ErrorVellumValue,
|
|
49
50
|
FunctionCallVellumValue_1.FunctionCallVellumValue,
|
|
51
|
+
ThinkingVellumValue_1.ThinkingVellumValue,
|
|
50
52
|
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { StringVellumValue } from "./StringVellumValue";
|
|
8
|
+
export declare const ThinkingVellumValue: core.serialization.ObjectSchema<serializers.ThinkingVellumValue.Raw, Vellum.ThinkingVellumValue>;
|
|
9
|
+
export declare namespace ThinkingVellumValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "THINKING";
|
|
12
|
+
value: StringVellumValue.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ThinkingVellumValue = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const StringVellumValue_1 = require("./StringVellumValue");
|
|
42
|
+
exports.ThinkingVellumValue = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("THINKING"),
|
|
44
|
+
value: StringVellumValue_1.StringVellumValue,
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { StringVellumValueRequest } from "./StringVellumValueRequest";
|
|
8
|
+
export declare const ThinkingVellumValueRequest: core.serialization.ObjectSchema<serializers.ThinkingVellumValueRequest.Raw, Vellum.ThinkingVellumValueRequest>;
|
|
9
|
+
export declare namespace ThinkingVellumValueRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
type: "THINKING";
|
|
12
|
+
value: StringVellumValueRequest.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ThinkingVellumValueRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const StringVellumValueRequest_1 = require("./StringVellumValueRequest");
|
|
42
|
+
exports.ThinkingVellumValueRequest = core.serialization.object({
|
|
43
|
+
type: core.serialization.stringLiteral("THINKING"),
|
|
44
|
+
value: StringVellumValueRequest_1.StringVellumValueRequest,
|
|
45
|
+
});
|
|
@@ -14,7 +14,8 @@ import { FunctionCallVellumValue } from "./FunctionCallVellumValue";
|
|
|
14
14
|
import { ErrorVellumValue } from "./ErrorVellumValue";
|
|
15
15
|
import { ChatHistoryVellumValue } from "./ChatHistoryVellumValue";
|
|
16
16
|
import { SearchResultsVellumValue } from "./SearchResultsVellumValue";
|
|
17
|
+
import { ThinkingVellumValue } from "./ThinkingVellumValue";
|
|
17
18
|
export declare const VellumValue: core.serialization.Schema<serializers.VellumValue.Raw, Vellum.VellumValue>;
|
|
18
19
|
export declare namespace VellumValue {
|
|
19
|
-
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | AudioVellumValue.Raw | DocumentVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw;
|
|
20
|
+
type Raw = StringVellumValue.Raw | NumberVellumValue.Raw | JsonVellumValue.Raw | ImageVellumValue.Raw | AudioVellumValue.Raw | DocumentVellumValue.Raw | FunctionCallVellumValue.Raw | ErrorVellumValue.Raw | serializers.ArrayVellumValue.Raw | ChatHistoryVellumValue.Raw | SearchResultsVellumValue.Raw | ThinkingVellumValue.Raw;
|
|
20
21
|
}
|
|
@@ -49,6 +49,7 @@ const FunctionCallVellumValue_1 = require("./FunctionCallVellumValue");
|
|
|
49
49
|
const ErrorVellumValue_1 = require("./ErrorVellumValue");
|
|
50
50
|
const ChatHistoryVellumValue_1 = require("./ChatHistoryVellumValue");
|
|
51
51
|
const SearchResultsVellumValue_1 = require("./SearchResultsVellumValue");
|
|
52
|
+
const ThinkingVellumValue_1 = require("./ThinkingVellumValue");
|
|
52
53
|
exports.VellumValue = core.serialization.undiscriminatedUnion([
|
|
53
54
|
StringVellumValue_1.StringVellumValue,
|
|
54
55
|
NumberVellumValue_1.NumberVellumValue,
|
|
@@ -61,4 +62,5 @@ exports.VellumValue = core.serialization.undiscriminatedUnion([
|
|
|
61
62
|
core.serialization.lazyObject(() => serializers.ArrayVellumValue),
|
|
62
63
|
ChatHistoryVellumValue_1.ChatHistoryVellumValue,
|
|
63
64
|
SearchResultsVellumValue_1.SearchResultsVellumValue,
|
|
65
|
+
ThinkingVellumValue_1.ThinkingVellumValue,
|
|
64
66
|
]);
|
|
@@ -14,7 +14,8 @@ import { FunctionCallVellumValueRequest } from "./FunctionCallVellumValueRequest
|
|
|
14
14
|
import { ErrorVellumValueRequest } from "./ErrorVellumValueRequest";
|
|
15
15
|
import { ChatHistoryVellumValueRequest } from "./ChatHistoryVellumValueRequest";
|
|
16
16
|
import { SearchResultsVellumValueRequest } from "./SearchResultsVellumValueRequest";
|
|
17
|
+
import { ThinkingVellumValueRequest } from "./ThinkingVellumValueRequest";
|
|
17
18
|
export declare const VellumValueRequest: core.serialization.Schema<serializers.VellumValueRequest.Raw, Vellum.VellumValueRequest>;
|
|
18
19
|
export declare namespace VellumValueRequest {
|
|
19
|
-
type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | AudioVellumValueRequest.Raw | DocumentVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw;
|
|
20
|
+
type Raw = StringVellumValueRequest.Raw | NumberVellumValueRequest.Raw | JsonVellumValueRequest.Raw | ImageVellumValueRequest.Raw | AudioVellumValueRequest.Raw | DocumentVellumValueRequest.Raw | FunctionCallVellumValueRequest.Raw | ErrorVellumValueRequest.Raw | serializers.ArrayVellumValueRequest.Raw | ChatHistoryVellumValueRequest.Raw | SearchResultsVellumValueRequest.Raw | ThinkingVellumValueRequest.Raw;
|
|
20
21
|
}
|
|
@@ -49,6 +49,7 @@ const FunctionCallVellumValueRequest_1 = require("./FunctionCallVellumValueReque
|
|
|
49
49
|
const ErrorVellumValueRequest_1 = require("./ErrorVellumValueRequest");
|
|
50
50
|
const ChatHistoryVellumValueRequest_1 = require("./ChatHistoryVellumValueRequest");
|
|
51
51
|
const SearchResultsVellumValueRequest_1 = require("./SearchResultsVellumValueRequest");
|
|
52
|
+
const ThinkingVellumValueRequest_1 = require("./ThinkingVellumValueRequest");
|
|
52
53
|
exports.VellumValueRequest = core.serialization.undiscriminatedUnion([
|
|
53
54
|
StringVellumValueRequest_1.StringVellumValueRequest,
|
|
54
55
|
NumberVellumValueRequest_1.NumberVellumValueRequest,
|
|
@@ -61,4 +62,5 @@ exports.VellumValueRequest = core.serialization.undiscriminatedUnion([
|
|
|
61
62
|
core.serialization.lazyObject(() => serializers.ArrayVellumValueRequest),
|
|
62
63
|
ChatHistoryVellumValueRequest_1.ChatHistoryVellumValueRequest,
|
|
63
64
|
SearchResultsVellumValueRequest_1.SearchResultsVellumValueRequest,
|
|
65
|
+
ThinkingVellumValueRequest_1.ThinkingVellumValueRequest,
|
|
64
66
|
]);
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
8
|
export declare namespace VellumVariableType {
|
|
9
|
-
type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "DOCUMENT" | "NULL";
|
|
9
|
+
type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "AUDIO" | "DOCUMENT" | "NULL" | "THINKING";
|
|
10
10
|
}
|
|
@@ -43,4 +43,6 @@ exports.WorkflowSandboxExample = core.serialization.object({
|
|
|
43
43
|
label: core.serialization.string(),
|
|
44
44
|
description: core.serialization.string().optionalNullable(),
|
|
45
45
|
iconName: core.serialization.property("icon_name", core.serialization.string().optionalNullable()),
|
|
46
|
+
uiImageUrl: core.serialization.property("ui_image_url", core.serialization.string().optionalNullable()),
|
|
47
|
+
codeImageUrl: core.serialization.property("code_image_url", core.serialization.string().optionalNullable()),
|
|
46
48
|
});
|
|
@@ -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";
|
|
@@ -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/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.83";
|
package/dist/version.js
CHANGED
package/package.json
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
|