@workglow/ai 0.2.28 → 0.2.30
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/README.md +22 -14
- package/dist/browser.js +9 -6
- package/dist/browser.js.map +5 -5
- package/dist/bun.js +9 -6
- package/dist/bun.js.map +5 -5
- package/dist/node.js +9 -6
- package/dist/node.js.map +5 -5
- package/dist/task/ChunkVectorUpsertTask.d.ts +1 -1
- package/dist/task/ChunkVectorUpsertTask.d.ts.map +1 -1
- package/dist/task/DocumentUpsertTask.d.ts.map +1 -1
- package/dist/task/KbToDocumentsTask.d.ts.map +1 -1
- package/package.json +11 -11
package/dist/bun.js
CHANGED
|
@@ -1972,7 +1972,7 @@ var outputSchema2 = {
|
|
|
1972
1972
|
|
|
1973
1973
|
class ChunkVectorUpsertTask extends Task3 {
|
|
1974
1974
|
static type = "ChunkVectorUpsertTask";
|
|
1975
|
-
static category = "
|
|
1975
|
+
static category = "Document";
|
|
1976
1976
|
static title = "Add to Vector Store";
|
|
1977
1977
|
static description = "Store chunks + their embeddings in a knowledge base (1:1 aligned)";
|
|
1978
1978
|
static cacheable = false;
|
|
@@ -2749,8 +2749,11 @@ var documentEnricher = (input, config) => {
|
|
|
2749
2749
|
Workflow9.prototype.documentEnricher = CreateWorkflow9(DocumentEnricherTask);
|
|
2750
2750
|
|
|
2751
2751
|
// src/task/DocumentUpsertTask.ts
|
|
2752
|
-
import {
|
|
2753
|
-
|
|
2752
|
+
import {
|
|
2753
|
+
Document,
|
|
2754
|
+
DocumentMetadataSchema,
|
|
2755
|
+
TypeKnowledgeBase as TypeKnowledgeBase3
|
|
2756
|
+
} from "@workglow/knowledge-base";
|
|
2754
2757
|
import { CreateWorkflow as CreateWorkflow10, Task as Task6, Workflow as Workflow10 } from "@workglow/task-graph";
|
|
2755
2758
|
var inputSchema5 = {
|
|
2756
2759
|
type: "object",
|
|
@@ -2798,7 +2801,7 @@ var outputSchema5 = {
|
|
|
2798
2801
|
|
|
2799
2802
|
class DocumentUpsertTask extends Task6 {
|
|
2800
2803
|
static type = "DocumentUpsertTask";
|
|
2801
|
-
static category = "
|
|
2804
|
+
static category = "Document";
|
|
2802
2805
|
static title = "Add Document";
|
|
2803
2806
|
static description = "Persist a parsed document tree to a knowledge base";
|
|
2804
2807
|
static cacheable = false;
|
|
@@ -4134,7 +4137,7 @@ var outputSchema8 = {
|
|
|
4134
4137
|
|
|
4135
4138
|
class KbToDocumentsTask extends Task9 {
|
|
4136
4139
|
static type = "KbToDocumentsTask";
|
|
4137
|
-
static category = "
|
|
4140
|
+
static category = "Document";
|
|
4138
4141
|
static title = "Knowledge Base to Documents";
|
|
4139
4142
|
static description = "List documents from a knowledge base, optionally filtering to only those that need embedding";
|
|
4140
4143
|
static cacheable = false;
|
|
@@ -7445,4 +7448,4 @@ export {
|
|
|
7445
7448
|
AiChatInputSchema
|
|
7446
7449
|
};
|
|
7447
7450
|
|
|
7448
|
-
//# debugId=
|
|
7451
|
+
//# debugId=1C5C0215D093745964756E2164756E21
|