@promptbook/core
Advanced tools
Changelog
0.26.0
(2024-02-03)
EXPECT JSON
command to promptbooksEXPECT
into EXPECT_AMOUNT
and EXPECT_FORMAT
Changelog
0.24.0
(2024-01-25)
trimCodeBlock
EXPECT
command to promptbooksExecutionReport
parseNumber
utility functionPtbkExecutor
returns richer result and does not throw, just returns isSuccessful=false
, You can use assertsExecutionSuccessful
utility function to check if the execution was successfulassertsExecutionSuccessful
utility function