@promptbook/core
Advanced tools
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