@promptbook/remote-client
Advanced tools
Changelog
0.27.0
(2024-02-03)
Moving logic from promptbookStringToJson
to createPtbkExecutor
PromptbookJson
postprocessing is represented internally in each PromptTemplateJson
not as separate PromptTemplateJson
ExpectError
maxNaturalExecutionAttempts
to maxExecutionAttempts
(because now it is not just for natural execution)description
in reportChangelog
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