@promptbook/node
Advanced tools
Comparing version 0.74.0-13 to 0.74.0
@@ -15,2 +15,4 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { $isRunningInWebWorker } from '../utils/environment/$isRunningInWebWorker'; | ||
import { CHARACTERS_PER_STANDARD_LINE } from '../utils/expectation-counters/config'; | ||
import { LINES_PER_STANDARD_PAGE } from '../utils/expectation-counters/config'; | ||
import { countCharacters } from '../utils/expectation-counters/countCharacters'; | ||
@@ -87,2 +89,4 @@ import { countLines } from '../utils/expectation-counters/countLines'; | ||
export { $isRunningInWebWorker }; | ||
export { CHARACTERS_PER_STANDARD_LINE }; | ||
export { LINES_PER_STANDARD_PAGE }; | ||
export { countCharacters }; | ||
@@ -89,0 +93,0 @@ export { countLines }; |
@@ -9,3 +9,3 @@ import type { Command as Program } from 'commander'; | ||
/** | ||
* TODO: !!!!!! Catch and wrap all errors from CLI | ||
* TODO: !!!!! Catch and wrap all errors from CLI | ||
* TODO: [๐ง ] Pass `maxExecutionAttempts`, `csvSettings` | ||
@@ -12,0 +12,0 @@ * TODO: [๐ฅ][main] !!! Allow `ptbk run` without configuring any llm tools |
import { promptbookCli } from './promptbookCli'; | ||
/** | ||
* Note: [๐บ] Purpose of this file is to export CLI for production environment | ||
*/ | ||
/** | ||
* Hidden utilities which should not be used by external consumers. | ||
@@ -8,3 +11,3 @@ * | ||
export declare const _CLI: { | ||
_initialize: typeof promptbookCli; | ||
_initialize_promptbookCli: typeof promptbookCli; | ||
}; | ||
@@ -11,0 +14,0 @@ /** |
#!/usr/bin/env ts-node | ||
/** | ||
* Note: Purpose of this file !!!!!!! vs other place | ||
* Note: [๐บ] Purpose of this file is to test the CLI in development environment | ||
*/ | ||
import '../../_packages/cli.index.ts'; |
@@ -5,4 +5,6 @@ import type { ExpectationAmount } from '../../types/PipelineJson/Expectations'; | ||
* | ||
* Note: This does not check only for the presence of newlines, but also for the length of the standard line. | ||
* | ||
* @public exported from `@promptbook/utils` | ||
*/ | ||
export declare function countLines(text: string): ExpectationAmount; |
@@ -5,4 +5,6 @@ import type { ExpectationAmount } from '../../types/PipelineJson/Expectations'; | ||
* | ||
* Note: This does not check only for the count of newlines, but also for the length of the standard line and length of the standard page. | ||
* | ||
* @public exported from `@promptbook/utils` | ||
*/ | ||
export declare function countPages(text: string): ExpectationAmount; |
{ | ||
"name": "@promptbook/node", | ||
"version": "0.74.0-13", | ||
"version": "0.74.0", | ||
"description": "Supercharge your use of large language models", | ||
@@ -56,3 +56,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.74.0-13" | ||
"@promptbook/core": "0.74.0" | ||
}, | ||
@@ -59,0 +59,0 @@ "dependencies": { |
@@ -21,3 +21,4 @@ <!-- โ ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten --> | ||
- ๐ Working on [the **Book** language v1](https://github.com/webgptorg/book) | ||
- ๐ Working [the **Book** language v1.0.0](https://github.com/webgptorg/book) | ||
- ๐ค Run books from CLI - `npx ptbk run path/to/your/book` | ||
- ๐ Support of `.docx`, `.doc` and `.pdf` documents | ||
@@ -28,6 +29,2 @@ - โจ **Support of [OpenAI o1 model](https://openai.com/o1/)** | ||
<blockquote style="color: #ff8811"> | ||
<b>โ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>. | ||
</blockquote> | ||
## ๐ฆ Package `@promptbook/node` | ||
@@ -34,0 +31,0 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1998374
584
30524
398