@promptbook/remote-client
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/remote-client", | ||
"version": "0.44.0-4", | ||
"version": "0.44.0-5", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -40,3 +40,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.44.0-4" | ||
"@promptbook/core": "0.44.0-5" | ||
}, | ||
@@ -43,0 +43,0 @@ "main": "./umd/index.umd.js", |
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 | ||
*/ |
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
366535
438
6360