vellum-ai 0.0.35 → 0.0.37
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/api/types/DeploymentRead.d.ts +2 -8
- package/api/types/{ModelTypeEnum.d.ts → ModelTypeDeprecated.d.ts} +2 -2
- package/{dist/api/types/ModelTypeEnum.js → api/types/ModelTypeDeprecated.js} +2 -2
- package/api/types/ModelVersionExecConfig.d.ts +1 -1
- package/api/types/ModelVersionRead.d.ts +1 -7
- package/api/types/NodeInputCompiledChatHistoryValue.d.ts +9 -0
- package/api/types/NodeInputCompiledJsonValue.d.ts +8 -0
- package/api/types/NodeInputCompiledSearchResultsValue.d.ts +9 -0
- package/api/types/NodeInputCompiledStringValue.d.ts +8 -0
- package/api/types/NodeInputVariableCompiledValue.d.ts +19 -0
- package/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/api/types/SearchNodeResultData.d.ts +4 -2
- package/api/types/SearchResult.d.ts +3 -3
- package/api/types/TemplatingNodeChatHistoryResult.d.ts +8 -0
- package/api/types/TemplatingNodeJsonResult.d.ts +7 -0
- package/api/types/{DeploymentNodeResult.d.ts → TemplatingNodeResult.d.ts} +2 -2
- package/{dist/api/types/DeploymentNodeResult.d.ts → api/types/TemplatingNodeResultData.d.ts} +2 -2
- package/api/types/TemplatingNodeResultOutput.d.ts +19 -0
- package/api/types/TemplatingNodeSearchResultsResult.d.ts +8 -0
- package/api/types/TemplatingNodeSearchResultsResult.js +5 -0
- package/api/types/TemplatingNodeStringResult.d.ts +7 -0
- package/api/types/TemplatingNodeStringResult.js +5 -0
- package/api/types/TerminalNodeChatHistoryResult.d.ts +1 -0
- package/api/types/TerminalNodeJsonResult.d.ts +1 -0
- package/api/types/TerminalNodeResultOutput.d.ts +4 -1
- package/api/types/TerminalNodeSearchResultsResult.d.ts +10 -0
- package/api/types/TerminalNodeSearchResultsResult.js +5 -0
- package/api/types/TerminalNodeStringResult.d.ts +1 -0
- package/{dist/api/types/InputVariable.d.ts → api/types/VellumVariable.d.ts} +2 -2
- package/api/types/VellumVariable.js +5 -0
- package/api/types/VellumVariableType.d.ts +16 -0
- package/{dist/api/types/InputVariableType.js → api/types/VellumVariableType.js} +3 -2
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/api/types/WorkflowNodeResultData.d.ts +4 -7
- package/api/types/WorkflowNodeResultEvent.d.ts +1 -0
- package/api/types/WorkflowResultEventOutputData.d.ts +4 -1
- package/api/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
- package/api/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
- package/api/types/WorkflowResultEventOutputDataSearchResults.d.ts +13 -0
- package/api/types/WorkflowResultEventOutputDataSearchResults.js +5 -0
- package/api/types/WorkflowResultEventOutputDataString.d.ts +1 -0
- package/api/types/index.d.ts +17 -7
- package/api/types/index.js +17 -7
- package/dist/api/types/DeploymentRead.d.ts +2 -8
- package/dist/api/types/{ModelTypeEnum.d.ts → ModelTypeDeprecated.d.ts} +2 -2
- package/{api/types/ModelTypeEnum.js → dist/api/types/ModelTypeDeprecated.js} +2 -2
- package/dist/api/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/api/types/ModelVersionRead.d.ts +1 -7
- package/dist/api/types/NodeInputCompiledChatHistoryValue.d.ts +9 -0
- package/dist/api/types/NodeInputCompiledChatHistoryValue.js +5 -0
- package/dist/api/types/NodeInputCompiledJsonValue.d.ts +8 -0
- package/dist/api/types/NodeInputCompiledJsonValue.js +5 -0
- package/dist/api/types/NodeInputCompiledSearchResultsValue.d.ts +9 -0
- package/dist/api/types/NodeInputCompiledSearchResultsValue.js +5 -0
- package/dist/api/types/NodeInputCompiledStringValue.d.ts +8 -0
- package/dist/api/types/NodeInputCompiledStringValue.js +5 -0
- package/dist/api/types/NodeInputVariableCompiledValue.d.ts +19 -0
- package/dist/api/types/NodeInputVariableCompiledValue.js +5 -0
- package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/dist/api/types/SearchNodeResultData.d.ts +4 -2
- package/dist/api/types/SearchResult.d.ts +3 -3
- package/dist/api/types/TemplatingNodeChatHistoryResult.d.ts +8 -0
- package/dist/api/types/TemplatingNodeChatHistoryResult.js +5 -0
- package/dist/api/types/TemplatingNodeJsonResult.d.ts +7 -0
- package/dist/api/types/TemplatingNodeJsonResult.js +5 -0
- package/dist/api/types/{SandboxNodeResult.d.ts → TemplatingNodeResult.d.ts} +2 -2
- package/dist/api/types/TemplatingNodeResult.js +5 -0
- package/{api/types/SandboxNodeResult.d.ts → dist/api/types/TemplatingNodeResultData.d.ts} +2 -2
- package/dist/api/types/TemplatingNodeResultData.js +5 -0
- package/dist/api/types/TemplatingNodeResultOutput.d.ts +19 -0
- package/dist/api/types/TemplatingNodeResultOutput.js +5 -0
- package/dist/api/types/TemplatingNodeSearchResultsResult.d.ts +8 -0
- package/dist/api/types/TemplatingNodeSearchResultsResult.js +5 -0
- package/dist/api/types/TemplatingNodeStringResult.d.ts +7 -0
- package/dist/api/types/TemplatingNodeStringResult.js +5 -0
- package/dist/api/types/TerminalNodeChatHistoryResult.d.ts +1 -0
- package/dist/api/types/TerminalNodeJsonResult.d.ts +1 -0
- package/dist/api/types/TerminalNodeResultOutput.d.ts +4 -1
- package/dist/api/types/TerminalNodeSearchResultsResult.d.ts +10 -0
- package/dist/api/types/TerminalNodeSearchResultsResult.js +5 -0
- package/dist/api/types/TerminalNodeStringResult.d.ts +1 -0
- package/{api/types/InputVariable.d.ts → dist/api/types/VellumVariable.d.ts} +2 -2
- package/dist/api/types/VellumVariable.js +5 -0
- package/dist/api/types/VellumVariableType.d.ts +16 -0
- package/{api/types/InputVariableType.js → dist/api/types/VellumVariableType.js} +3 -2
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
- package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/api/types/WorkflowNodeResultData.d.ts +4 -7
- package/dist/api/types/WorkflowNodeResultEvent.d.ts +1 -0
- package/dist/api/types/WorkflowResultEventOutputData.d.ts +4 -1
- package/dist/api/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
- package/dist/api/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
- package/dist/api/types/WorkflowResultEventOutputDataSearchResults.d.ts +13 -0
- package/dist/api/types/WorkflowResultEventOutputDataSearchResults.js +5 -0
- package/dist/api/types/WorkflowResultEventOutputDataString.d.ts +1 -0
- package/dist/api/types/index.d.ts +17 -7
- package/dist/api/types/index.js +17 -7
- package/dist/serialization/types/DeploymentRead.d.ts +2 -2
- package/dist/serialization/types/DeploymentRead.js +2 -2
- package/{serialization/types/ModelTypeEnum.d.ts → dist/serialization/types/ModelTypeDeprecated.d.ts} +2 -2
- package/dist/serialization/types/{ModelTypeEnum.js → ModelTypeDeprecated.js} +2 -2
- package/dist/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/serialization/types/ModelVersionExecConfig.js +1 -1
- package/dist/serialization/types/ModelVersionRead.d.ts +1 -1
- package/dist/serialization/types/ModelVersionRead.js +1 -1
- package/dist/serialization/types/NodeInputCompiledChatHistoryValue.d.ts +14 -0
- package/dist/serialization/types/NodeInputCompiledChatHistoryValue.js +37 -0
- package/dist/serialization/types/NodeInputCompiledJsonValue.d.ts +14 -0
- package/dist/serialization/types/NodeInputCompiledJsonValue.js +35 -0
- package/dist/serialization/types/NodeInputCompiledSearchResultsValue.d.ts +14 -0
- package/dist/serialization/types/NodeInputCompiledSearchResultsValue.js +37 -0
- package/dist/serialization/types/NodeInputCompiledStringValue.d.ts +14 -0
- package/dist/serialization/types/{DeploymentNodeResultData.js → NodeInputCompiledStringValue.js} +5 -5
- package/dist/serialization/types/NodeInputVariableCompiledValue.d.ts +22 -0
- package/dist/serialization/types/NodeInputVariableCompiledValue.js +41 -0
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
- package/dist/serialization/types/SearchNodeResultData.d.ts +2 -2
- package/dist/serialization/types/SearchNodeResultData.js +2 -2
- package/dist/serialization/types/SearchResult.d.ts +2 -2
- package/dist/serialization/types/SearchResult.js +2 -2
- package/dist/serialization/types/TemplatingNodeChatHistoryResult.d.ts +13 -0
- package/dist/serialization/types/TemplatingNodeChatHistoryResult.js +36 -0
- package/dist/serialization/types/TemplatingNodeJsonResult.d.ts +13 -0
- package/dist/serialization/types/TemplatingNodeJsonResult.js +34 -0
- package/dist/serialization/types/TemplatingNodeResult.d.ts +12 -0
- package/dist/serialization/types/{DeploymentNodeResult.js → TemplatingNodeResult.js} +3 -3
- package/dist/serialization/types/TemplatingNodeResultData.d.ts +12 -0
- package/dist/serialization/types/{SandboxNodeResult.js → TemplatingNodeResultData.js} +3 -3
- package/dist/serialization/types/TemplatingNodeResultOutput.d.ts +22 -0
- package/dist/serialization/types/TemplatingNodeResultOutput.js +41 -0
- package/dist/serialization/types/TemplatingNodeSearchResultsResult.d.ts +13 -0
- package/dist/serialization/types/TemplatingNodeSearchResultsResult.js +36 -0
- package/dist/serialization/types/TemplatingNodeStringResult.d.ts +13 -0
- package/dist/serialization/types/TemplatingNodeStringResult.js +34 -0
- package/dist/serialization/types/TerminalNodeChatHistoryResult.d.ts +1 -0
- package/dist/serialization/types/TerminalNodeChatHistoryResult.js +1 -0
- package/dist/serialization/types/TerminalNodeJsonResult.d.ts +1 -0
- package/dist/serialization/types/TerminalNodeJsonResult.js +1 -0
- package/dist/serialization/types/TerminalNodeResultOutput.d.ts +4 -1
- package/dist/serialization/types/TerminalNodeResultOutput.js +1 -0
- package/dist/serialization/types/TerminalNodeSearchResultsResult.d.ts +14 -0
- package/dist/serialization/types/TerminalNodeSearchResultsResult.js +37 -0
- package/dist/serialization/types/TerminalNodeStringResult.d.ts +1 -0
- package/dist/serialization/types/TerminalNodeStringResult.js +1 -0
- package/{serialization/types/InputVariable.d.ts → dist/serialization/types/VellumVariable.d.ts} +3 -3
- package/{serialization/types/InputVariable.js → dist/serialization/types/VellumVariable.js} +3 -3
- package/dist/serialization/types/VellumVariableType.d.ts +10 -0
- package/{serialization/types/InputVariableType.js → dist/serialization/types/VellumVariableType.js} +2 -2
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/dist/serialization/types/WorkflowNodeResultData.d.ts +4 -7
- package/dist/serialization/types/WorkflowNodeResultData.js +1 -2
- package/dist/serialization/types/WorkflowNodeResultEvent.d.ts +1 -0
- package/dist/serialization/types/WorkflowNodeResultEvent.js +3 -0
- package/dist/serialization/types/WorkflowResultEventOutputData.d.ts +4 -1
- package/dist/serialization/types/WorkflowResultEventOutputData.js +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataChatHistory.js +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataJson.js +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataSearchResults.d.ts +17 -0
- package/dist/serialization/types/{SandboxNodeResultData.js → WorkflowResultEventOutputDataSearchResults.js} +9 -4
- package/dist/serialization/types/WorkflowResultEventOutputDataString.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataString.js +1 -0
- package/dist/serialization/types/index.d.ts +17 -7
- package/dist/serialization/types/index.js +17 -7
- package/package.json +1 -1
- package/serialization/types/DeploymentRead.d.ts +2 -2
- package/serialization/types/DeploymentRead.js +2 -2
- package/{dist/serialization/types/ModelTypeEnum.d.ts → serialization/types/ModelTypeDeprecated.d.ts} +2 -2
- package/serialization/types/{ModelTypeEnum.js → ModelTypeDeprecated.js} +2 -2
- package/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/serialization/types/ModelVersionExecConfig.js +1 -1
- package/serialization/types/ModelVersionRead.d.ts +1 -1
- package/serialization/types/ModelVersionRead.js +1 -1
- package/serialization/types/NodeInputCompiledChatHistoryValue.d.ts +14 -0
- package/serialization/types/NodeInputCompiledChatHistoryValue.js +37 -0
- package/serialization/types/NodeInputCompiledJsonValue.d.ts +14 -0
- package/serialization/types/NodeInputCompiledJsonValue.js +35 -0
- package/serialization/types/NodeInputCompiledSearchResultsValue.d.ts +14 -0
- package/serialization/types/NodeInputCompiledSearchResultsValue.js +37 -0
- package/serialization/types/NodeInputCompiledStringValue.d.ts +14 -0
- package/serialization/types/NodeInputCompiledStringValue.js +35 -0
- package/serialization/types/NodeInputVariableCompiledValue.d.ts +22 -0
- package/serialization/types/NodeInputVariableCompiledValue.js +41 -0
- package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
- package/serialization/types/SearchNodeResultData.d.ts +2 -2
- package/serialization/types/SearchNodeResultData.js +2 -2
- package/serialization/types/SearchResult.d.ts +2 -2
- package/serialization/types/SearchResult.js +2 -2
- package/serialization/types/TemplatingNodeChatHistoryResult.d.ts +13 -0
- package/serialization/types/TemplatingNodeChatHistoryResult.js +36 -0
- package/serialization/types/TemplatingNodeJsonResult.d.ts +13 -0
- package/serialization/types/TemplatingNodeJsonResult.js +34 -0
- package/serialization/types/TemplatingNodeResult.d.ts +12 -0
- package/serialization/types/{DeploymentNodeResult.js → TemplatingNodeResult.js} +3 -3
- package/serialization/types/TemplatingNodeResultData.d.ts +12 -0
- package/serialization/types/{SandboxNodeResult.js → TemplatingNodeResultData.js} +3 -3
- package/serialization/types/TemplatingNodeResultOutput.d.ts +22 -0
- package/serialization/types/TemplatingNodeResultOutput.js +41 -0
- package/serialization/types/TemplatingNodeSearchResultsResult.d.ts +13 -0
- package/serialization/types/TemplatingNodeSearchResultsResult.js +36 -0
- package/serialization/types/TemplatingNodeStringResult.d.ts +13 -0
- package/serialization/types/TemplatingNodeStringResult.js +34 -0
- package/serialization/types/TerminalNodeChatHistoryResult.d.ts +1 -0
- package/serialization/types/TerminalNodeChatHistoryResult.js +1 -0
- package/serialization/types/TerminalNodeJsonResult.d.ts +1 -0
- package/serialization/types/TerminalNodeJsonResult.js +1 -0
- package/serialization/types/TerminalNodeResultOutput.d.ts +4 -1
- package/serialization/types/TerminalNodeResultOutput.js +1 -0
- package/serialization/types/TerminalNodeSearchResultsResult.d.ts +14 -0
- package/serialization/types/TerminalNodeSearchResultsResult.js +37 -0
- package/serialization/types/TerminalNodeStringResult.d.ts +1 -0
- package/serialization/types/TerminalNodeStringResult.js +1 -0
- package/{dist/serialization/types/InputVariable.d.ts → serialization/types/VellumVariable.d.ts} +3 -3
- package/{dist/serialization/types/InputVariable.js → serialization/types/VellumVariable.js} +3 -3
- package/serialization/types/VellumVariableType.d.ts +10 -0
- package/{dist/serialization/types/InputVariableType.js → serialization/types/VellumVariableType.js} +2 -2
- package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
- package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
- package/serialization/types/WorkflowNodeResultData.d.ts +4 -7
- package/serialization/types/WorkflowNodeResultData.js +1 -2
- package/serialization/types/WorkflowNodeResultEvent.d.ts +1 -0
- package/serialization/types/WorkflowNodeResultEvent.js +3 -0
- package/serialization/types/WorkflowResultEventOutputData.d.ts +4 -1
- package/serialization/types/WorkflowResultEventOutputData.js +1 -0
- package/serialization/types/WorkflowResultEventOutputDataChatHistory.d.ts +1 -0
- package/serialization/types/WorkflowResultEventOutputDataChatHistory.js +1 -0
- package/serialization/types/WorkflowResultEventOutputDataJson.d.ts +1 -0
- package/serialization/types/WorkflowResultEventOutputDataJson.js +1 -0
- package/serialization/types/WorkflowResultEventOutputDataSearchResults.d.ts +17 -0
- package/serialization/types/{DeploymentNodeResultData.js → WorkflowResultEventOutputDataSearchResults.js} +9 -4
- package/serialization/types/WorkflowResultEventOutputDataString.d.ts +1 -0
- package/serialization/types/WorkflowResultEventOutputDataString.js +1 -0
- package/serialization/types/index.d.ts +17 -7
- package/serialization/types/index.js +17 -7
- package/api/types/DeploymentNodeResultData.d.ts +0 -8
- package/api/types/InputVariableType.d.ts +0 -14
- package/api/types/SandboxNodeResultData.d.ts +0 -8
- package/dist/api/types/DeploymentNodeResultData.d.ts +0 -8
- package/dist/api/types/InputVariableType.d.ts +0 -14
- package/dist/api/types/SandboxNodeResultData.d.ts +0 -8
- package/dist/serialization/types/DeploymentNodeResult.d.ts +0 -12
- package/dist/serialization/types/DeploymentNodeResultData.d.ts +0 -14
- package/dist/serialization/types/InputVariableType.d.ts +0 -10
- package/dist/serialization/types/SandboxNodeResult.d.ts +0 -12
- package/dist/serialization/types/SandboxNodeResultData.d.ts +0 -14
- package/serialization/types/DeploymentNodeResult.d.ts +0 -12
- package/serialization/types/DeploymentNodeResultData.d.ts +0 -14
- package/serialization/types/InputVariableType.d.ts +0 -10
- package/serialization/types/SandboxNodeResult.d.ts +0 -12
- package/serialization/types/SandboxNodeResultData.d.ts +0 -14
- package/serialization/types/SandboxNodeResultData.js +0 -35
- /package/api/types/{DeploymentNodeResult.js → NodeInputCompiledChatHistoryValue.js} +0 -0
- /package/api/types/{DeploymentNodeResultData.js → NodeInputCompiledJsonValue.js} +0 -0
- /package/api/types/{InputVariable.js → NodeInputCompiledSearchResultsValue.js} +0 -0
- /package/api/types/{SandboxNodeResult.js → NodeInputCompiledStringValue.js} +0 -0
- /package/api/types/{SandboxNodeResultData.js → NodeInputVariableCompiledValue.js} +0 -0
- /package/{dist/api/types/DeploymentNodeResult.js → api/types/TemplatingNodeChatHistoryResult.js} +0 -0
- /package/{dist/api/types/DeploymentNodeResultData.js → api/types/TemplatingNodeJsonResult.js} +0 -0
- /package/{dist/api/types/InputVariable.js → api/types/TemplatingNodeResult.js} +0 -0
- /package/{dist/api/types/SandboxNodeResult.js → api/types/TemplatingNodeResultData.js} +0 -0
- /package/{dist/api/types/SandboxNodeResultData.js → api/types/TemplatingNodeResultOutput.js} +0 -0
|
@@ -26,10 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.WorkflowResultEventOutputDataSearchResults = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
exports.WorkflowResultEventOutputDataSearchResults = core.serialization.object({
|
|
32
|
+
id: core.serialization.string().optional(),
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
35
|
+
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
34
36
|
delta: core.serialization.string().optional(),
|
|
37
|
+
value: core.serialization
|
|
38
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchResult))
|
|
39
|
+
.optional(),
|
|
35
40
|
});
|
|
@@ -7,6 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const WorkflowResultEventOutputDataString: core.serialization.ObjectSchema<serializers.WorkflowResultEventOutputDataString.Raw, Vellum.WorkflowResultEventOutputDataString>;
|
|
8
8
|
export declare namespace WorkflowResultEventOutputDataString {
|
|
9
9
|
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
10
11
|
name: string;
|
|
11
12
|
state: serializers.WorkflowNodeResultEventState.Raw;
|
|
12
13
|
node_id: string;
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.WorkflowResultEventOutputDataString = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.WorkflowResultEventOutputDataString = core.serialization.object({
|
|
32
|
+
id: core.serialization.string().optional(),
|
|
32
33
|
name: core.serialization.string(),
|
|
33
34
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
35
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
@@ -5,8 +5,6 @@ export * from "./ChatMessageRole";
|
|
|
5
5
|
export * from "./ConditionalNodeResult";
|
|
6
6
|
export * from "./ConditionalNodeResultData";
|
|
7
7
|
export * from "./ContentType";
|
|
8
|
-
export * from "./DeploymentNodeResult";
|
|
9
|
-
export * from "./DeploymentNodeResultData";
|
|
10
8
|
export * from "./DeploymentRead";
|
|
11
9
|
export * from "./DeploymentStatus";
|
|
12
10
|
export * from "./Document";
|
|
@@ -32,13 +30,11 @@ export * from "./GenerateStreamResponse";
|
|
|
32
30
|
export * from "./GenerateStreamResult";
|
|
33
31
|
export * from "./GenerateStreamResultData";
|
|
34
32
|
export * from "./IndexingStateEnum";
|
|
35
|
-
export * from "./InputVariable";
|
|
36
|
-
export * from "./InputVariableType";
|
|
37
33
|
export * from "./LogprobsEnum";
|
|
38
34
|
export * from "./MetadataFilterConfigRequest";
|
|
39
35
|
export * from "./MetadataFilterRuleCombinator";
|
|
40
36
|
export * from "./MetadataFilterRuleRequest";
|
|
41
|
-
export * from "./
|
|
37
|
+
export * from "./ModelTypeDeprecated";
|
|
42
38
|
export * from "./ModelVersionBuildConfig";
|
|
43
39
|
export * from "./ModelVersionCompilePromptResponse";
|
|
44
40
|
export * from "./ModelVersionCompiledPrompt";
|
|
@@ -47,6 +43,11 @@ export * from "./ModelVersionExecConfigParameters";
|
|
|
47
43
|
export * from "./ModelVersionRead";
|
|
48
44
|
export * from "./ModelVersionReadStatusEnum";
|
|
49
45
|
export * from "./ModelVersionSandboxSnapshot";
|
|
46
|
+
export * from "./NodeInputCompiledChatHistoryValue";
|
|
47
|
+
export * from "./NodeInputCompiledJsonValue";
|
|
48
|
+
export * from "./NodeInputCompiledSearchResultsValue";
|
|
49
|
+
export * from "./NodeInputCompiledStringValue";
|
|
50
|
+
export * from "./NodeInputVariableCompiledValue";
|
|
50
51
|
export * from "./NormalizedLogProbs";
|
|
51
52
|
export * from "./NormalizedTokenLogProbs";
|
|
52
53
|
export * from "./PaginatedSlimDocumentList";
|
|
@@ -73,8 +74,6 @@ export * from "./RegisteredPromptSandbox";
|
|
|
73
74
|
export * from "./RegisteredPromptSandboxSnapshot";
|
|
74
75
|
export * from "./SandboxMetricInputParams";
|
|
75
76
|
export * from "./SandboxMetricInputParamsRequest";
|
|
76
|
-
export * from "./SandboxNodeResult";
|
|
77
|
-
export * from "./SandboxNodeResultData";
|
|
78
77
|
export * from "./SandboxScenario";
|
|
79
78
|
export * from "./ScenarioInput";
|
|
80
79
|
export * from "./ScenarioInputRequest";
|
|
@@ -91,15 +90,25 @@ export * from "./SearchWeightsRequest";
|
|
|
91
90
|
export * from "./SlimDocument";
|
|
92
91
|
export * from "./SubmitCompletionActualRequest";
|
|
93
92
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
93
|
+
export * from "./TemplatingNodeChatHistoryResult";
|
|
94
|
+
export * from "./TemplatingNodeJsonResult";
|
|
95
|
+
export * from "./TemplatingNodeResult";
|
|
96
|
+
export * from "./TemplatingNodeResultData";
|
|
97
|
+
export * from "./TemplatingNodeResultOutput";
|
|
98
|
+
export * from "./TemplatingNodeSearchResultsResult";
|
|
99
|
+
export * from "./TemplatingNodeStringResult";
|
|
94
100
|
export * from "./TerminalNodeChatHistoryResult";
|
|
95
101
|
export * from "./TerminalNodeJsonResult";
|
|
96
102
|
export * from "./TerminalNodeResult";
|
|
97
103
|
export * from "./TerminalNodeResultData";
|
|
98
104
|
export * from "./TerminalNodeResultOutput";
|
|
105
|
+
export * from "./TerminalNodeSearchResultsResult";
|
|
99
106
|
export * from "./TerminalNodeStringResult";
|
|
100
107
|
export * from "./TestSuiteTestCase";
|
|
101
108
|
export * from "./UploadDocumentErrorResponse";
|
|
102
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
103
112
|
export * from "./WorkflowEventError";
|
|
104
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
105
114
|
export * from "./WorkflowExecutionEventType";
|
|
@@ -116,5 +125,6 @@ export * from "./WorkflowResultEvent";
|
|
|
116
125
|
export * from "./WorkflowResultEventOutputData";
|
|
117
126
|
export * from "./WorkflowResultEventOutputDataChatHistory";
|
|
118
127
|
export * from "./WorkflowResultEventOutputDataJson";
|
|
128
|
+
export * from "./WorkflowResultEventOutputDataSearchResults";
|
|
119
129
|
export * from "./WorkflowResultEventOutputDataString";
|
|
120
130
|
export * from "./WorkflowStreamEvent";
|
|
@@ -21,8 +21,6 @@ __exportStar(require("./ChatMessageRole"), exports);
|
|
|
21
21
|
__exportStar(require("./ConditionalNodeResult"), exports);
|
|
22
22
|
__exportStar(require("./ConditionalNodeResultData"), exports);
|
|
23
23
|
__exportStar(require("./ContentType"), exports);
|
|
24
|
-
__exportStar(require("./DeploymentNodeResult"), exports);
|
|
25
|
-
__exportStar(require("./DeploymentNodeResultData"), exports);
|
|
26
24
|
__exportStar(require("./DeploymentRead"), exports);
|
|
27
25
|
__exportStar(require("./DeploymentStatus"), exports);
|
|
28
26
|
__exportStar(require("./Document"), exports);
|
|
@@ -48,13 +46,11 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
48
46
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
49
47
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
50
48
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
51
|
-
__exportStar(require("./InputVariable"), exports);
|
|
52
|
-
__exportStar(require("./InputVariableType"), exports);
|
|
53
49
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
54
50
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
55
51
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
56
52
|
__exportStar(require("./MetadataFilterRuleRequest"), exports);
|
|
57
|
-
__exportStar(require("./
|
|
53
|
+
__exportStar(require("./ModelTypeDeprecated"), exports);
|
|
58
54
|
__exportStar(require("./ModelVersionBuildConfig"), exports);
|
|
59
55
|
__exportStar(require("./ModelVersionCompilePromptResponse"), exports);
|
|
60
56
|
__exportStar(require("./ModelVersionCompiledPrompt"), exports);
|
|
@@ -63,6 +59,11 @@ __exportStar(require("./ModelVersionExecConfigParameters"), exports);
|
|
|
63
59
|
__exportStar(require("./ModelVersionRead"), exports);
|
|
64
60
|
__exportStar(require("./ModelVersionReadStatusEnum"), exports);
|
|
65
61
|
__exportStar(require("./ModelVersionSandboxSnapshot"), exports);
|
|
62
|
+
__exportStar(require("./NodeInputCompiledChatHistoryValue"), exports);
|
|
63
|
+
__exportStar(require("./NodeInputCompiledJsonValue"), exports);
|
|
64
|
+
__exportStar(require("./NodeInputCompiledSearchResultsValue"), exports);
|
|
65
|
+
__exportStar(require("./NodeInputCompiledStringValue"), exports);
|
|
66
|
+
__exportStar(require("./NodeInputVariableCompiledValue"), exports);
|
|
66
67
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
67
68
|
__exportStar(require("./NormalizedTokenLogProbs"), exports);
|
|
68
69
|
__exportStar(require("./PaginatedSlimDocumentList"), exports);
|
|
@@ -89,8 +90,6 @@ __exportStar(require("./RegisteredPromptSandbox"), exports);
|
|
|
89
90
|
__exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
|
|
90
91
|
__exportStar(require("./SandboxMetricInputParams"), exports);
|
|
91
92
|
__exportStar(require("./SandboxMetricInputParamsRequest"), exports);
|
|
92
|
-
__exportStar(require("./SandboxNodeResult"), exports);
|
|
93
|
-
__exportStar(require("./SandboxNodeResultData"), exports);
|
|
94
93
|
__exportStar(require("./SandboxScenario"), exports);
|
|
95
94
|
__exportStar(require("./ScenarioInput"), exports);
|
|
96
95
|
__exportStar(require("./ScenarioInputRequest"), exports);
|
|
@@ -107,15 +106,25 @@ __exportStar(require("./SearchWeightsRequest"), exports);
|
|
|
107
106
|
__exportStar(require("./SlimDocument"), exports);
|
|
108
107
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
109
108
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
109
|
+
__exportStar(require("./TemplatingNodeChatHistoryResult"), exports);
|
|
110
|
+
__exportStar(require("./TemplatingNodeJsonResult"), exports);
|
|
111
|
+
__exportStar(require("./TemplatingNodeResult"), exports);
|
|
112
|
+
__exportStar(require("./TemplatingNodeResultData"), exports);
|
|
113
|
+
__exportStar(require("./TemplatingNodeResultOutput"), exports);
|
|
114
|
+
__exportStar(require("./TemplatingNodeSearchResultsResult"), exports);
|
|
115
|
+
__exportStar(require("./TemplatingNodeStringResult"), exports);
|
|
110
116
|
__exportStar(require("./TerminalNodeChatHistoryResult"), exports);
|
|
111
117
|
__exportStar(require("./TerminalNodeJsonResult"), exports);
|
|
112
118
|
__exportStar(require("./TerminalNodeResult"), exports);
|
|
113
119
|
__exportStar(require("./TerminalNodeResultData"), exports);
|
|
114
120
|
__exportStar(require("./TerminalNodeResultOutput"), exports);
|
|
121
|
+
__exportStar(require("./TerminalNodeSearchResultsResult"), exports);
|
|
115
122
|
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
116
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
117
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
118
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
119
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
120
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
121
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
@@ -132,5 +141,6 @@ __exportStar(require("./WorkflowResultEvent"), exports);
|
|
|
132
141
|
__exportStar(require("./WorkflowResultEventOutputData"), exports);
|
|
133
142
|
__exportStar(require("./WorkflowResultEventOutputDataChatHistory"), exports);
|
|
134
143
|
__exportStar(require("./WorkflowResultEventOutputDataJson"), exports);
|
|
144
|
+
__exportStar(require("./WorkflowResultEventOutputDataSearchResults"), exports);
|
|
135
145
|
__exportStar(require("./WorkflowResultEventOutputDataString"), exports);
|
|
136
146
|
__exportStar(require("./WorkflowStreamEvent"), exports);
|
package/package.json
CHANGED
|
@@ -13,9 +13,9 @@ export declare namespace DeploymentRead {
|
|
|
13
13
|
name: string;
|
|
14
14
|
status?: serializers.DeploymentStatus.Raw | null;
|
|
15
15
|
environment?: serializers.EnvironmentEnum.Raw | null;
|
|
16
|
-
model_type: serializers.
|
|
16
|
+
model_type: serializers.ModelTypeDeprecated.Raw;
|
|
17
17
|
active_model_version_ids: string[];
|
|
18
18
|
last_deployed_on: string;
|
|
19
|
-
input_variables: serializers.
|
|
19
|
+
input_variables: serializers.VellumVariable.Raw[];
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -35,8 +35,8 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
35
35
|
name: core.serialization.string(),
|
|
36
36
|
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DeploymentStatus).optional(),
|
|
37
37
|
environment: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).EnvironmentEnum).optional(),
|
|
38
|
-
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
38
|
+
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelTypeDeprecated)),
|
|
39
39
|
activeModelVersionIds: core.serialization.property("active_model_version_ids", core.serialization.list(core.serialization.string())),
|
|
40
40
|
lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.string()),
|
|
41
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
41
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariable))),
|
|
42
42
|
});
|
package/{dist/serialization/types/ModelTypeEnum.d.ts → serialization/types/ModelTypeDeprecated.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ModelTypeDeprecated: core.serialization.Schema<serializers.ModelTypeDeprecated.Raw, Vellum.ModelTypeDeprecated>;
|
|
8
|
+
export declare namespace ModelTypeDeprecated {
|
|
9
9
|
type Raw = "GENERATE" | "CLASSIFY";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ModelTypeDeprecated = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.ModelTypeDeprecated = core.serialization.enum_(["GENERATE", "CLASSIFY"]);
|
|
@@ -8,7 +8,7 @@ export declare const ModelVersionExecConfig: core.serialization.ObjectSchema<ser
|
|
|
8
8
|
export declare namespace ModelVersionExecConfig {
|
|
9
9
|
interface Raw {
|
|
10
10
|
parameters: serializers.ModelVersionExecConfigParameters.Raw;
|
|
11
|
-
input_variables: serializers.
|
|
11
|
+
input_variables: serializers.VellumVariable.Raw[];
|
|
12
12
|
prompt_template?: string | null;
|
|
13
13
|
prompt_block_data?: serializers.PromptTemplateBlockData.Raw | null;
|
|
14
14
|
prompt_syntax_version?: number | null;
|
|
@@ -30,7 +30,7 @@ exports.ModelVersionExecConfig = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.ModelVersionExecConfig = core.serialization.object({
|
|
32
32
|
parameters: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelVersionExecConfigParameters),
|
|
33
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
33
|
+
inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariable))),
|
|
34
34
|
promptTemplate: core.serialization.property("prompt_template", core.serialization.string().optional()),
|
|
35
35
|
promptBlockData: core.serialization.property("prompt_block_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockData).optional()),
|
|
36
36
|
promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
|
|
@@ -10,7 +10,7 @@ export declare namespace ModelVersionRead {
|
|
|
10
10
|
id: string;
|
|
11
11
|
created: string;
|
|
12
12
|
label: string;
|
|
13
|
-
model_type: serializers.
|
|
13
|
+
model_type: serializers.ModelTypeDeprecated.Raw;
|
|
14
14
|
provider: serializers.ProviderEnum.Raw;
|
|
15
15
|
external_id: string;
|
|
16
16
|
build_config: serializers.ModelVersionBuildConfig.Raw;
|
|
@@ -32,7 +32,7 @@ exports.ModelVersionRead = core.serialization.object({
|
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
created: core.serialization.string(),
|
|
34
34
|
label: core.serialization.string(),
|
|
35
|
-
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
35
|
+
modelType: core.serialization.property("model_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelTypeDeprecated)),
|
|
36
36
|
provider: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProviderEnum),
|
|
37
37
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
38
38
|
buildConfig: core.serialization.property("build_config", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelVersionBuildConfig)),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const NodeInputCompiledChatHistoryValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledChatHistoryValue.Raw, Vellum.NodeInputCompiledChatHistoryValue>;
|
|
8
|
+
export declare namespace NodeInputCompiledChatHistoryValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_input_id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
value?: serializers.ChatMessage.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NodeInputCompiledChatHistoryValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NodeInputCompiledChatHistoryValue = core.serialization.object({
|
|
32
|
+
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
33
|
+
key: core.serialization.string(),
|
|
34
|
+
value: core.serialization
|
|
35
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage))
|
|
36
|
+
.optional(),
|
|
37
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const NodeInputCompiledJsonValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledJsonValue.Raw, Vellum.NodeInputCompiledJsonValue>;
|
|
8
|
+
export declare namespace NodeInputCompiledJsonValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_input_id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
value?: Record<string, unknown> | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NodeInputCompiledJsonValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NodeInputCompiledJsonValue = core.serialization.object({
|
|
32
|
+
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
33
|
+
key: core.serialization.string(),
|
|
34
|
+
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const NodeInputCompiledSearchResultsValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledSearchResultsValue.Raw, Vellum.NodeInputCompiledSearchResultsValue>;
|
|
8
|
+
export declare namespace NodeInputCompiledSearchResultsValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_input_id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
value?: serializers.SearchResult.Raw[] | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NodeInputCompiledSearchResultsValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NodeInputCompiledSearchResultsValue = core.serialization.object({
|
|
32
|
+
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
33
|
+
key: core.serialization.string(),
|
|
34
|
+
value: core.serialization
|
|
35
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchResult))
|
|
36
|
+
.optional(),
|
|
37
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const NodeInputCompiledStringValue: core.serialization.ObjectSchema<serializers.NodeInputCompiledStringValue.Raw, Vellum.NodeInputCompiledStringValue>;
|
|
8
|
+
export declare namespace NodeInputCompiledStringValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_input_id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
value?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NodeInputCompiledStringValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NodeInputCompiledStringValue = core.serialization.object({
|
|
32
|
+
nodeInputId: core.serialization.property("node_input_id", core.serialization.string()),
|
|
33
|
+
key: core.serialization.string(),
|
|
34
|
+
value: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const NodeInputVariableCompiledValue: core.serialization.Schema<serializers.NodeInputVariableCompiledValue.Raw, Vellum.NodeInputVariableCompiledValue>;
|
|
8
|
+
export declare namespace NodeInputVariableCompiledValue {
|
|
9
|
+
type Raw = NodeInputVariableCompiledValue.String | NodeInputVariableCompiledValue.Json | NodeInputVariableCompiledValue.ChatHistory | NodeInputVariableCompiledValue.SearchResults;
|
|
10
|
+
interface String extends serializers.NodeInputCompiledStringValue.Raw {
|
|
11
|
+
type: "STRING";
|
|
12
|
+
}
|
|
13
|
+
interface Json extends serializers.NodeInputCompiledJsonValue.Raw {
|
|
14
|
+
type: "JSON";
|
|
15
|
+
}
|
|
16
|
+
interface ChatHistory extends serializers.NodeInputCompiledChatHistoryValue.Raw {
|
|
17
|
+
type: "CHAT_HISTORY";
|
|
18
|
+
}
|
|
19
|
+
interface SearchResults extends serializers.NodeInputCompiledSearchResultsValue.Raw {
|
|
20
|
+
type: "SEARCH_RESULTS";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NodeInputVariableCompiledValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NodeInputVariableCompiledValue = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
STRING: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledStringValue),
|
|
34
|
+
JSON: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledJsonValue),
|
|
35
|
+
CHAT_HISTORY: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledChatHistoryValue),
|
|
36
|
+
SEARCH_RESULTS: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).NodeInputCompiledSearchResultsValue),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
exports.RegisteredPromptInputVariableRequest = core.serialization.object({
|
|
32
32
|
key: core.serialization.string(),
|
|
33
33
|
id: core.serialization.string().optional(),
|
|
34
|
-
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).VellumVariableType).optional(),
|
|
35
35
|
});
|
|
@@ -8,8 +8,8 @@ export declare const SearchNodeResultData: core.serialization.ObjectSchema<seria
|
|
|
8
8
|
export declare namespace SearchNodeResultData {
|
|
9
9
|
interface Raw {
|
|
10
10
|
results_output_id: string;
|
|
11
|
-
results:
|
|
12
|
-
text_output_id
|
|
11
|
+
results: serializers.SearchResult.Raw[];
|
|
12
|
+
text_output_id: string;
|
|
13
13
|
text?: string | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -30,7 +30,7 @@ exports.SearchNodeResultData = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.SearchNodeResultData = core.serialization.object({
|
|
32
32
|
resultsOutputId: core.serialization.property("results_output_id", core.serialization.string()),
|
|
33
|
-
results: core.serialization.list(core.serialization.
|
|
34
|
-
textOutputId: core.serialization.property("text_output_id", core.serialization.string()
|
|
33
|
+
results: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchResult)),
|
|
34
|
+
textOutputId: core.serialization.property("text_output_id", core.serialization.string()),
|
|
35
35
|
text: core.serialization.string().optional(),
|
|
36
36
|
});
|
|
@@ -7,9 +7,9 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const SearchResult: core.serialization.ObjectSchema<serializers.SearchResult.Raw, Vellum.SearchResult>;
|
|
8
8
|
export declare namespace SearchResult {
|
|
9
9
|
interface Raw {
|
|
10
|
-
document: serializers.Document.Raw;
|
|
11
10
|
text: string;
|
|
12
|
-
keywords: string[];
|
|
13
11
|
score: number;
|
|
12
|
+
keywords: string[];
|
|
13
|
+
document: serializers.Document.Raw;
|
|
14
14
|
}
|
|
15
15
|
}
|