@promptbook/fake-llm
Advanced tools
Comparing version 0.59.0-32 to 0.59.0-33
@@ -846,5 +846,5 @@ import { spaceTrim } from 'spacetrim'; | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.59.0-31'; | ||
var PROMPTBOOK_VERSION = '0.59.0-32'; | ||
export { MockedEchoLlmExecutionTools, MockedFackedLlmExecutionTools, PROMPTBOOK_VERSION }; | ||
//# sourceMappingURL=index.es.js.map |
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString'; | ||
import { promptbookJsonToString } from '../conversion/promptbookJsonToString'; | ||
import { promptbookStringToJson } from '../conversion/promptbookStringToJson'; | ||
import { promptbookStringToJsonSync } from '../conversion/promptbookStringToJsonSync'; | ||
import { validatePromptbook } from '../conversion/validation/validatePromptbook'; | ||
@@ -40,5 +41,5 @@ import { ExpectError } from '../errors/_ExpectError'; | ||
export { SimplePromptInterfaceTools }; | ||
export { promptbookJsonToString, promptbookStringToJson, validatePromptbook }; | ||
export { promptbookJsonToString, promptbookStringToJson, promptbookStringToJsonSync, validatePromptbook }; | ||
export { createPromptbookExecutor, MultipleLlmExecutionTools }; | ||
export { CallbackInterfaceTools, CallbackInterfaceToolsOptions }; | ||
export { ExpectError, PromptbookExecutionError, PromptbookLibraryError, PromptbookLogicError, PromptbookNotFoundError, PromptbookReferenceError, PromptbookSyntaxError, TemplateError, UnexpectedError, }; |
@@ -16,2 +16,6 @@ import type { LlmExecutionTools } from '../execution/LlmExecutionTools'; | ||
* | ||
* Note: There are two similar functions: | ||
* - `promptbookStringToJson` **(preferred)** - which propperly compiles the promptbook and use embedding for external knowledge | ||
* - `promptbookStringToJsonSync` - use only if you need to compile promptbook synchronously and it contains NO external knowledge | ||
* | ||
* @param promptbookString {Promptbook} in string markdown format (.ptbk.md) | ||
@@ -28,6 +32,3 @@ * @param options - Options and tools for the compilation | ||
/** | ||
* TODO: Report here line/column of error | ||
* TODO: Use spaceTrim more effectively | ||
* TODO: [๐ง ] Parameter flags - isInput, isOutput, isInternal | ||
* TODO: [๐] Leverage the batch API and build queues @see https://platform.openai.com/docs/guides/batch | ||
*/ |
{ | ||
"name": "@promptbook/fake-llm", | ||
"version": "0.59.0-32", | ||
"version": "0.59.0-33", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -51,3 +51,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.59.0-32" | ||
"@promptbook/core": "0.59.0-33" | ||
}, | ||
@@ -54,0 +54,0 @@ "main": "./umd/index.umd.js", |
@@ -849,3 +849,3 @@ (function (global, factory) { | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.59.0-31'; | ||
var PROMPTBOOK_VERSION = '0.59.0-32'; | ||
@@ -852,0 +852,0 @@ exports.MockedEchoLlmExecutionTools = MockedEchoLlmExecutionTools; |
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString'; | ||
import { promptbookJsonToString } from '../conversion/promptbookJsonToString'; | ||
import { promptbookStringToJson } from '../conversion/promptbookStringToJson'; | ||
import { promptbookStringToJsonSync } from '../conversion/promptbookStringToJsonSync'; | ||
import { validatePromptbook } from '../conversion/validation/validatePromptbook'; | ||
@@ -40,5 +41,5 @@ import { ExpectError } from '../errors/_ExpectError'; | ||
export { SimplePromptInterfaceTools }; | ||
export { promptbookJsonToString, promptbookStringToJson, validatePromptbook }; | ||
export { promptbookJsonToString, promptbookStringToJson, promptbookStringToJsonSync, validatePromptbook }; | ||
export { createPromptbookExecutor, MultipleLlmExecutionTools }; | ||
export { CallbackInterfaceTools, CallbackInterfaceToolsOptions }; | ||
export { ExpectError, PromptbookExecutionError, PromptbookLibraryError, PromptbookLogicError, PromptbookNotFoundError, PromptbookReferenceError, PromptbookSyntaxError, TemplateError, UnexpectedError, }; |
@@ -16,2 +16,6 @@ import type { LlmExecutionTools } from '../execution/LlmExecutionTools'; | ||
* | ||
* Note: There are two similar functions: | ||
* - `promptbookStringToJson` **(preferred)** - which propperly compiles the promptbook and use embedding for external knowledge | ||
* - `promptbookStringToJsonSync` - use only if you need to compile promptbook synchronously and it contains NO external knowledge | ||
* | ||
* @param promptbookString {Promptbook} in string markdown format (.ptbk.md) | ||
@@ -28,6 +32,3 @@ * @param options - Options and tools for the compilation | ||
/** | ||
* TODO: Report here line/column of error | ||
* TODO: Use spaceTrim more effectively | ||
* TODO: [๐ง ] Parameter flags - isInput, isOutput, isInternal | ||
* TODO: [๐] Leverage the batch API and build queues @see https://platform.openai.com/docs/guides/batch | ||
*/ |
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
578935
582
10109