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

@promptbook/core

Package Overview
Dependencies
Maintainers
1
Versions
459
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/core - npm Package Versions

1
45

0.28.0-1

Diff

hejny
published 0.28.0-0 •

hejny
published 0.27.0 •

Changelog

Source

0.27.0 (2024-02-03)

Moving logic from promptbookStringToJson to createPtbkExecutor

  • Allow postprocessing and expectations in all execution types
  • Postprocessing is happening before checking expectations
  • In PromptbookJson postprocessing is represented internally in each PromptTemplateJson not as separate PromptTemplateJson
  • Introduce ExpectError
  • Rename maxNaturalExecutionAttempts to maxExecutionAttempts (because now it is not just for natural execution)
  • If title in promptbook contains emojis, pass it innto report
  • Fix description in report
  • Asking user infinite times for input if the input not matches the expectations
hejny
published 0.27.0-5 •

hejny
published 0.27.0-4 •

hejny
published 0.27.0-3 •

hejny
published 0.27.0-2 •

hejny
published 0.27.0-1 •

hejny
published 0.27.0-0 •

hejny
published 0.26.0 •

Changelog

Source

0.26.0 (2024-02-03)

  • Add EXPECT JSON command to promptbooks
  • Split internal representation EXPECT into EXPECT_AMOUNT and EXPECT_FORMAT
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