@promptbook/core
Advanced tools
Comparing version 0.44.0-4 to 0.44.0-5
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString'; | ||
import { parseNumber } from '../conversion/utils/parseNumber'; | ||
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful'; | ||
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations'; | ||
import { replaceParameters } from '../execution/utils/replaceParameters'; | ||
@@ -43,5 +44,5 @@ import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString'; | ||
import { unwrapResult } from '../utils/unwrapResult'; | ||
export { assertsExecutionSuccessful, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [π»] | ||
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [π»] | ||
extractAllListItemsFromMarkdown, extractBlock, // <- [π»] | ||
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [π»] | ||
extractOneBlockFromMarkdown, isPassingExpectations, isValidJsonString, parseNumber, // <- [π»] | ||
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, }; | ||
@@ -48,0 +49,0 @@ export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords }; |
@@ -8,1 +8,5 @@ import type { Expectations } from '../../../../types/PromptbookJson/PromptTemplateJson'; | ||
export declare function $fakeTextToExpectations(expectations: Expectations): string; | ||
/** | ||
* TODO: Implement better | ||
* TODO: [π] Unite object for expecting amount and format - use here also a format | ||
*/ |
@@ -133,3 +133,4 @@ import { ExpectFormatCommand } from '../Command'; | ||
/** | ||
* TODO: [π] Unite object for expecting amount and format - remove expectFormat | ||
* TODO: use one helper type> (string_prompt | string_javascript | string_markdown) & string_template | ||
*/ |
{ | ||
"name": "@promptbook/core", | ||
"version": "0.44.0-4", | ||
"version": "0.44.0-5", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -5,0 +5,0 @@ "private": false, |
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString'; | ||
import { parseNumber } from '../conversion/utils/parseNumber'; | ||
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful'; | ||
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations'; | ||
import { replaceParameters } from '../execution/utils/replaceParameters'; | ||
@@ -43,5 +44,5 @@ import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString'; | ||
import { unwrapResult } from '../utils/unwrapResult'; | ||
export { assertsExecutionSuccessful, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [π»] | ||
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [π»] | ||
extractAllListItemsFromMarkdown, extractBlock, // <- [π»] | ||
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [π»] | ||
extractOneBlockFromMarkdown, isPassingExpectations, isValidJsonString, parseNumber, // <- [π»] | ||
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, }; | ||
@@ -48,0 +49,0 @@ export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords }; |
@@ -8,1 +8,5 @@ import type { Expectations } from '../../../../types/PromptbookJson/PromptTemplateJson'; | ||
export declare function $fakeTextToExpectations(expectations: Expectations): string; | ||
/** | ||
* TODO: Implement better | ||
* TODO: [π] Unite object for expecting amount and format - use here also a format | ||
*/ |
@@ -133,3 +133,4 @@ import { ExpectFormatCommand } from '../Command'; | ||
/** | ||
* TODO: [π] Unite object for expecting amount and format - remove expectFormat | ||
* TODO: use one helper type> (string_prompt | string_javascript | string_markdown) & string_template | ||
*/ |
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
754545
438
11823