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.
@@ -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
  }
@@ -10,6 +10,7 @@ export declare namespace WorkflowResultEventOutputDataChatHistory {
10
10
  name: string;
11
11
  state: serializers.WorkflowNodeResultEventState.Raw;
12
12
  node_id: string;
13
+ delta?: string | null;
13
14
  value?: serializers.ChatMessage.Raw[] | null;
14
15
  }
15
16
  }
@@ -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(),
@@ -10,6 +10,7 @@ export declare namespace WorkflowResultEventOutputDataJson {
10
10
  name: string;
11
11
  state: serializers.WorkflowNodeResultEventState.Raw;
12
12
  node_id: string;
13
+ delta?: string | null;
13
14
  value?: Record<string, unknown> | null;
14
15
  }
15
16
  }
@@ -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
  });
@@ -10,6 +10,7 @@ export declare namespace WorkflowResultEventOutputDataString {
10
10
  name: string;
11
11
  state: serializers.WorkflowNodeResultEventState.Raw;
12
12
  node_id: string;
13
+ delta?: string | null;
13
14
  value?: string | null;
14
15
  }
15
16
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "v0.0.21",
3
+ "version": "v0.0.22",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "main": "./index.js",
@@ -10,6 +10,7 @@ export declare namespace WorkflowResultEventOutputDataChatHistory {
10
10
  name: string;
11
11
  state: serializers.WorkflowNodeResultEventState.Raw;
12
12
  node_id: string;
13
+ delta?: string | null;
13
14
  value?: serializers.ChatMessage.Raw[] | null;
14
15
  }
15
16
  }
@@ -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(),
@@ -10,6 +10,7 @@ export declare namespace WorkflowResultEventOutputDataJson {
10
10
  name: string;
11
11
  state: serializers.WorkflowNodeResultEventState.Raw;
12
12
  node_id: string;
13
+ delta?: string | null;
13
14
  value?: Record<string, unknown> | null;
14
15
  }
15
16
  }
@@ -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
  });
@@ -10,6 +10,7 @@ export declare namespace WorkflowResultEventOutputDataString {
10
10
  name: string;
11
11
  state: serializers.WorkflowNodeResultEventState.Raw;
12
12
  node_id: string;
13
+ delta?: string | null;
13
14
  value?: string | null;
14
15
  }
15
16
  }
@@ -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
  });