@promptbook/legacy-documents 0.72.0-10 → 0.72.0-11
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.
|
@@ -76,6 +76,7 @@ import { unpreparePipeline } from '../prepare/unpreparePipeline';
|
|
|
76
76
|
import { prepareKnowledgePieces } from '../scrapers/_common/prepareKnowledgePieces';
|
|
77
77
|
import { $scrapersMetadataRegister } from '../scrapers/_common/register/$scrapersMetadataRegister';
|
|
78
78
|
import { $scrapersRegister } from '../scrapers/_common/register/$scrapersRegister';
|
|
79
|
+
import { makeKnowledgeSourceHandler } from '../scrapers/_common/utils/makeKnowledgeSourceHandler';
|
|
79
80
|
import { _LegacyDocumentScraperMetadataRegistration } from '../scrapers/document-legacy/register-metadata';
|
|
80
81
|
import { _DocumentScraperMetadataRegistration } from '../scrapers/document/register-metadata';
|
|
81
82
|
import { _MarkdownScraperMetadataRegistration } from '../scrapers/markdown/register-metadata';
|
|
@@ -166,6 +167,7 @@ export { unpreparePipeline };
|
|
|
166
167
|
export { prepareKnowledgePieces };
|
|
167
168
|
export { $scrapersMetadataRegister };
|
|
168
169
|
export { $scrapersRegister };
|
|
170
|
+
export { makeKnowledgeSourceHandler };
|
|
169
171
|
export { _LegacyDocumentScraperMetadataRegistration };
|
|
170
172
|
export { _DocumentScraperMetadataRegistration };
|
|
171
173
|
export { _MarkdownScraperMetadataRegistration };
|
|
@@ -6,6 +6,6 @@ import type { ScraperSourceHandler } from '../Scraper';
|
|
|
6
6
|
/**
|
|
7
7
|
* @@@
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @public exported from `@promptbook/core`
|
|
10
10
|
*/
|
|
11
11
|
export declare function makeKnowledgeSourceHandler(knowledgeSource: SetOptional<KnowledgeSourceJson, 'name'>, tools: Pick<ExecutionTools, 'fs'>, options?: Pick<PrepareAndScrapeOptions, 'rootDirname' | 'isVerbose'>): Promise<ScraperSourceHandler>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/legacy-documents",
|
|
3
|
-
"version": "0.72.0-
|
|
3
|
+
"version": "0.72.0-11",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"module": "./esm/index.es.js",
|
|
52
52
|
"typings": "./esm/typings/src/_packages/legacy-documents.index.d.ts",
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@promptbook/core": "0.72.0-
|
|
54
|
+
"@promptbook/core": "0.72.0-11"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"colors": "1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
/**
|
|
16
16
|
* The version of the Promptbook library
|
|
17
17
|
*/
|
|
18
|
-
var PROMPTBOOK_VERSION = '0.72.0-
|
|
18
|
+
var PROMPTBOOK_VERSION = '0.72.0-10';
|
|
19
19
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
20
20
|
|
|
21
21
|
/*! *****************************************************************************
|
|
@@ -3257,7 +3257,7 @@
|
|
|
3257
3257
|
/**
|
|
3258
3258
|
* @@@
|
|
3259
3259
|
*
|
|
3260
|
-
* @
|
|
3260
|
+
* @public exported from `@promptbook/core`
|
|
3261
3261
|
*/
|
|
3262
3262
|
function makeKnowledgeSourceHandler(knowledgeSource, tools, options) {
|
|
3263
3263
|
var _a;
|