@promptbook/core
Advanced tools
Comparing version 0.84.0-0 to 0.84.0-9
@@ -13,2 +13,4 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { _OpenAiAssistantRegistration } from '../llm-providers/openai/register-constructor'; | ||
import { _BoilerplateScraperRegistration } from '../scrapers/_boilerplate/register-constructor'; | ||
import { _BoilerplateScraperMetadataRegistration } from '../scrapers/_boilerplate/register-metadata'; | ||
import { _LegacyDocumentScraperRegistration } from '../scrapers/document-legacy/register-constructor'; | ||
@@ -20,2 +22,4 @@ import { _LegacyDocumentScraperMetadataRegistration } from '../scrapers/document-legacy/register-metadata'; | ||
import { _MarkdownScraperMetadataRegistration } from '../scrapers/markdown/register-metadata'; | ||
import { _MarkitdownScraperRegistration } from '../scrapers/markitdown/register-constructor'; | ||
import { _MarkitdownScraperMetadataRegistration } from '../scrapers/markitdown/register-metadata'; | ||
import { _PdfScraperRegistration } from '../scrapers/pdf/register-constructor'; | ||
@@ -37,2 +41,4 @@ import { _PdfScraperMetadataRegistration } from '../scrapers/pdf/register-metadata'; | ||
export { _OpenAiAssistantRegistration }; | ||
export { _BoilerplateScraperRegistration }; | ||
export { _BoilerplateScraperMetadataRegistration }; | ||
export { _LegacyDocumentScraperRegistration }; | ||
@@ -44,2 +50,4 @@ export { _LegacyDocumentScraperMetadataRegistration }; | ||
export { _MarkdownScraperMetadataRegistration }; | ||
export { _MarkitdownScraperRegistration }; | ||
export { _MarkitdownScraperMetadataRegistration }; | ||
export { _PdfScraperRegistration }; | ||
@@ -46,0 +54,0 @@ export { _PdfScraperMetadataRegistration }; |
@@ -109,2 +109,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { unpreparePipeline } from '../prepare/unpreparePipeline'; | ||
import { _BoilerplateScraperMetadataRegistration } from '../scrapers/_boilerplate/register-metadata'; | ||
import { prepareKnowledgePieces } from '../scrapers/_common/prepareKnowledgePieces'; | ||
@@ -117,2 +118,3 @@ import { $scrapersMetadataRegister } from '../scrapers/_common/register/$scrapersMetadataRegister'; | ||
import { _MarkdownScraperMetadataRegistration } from '../scrapers/markdown/register-metadata'; | ||
import { _MarkitdownScraperMetadataRegistration } from '../scrapers/markitdown/register-metadata'; | ||
import { _PdfScraperMetadataRegistration } from '../scrapers/pdf/register-metadata'; | ||
@@ -235,2 +237,3 @@ import { _WebsiteScraperMetadataRegistration } from '../scrapers/website/register-metadata'; | ||
export { unpreparePipeline }; | ||
export { _BoilerplateScraperMetadataRegistration }; | ||
export { prepareKnowledgePieces }; | ||
@@ -243,2 +246,3 @@ export { $scrapersMetadataRegister }; | ||
export { _MarkdownScraperMetadataRegistration }; | ||
export { _MarkitdownScraperMetadataRegistration }; | ||
export { _PdfScraperMetadataRegistration }; | ||
@@ -245,0 +249,0 @@ export { _WebsiteScraperMetadataRegistration }; |
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { createMarkitdownScraper } from '../scrapers/markitdown/createMarkitdownScraper'; | ||
import { MarkitdownScraper } from '../scrapers/markitdown/MarkitdownScraper'; | ||
import { _MarkitdownScraperRegistration } from '../scrapers/markitdown/register-constructor'; | ||
import { createPdfScraper } from '../scrapers/pdf/createPdfScraper'; | ||
@@ -6,4 +9,7 @@ import { PdfScraper } from '../scrapers/pdf/PdfScraper'; | ||
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION }; | ||
export { createMarkitdownScraper }; | ||
export { MarkitdownScraper }; | ||
export { _MarkitdownScraperRegistration }; | ||
export { createPdfScraper }; | ||
export { PdfScraper }; | ||
export { _PdfScraperRegistration }; |
@@ -10,2 +10,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { isValidJsonString } from '../formats/json/utils/isValidJsonString'; | ||
import { prompt } from '../pipeline/prompt-notation'; | ||
import { $getCurrentDate } from '../utils/$getCurrentDate'; | ||
@@ -91,2 +92,3 @@ import { $isRunningInBrowser } from '../utils/environment/$isRunningInBrowser'; | ||
export { isValidJsonString }; | ||
export { prompt }; | ||
export { $getCurrentDate }; | ||
@@ -93,0 +95,0 @@ export { $isRunningInBrowser }; |
@@ -12,2 +12,4 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { _OpenAiAssistantRegistration } from '../llm-providers/openai/register-constructor'; | ||
import { _BoilerplateScraperRegistration } from '../scrapers/_boilerplate/register-constructor'; | ||
import { _BoilerplateScraperMetadataRegistration } from '../scrapers/_boilerplate/register-metadata'; | ||
import { _LegacyDocumentScraperRegistration } from '../scrapers/document-legacy/register-constructor'; | ||
@@ -19,2 +21,4 @@ import { _LegacyDocumentScraperMetadataRegistration } from '../scrapers/document-legacy/register-metadata'; | ||
import { _MarkdownScraperMetadataRegistration } from '../scrapers/markdown/register-metadata'; | ||
import { _MarkitdownScraperRegistration } from '../scrapers/markitdown/register-constructor'; | ||
import { _MarkitdownScraperMetadataRegistration } from '../scrapers/markitdown/register-metadata'; | ||
import { _PdfScraperRegistration } from '../scrapers/pdf/register-constructor'; | ||
@@ -36,2 +40,4 @@ import { _PdfScraperMetadataRegistration } from '../scrapers/pdf/register-metadata'; | ||
export { _OpenAiAssistantRegistration }; | ||
export { _BoilerplateScraperRegistration }; | ||
export { _BoilerplateScraperMetadataRegistration }; | ||
export { _LegacyDocumentScraperRegistration }; | ||
@@ -43,2 +49,4 @@ export { _LegacyDocumentScraperMetadataRegistration }; | ||
export { _MarkdownScraperMetadataRegistration }; | ||
export { _MarkitdownScraperRegistration }; | ||
export { _MarkitdownScraperMetadataRegistration }; | ||
export { _PdfScraperRegistration }; | ||
@@ -45,0 +53,0 @@ export { _PdfScraperMetadataRegistration }; |
@@ -14,3 +14,3 @@ import type { PipelineJson } from './pipeline/PipelineJson/PipelineJson'; | ||
*/ | ||
export declare const REPLACING_NONCE = "u$k42k%!V2zo34w7Fu#@QUHYPW"; | ||
export declare const REPLACING_NONCE = "ptbkauk42kV2dzao34faw7FudQUHYPtW"; | ||
/** | ||
@@ -17,0 +17,0 @@ * @@@ |
@@ -8,3 +8,3 @@ import type { string_executable_path } from '../../types/typeAliases'; | ||
*/ | ||
export declare function locateAppOnLinux({ appName, linuxWhich, }: Pick<Required<LocateAppOptions>, 'appName' | 'linuxWhich'>): Promise<string_executable_path | null>; | ||
export declare function locateAppOnLinux({ linuxWhich, }: Pick<Required<LocateAppOptions>, 'linuxWhich'>): Promise<string_executable_path | null>; | ||
/** | ||
@@ -11,0 +11,0 @@ * TODO: [๐ง ][โฟ] Maybe export through `@promptbook/node` |
@@ -8,3 +8,3 @@ import type { string_executable_path } from '../../types/typeAliases'; | ||
*/ | ||
export declare function locateAppOnMacOs({ appName, macOsName, }: Pick<Required<LocateAppOptions>, 'appName' | 'macOsName'>): Promise<string_executable_path | null>; | ||
export declare function locateAppOnMacOs({ macOsName, }: Pick<Required<LocateAppOptions>, 'macOsName'>): Promise<string_executable_path | null>; | ||
/** | ||
@@ -11,0 +11,0 @@ * TODO: [๐ง ][โฟ] Maybe export through `@promptbook/node` |
@@ -5,2 +5,6 @@ import type { PipelineString } from './PipelineString'; | ||
* | ||
* Note: There are 2 similar functions: | ||
* 1) `prompt` for notating single prompt exported from `@promptbook/utils` | ||
* 1) `book` for notating and validating entire books exported from `@promptbook/utils` | ||
* | ||
* @param strings @@@ | ||
@@ -7,0 +11,0 @@ * @param values @@@ |
@@ -238,3 +238,3 @@ import type { TupleToUnion } from 'type-fest'; | ||
*/ | ||
export type string_promptbook_documentation_url = `https://github.com/webgptorg/promptbook/discussions/${number | '@@'}`; | ||
export type string_promptbook_documentation_url = `https://github.com/webgptorg/promptbook/discussions/${number | `@@${string}`}`; | ||
/** | ||
@@ -241,0 +241,0 @@ * Semantic helper |
{ | ||
"name": "@promptbook/core", | ||
"version": "0.84.0-0", | ||
"version": "0.84.0-9", | ||
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin", | ||
@@ -13,3 +13,3 @@ "--note-0": " <- [๐]", | ||
"contributors": [ | ||
"Pavol Hejnรฝ <me@pavolhejny.com> (https://www.pavolhejny.com/)" | ||
"Pavol Hejnรฝ <pavol@ptbk.io> (https://www.pavolhejny.com/)" | ||
], | ||
@@ -16,0 +16,0 @@ "--todo-0": "TODO: [โ๏ธ] Make better list of keywords", |
@@ -276,2 +276,3 @@ <!-- โ ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten --> | ||
- **[@promptbook/pdf](https://www.npmjs.com/package/@promptbook/pdf)** - Read knowledge from `.pdf` documents | ||
- **[@promptbook/documents](https://www.npmjs.com/package/@promptbook/markitdown)** - Integration of [Markitdown by Microsoft](https://github.com/microsoft/markitdown) | ||
- **[@promptbook/documents](https://www.npmjs.com/package/@promptbook/documents)** - Read knowledge from documents like `.docx`, `.odt`,โฆ | ||
@@ -278,0 +279,0 @@ - **[@promptbook/legacy-documents](https://www.npmjs.com/package/@promptbook/legacy-documents)** - Read knowledge from legacy documents like `.doc`, `.rtf`,โฆ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2297788
675
35709
445