@promptbook/node
Advanced tools
Changelog
0.68.0
(2024-09-08)
[🍧] Commands and command parser
EXPECT
and FORMAT
BLOCK
command -> TEMPLATE
EXPECT JSON
changed to FORMAT JSON
usagePlaces
-> isUsedInPipelineHead
+ isUsedInPipelineTemplate
$applyToPipelineJson
, $applyToTemplateJson
, stringify
, takeFromPipelineJson
and takeFromTemplateJson
PipelineJson
has defaultModelRequirements
PipelineJson
has Chat model variant as default without need to specify it explicitlyPromptTemplateJson
-> TemplateJson
extractParameterNamesFromPromptTemplate
-> extractParameterNamesFromTemplate
PromptTemplateJsonCommon
-> TemplateJsonCommon
PromptTemplateParameterJson
-> ParameterJson
PipelineJson.promptTemplates
-> PipelineJson.templates
PromptDialogJson
-> DialogTemplateJson
PROMPT_DIALOG
-> DIALOG_TEMPLATE
ScriptJson
-> ScriptTemplateJson
SCRIPT
-> SCRIPT_TEMPLATE
LlmTemplateJson
-> PromptTemplateJson
ParsingError
-> ParseError