@promptbook/openai 0.41.106 → 0.41.108
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
|
|
2
|
+
/**
|
|
3
|
+
* Hidden utilities which should not be used by external consumers.
|
|
4
|
+
*/
|
|
5
|
+
declare const __: {
|
|
6
|
+
prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
|
|
7
|
+
};
|
|
8
|
+
export { __ };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
|
|
2
|
-
import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
|
|
3
2
|
import { parseNumber } from '../conversion/utils/parseNumber';
|
|
4
3
|
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
|
|
5
4
|
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
|
|
@@ -23,13 +22,7 @@ import { removeQuotes } from '../utils/removeQuotes';
|
|
|
23
22
|
import { trimCodeBlock } from '../utils/trimCodeBlock';
|
|
24
23
|
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
|
|
25
24
|
import { unwrapResult } from '../utils/unwrapResult';
|
|
26
|
-
|
|
27
|
-
* Hidden utilities which should not be used by external consumers.
|
|
28
|
-
*/
|
|
29
|
-
declare const __: {
|
|
30
|
-
prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
|
|
31
|
-
};
|
|
32
|
-
export { __, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
|
|
25
|
+
export { assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
|
|
33
26
|
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
|
|
34
27
|
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
|
|
35
28
|
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/openai",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.108",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"openai": "4.2.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@promptbook/core": "0.41.
|
|
41
|
+
"@promptbook/core": "0.41.108"
|
|
42
42
|
},
|
|
43
43
|
"main": "./umd/index.umd.js",
|
|
44
44
|
"module": "./esm/index.es.js",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
|
|
2
|
+
/**
|
|
3
|
+
* Hidden utilities which should not be used by external consumers.
|
|
4
|
+
*/
|
|
5
|
+
declare const __: {
|
|
6
|
+
prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
|
|
7
|
+
};
|
|
8
|
+
export { __ };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
|
|
2
|
-
import { prettifyPromptbookStringCli } from '../conversion/prettify/prettifyPromptbookStringCli';
|
|
3
2
|
import { parseNumber } from '../conversion/utils/parseNumber';
|
|
4
3
|
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
|
|
5
4
|
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
|
|
@@ -23,13 +22,7 @@ import { removeQuotes } from '../utils/removeQuotes';
|
|
|
23
22
|
import { trimCodeBlock } from '../utils/trimCodeBlock';
|
|
24
23
|
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
|
|
25
24
|
import { unwrapResult } from '../utils/unwrapResult';
|
|
26
|
-
|
|
27
|
-
* Hidden utilities which should not be used by external consumers.
|
|
28
|
-
*/
|
|
29
|
-
declare const __: {
|
|
30
|
-
prettifyPromptbookStringCli: typeof prettifyPromptbookStringCli;
|
|
31
|
-
};
|
|
32
|
-
export { __, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
|
|
25
|
+
export { assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
|
|
33
26
|
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
|
|
34
27
|
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
|
|
35
28
|
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
|