@promptbook/node
Advanced tools
Comparing version 0.59.0-32 to 0.59.0-33
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/node", | ||
"version": "0.59.0-32", | ||
"version": "0.59.0-33", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -52,3 +52,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.59.0-32" | ||
"@promptbook/core": "0.59.0-33" | ||
}, | ||
@@ -55,0 +55,0 @@ "main": "./umd/index.umd.js", |
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 | ||
*/ |
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
582
15420
986077