vellum-ai 0.0.21 → 0.0.22
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/WorkflowResultEventOutputDataChatHistory.d.ts +2 -0
- package/api/types/WorkflowResultEventOutputDataJson.d.ts +2 -0
- package/api/types/WorkflowResultEventOutputDataString.d.ts +3 -0
- package/dist/api/types/WorkflowResultEventOutputDataChatHistory.d.ts +2 -0
- package/dist/api/types/WorkflowResultEventOutputDataJson.d.ts +2 -0
- package/dist/api/types/WorkflowResultEventOutputDataString.d.ts +3 -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/WorkflowResultEventOutputDataString.d.ts +1 -0
- package/dist/serialization/types/WorkflowResultEventOutputDataString.js +1 -0
- package/package.json +1 -1
- 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/WorkflowResultEventOutputDataString.d.ts +1 -0
- package/serialization/types/WorkflowResultEventOutputDataString.js +1 -0
|
@@ -6,5 +6,7 @@ export interface WorkflowResultEventOutputDataChatHistory {
|
|
|
6
6
|
name: string;
|
|
7
7
|
state: Vellum.WorkflowNodeResultEventState;
|
|
8
8
|
nodeId: string;
|
|
9
|
+
/** The newly output string value. Only relevant for string outputs with a state of STREAMING. */
|
|
10
|
+
delta?: string;
|
|
9
11
|
value?: Vellum.ChatMessage[];
|
|
10
12
|
}
|
|
@@ -6,5 +6,7 @@ export interface WorkflowResultEventOutputDataJson {
|
|
|
6
6
|
name: string;
|
|
7
7
|
state: Vellum.WorkflowNodeResultEventState;
|
|
8
8
|
nodeId: string;
|
|
9
|
+
/** The newly output string value. Only relevant for string outputs with a state of STREAMING. */
|
|
10
|
+
delta?: string;
|
|
9
11
|
value?: Record<string, unknown>;
|
|
10
12
|
}
|
|
@@ -6,5 +6,8 @@ export interface WorkflowResultEventOutputDataString {
|
|
|
6
6
|
name: string;
|
|
7
7
|
state: Vellum.WorkflowNodeResultEventState;
|
|
8
8
|
nodeId: string;
|
|
9
|
+
/** The newly output string value, meant to be concatenated with all previous. Will be non-null for events of state STREAMING. */
|
|
10
|
+
delta?: string;
|
|
11
|
+
/** The entire string value. Will be non-null for events of state FULFILLED. */
|
|
9
12
|
value?: string;
|
|
10
13
|
}
|
|
@@ -6,5 +6,7 @@ export interface WorkflowResultEventOutputDataChatHistory {
|
|
|
6
6
|
name: string;
|
|
7
7
|
state: Vellum.WorkflowNodeResultEventState;
|
|
8
8
|
nodeId: string;
|
|
9
|
+
/** The newly output string value. Only relevant for string outputs with a state of STREAMING. */
|
|
10
|
+
delta?: string;
|
|
9
11
|
value?: Vellum.ChatMessage[];
|
|
10
12
|
}
|
|
@@ -6,5 +6,7 @@ export interface WorkflowResultEventOutputDataJson {
|
|
|
6
6
|
name: string;
|
|
7
7
|
state: Vellum.WorkflowNodeResultEventState;
|
|
8
8
|
nodeId: string;
|
|
9
|
+
/** The newly output string value. Only relevant for string outputs with a state of STREAMING. */
|
|
10
|
+
delta?: string;
|
|
9
11
|
value?: Record<string, unknown>;
|
|
10
12
|
}
|
|
@@ -6,5 +6,8 @@ export interface WorkflowResultEventOutputDataString {
|
|
|
6
6
|
name: string;
|
|
7
7
|
state: Vellum.WorkflowNodeResultEventState;
|
|
8
8
|
nodeId: string;
|
|
9
|
+
/** The newly output string value, meant to be concatenated with all previous. Will be non-null for events of state STREAMING. */
|
|
10
|
+
delta?: string;
|
|
11
|
+
/** The entire string value. Will be non-null for events of state FULFILLED. */
|
|
9
12
|
value?: string;
|
|
10
13
|
}
|
|
@@ -32,6 +32,7 @@ exports.WorkflowResultEventOutputDataChatHistory = core.serialization.object({
|
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
34
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
35
|
+
delta: core.serialization.string().optional(),
|
|
35
36
|
value: core.serialization
|
|
36
37
|
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage))
|
|
37
38
|
.optional(),
|
|
@@ -32,5 +32,6 @@ exports.WorkflowResultEventOutputDataJson = core.serialization.object({
|
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
34
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
35
|
+
delta: core.serialization.string().optional(),
|
|
35
36
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
36
37
|
});
|
|
@@ -32,5 +32,6 @@ exports.WorkflowResultEventOutputDataString = core.serialization.object({
|
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
34
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
35
|
+
delta: core.serialization.string().optional(),
|
|
35
36
|
value: core.serialization.string().optional(),
|
|
36
37
|
});
|
package/package.json
CHANGED
|
@@ -32,6 +32,7 @@ exports.WorkflowResultEventOutputDataChatHistory = core.serialization.object({
|
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
34
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
35
|
+
delta: core.serialization.string().optional(),
|
|
35
36
|
value: core.serialization
|
|
36
37
|
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage))
|
|
37
38
|
.optional(),
|
|
@@ -32,5 +32,6 @@ exports.WorkflowResultEventOutputDataJson = core.serialization.object({
|
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
34
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
35
|
+
delta: core.serialization.string().optional(),
|
|
35
36
|
value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
36
37
|
});
|
|
@@ -32,5 +32,6 @@ exports.WorkflowResultEventOutputDataString = core.serialization.object({
|
|
|
32
32
|
name: core.serialization.string(),
|
|
33
33
|
state: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEventState),
|
|
34
34
|
nodeId: core.serialization.property("node_id", core.serialization.string()),
|
|
35
|
+
delta: core.serialization.string().optional(),
|
|
35
36
|
value: core.serialization.string().optional(),
|
|
36
37
|
});
|