@workglow/ai 0.0.110 → 0.0.113

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.
@@ -8,19 +8,19 @@ import { DataPortSchema, FromSchema, TypedArray, TypedArraySchemaOptions } from
8
8
  declare const inputSchema: {
9
9
  readonly type: "object";
10
10
  readonly properties: {
11
- readonly dataset: {
12
- readonly title: "Document Chunk Dataset";
13
- readonly description: "Dataset ID or instance for document chunk data storage";
11
+ readonly knowledgeBase: {
12
+ readonly title: "Knowledge Base";
13
+ readonly description: "Knowledge base ID or instance";
14
14
  } & {
15
15
  title: string;
16
16
  description: string;
17
17
  } & {
18
- readonly format: "dataset:document-chunk";
18
+ readonly format: "dataset:knowledge-base";
19
19
  readonly anyOf: readonly [{
20
20
  readonly type: "string";
21
- readonly title: "Dataset ID";
21
+ readonly title: "Knowledge Base ID";
22
22
  }, {
23
- readonly title: "Dataset Instance";
23
+ readonly title: "Knowledge Base Instance";
24
24
  readonly additionalProperties: true;
25
25
  }];
26
26
  };
@@ -145,7 +145,7 @@ declare const inputSchema: {
145
145
  readonly default: false;
146
146
  };
147
147
  };
148
- readonly required: readonly ["dataset", "query"];
148
+ readonly required: readonly ["knowledgeBase", "query"];
149
149
  readonly if: {
150
150
  readonly properties: {
151
151
  readonly query: {
@@ -154,7 +154,7 @@ declare const inputSchema: {
154
154
  };
155
155
  };
156
156
  readonly then: {
157
- readonly required: readonly ["dataset", "query", "model"];
157
+ readonly required: readonly ["knowledgeBase", "query", "model"];
158
158
  };
159
159
  readonly else: {};
160
160
  readonly additionalProperties: false;
@@ -212,8 +212,36 @@ declare const outputSchema: {
212
212
  readonly title: "Count";
213
213
  readonly description: "Number of results returned";
214
214
  };
215
+ readonly query: {
216
+ readonly anyOf: readonly [{
217
+ readonly oneOf: readonly [{
218
+ readonly type: "string";
219
+ }, {
220
+ readonly type: "array";
221
+ readonly format: "TypedArray";
222
+ readonly title: "Typed Array";
223
+ readonly description: "A typed array (Float32Array, Int8Array, etc.)";
224
+ }];
225
+ readonly title: "Query";
226
+ readonly description: "The query used for retrieval (pass-through)";
227
+ }, {
228
+ readonly type: "array";
229
+ readonly items: {
230
+ readonly oneOf: readonly [{
231
+ readonly type: "string";
232
+ }, {
233
+ readonly type: "array";
234
+ readonly format: "TypedArray";
235
+ readonly title: "Typed Array";
236
+ readonly description: "A typed array (Float32Array, Int8Array, etc.)";
237
+ }];
238
+ readonly title: "Query";
239
+ readonly description: "The query used for retrieval (pass-through)";
240
+ };
241
+ }];
242
+ };
215
243
  };
216
- readonly required: readonly ["chunks", "chunk_ids", "metadata", "scores", "count"];
244
+ readonly required: readonly ["chunks", "chunk_ids", "metadata", "scores", "count", "query"];
217
245
  readonly additionalProperties: false;
218
246
  };
219
247
  export type ChunkRetrievalTaskInput = FromSchema<typeof inputSchema, TypedArraySchemaOptions>;
@@ -240,6 +268,7 @@ export declare const chunkRetrieval: (input: ChunkRetrievalTaskInput, config?: J
240
268
  chunks: string[];
241
269
  count: number;
242
270
  scores: number[];
271
+ query: string | TypedArray | (string | TypedArray)[];
243
272
  chunk_ids: string[];
244
273
  }>;
245
274
  declare module "@workglow/task-graph" {
@@ -1 +1 @@
1
- {"version":3,"file":"ChunkRetrievalTask.d.ts","sourceRoot":"","sources":["../../src/task/ChunkRetrievalTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,UAAU,EAEV,UAAU,EAEV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAIxB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DiB,CAAC;AAEpC,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,WAAW,EAAE,uBAAuB,CAAC,CAAC;AAC9F,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,YAAY,EAAE,uBAAuB,CAAC,CAAC;AAEhG;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,IAAI,CAC1C,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,CACnB;IACC,OAAc,IAAI,SAAwB;IAC1C,OAAc,QAAQ,SAAS;IAC/B,OAAc,KAAK,SAAqB;IACxC,OAAc,WAAW,SAAqE;IAC9F,OAAc,SAAS,UAAQ;WAEjB,WAAW,IAAI,cAAc;WAI7B,YAAY,IAAI,cAAc;IAItC,OAAO,CACX,KAAK,EAAE,uBAAuB,EAC9B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,wBAAwB,CAAC;CAuErC;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,uBAAuB,EAAE,SAAS,kBAAkB;;;;;;;;;;EAEzF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,cAAc,EAAE,cAAc,CAC5B,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,CACnB,CAAC;KACH;CACF"}
@@ -51,52 +51,72 @@ declare const inputSchema: {
51
51
  readonly title: "Depth";
52
52
  readonly description: "Depth in the document tree";
53
53
  };
54
- readonly enrichment: {
55
- readonly type: "object";
56
- readonly properties: {
57
- readonly summary: {
58
- readonly type: "string";
59
- readonly title: "Summary";
60
- readonly description: "Summary of the chunk content";
61
- };
62
- readonly entities: {
63
- readonly type: "array";
64
- readonly items: {
65
- readonly type: "object";
66
- readonly properties: {
67
- readonly text: {
68
- readonly type: "string";
69
- readonly title: "Text";
70
- readonly description: "Entity text";
71
- };
72
- readonly type: {
73
- readonly type: "string";
74
- readonly title: "Type";
75
- readonly description: "Entity type (e.g., PERSON, ORG, LOC)";
76
- };
77
- readonly score: {
78
- readonly type: "number";
79
- readonly title: "Score";
80
- readonly description: "Confidence score";
81
- };
82
- };
83
- readonly required: readonly ["text", "type", "score"];
84
- readonly additionalProperties: false;
54
+ readonly leafNodeId: {
55
+ readonly type: "string";
56
+ readonly title: "Leaf Node ID";
57
+ readonly description: "ID of the leaf node this chunk belongs to";
58
+ };
59
+ readonly summary: {
60
+ readonly type: "string";
61
+ readonly title: "Summary";
62
+ readonly description: "Summary of the chunk content";
63
+ };
64
+ readonly entities: {
65
+ readonly type: "array";
66
+ readonly items: {
67
+ readonly type: "object";
68
+ readonly properties: {
69
+ readonly text: {
70
+ readonly type: "string";
71
+ readonly title: "Text";
72
+ readonly description: "Entity text";
73
+ };
74
+ readonly type: {
75
+ readonly type: "string";
76
+ readonly title: "Type";
77
+ readonly description: "Entity type (e.g., PERSON, ORG, LOC)";
78
+ };
79
+ readonly score: {
80
+ readonly type: "number";
81
+ readonly title: "Score";
82
+ readonly description: "Confidence score";
85
83
  };
86
- readonly title: "Entities";
87
- readonly description: "Named entities extracted from the chunk";
88
84
  };
85
+ readonly required: readonly ["text", "type", "score"];
86
+ readonly additionalProperties: false;
87
+ };
88
+ readonly title: "Entities";
89
+ readonly description: "Named entities extracted from the chunk";
90
+ };
91
+ readonly parentSummaries: {
92
+ readonly type: "array";
93
+ readonly items: {
94
+ readonly type: "string";
95
+ };
96
+ readonly title: "Parent Summaries";
97
+ readonly description: "Summaries from ancestor nodes";
98
+ };
99
+ readonly sectionTitles: {
100
+ readonly type: "array";
101
+ readonly items: {
102
+ readonly type: "string";
89
103
  };
90
- readonly additionalProperties: false;
104
+ readonly title: "Section Titles";
105
+ readonly description: "Titles of ancestor section nodes";
106
+ };
107
+ readonly doc_title: {
108
+ readonly type: "string";
109
+ readonly title: "Document Title";
110
+ readonly description: "Title of the parent document";
91
111
  };
92
112
  };
93
113
  readonly required: readonly ["chunkId", "doc_id", "text", "nodePath", "depth"];
94
- readonly additionalProperties: false;
114
+ readonly additionalProperties: true;
95
115
  };
96
116
  readonly title: "Chunks";
97
- readonly description: "Array of chunk nodes";
117
+ readonly description: "Array of chunk records";
98
118
  };
99
- readonly vectors: {
119
+ readonly vector: {
100
120
  readonly type: "array";
101
121
  readonly items: {
102
122
  readonly type: "array";
@@ -108,7 +128,7 @@ declare const inputSchema: {
108
128
  readonly description: "Embeddings from TextEmbeddingTask";
109
129
  };
110
130
  };
111
- readonly required: readonly ["chunks", "vectors"];
131
+ readonly required: readonly ["chunks", "vector"];
112
132
  readonly additionalProperties: false;
113
133
  };
114
134
  declare const outputSchema: {
@@ -158,8 +178,8 @@ declare const outputSchema: {
158
178
  export type ChunkToVectorTaskInput = FromSchema<typeof inputSchema, TypedArraySchemaOptions>;
159
179
  export type ChunkToVectorTaskOutput = FromSchema<typeof outputSchema, TypedArraySchemaOptions>;
160
180
  /**
161
- * Task to transform chunk nodes and embeddings into vector store format
162
- * Bridges HierarchicalChunker + TextEmbedding VectorStoreUpsert
181
+ * Task to transform chunk records and embeddings into vector store format
182
+ * Bridges HierarchicalChunker + TextEmbedding -> VectorStoreUpsert
163
183
  */
164
184
  export declare class ChunkToVectorTask extends Task<ChunkToVectorTaskInput, ChunkToVectorTaskOutput, JobQueueTaskConfig> {
165
185
  static type: string;
@@ -175,8 +195,8 @@ export declare const chunkToVector: (input: ChunkToVectorTaskInput, config?: Job
175
195
  metadata: {
176
196
  [x: string]: unknown;
177
197
  }[];
178
- vectors: import("@workglow/util").TypedArray[];
179
198
  ids: string[];
199
+ vectors: import("@workglow/util").TypedArray[];
180
200
  texts: string[];
181
201
  }>;
182
202
  declare module "@workglow/task-graph" {
@@ -1 +1 @@
1
- {"version":3,"file":"ChunkToVectorTask.d.ts","sourceRoot":"","sources":["../../src/task/ChunkToVectorTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,UAAU,EAEV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAExB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCiB,CAAC;AAEpC,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,WAAW,EAAE,uBAAuB,CAAC,CAAC;AAC7F,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,YAAY,EAAE,uBAAuB,CAAC,CAAC;AAE/F;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,IAAI,CACzC,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,CACnB;IACC,OAAc,IAAI,SAAuB;IACzC,OAAc,QAAQ,SAAc;IACpC,OAAc,KAAK,SAAqB;IACxC,OAAc,WAAW,SAA4D;IACrF,OAAc,SAAS,UAAQ;WAEjB,WAAW,IAAI,cAAc;WAI7B,YAAY,IAAI,cAAc;IAItC,OAAO,CACX,KAAK,EAAE,sBAAsB,EAC7B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,uBAAuB,CAAC;CA2CpC;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,sBAAsB,EAAE,SAAS,kBAAkB;;;;;;;EAEvF,CAAC;AA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C;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,sBAAsB,EAAE,SAAS,kBAAkB;;;;;;;EAEvF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,aAAa,EAAE,cAAc,CAC3B,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,CACnB,CAAC;KACH;CACF"}
@@ -8,19 +8,19 @@ import { DataPortSchema, FromSchema, TypedArraySchemaOptions } from "@workglow/u
8
8
  declare const inputSchema: {
9
9
  readonly type: "object";
10
10
  readonly properties: {
11
- readonly dataset: {
12
- readonly title: "Document Chunk Dataset";
13
- readonly description: "Dataset ID or instance for document chunk data storage";
11
+ readonly knowledgeBase: {
12
+ readonly title: "Knowledge Base";
13
+ readonly description: "Knowledge base ID or instance";
14
14
  } & {
15
15
  title: string;
16
16
  description: string;
17
17
  } & {
18
- readonly format: "dataset:document-chunk";
18
+ readonly format: "dataset:knowledge-base";
19
19
  readonly anyOf: readonly [{
20
20
  readonly type: "string";
21
- readonly title: "Dataset ID";
21
+ readonly title: "Knowledge Base ID";
22
22
  }, {
23
- readonly title: "Dataset Instance";
23
+ readonly title: "Knowledge Base Instance";
24
24
  readonly additionalProperties: true;
25
25
  }];
26
26
  };
@@ -70,7 +70,7 @@ declare const inputSchema: {
70
70
  readonly default: false;
71
71
  };
72
72
  };
73
- readonly required: readonly ["dataset", "queryVector", "queryText"];
73
+ readonly required: readonly ["knowledgeBase", "queryVector", "queryText"];
74
74
  readonly additionalProperties: false;
75
75
  };
76
76
  declare const outputSchema: {
@@ -84,12 +84,12 @@ declare const outputSchema: {
84
84
  readonly title: "Text Chunks";
85
85
  readonly description: "Retrieved text chunks";
86
86
  };
87
- readonly ids: {
87
+ readonly chunk_ids: {
88
88
  readonly type: "array";
89
89
  readonly items: {
90
90
  readonly type: "string";
91
91
  };
92
- readonly title: "IDs";
92
+ readonly title: "Chunk IDs";
93
93
  readonly description: "IDs of retrieved chunks";
94
94
  };
95
95
  readonly metadata: {
@@ -126,15 +126,20 @@ declare const outputSchema: {
126
126
  readonly title: "Count";
127
127
  readonly description: "Number of results returned";
128
128
  };
129
+ readonly query: {
130
+ readonly type: "string";
131
+ readonly title: "Query";
132
+ readonly description: "The text query used for search (pass-through)";
133
+ };
129
134
  };
130
- readonly required: readonly ["chunks", "ids", "metadata", "scores", "count"];
135
+ readonly required: readonly ["chunks", "chunk_ids", "metadata", "scores", "count", "query"];
131
136
  readonly additionalProperties: false;
132
137
  };
133
138
  export type HybridSearchTaskInput = FromSchema<typeof inputSchema, TypedArraySchemaOptions>;
134
139
  export type HybridSearchTaskOutput = FromSchema<typeof outputSchema, TypedArraySchemaOptions>;
135
140
  /**
136
141
  * Task for hybrid search combining vector similarity and full-text search.
137
- * Requires a document chunk vector repository that supports hybridSearch (e.g., Postgres with pgvector).
142
+ * Requires a knowledge base that supports hybridSearch (e.g., Postgres with pgvector).
138
143
  *
139
144
  * Hybrid search improves retrieval by combining:
140
145
  * - Semantic similarity (vector search) - understands meaning
@@ -1 +1 @@
1
- {"version":3,"file":"ChunkVectorHybridSearchTask.d.ts","sourceRoot":"","sources":["../../src/task/ChunkVectorHybridSearchTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,UAAU,EAEV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAExB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDiB,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,WAAW,EAAE,uBAAuB,CAAC,CAAC;AA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,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,WAAW,EAAE,uBAAuB,CAAC,CAAC;AAC5F,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,YAAY,EAAE,uBAAuB,CAAC,CAAC;AAE9F;;;;;;;GAOG;AACH,qBAAa,2BAA4B,SAAQ,IAAI,CACnD,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,CACnB;IACC,OAAc,IAAI,SAAiC;IACnD,OAAc,QAAQ,SAAS;IAC/B,OAAc,KAAK,SAAmB;IACtC,OAAc,WAAW,SAA+D;IACxF,OAAc,SAAS,UAAQ;WAEjB,WAAW,IAAI,cAAc;WAI7B,YAAY,IAAI,cAAc;IAItC,OAAO,CACX,KAAK,EAAE,qBAAqB,EAC5B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,sBAAsB,CAAC;CAgDnC;AAED,eAAO,MAAM,YAAY,GACvB,OAAO,qBAAqB,EAC5B,SAAS,kBAAkB,KAC1B,OAAO,CAAC,sBAAsB,CAEhC,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,YAAY,EAAE,cAAc,CAAC,qBAAqB,EAAE,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;KACjG;CACF"}
@@ -8,19 +8,19 @@ import { DataPortSchema, FromSchema, TypedArraySchemaOptions } from "@workglow/u
8
8
  declare const inputSchema: {
9
9
  readonly type: "object";
10
10
  readonly properties: {
11
- readonly dataset: {
12
- readonly title: "Document Chunk Dataset";
13
- readonly description: "Dataset ID or instance for document chunk data storage";
11
+ readonly knowledgeBase: {
12
+ readonly title: "Knowledge Base";
13
+ readonly description: "Knowledge base ID or instance";
14
14
  } & {
15
15
  title: string;
16
16
  description: string;
17
17
  } & {
18
- readonly format: "dataset:document-chunk";
18
+ readonly format: "dataset:knowledge-base";
19
19
  readonly anyOf: readonly [{
20
20
  readonly type: "string";
21
- readonly title: "Dataset ID";
21
+ readonly title: "Knowledge Base ID";
22
22
  }, {
23
- readonly title: "Dataset Instance";
23
+ readonly title: "Knowledge Base Instance";
24
24
  readonly additionalProperties: true;
25
25
  }];
26
26
  };
@@ -51,7 +51,7 @@ declare const inputSchema: {
51
51
  readonly default: 0;
52
52
  };
53
53
  };
54
- readonly required: readonly ["dataset", "query"];
54
+ readonly required: readonly ["knowledgeBase", "query"];
55
55
  readonly additionalProperties: false;
56
56
  };
57
57
  declare const outputSchema: {
@@ -106,7 +106,7 @@ declare const outputSchema: {
106
106
  export type VectorStoreSearchTaskInput = FromSchema<typeof inputSchema, TypedArraySchemaOptions>;
107
107
  export type VectorStoreSearchTaskOutput = FromSchema<typeof outputSchema, TypedArraySchemaOptions>;
108
108
  /**
109
- * Task for searching similar vectors in a document chunk dataset.
109
+ * Task for searching similar vectors in a knowledge base.
110
110
  * Returns top-K most similar vectors with their metadata and scores.
111
111
  */
112
112
  export declare class ChunkVectorSearchTask extends Task<VectorStoreSearchTaskInput, VectorStoreSearchTaskOutput, JobQueueTaskConfig> {
@@ -123,8 +123,8 @@ export declare const vectorStoreSearch: (input: VectorStoreSearchTaskInput, conf
123
123
  metadata: {
124
124
  [x: string]: unknown;
125
125
  }[];
126
- vectors: import("@workglow/util").TypedArray[];
127
126
  ids: string[];
127
+ vectors: import("@workglow/util").TypedArray[];
128
128
  count: number;
129
129
  scores: number[];
130
130
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"ChunkVectorSearchTask.d.ts","sourceRoot":"","sources":["../../src/task/ChunkVectorSearchTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,UAAU,EAEV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAExB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCkB,CAAC;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;;;;;;CAkCkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CiB,CAAC;AAEpC,MAAM,MAAM,0BAA0B,GAAG,UAAU,CAAC,OAAO,WAAW,EAAE,uBAAuB,CAAC,CAAC;AACjG,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,OAAO,YAAY,EAAE,uBAAuB,CAAC,CAAC;AAEnG;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,IAAI,CAC7C,0BAA0B,EAC1B,2BAA2B,EAC3B,kBAAkB,CACnB;IACC,OAAc,IAAI,SAA2B;IAC7C,OAAc,QAAQ,SAAkB;IACxC,OAAc,KAAK,SAAyB;IAC5C,OAAc,WAAW,SAAoD;IAC7E,OAAc,SAAS,UAAQ;WAEjB,WAAW,IAAI,cAAc;WAI7B,YAAY,IAAI,cAAc;IAItC,OAAO,CACX,KAAK,EAAE,0BAA0B,EACjC,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,2BAA2B,CAAC;CAmBxC;AAED,eAAO,MAAM,iBAAiB,GAC5B,OAAO,0BAA0B,EACjC,SAAS,kBAAkB;;;;;;;;EAG5B,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,iBAAiB,EAAE,cAAc,CAC/B,0BAA0B,EAC1B,2BAA2B,EAC3B,kBAAkB,CACnB,CAAC;KACH;CACF"}
@@ -8,19 +8,19 @@ import { DataPortSchema, FromSchema, TypedArraySchemaOptions } from "@workglow/u
8
8
  declare const inputSchema: {
9
9
  readonly type: "object";
10
10
  readonly properties: {
11
- readonly dataset: {
12
- readonly title: "Document Chunk Dataset";
13
- readonly description: "Dataset ID or instance for document chunk data storage";
11
+ readonly knowledgeBase: {
12
+ readonly title: "Knowledge Base";
13
+ readonly description: "Knowledge base ID or instance";
14
14
  } & {
15
15
  title: string;
16
16
  description: string;
17
17
  } & {
18
- readonly format: "dataset:document-chunk";
18
+ readonly format: "dataset:knowledge-base";
19
19
  readonly anyOf: readonly [{
20
20
  readonly type: "string";
21
- readonly title: "Dataset ID";
21
+ readonly title: "Knowledge Base ID";
22
22
  }, {
23
- readonly title: "Dataset Instance";
23
+ readonly title: "Knowledge Base Instance";
24
24
  readonly additionalProperties: true;
25
25
  }];
26
26
  };
@@ -62,7 +62,7 @@ declare const inputSchema: {
62
62
  }];
63
63
  };
64
64
  };
65
- readonly required: readonly ["dataset", "doc_id", "vectors", "metadata"];
65
+ readonly required: readonly ["knowledgeBase", "doc_id", "vectors", "metadata"];
66
66
  readonly additionalProperties: false;
67
67
  };
68
68
  declare const outputSchema: {
@@ -93,7 +93,7 @@ declare const outputSchema: {
93
93
  export type VectorStoreUpsertTaskInput = FromSchema<typeof inputSchema, TypedArraySchemaOptions>;
94
94
  export type VectorStoreUpsertTaskOutput = FromSchema<typeof outputSchema>;
95
95
  /**
96
- * Task for upserting (insert or update) vectors into a vector repository.
96
+ * Task for upserting (insert or update) vectors into a knowledge base.
97
97
  * Supports both single and bulk operations.
98
98
  */
99
99
  export declare class ChunkVectorUpsertTask extends Task<VectorStoreUpsertTaskInput, VectorStoreUpsertTaskOutput, JobQueueTaskConfig> {
@@ -1 +1 @@
1
- {"version":3,"file":"ChunkVectorUpsertTask.d.ts","sourceRoot":"","sources":["../../src/task/ChunkVectorUpsertTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,UAAU,EAEV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAGxB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;CAsBiB,CAAC;AAEpC,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BAA0B,GAAG,UAAU,CACjD,OAAO,WAAW,EAClB,uBAAuB,CACxB,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE1E;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,IAAI,CAC7C,0BAA0B,EAC1B,2BAA2B,EAC3B,kBAAkB,CACnB;IACC,OAAc,IAAI,SAA2B;IAC7C,OAAc,QAAQ,SAAkB;IACxC,OAAc,KAAK,SAAyB;IAC5C,OAAc,WAAW,SAA+D;IACxF,OAAc,SAAS,UAAS;WAElB,WAAW,IAAI,cAAc;WAI7B,YAAY,IAAI,cAAc;IAItC,OAAO,CACX,KAAK,EAAE,0BAA0B,EACjC,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,2BAA2B,CAAC;CAsDxC;AAED,eAAO,MAAM,iBAAiB,GAC5B,OAAO,0BAA0B,EACjC,SAAS,kBAAkB;;;;EAG5B,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,iBAAiB,EAAE,cAAc,CAC/B,0BAA0B,EAC1B,2BAA2B,EAC3B,kBAAkB,CACnB,CAAC;KACH;CACF"}
@@ -156,50 +156,70 @@ declare const outputSchema: {
156
156
  readonly title: "Depth";
157
157
  readonly description: "Depth in the document tree";
158
158
  };
159
- readonly enrichment: {
160
- readonly type: "object";
161
- readonly properties: {
162
- readonly summary: {
163
- readonly type: "string";
164
- readonly title: "Summary";
165
- readonly description: "Summary of the chunk content";
166
- };
167
- readonly entities: {
168
- readonly type: "array";
169
- readonly items: {
170
- readonly type: "object";
171
- readonly properties: {
172
- readonly text: {
173
- readonly type: "string";
174
- readonly title: "Text";
175
- readonly description: "Entity text";
176
- };
177
- readonly type: {
178
- readonly type: "string";
179
- readonly title: "Type";
180
- readonly description: "Entity type (e.g., PERSON, ORG, LOC)";
181
- };
182
- readonly score: {
183
- readonly type: "number";
184
- readonly title: "Score";
185
- readonly description: "Confidence score";
186
- };
187
- };
188
- readonly required: readonly ["text", "type", "score"];
189
- readonly additionalProperties: false;
159
+ readonly leafNodeId: {
160
+ readonly type: "string";
161
+ readonly title: "Leaf Node ID";
162
+ readonly description: "ID of the leaf node this chunk belongs to";
163
+ };
164
+ readonly summary: {
165
+ readonly type: "string";
166
+ readonly title: "Summary";
167
+ readonly description: "Summary of the chunk content";
168
+ };
169
+ readonly entities: {
170
+ readonly type: "array";
171
+ readonly items: {
172
+ readonly type: "object";
173
+ readonly properties: {
174
+ readonly text: {
175
+ readonly type: "string";
176
+ readonly title: "Text";
177
+ readonly description: "Entity text";
178
+ };
179
+ readonly type: {
180
+ readonly type: "string";
181
+ readonly title: "Type";
182
+ readonly description: "Entity type (e.g., PERSON, ORG, LOC)";
183
+ };
184
+ readonly score: {
185
+ readonly type: "number";
186
+ readonly title: "Score";
187
+ readonly description: "Confidence score";
190
188
  };
191
- readonly title: "Entities";
192
- readonly description: "Named entities extracted from the chunk";
193
189
  };
190
+ readonly required: readonly ["text", "type", "score"];
191
+ readonly additionalProperties: false;
194
192
  };
195
- readonly additionalProperties: false;
193
+ readonly title: "Entities";
194
+ readonly description: "Named entities extracted from the chunk";
195
+ };
196
+ readonly parentSummaries: {
197
+ readonly type: "array";
198
+ readonly items: {
199
+ readonly type: "string";
200
+ };
201
+ readonly title: "Parent Summaries";
202
+ readonly description: "Summaries from ancestor nodes";
203
+ };
204
+ readonly sectionTitles: {
205
+ readonly type: "array";
206
+ readonly items: {
207
+ readonly type: "string";
208
+ };
209
+ readonly title: "Section Titles";
210
+ readonly description: "Titles of ancestor section nodes";
211
+ };
212
+ readonly doc_title: {
213
+ readonly type: "string";
214
+ readonly title: "Document Title";
215
+ readonly description: "Title of the parent document";
196
216
  };
197
217
  };
198
218
  readonly required: readonly ["chunkId", "doc_id", "text", "nodePath", "depth"];
199
- readonly additionalProperties: false;
219
+ readonly additionalProperties: true;
200
220
  };
201
221
  readonly title: "Chunks";
202
- readonly description: "Array of chunk nodes";
222
+ readonly description: "Array of chunk records";
203
223
  };
204
224
  readonly text: {
205
225
  readonly type: "array";
@@ -257,14 +277,17 @@ export declare class HierarchicalChunkerTask extends Task<HierarchicalChunkerTas
257
277
  export declare const hierarchicalChunker: (input: HierarchicalChunkerTaskInput, config?: JobQueueTaskConfig) => Promise<{
258
278
  doc_id: string;
259
279
  chunks: {
260
- enrichment?: {
261
- summary?: string | undefined;
262
- entities?: {
263
- type: string;
264
- text: string;
265
- score: number;
266
- }[] | undefined;
267
- } | undefined;
280
+ [x: string]: unknown;
281
+ doc_title?: string | undefined;
282
+ leafNodeId?: string | undefined;
283
+ summary?: string | undefined;
284
+ entities?: {
285
+ type: string;
286
+ text: string;
287
+ score: number;
288
+ }[] | undefined;
289
+ parentSummaries?: string[] | undefined;
290
+ sectionTitles?: string[] | undefined;
268
291
  doc_id: string;
269
292
  chunkId: string;
270
293
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"HierarchicalChunkerTask.d.ts","sourceRoot":"","sources":["../../src/task/HierarchicalChunkerTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAS,MAAM,gBAAgB,CAAC;AASnE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CkB,CAAC;AAEpC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BiB,CAAC;AAEpC,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAC1E,M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