@yolk-sdk/knowledge 0.1.0-canary.89 → 0.1.0-canary.90
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/dist/ingestion.d.mts +4 -4
- package/package.json +2 -2
package/dist/ingestion.d.mts
CHANGED
|
@@ -18,7 +18,6 @@ type IngestKnowledgeDocumentInput = {
|
|
|
18
18
|
declare const ingestKnowledgeDocument: (input: IngestKnowledgeDocumentInput) => Effect.Effect<{
|
|
19
19
|
readonly id: string & import("effect/Brand").Brand<"KnowledgeDocumentId">;
|
|
20
20
|
readonly scopeId: string & import("effect/Brand").Brand<"KnowledgeScopeId">;
|
|
21
|
-
readonly status: "processing" | "ready" | "error";
|
|
22
21
|
readonly source: {
|
|
23
22
|
readonly _tag: "File";
|
|
24
23
|
readonly ref: string;
|
|
@@ -31,16 +30,17 @@ declare const ingestKnowledgeDocument: (input: IngestKnowledgeDocumentInput) =>
|
|
|
31
30
|
readonly _tag: "Text";
|
|
32
31
|
readonly label?: string | undefined;
|
|
33
32
|
};
|
|
33
|
+
readonly status: "processing" | "ready" | "error";
|
|
34
|
+
readonly title?: string | undefined;
|
|
35
|
+
readonly summary?: string | undefined;
|
|
34
36
|
readonly metadata?: {
|
|
35
37
|
readonly [x: string]: unknown;
|
|
36
38
|
} | undefined;
|
|
37
39
|
readonly tokenCount?: number | undefined;
|
|
38
|
-
readonly summary?: string | undefined;
|
|
39
40
|
readonly errorMessage?: string | undefined;
|
|
40
|
-
readonly title?: string | undefined;
|
|
41
41
|
readonly contentHash?: string | undefined;
|
|
42
42
|
readonly chunkCount?: number | undefined;
|
|
43
|
-
}, KnowledgeIngestionError,
|
|
43
|
+
}, KnowledgeIngestionError, SearchIndexStore | KnowledgeEmbedder | KnowledgeChunker | KnowledgeExtractor | KnowledgeSummarizer>;
|
|
44
44
|
type KnowledgeIngestionPipeline = {
|
|
45
45
|
readonly ingest: (input: IngestKnowledgeDocumentInput) => ReturnType<typeof ingestKnowledgeDocument>;
|
|
46
46
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolk-sdk/knowledge",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.90",
|
|
4
4
|
"description": "Domain-free knowledge document/source/file/context, ingestion, hybrid search, and lookup/manage tool helpers for agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"effect": "4.0.0-rc.115",
|
|
108
108
|
"gpt-tokenizer": "^3.4.0",
|
|
109
|
-
"@yolk-sdk/agent": "^0.1.0-canary.
|
|
109
|
+
"@yolk-sdk/agent": "^0.1.0-canary.90"
|
|
110
110
|
},
|
|
111
111
|
"scripts": {
|
|
112
112
|
"build": "tsdown",
|