Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/node

Package Overview
Dependencies
Maintainers
0
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/node - npm Package Compare versions

Comparing version 0.59.0-32 to 0.59.0-33

esm/typings/src/conversion/promptbookStringToJsonSync.d.ts

3

esm/typings/src/_packages/core.index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc