vellum-ai 0.0.36 → 0.0.38
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 +1 -1
- package/api/types/DocumentRead.d.ts +1 -1
- package/api/types/ModelVersionExecConfig.d.ts +1 -1
- package/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/api/types/SearchResult.d.ts +1 -1
- package/api/types/{Document.d.ts → SearchResultDocument.d.ts} +3 -1
- package/api/types/SlimDocument.d.ts +2 -0
- package/{dist/api/types/InputVariable.d.ts → api/types/VellumVariable.d.ts} +2 -2
- package/{dist/api/types/InputVariableType.d.ts → api/types/VellumVariableType.d.ts} +5 -5
- package/{dist/api/types/InputVariableType.js → api/types/VellumVariableType.js} +2 -2
- package/api/types/index.d.ts +3 -3
- package/api/types/index.js +3 -3
- package/dist/api/types/DeploymentRead.d.ts +1 -1
- package/dist/api/types/DocumentRead.d.ts +1 -1
- package/dist/api/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/dist/api/types/SearchResult.d.ts +1 -1
- package/dist/api/types/{Document.d.ts → SearchResultDocument.d.ts} +3 -1
- package/dist/api/types/SlimDocument.d.ts +2 -0
- package/{api/types/InputVariable.d.ts → dist/api/types/VellumVariable.d.ts} +2 -2
- package/{api/types/InputVariableType.d.ts → dist/api/types/VellumVariableType.d.ts} +5 -5
- package/{api/types/InputVariableType.js → dist/api/types/VellumVariableType.js} +2 -2
- package/dist/api/types/index.d.ts +3 -3
- package/dist/api/types/index.js +3 -3
- package/dist/serialization/types/DeploymentRead.d.ts +1 -1
- package/dist/serialization/types/DeploymentRead.js +1 -1
- package/dist/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/dist/serialization/types/ModelVersionExecConfig.js +1 -1
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
- package/dist/serialization/types/SearchResult.d.ts +1 -1
- package/dist/serialization/types/SearchResult.js +1 -1
- package/dist/serialization/types/{Document.d.ts → SearchResultDocument.d.ts} +3 -2
- package/dist/serialization/types/{Document.js → SearchResultDocument.js} +3 -2
- package/dist/serialization/types/SlimDocument.d.ts +1 -0
- package/dist/serialization/types/SlimDocument.js +1 -0
- package/{serialization/types/InputVariable.d.ts → dist/serialization/types/VellumVariable.d.ts} +3 -3
- package/dist/serialization/types/{InputVariable.js → VellumVariable.js} +3 -3
- package/dist/serialization/types/{InputVariableType.d.ts → VellumVariableType.d.ts} +2 -2
- package/{serialization/types/InputVariableType.js → dist/serialization/types/VellumVariableType.js} +2 -2
- package/dist/serialization/types/index.d.ts +3 -3
- package/dist/serialization/types/index.js +3 -3
- package/package.json +1 -1
- package/serialization/types/DeploymentRead.d.ts +1 -1
- package/serialization/types/DeploymentRead.js +1 -1
- package/serialization/types/ModelVersionExecConfig.d.ts +1 -1
- package/serialization/types/ModelVersionExecConfig.js +1 -1
- package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +1 -1
- package/serialization/types/RegisteredPromptInputVariableRequest.js +1 -1
- package/serialization/types/SearchResult.d.ts +1 -1
- package/serialization/types/SearchResult.js +1 -1
- package/serialization/types/{Document.d.ts → SearchResultDocument.d.ts} +3 -2
- package/serialization/types/{Document.js → SearchResultDocument.js} +3 -2
- package/serialization/types/SlimDocument.d.ts +1 -0
- package/serialization/types/SlimDocument.js +1 -0
- package/{dist/serialization/types/InputVariable.d.ts → serialization/types/VellumVariable.d.ts} +3 -3
- package/serialization/types/{InputVariable.js → VellumVariable.js} +3 -3
- package/serialization/types/{InputVariableType.d.ts → VellumVariableType.d.ts} +2 -2
- package/{dist/serialization/types/InputVariableType.js → serialization/types/VellumVariableType.js} +2 -2
- package/serialization/types/index.d.ts +3 -3
- package/serialization/types/index.js +3 -3
- /package/api/types/{Document.js → SearchResultDocument.js} +0 -0
- /package/api/types/{InputVariable.js → VellumVariable.js} +0 -0
- /package/dist/api/types/{Document.js → SearchResultDocument.js} +0 -0
- /package/dist/api/types/{InputVariable.js → VellumVariable.js} +0 -0
|
@@ -27,6 +27,6 @@ export interface DocumentRead {
|
|
|
27
27
|
originalFileUrl?: string;
|
|
28
28
|
processedFileUrl?: string;
|
|
29
29
|
documentToDocumentIndexes: Vellum.DocumentDocumentToDocumentIndex[];
|
|
30
|
-
/** A previously supplied JSON object containing metadata that can filtered on when searching. */
|
|
30
|
+
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
31
31
|
metadata?: Record<string, unknown>;
|
|
32
32
|
}
|
|
@@ -6,7 +6,7 @@ export interface ModelVersionExecConfig {
|
|
|
6
6
|
/** The generation parameters that are passed to the LLM provider at runtime. */
|
|
7
7
|
parameters: Vellum.ModelVersionExecConfigParameters;
|
|
8
8
|
/** Input variables specified in the prompt template. */
|
|
9
|
-
inputVariables: Vellum.
|
|
9
|
+
inputVariables: Vellum.VellumVariable[];
|
|
10
10
|
/** The template used to generate prompts for this model version. */
|
|
11
11
|
promptTemplate?: string;
|
|
12
12
|
promptBlockData?: Vellum.PromptTemplateBlockData;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface SearchResultDocument {
|
|
5
5
|
/** The ID of the document. */
|
|
6
6
|
id: string;
|
|
7
7
|
/** The human-readable name for the document. <span style="white-space: nowrap">`<= 1000 characters`</span> */
|
|
8
8
|
label: string;
|
|
9
9
|
/** The unique ID of the document as represented in an external system and specified when it was originally uploaded. */
|
|
10
10
|
externalId?: string;
|
|
11
|
+
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
12
|
+
metadata?: Record<string, unknown>;
|
|
11
13
|
}
|
|
@@ -35,5 +35,7 @@ export interface SlimDocument {
|
|
|
35
35
|
status?: Vellum.DocumentStatus;
|
|
36
36
|
/** A list of keywords associated with this document. Originally provided when uploading the document. */
|
|
37
37
|
keywords?: string[];
|
|
38
|
+
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
39
|
+
metadata?: Record<string, unknown>;
|
|
38
40
|
documentToDocumentIndexes: Vellum.DocumentDocumentToDocumentIndex[];
|
|
39
41
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
-
export interface
|
|
5
|
+
export interface VellumVariable {
|
|
6
6
|
id: string;
|
|
7
7
|
key: string;
|
|
8
|
-
type: Vellum.
|
|
8
|
+
type: Vellum.VellumVariableType;
|
|
9
9
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* * `STRING` -
|
|
5
|
+
* * `STRING` - String
|
|
6
6
|
* * `JSON` - JSON
|
|
7
|
-
* * `CHAT_HISTORY` -
|
|
8
|
-
* * `SEARCH_RESULTS` -
|
|
7
|
+
* * `CHAT_HISTORY` - Chat History
|
|
8
|
+
* * `SEARCH_RESULTS` - Search Results
|
|
9
9
|
*/
|
|
10
|
-
export declare type
|
|
11
|
-
export declare const
|
|
10
|
+
export declare type VellumVariableType = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
11
|
+
export declare const VellumVariableType: {
|
|
12
12
|
readonly String: "STRING";
|
|
13
13
|
readonly Json: "JSON";
|
|
14
14
|
readonly ChatHistory: "CHAT_HISTORY";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.VellumVariableType = void 0;
|
|
7
|
+
exports.VellumVariableType = {
|
|
8
8
|
String: "STRING",
|
|
9
9
|
Json: "JSON",
|
|
10
10
|
ChatHistory: "CHAT_HISTORY",
|
package/api/types/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from "./ConditionalNodeResultData";
|
|
|
7
7
|
export * from "./ContentType";
|
|
8
8
|
export * from "./DeploymentRead";
|
|
9
9
|
export * from "./DeploymentStatus";
|
|
10
|
-
export * from "./Document";
|
|
11
10
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
12
11
|
export * from "./DocumentIndexRead";
|
|
13
12
|
export * from "./DocumentIndexStatus";
|
|
@@ -30,8 +29,6 @@ export * from "./GenerateStreamResponse";
|
|
|
30
29
|
export * from "./GenerateStreamResult";
|
|
31
30
|
export * from "./GenerateStreamResultData";
|
|
32
31
|
export * from "./IndexingStateEnum";
|
|
33
|
-
export * from "./InputVariable";
|
|
34
|
-
export * from "./InputVariableType";
|
|
35
32
|
export * from "./LogprobsEnum";
|
|
36
33
|
export * from "./MetadataFilterConfigRequest";
|
|
37
34
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -87,6 +84,7 @@ export * from "./SearchNodeResultData";
|
|
|
87
84
|
export * from "./SearchRequestOptionsRequest";
|
|
88
85
|
export * from "./SearchResponse";
|
|
89
86
|
export * from "./SearchResult";
|
|
87
|
+
export * from "./SearchResultDocument";
|
|
90
88
|
export * from "./SearchResultMergingRequest";
|
|
91
89
|
export * from "./SearchWeightsRequest";
|
|
92
90
|
export * from "./SlimDocument";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
package/api/types/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./ConditionalNodeResultData"), exports);
|
|
|
23
23
|
__exportStar(require("./ContentType"), exports);
|
|
24
24
|
__exportStar(require("./DeploymentRead"), exports);
|
|
25
25
|
__exportStar(require("./DeploymentStatus"), exports);
|
|
26
|
-
__exportStar(require("./Document"), exports);
|
|
27
26
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
28
27
|
__exportStar(require("./DocumentIndexRead"), exports);
|
|
29
28
|
__exportStar(require("./DocumentIndexStatus"), exports);
|
|
@@ -46,8 +45,6 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
46
45
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
47
46
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
48
47
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
49
|
-
__exportStar(require("./InputVariable"), exports);
|
|
50
|
-
__exportStar(require("./InputVariableType"), exports);
|
|
51
48
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
49
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
50
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -103,6 +100,7 @@ __exportStar(require("./SearchNodeResultData"), exports);
|
|
|
103
100
|
__exportStar(require("./SearchRequestOptionsRequest"), exports);
|
|
104
101
|
__exportStar(require("./SearchResponse"), exports);
|
|
105
102
|
__exportStar(require("./SearchResult"), exports);
|
|
103
|
+
__exportStar(require("./SearchResultDocument"), exports);
|
|
106
104
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
107
105
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
108
106
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
@@ -27,6 +27,6 @@ export interface DocumentRead {
|
|
|
27
27
|
originalFileUrl?: string;
|
|
28
28
|
processedFileUrl?: string;
|
|
29
29
|
documentToDocumentIndexes: Vellum.DocumentDocumentToDocumentIndex[];
|
|
30
|
-
/** A previously supplied JSON object containing metadata that can filtered on when searching. */
|
|
30
|
+
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
31
31
|
metadata?: Record<string, unknown>;
|
|
32
32
|
}
|
|
@@ -6,7 +6,7 @@ export interface ModelVersionExecConfig {
|
|
|
6
6
|
/** The generation parameters that are passed to the LLM provider at runtime. */
|
|
7
7
|
parameters: Vellum.ModelVersionExecConfigParameters;
|
|
8
8
|
/** Input variables specified in the prompt template. */
|
|
9
|
-
inputVariables: Vellum.
|
|
9
|
+
inputVariables: Vellum.VellumVariable[];
|
|
10
10
|
/** The template used to generate prompts for this model version. */
|
|
11
11
|
promptTemplate?: string;
|
|
12
12
|
promptBlockData?: Vellum.PromptTemplateBlockData;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface SearchResultDocument {
|
|
5
5
|
/** The ID of the document. */
|
|
6
6
|
id: string;
|
|
7
7
|
/** The human-readable name for the document. <span style="white-space: nowrap">`<= 1000 characters`</span> */
|
|
8
8
|
label: string;
|
|
9
9
|
/** The unique ID of the document as represented in an external system and specified when it was originally uploaded. */
|
|
10
10
|
externalId?: string;
|
|
11
|
+
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
12
|
+
metadata?: Record<string, unknown>;
|
|
11
13
|
}
|
|
@@ -35,5 +35,7 @@ export interface SlimDocument {
|
|
|
35
35
|
status?: Vellum.DocumentStatus;
|
|
36
36
|
/** A list of keywords associated with this document. Originally provided when uploading the document. */
|
|
37
37
|
keywords?: string[];
|
|
38
|
+
/** A previously supplied JSON object containing metadata that can be filtered on when searching. */
|
|
39
|
+
metadata?: Record<string, unknown>;
|
|
38
40
|
documentToDocumentIndexes: Vellum.DocumentDocumentToDocumentIndex[];
|
|
39
41
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Vellum from "..";
|
|
5
|
-
export interface
|
|
5
|
+
export interface VellumVariable {
|
|
6
6
|
id: string;
|
|
7
7
|
key: string;
|
|
8
|
-
type: Vellum.
|
|
8
|
+
type: Vellum.VellumVariableType;
|
|
9
9
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* * `STRING` -
|
|
5
|
+
* * `STRING` - String
|
|
6
6
|
* * `JSON` - JSON
|
|
7
|
-
* * `CHAT_HISTORY` -
|
|
8
|
-
* * `SEARCH_RESULTS` -
|
|
7
|
+
* * `CHAT_HISTORY` - Chat History
|
|
8
|
+
* * `SEARCH_RESULTS` - Search Results
|
|
9
9
|
*/
|
|
10
|
-
export declare type
|
|
11
|
-
export declare const
|
|
10
|
+
export declare type VellumVariableType = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
11
|
+
export declare const VellumVariableType: {
|
|
12
12
|
readonly String: "STRING";
|
|
13
13
|
readonly Json: "JSON";
|
|
14
14
|
readonly ChatHistory: "CHAT_HISTORY";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.VellumVariableType = void 0;
|
|
7
|
+
exports.VellumVariableType = {
|
|
8
8
|
String: "STRING",
|
|
9
9
|
Json: "JSON",
|
|
10
10
|
ChatHistory: "CHAT_HISTORY",
|
|
@@ -7,7 +7,6 @@ export * from "./ConditionalNodeResultData";
|
|
|
7
7
|
export * from "./ContentType";
|
|
8
8
|
export * from "./DeploymentRead";
|
|
9
9
|
export * from "./DeploymentStatus";
|
|
10
|
-
export * from "./Document";
|
|
11
10
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
12
11
|
export * from "./DocumentIndexRead";
|
|
13
12
|
export * from "./DocumentIndexStatus";
|
|
@@ -30,8 +29,6 @@ export * from "./GenerateStreamResponse";
|
|
|
30
29
|
export * from "./GenerateStreamResult";
|
|
31
30
|
export * from "./GenerateStreamResultData";
|
|
32
31
|
export * from "./IndexingStateEnum";
|
|
33
|
-
export * from "./InputVariable";
|
|
34
|
-
export * from "./InputVariableType";
|
|
35
32
|
export * from "./LogprobsEnum";
|
|
36
33
|
export * from "./MetadataFilterConfigRequest";
|
|
37
34
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -87,6 +84,7 @@ export * from "./SearchNodeResultData";
|
|
|
87
84
|
export * from "./SearchRequestOptionsRequest";
|
|
88
85
|
export * from "./SearchResponse";
|
|
89
86
|
export * from "./SearchResult";
|
|
87
|
+
export * from "./SearchResultDocument";
|
|
90
88
|
export * from "./SearchResultMergingRequest";
|
|
91
89
|
export * from "./SearchWeightsRequest";
|
|
92
90
|
export * from "./SlimDocument";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
package/dist/api/types/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./ConditionalNodeResultData"), exports);
|
|
|
23
23
|
__exportStar(require("./ContentType"), exports);
|
|
24
24
|
__exportStar(require("./DeploymentRead"), exports);
|
|
25
25
|
__exportStar(require("./DeploymentStatus"), exports);
|
|
26
|
-
__exportStar(require("./Document"), exports);
|
|
27
26
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
28
27
|
__exportStar(require("./DocumentIndexRead"), exports);
|
|
29
28
|
__exportStar(require("./DocumentIndexStatus"), exports);
|
|
@@ -46,8 +45,6 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
46
45
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
47
46
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
48
47
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
49
|
-
__exportStar(require("./InputVariable"), exports);
|
|
50
|
-
__exportStar(require("./InputVariableType"), exports);
|
|
51
48
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
49
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
50
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -103,6 +100,7 @@ __exportStar(require("./SearchNodeResultData"), exports);
|
|
|
103
100
|
__exportStar(require("./SearchRequestOptionsRequest"), exports);
|
|
104
101
|
__exportStar(require("./SearchResponse"), exports);
|
|
105
102
|
__exportStar(require("./SearchResult"), exports);
|
|
103
|
+
__exportStar(require("./SearchResultDocument"), exports);
|
|
106
104
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
107
105
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
108
106
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
@@ -16,6 +16,6 @@ export declare namespace DeploymentRead {
|
|
|
16
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
|
}
|
|
@@ -38,5 +38,5 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
38
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
|
});
|
|
@@ -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()),
|
|
@@ -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
|
});
|
|
@@ -32,5 +32,5 @@ exports.SearchResult = core.serialization.object({
|
|
|
32
32
|
text: core.serialization.string(),
|
|
33
33
|
score: core.serialization.number(),
|
|
34
34
|
keywords: core.serialization.list(core.serialization.string()),
|
|
35
|
-
document: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
35
|
+
document: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchResultDocument),
|
|
36
36
|
});
|
|
@@ -4,11 +4,12 @@
|
|
|
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 SearchResultDocument: core.serialization.ObjectSchema<serializers.SearchResultDocument.Raw, Vellum.SearchResultDocument>;
|
|
8
|
+
export declare namespace SearchResultDocument {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
11
|
label: string;
|
|
12
12
|
external_id?: string | null;
|
|
13
|
+
metadata?: Record<string, unknown> | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -26,10 +26,11 @@ 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.SearchResultDocument = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.SearchResultDocument = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
label: core.serialization.string(),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
35
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
35
36
|
});
|
|
@@ -15,6 +15,7 @@ export declare namespace SlimDocument {
|
|
|
15
15
|
processing_failure_reason?: serializers.ProcessingFailureReasonEnum.Raw | null;
|
|
16
16
|
status?: serializers.DocumentStatus.Raw | null;
|
|
17
17
|
keywords?: string[] | null;
|
|
18
|
+
metadata?: Record<string, unknown> | null;
|
|
18
19
|
document_to_document_indexes: serializers.DocumentDocumentToDocumentIndex.Raw[];
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -37,5 +37,6 @@ exports.SlimDocument = core.serialization.object({
|
|
|
37
37
|
processingFailureReason: core.serialization.property("processing_failure_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProcessingFailureReasonEnum).optional()),
|
|
38
38
|
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentStatus).optional(),
|
|
39
39
|
keywords: core.serialization.list(core.serialization.string()).optional(),
|
|
40
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
40
41
|
documentToDocumentIndexes: core.serialization.property("document_to_document_indexes", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentDocumentToDocumentIndex))),
|
|
41
42
|
});
|
package/{serialization/types/InputVariable.d.ts → dist/serialization/types/VellumVariable.d.ts}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
|
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 VellumVariable: core.serialization.ObjectSchema<serializers.VellumVariable.Raw, Vellum.VellumVariable>;
|
|
8
|
+
export declare namespace VellumVariable {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
11
|
key: string;
|
|
12
|
-
type: serializers.
|
|
12
|
+
type: serializers.VellumVariableType.Raw;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -26,10 +26,10 @@ 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.VellumVariable = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariable = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
key: core.serialization.string(),
|
|
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),
|
|
35
35
|
});
|
|
@@ -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 VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
|
+
export declare namespace VellumVariableType {
|
|
9
9
|
type Raw = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
10
10
|
}
|
package/{serialization/types/InputVariableType.js → dist/serialization/types/VellumVariableType.js}
RENAMED
|
@@ -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.VellumVariableType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariableType = core.serialization.enum_(["STRING", "JSON", "CHAT_HISTORY", "SEARCH_RESULTS"]);
|
|
@@ -7,7 +7,6 @@ export * from "./ConditionalNodeResultData";
|
|
|
7
7
|
export * from "./ContentType";
|
|
8
8
|
export * from "./DeploymentRead";
|
|
9
9
|
export * from "./DeploymentStatus";
|
|
10
|
-
export * from "./Document";
|
|
11
10
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
12
11
|
export * from "./DocumentIndexRead";
|
|
13
12
|
export * from "./DocumentIndexStatus";
|
|
@@ -30,8 +29,6 @@ export * from "./GenerateStreamResponse";
|
|
|
30
29
|
export * from "./GenerateStreamResult";
|
|
31
30
|
export * from "./GenerateStreamResultData";
|
|
32
31
|
export * from "./IndexingStateEnum";
|
|
33
|
-
export * from "./InputVariable";
|
|
34
|
-
export * from "./InputVariableType";
|
|
35
32
|
export * from "./LogprobsEnum";
|
|
36
33
|
export * from "./MetadataFilterConfigRequest";
|
|
37
34
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -87,6 +84,7 @@ export * from "./SearchNodeResultData";
|
|
|
87
84
|
export * from "./SearchRequestOptionsRequest";
|
|
88
85
|
export * from "./SearchResponse";
|
|
89
86
|
export * from "./SearchResult";
|
|
87
|
+
export * from "./SearchResultDocument";
|
|
90
88
|
export * from "./SearchResultMergingRequest";
|
|
91
89
|
export * from "./SearchWeightsRequest";
|
|
92
90
|
export * from "./SlimDocument";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
|
@@ -23,7 +23,6 @@ __exportStar(require("./ConditionalNodeResultData"), exports);
|
|
|
23
23
|
__exportStar(require("./ContentType"), exports);
|
|
24
24
|
__exportStar(require("./DeploymentRead"), exports);
|
|
25
25
|
__exportStar(require("./DeploymentStatus"), exports);
|
|
26
|
-
__exportStar(require("./Document"), exports);
|
|
27
26
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
28
27
|
__exportStar(require("./DocumentIndexRead"), exports);
|
|
29
28
|
__exportStar(require("./DocumentIndexStatus"), exports);
|
|
@@ -46,8 +45,6 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
46
45
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
47
46
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
48
47
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
49
|
-
__exportStar(require("./InputVariable"), exports);
|
|
50
|
-
__exportStar(require("./InputVariableType"), exports);
|
|
51
48
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
49
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
50
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -103,6 +100,7 @@ __exportStar(require("./SearchNodeResultData"), exports);
|
|
|
103
100
|
__exportStar(require("./SearchRequestOptionsRequest"), exports);
|
|
104
101
|
__exportStar(require("./SearchResponse"), exports);
|
|
105
102
|
__exportStar(require("./SearchResult"), exports);
|
|
103
|
+
__exportStar(require("./SearchResultDocument"), exports);
|
|
106
104
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
107
105
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
108
106
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
package/package.json
CHANGED
|
@@ -16,6 +16,6 @@ export declare namespace DeploymentRead {
|
|
|
16
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
|
}
|
|
@@ -38,5 +38,5 @@ exports.DeploymentRead = core.serialization.object({
|
|
|
38
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
|
});
|
|
@@ -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()),
|
|
@@ -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
|
});
|
|
@@ -32,5 +32,5 @@ exports.SearchResult = core.serialization.object({
|
|
|
32
32
|
text: core.serialization.string(),
|
|
33
33
|
score: core.serialization.number(),
|
|
34
34
|
keywords: core.serialization.list(core.serialization.string()),
|
|
35
|
-
document: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).
|
|
35
|
+
document: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SearchResultDocument),
|
|
36
36
|
});
|
|
@@ -4,11 +4,12 @@
|
|
|
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 SearchResultDocument: core.serialization.ObjectSchema<serializers.SearchResultDocument.Raw, Vellum.SearchResultDocument>;
|
|
8
|
+
export declare namespace SearchResultDocument {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
11
|
label: string;
|
|
12
12
|
external_id?: string | null;
|
|
13
|
+
metadata?: Record<string, unknown> | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -26,10 +26,11 @@ 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.SearchResultDocument = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.SearchResultDocument = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
label: core.serialization.string(),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
35
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
35
36
|
});
|
|
@@ -15,6 +15,7 @@ export declare namespace SlimDocument {
|
|
|
15
15
|
processing_failure_reason?: serializers.ProcessingFailureReasonEnum.Raw | null;
|
|
16
16
|
status?: serializers.DocumentStatus.Raw | null;
|
|
17
17
|
keywords?: string[] | null;
|
|
18
|
+
metadata?: Record<string, unknown> | null;
|
|
18
19
|
document_to_document_indexes: serializers.DocumentDocumentToDocumentIndex.Raw[];
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -37,5 +37,6 @@ exports.SlimDocument = core.serialization.object({
|
|
|
37
37
|
processingFailureReason: core.serialization.property("processing_failure_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ProcessingFailureReasonEnum).optional()),
|
|
38
38
|
status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentStatus).optional(),
|
|
39
39
|
keywords: core.serialization.list(core.serialization.string()).optional(),
|
|
40
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
40
41
|
documentToDocumentIndexes: core.serialization.property("document_to_document_indexes", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).DocumentDocumentToDocumentIndex))),
|
|
41
42
|
});
|
package/{dist/serialization/types/InputVariable.d.ts → serialization/types/VellumVariable.d.ts}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
|
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 VellumVariable: core.serialization.ObjectSchema<serializers.VellumVariable.Raw, Vellum.VellumVariable>;
|
|
8
|
+
export declare namespace VellumVariable {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
11
|
key: string;
|
|
12
|
-
type: serializers.
|
|
12
|
+
type: serializers.VellumVariableType.Raw;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -26,10 +26,10 @@ 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.VellumVariable = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariable = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
key: core.serialization.string(),
|
|
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),
|
|
35
35
|
});
|
|
@@ -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 VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
|
+
export declare namespace VellumVariableType {
|
|
9
9
|
type Raw = "STRING" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS";
|
|
10
10
|
}
|
package/{dist/serialization/types/InputVariableType.js → serialization/types/VellumVariableType.js}
RENAMED
|
@@ -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.VellumVariableType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.VellumVariableType = core.serialization.enum_(["STRING", "JSON", "CHAT_HISTORY", "SEARCH_RESULTS"]);
|
|
@@ -7,7 +7,6 @@ export * from "./ConditionalNodeResultData";
|
|
|
7
7
|
export * from "./ContentType";
|
|
8
8
|
export * from "./DeploymentRead";
|
|
9
9
|
export * from "./DeploymentStatus";
|
|
10
|
-
export * from "./Document";
|
|
11
10
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
12
11
|
export * from "./DocumentIndexRead";
|
|
13
12
|
export * from "./DocumentIndexStatus";
|
|
@@ -30,8 +29,6 @@ export * from "./GenerateStreamResponse";
|
|
|
30
29
|
export * from "./GenerateStreamResult";
|
|
31
30
|
export * from "./GenerateStreamResultData";
|
|
32
31
|
export * from "./IndexingStateEnum";
|
|
33
|
-
export * from "./InputVariable";
|
|
34
|
-
export * from "./InputVariableType";
|
|
35
32
|
export * from "./LogprobsEnum";
|
|
36
33
|
export * from "./MetadataFilterConfigRequest";
|
|
37
34
|
export * from "./MetadataFilterRuleCombinator";
|
|
@@ -87,6 +84,7 @@ export * from "./SearchNodeResultData";
|
|
|
87
84
|
export * from "./SearchRequestOptionsRequest";
|
|
88
85
|
export * from "./SearchResponse";
|
|
89
86
|
export * from "./SearchResult";
|
|
87
|
+
export * from "./SearchResultDocument";
|
|
90
88
|
export * from "./SearchResultMergingRequest";
|
|
91
89
|
export * from "./SearchWeightsRequest";
|
|
92
90
|
export * from "./SlimDocument";
|
|
@@ -109,6 +107,8 @@ export * from "./TerminalNodeStringResult";
|
|
|
109
107
|
export * from "./TestSuiteTestCase";
|
|
110
108
|
export * from "./UploadDocumentErrorResponse";
|
|
111
109
|
export * from "./UploadDocumentResponse";
|
|
110
|
+
export * from "./VellumVariable";
|
|
111
|
+
export * from "./VellumVariableType";
|
|
112
112
|
export * from "./WorkflowEventError";
|
|
113
113
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
114
114
|
export * from "./WorkflowExecutionEventType";
|
|
@@ -23,7 +23,6 @@ __exportStar(require("./ConditionalNodeResultData"), exports);
|
|
|
23
23
|
__exportStar(require("./ContentType"), exports);
|
|
24
24
|
__exportStar(require("./DeploymentRead"), exports);
|
|
25
25
|
__exportStar(require("./DeploymentStatus"), exports);
|
|
26
|
-
__exportStar(require("./Document"), exports);
|
|
27
26
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
28
27
|
__exportStar(require("./DocumentIndexRead"), exports);
|
|
29
28
|
__exportStar(require("./DocumentIndexStatus"), exports);
|
|
@@ -46,8 +45,6 @@ __exportStar(require("./GenerateStreamResponse"), exports);
|
|
|
46
45
|
__exportStar(require("./GenerateStreamResult"), exports);
|
|
47
46
|
__exportStar(require("./GenerateStreamResultData"), exports);
|
|
48
47
|
__exportStar(require("./IndexingStateEnum"), exports);
|
|
49
|
-
__exportStar(require("./InputVariable"), exports);
|
|
50
|
-
__exportStar(require("./InputVariableType"), exports);
|
|
51
48
|
__exportStar(require("./LogprobsEnum"), exports);
|
|
52
49
|
__exportStar(require("./MetadataFilterConfigRequest"), exports);
|
|
53
50
|
__exportStar(require("./MetadataFilterRuleCombinator"), exports);
|
|
@@ -103,6 +100,7 @@ __exportStar(require("./SearchNodeResultData"), exports);
|
|
|
103
100
|
__exportStar(require("./SearchRequestOptionsRequest"), exports);
|
|
104
101
|
__exportStar(require("./SearchResponse"), exports);
|
|
105
102
|
__exportStar(require("./SearchResult"), exports);
|
|
103
|
+
__exportStar(require("./SearchResultDocument"), exports);
|
|
106
104
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
107
105
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
108
106
|
__exportStar(require("./SlimDocument"), exports);
|
|
@@ -125,6 +123,8 @@ __exportStar(require("./TerminalNodeStringResult"), exports);
|
|
|
125
123
|
__exportStar(require("./TestSuiteTestCase"), exports);
|
|
126
124
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
127
125
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
126
|
+
__exportStar(require("./VellumVariable"), exports);
|
|
127
|
+
__exportStar(require("./VellumVariableType"), exports);
|
|
128
128
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
129
129
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
130
130
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|