@promptbook/templates 0.100.0-6 → 0.100.0-64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/README.md +7 -10
  2. package/esm/index.es.js +336 -286
  3. package/esm/index.es.js.map +1 -1
  4. package/esm/typings/src/_packages/color.index.d.ts +50 -0
  5. package/esm/typings/src/_packages/components.index.d.ts +36 -0
  6. package/esm/typings/src/_packages/core.index.d.ts +30 -0
  7. package/esm/typings/src/_packages/types.index.d.ts +38 -0
  8. package/esm/typings/src/book-2.0/agent-source/parseAgentSource.d.ts +30 -0
  9. package/esm/typings/src/book-2.0/agent-source/parseAgentSource.test.d.ts +1 -0
  10. package/esm/typings/src/book-2.0/agent-source/string_book.d.ts +26 -0
  11. package/esm/typings/src/book-2.0/commitments/ACTION/ACTION.d.ts +38 -0
  12. package/esm/typings/src/book-2.0/commitments/FORMAT/FORMAT.d.ts +39 -0
  13. package/esm/typings/src/book-2.0/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +45 -0
  14. package/esm/typings/src/book-2.0/commitments/META_IMAGE/META_IMAGE.d.ts +44 -0
  15. package/esm/typings/src/book-2.0/commitments/META_LINK/META_LINK.d.ts +56 -0
  16. package/esm/typings/src/book-2.0/commitments/MODEL/MODEL.d.ts +39 -0
  17. package/esm/typings/src/book-2.0/commitments/NOTE/NOTE.d.ts +49 -0
  18. package/esm/typings/src/book-2.0/commitments/PERSONA/PERSONA.d.ts +46 -0
  19. package/esm/typings/src/book-2.0/commitments/RULE/RULE.d.ts +44 -0
  20. package/esm/typings/src/book-2.0/commitments/SAMPLE/SAMPLE.d.ts +44 -0
  21. package/esm/typings/src/book-2.0/commitments/STYLE/STYLE.d.ts +38 -0
  22. package/esm/typings/src/book-2.0/commitments/_base/BaseCommitmentDefinition.d.ts +52 -0
  23. package/esm/typings/src/book-2.0/commitments/_base/BookCommitment.d.ts +5 -0
  24. package/esm/typings/src/book-2.0/commitments/_base/CommitmentDefinition.d.ts +48 -0
  25. package/esm/typings/src/book-2.0/commitments/_base/NotYetImplementedCommitmentDefinition.d.ts +22 -0
  26. package/esm/typings/src/book-2.0/commitments/_base/createEmptyAgentModelRequirements.d.ts +19 -0
  27. package/esm/typings/src/book-2.0/commitments/_misc/AgentModelRequirements.d.ts +37 -0
  28. package/esm/typings/src/book-2.0/commitments/_misc/AgentSourceParseResult.d.ts +18 -0
  29. package/esm/typings/src/book-2.0/commitments/_misc/ParsedCommitment.d.ts +22 -0
  30. package/esm/typings/src/book-2.0/commitments/_misc/createAgentModelRequirements.d.ts +62 -0
  31. package/esm/typings/src/book-2.0/commitments/_misc/createAgentModelRequirementsWithCommitments.d.ts +36 -0
  32. package/esm/typings/src/book-2.0/commitments/_misc/createCommitmentRegex.d.ts +20 -0
  33. package/esm/typings/src/book-2.0/commitments/_misc/parseAgentSourceWithCommitments.d.ts +24 -0
  34. package/esm/typings/src/book-2.0/commitments/_misc/removeCommentsFromSystemMessage.d.ts +11 -0
  35. package/esm/typings/src/book-2.0/commitments/index.d.ts +56 -0
  36. package/esm/typings/src/book-2.0/utils/profileImageUtils.d.ts +39 -0
  37. package/esm/typings/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +35 -0
  38. package/esm/typings/src/book-components/AvatarProfile/AvatarChip/AvatarChipFromSource.d.ts +21 -0
  39. package/esm/typings/src/book-components/AvatarProfile/AvatarChip/index.d.ts +2 -0
  40. package/esm/typings/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +26 -0
  41. package/esm/typings/src/book-components/AvatarProfile/AvatarProfile/AvatarProfileFromSource.d.ts +19 -0
  42. package/esm/typings/src/book-components/BookEditor/BookEditor.d.ts +35 -0
  43. package/esm/typings/src/book-components/BookEditor/BookEditorInner.d.ts +15 -0
  44. package/esm/typings/src/book-components/BookEditor/config.d.ts +10 -0
  45. package/esm/typings/src/book-components/BookEditor/injectCssModuleIntoShadowRoot.d.ts +11 -0
  46. package/esm/typings/src/book-components/Chat/Chat/Chat.d.ts +20 -0
  47. package/esm/typings/src/book-components/Chat/Chat/ChatProps.d.ts +110 -0
  48. package/esm/typings/src/book-components/Chat/LlmChat/LlmChat.d.ts +14 -0
  49. package/esm/typings/src/book-components/Chat/LlmChat/LlmChat.test.d.ts +1 -0
  50. package/esm/typings/src/book-components/Chat/LlmChat/LlmChatProps.d.ts +24 -0
  51. package/esm/typings/src/book-components/Chat/types/ChatMessage.d.ts +16 -0
  52. package/esm/typings/src/book-components/Chat/types/ChatParticipant.d.ts +32 -0
  53. package/esm/typings/src/book-components/Chat/utils/ChatPersistence.d.ts +25 -0
  54. package/esm/typings/src/book-components/Chat/utils/ExportFormat.d.ts +4 -0
  55. package/esm/typings/src/book-components/Chat/utils/addUtmParamsToUrl.d.ts +7 -0
  56. package/esm/typings/src/book-components/Chat/utils/createShortLinkForChat.d.ts +7 -0
  57. package/esm/typings/src/book-components/Chat/utils/downloadFile.d.ts +6 -0
  58. package/esm/typings/src/book-components/Chat/utils/exportChatHistory.d.ts +9 -0
  59. package/esm/typings/src/book-components/Chat/utils/generatePdfContent.d.ts +8 -0
  60. package/esm/typings/src/book-components/Chat/utils/generateQrDataUrl.d.ts +7 -0
  61. package/esm/typings/src/book-components/Chat/utils/getPromptbookBranding.d.ts +6 -0
  62. package/esm/typings/src/book-components/Chat/utils/messagesToHtml.d.ts +8 -0
  63. package/esm/typings/src/book-components/Chat/utils/messagesToJson.d.ts +7 -0
  64. package/esm/typings/src/book-components/Chat/utils/messagesToMarkdown.d.ts +8 -0
  65. package/esm/typings/src/book-components/Chat/utils/messagesToText.d.ts +8 -0
  66. package/esm/typings/src/book-components/_common/react-utils/classNames.d.ts +7 -0
  67. package/esm/typings/src/book-components/_common/react-utils/collectCssTextsForClass.d.ts +7 -0
  68. package/esm/typings/src/book-components/_common/react-utils/escapeHtml.d.ts +6 -0
  69. package/esm/typings/src/book-components/_common/react-utils/escapeRegex.d.ts +6 -0
  70. package/esm/typings/src/config.d.ts +19 -0
  71. package/esm/typings/src/execution/AvailableModel.d.ts +4 -0
  72. package/esm/typings/src/execution/ExecutionTask.d.ts +27 -1
  73. package/esm/typings/src/execution/LlmExecutionTools.d.ts +8 -0
  74. package/esm/typings/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +6 -1
  75. package/esm/typings/src/llm-providers/_common/filterModels.d.ts +0 -3
  76. package/esm/typings/src/llm-providers/_common/profiles/llmProviderProfiles.d.ts +81 -0
  77. package/esm/typings/src/llm-providers/_common/profiles/test/llmProviderProfiles.test.d.ts +1 -0
  78. package/esm/typings/src/llm-providers/_multiple/MultipleLlmExecutionTools.d.ts +5 -0
  79. package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +5 -5
  80. package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
  81. package/esm/typings/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
  82. package/esm/typings/src/llm-providers/google/google-models.d.ts +1 -1
  83. package/esm/typings/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +5 -0
  84. package/esm/typings/src/llm-providers/ollama/ollama-models.d.ts +1 -1
  85. package/esm/typings/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +8 -0
  86. package/esm/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +5 -0
  87. package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -1
  88. package/esm/typings/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +5 -0
  89. package/esm/typings/src/pipeline/book-notation.d.ts +2 -1
  90. package/esm/typings/src/playground/permanent/error-handling-playground.d.ts +5 -0
  91. package/esm/typings/src/types/ModelRequirements.d.ts +0 -2
  92. package/esm/typings/src/types/typeAliases.d.ts +6 -0
  93. package/esm/typings/src/utils/color/$randomColor.d.ts +11 -0
  94. package/esm/typings/src/utils/color/Color.d.ts +180 -0
  95. package/esm/typings/src/utils/color/css-colors.d.ts +159 -0
  96. package/esm/typings/src/utils/color/internal-utils/checkChannelValue.d.ts +14 -0
  97. package/esm/typings/src/utils/color/internal-utils/hslToRgb.d.ts +17 -0
  98. package/esm/typings/src/utils/color/internal-utils/rgbToHsl.d.ts +17 -0
  99. package/esm/typings/src/utils/color/operators/ColorTransformer.d.ts +5 -0
  100. package/esm/typings/src/utils/color/operators/darken.d.ts +9 -0
  101. package/esm/typings/src/utils/color/operators/furthest.d.ts +16 -0
  102. package/esm/typings/src/utils/color/operators/grayscale.d.ts +9 -0
  103. package/esm/typings/src/utils/color/operators/lighten.d.ts +12 -0
  104. package/esm/typings/src/utils/color/operators/mixWithColor.d.ts +11 -0
  105. package/esm/typings/src/utils/color/operators/nearest.d.ts +10 -0
  106. package/esm/typings/src/utils/color/operators/negative.d.ts +7 -0
  107. package/esm/typings/src/utils/color/operators/negativeLightness.d.ts +7 -0
  108. package/esm/typings/src/utils/color/operators/withAlpha.d.ts +9 -0
  109. package/esm/typings/src/utils/color/utils/areColorsEqual.d.ts +14 -0
  110. package/esm/typings/src/utils/color/utils/colorDistance.d.ts +21 -0
  111. package/esm/typings/src/utils/color/utils/colorHue.d.ts +11 -0
  112. package/esm/typings/src/utils/color/utils/colorHueDistance.d.ts +11 -0
  113. package/esm/typings/src/utils/color/utils/colorHueDistance.test.d.ts +1 -0
  114. package/esm/typings/src/utils/color/utils/colorLuminance.d.ts +9 -0
  115. package/esm/typings/src/utils/color/utils/colorSatulightion.d.ts +7 -0
  116. package/esm/typings/src/utils/color/utils/colorSaturation.d.ts +9 -0
  117. package/esm/typings/src/utils/color/utils/colorToDataUrl.d.ts +10 -0
  118. package/esm/typings/src/utils/color/utils/mixColors.d.ts +11 -0
  119. package/esm/typings/src/utils/organization/preserve.d.ts +21 -0
  120. package/esm/typings/src/utils/take/classes/TakeChain.d.ts +11 -0
  121. package/esm/typings/src/utils/take/interfaces/ITakeChain.d.ts +12 -0
  122. package/esm/typings/src/utils/take/interfaces/Takeable.d.ts +7 -0
  123. package/esm/typings/src/utils/take/take.d.ts +12 -0
  124. package/esm/typings/src/utils/take/take.test.d.ts +1 -0
  125. package/esm/typings/src/version.d.ts +1 -1
  126. package/package.json +2 -3
  127. package/umd/index.umd.js +340 -290
  128. package/umd/index.umd.js.map +1 -1
  129. package/esm/typings/src/scripting/javascript/utils/preserve.d.ts +0 -14
package/esm/index.es.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import spaceTrim, { spaceTrim as spaceTrim$1 } from 'spacetrim';
2
- import { format } from 'prettier';
3
2
  import parserHtml from 'prettier/parser-html';
3
+ import parserMarkdown from 'prettier/parser-markdown';
4
+ import { format } from 'prettier/standalone';
4
5
 
5
6
  // ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
6
7
  /**
@@ -16,7 +17,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
16
17
  * @generated
17
18
  * @see https://github.com/webgptorg/promptbook
18
19
  */
19
- const PROMPTBOOK_ENGINE_VERSION = '0.100.0-6';
20
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-64';
20
21
  /**
21
22
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
22
23
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -190,6 +191,13 @@ Object.freeze({
190
191
  newline: '\n',
191
192
  skipEmptyLines: true,
192
193
  });
194
+ /**
195
+ * API request timeout in milliseconds
196
+ * Can be overridden via API_REQUEST_TIMEOUT environment variable
197
+ *
198
+ * @public exported from `@promptbook/core`
199
+ */
200
+ parseInt(process.env.API_REQUEST_TIMEOUT || '90000');
193
201
  /**
194
202
  * Indicates whether pipeline logic validation is enabled. When true, the pipeline logic is checked for consistency.
195
203
  *
@@ -382,7 +390,7 @@ function prettifyMarkdown(content) {
382
390
  try {
383
391
  return format(content, {
384
392
  parser: 'markdown',
385
- plugins: [parserHtml],
393
+ plugins: [parserMarkdown, parserHtml],
386
394
  // TODO: DRY - make some import or auto-copy of .prettierrc
387
395
  endOfLine: 'lf',
388
396
  tabWidth: 4,
@@ -1534,21 +1542,33 @@ function getTemplatesPipelineCollection() {
1534
1542
  "modelsRequirements": [
1535
1543
  {
1536
1544
  "modelVariant": "CHAT",
1537
- "modelName": "gpt-4",
1538
- "systemMessage": "You are an experienced AI engineer and developer working on the Promptbook Project. Your role is to provide expert guidance on prompt engineering, AI model capabilities, and best practices for developing AI applications. Share insights from your work on Promptbook to help users create effective prompts and leverage AI models efficiently.",
1539
- "temperature": 0.7
1540
- },
1541
- {
1542
- "modelVariant": "CHAT",
1543
- "modelName": "claude-3-opus-20240229",
1544
- "systemMessage": "You are a knowledgeable AI developer and core contributor to the Promptbook Project. Your expertise covers prompt design, AI model architectures, and practical implementation of AI systems. Offer detailed technical advice and examples from Promptbook to assist users in optimizing their AI workflows and prompt strategies.",
1545
- "temperature": 0.6
1546
- },
1547
- {
1548
- "modelVariant": "CHAT",
1549
- "modelName": "gemini-1.5-pro",
1550
- "systemMessage": "As a lead developer on the Promptbook Project, you specialize in prompt engineering and AI model integration. Share your insights on creating effective prompts, understanding model behaviors, and implementing AI solutions. Draw from your experience with Promptbook to provide practical guidance and innovative approaches to AI development challenges.",
1551
- "temperature": 0.7
1545
+ "models": [
1546
+ {
1547
+ "modelName": "gpt-4.1",
1548
+ "systemMessage": "You are a developer of the Promptbook Project. Act as an experienced AI engineer and pragmatic assistant. Be concise, structured, and evidence-based. For every task: clarify requirements if ambiguous, list assumptions, propose a minimal, robust solution first, then optional improvements. Write correct, well-documented code and prompt templates that are reproducible and testable. Prefer determinism; avoid speculation—if unsure, say you don’t know. Do not reveal chain-of-thought; provide only results and key steps.",
1549
+ "temperature": 0.3
1550
+ },
1551
+ {
1552
+ "modelName": "chatgpt-4o-latest",
1553
+ "systemMessage": "You are a friendly, fast assistant for a developer of the Promptbook Project. Communicate crisply; prioritize practical guidance, small runnable examples, and clear trade-offs. Optimize for developer productivity and high-quality prompt design. Ask a brief clarifying question when needed. Do not expose chain-of-thought; provide concise conclusions with minimal justification.",
1554
+ "temperature": 0.4
1555
+ },
1556
+ {
1557
+ "modelName": "o4-mini",
1558
+ "systemMessage": "You are an analytical coding copilot for a developer of the Promptbook Project. Tackle tricky reasoning and debugging tasks with precision. Provide concise final answers, short bullet justifications, and concrete code or prompt snippets. Verify logic, check edge cases, and flag risks or unknowns. Do not disclose chain-of-thought.",
1559
+ "temperature": 0.2
1560
+ },
1561
+ {
1562
+ "modelName": "gpt-4",
1563
+ "systemMessage": "You are an experienced AI engineer assisting a developer of the Promptbook Project. Deliver accurate, concise explanations, high-quality code, and robust prompt patterns. Clarify ambiguous requirements, state assumptions, and avoid fabrications. Provide minimal working examples and actionable next steps. Do not reveal chain-of-thought.",
1564
+ "temperature": 0.3
1565
+ },
1566
+ {
1567
+ "modelName": "gpt-3.5-turbo-16k",
1568
+ "systemMessage": "You are a cost-efficient assistant for a developer of the Promptbook Project. Be concise and practical. Prefer simple, reliable solutions with minimal examples. Escalate uncertainty and ask clarifying questions when needed. Do not reveal chain-of-thought.",
1569
+ "temperature": 0.2
1570
+ }
1571
+ ]
1552
1572
  }
1553
1573
  ],
1554
1574
  "preparationIds": [
@@ -1559,55 +1579,55 @@ function getTemplatesPipelineCollection() {
1559
1579
  "preparations": [
1560
1580
  {
1561
1581
  "id": 1,
1562
- "promptbookVersion": "0.100.0-5",
1582
+ "promptbookVersion": "0.100.0-63",
1563
1583
  "usage": {
1564
1584
  "price": {
1565
- "value": 0.0256375
1585
+ "value": 0.0367825
1566
1586
  },
1567
1587
  "input": {
1568
1588
  "tokensCount": {
1569
- "value": 8625
1589
+ "value": 5778
1570
1590
  },
1571
1591
  "charactersCount": {
1572
- "value": 42100
1592
+ "value": 2377
1573
1593
  },
1574
1594
  "wordsCount": {
1575
- "value": 5402
1595
+ "value": 348
1576
1596
  },
1577
1597
  "sentencesCount": {
1578
- "value": 416
1598
+ "value": 22
1579
1599
  },
1580
1600
  "linesCount": {
1581
- "value": 695
1601
+ "value": 65
1582
1602
  },
1583
1603
  "paragraphsCount": {
1584
1604
  "value": 20
1585
1605
  },
1586
1606
  "pagesCount": {
1587
- "value": 16
1607
+ "value": 2
1588
1608
  }
1589
1609
  },
1590
1610
  "output": {
1591
1611
  "tokensCount": {
1592
- "value": 326
1612
+ "value": 2956
1593
1613
  },
1594
1614
  "charactersCount": {
1595
- "value": 1417
1615
+ "value": 2331
1596
1616
  },
1597
1617
  "wordsCount": {
1598
- "value": 195
1618
+ "value": 315
1599
1619
  },
1600
1620
  "sentencesCount": {
1601
- "value": 14
1621
+ "value": 35
1602
1622
  },
1603
1623
  "linesCount": {
1604
- "value": 36
1624
+ "value": 57
1605
1625
  },
1606
1626
  "paragraphsCount": {
1607
- "value": 2
1627
+ "value": 1
1608
1628
  },
1609
1629
  "pagesCount": {
1610
- "value": 1
1630
+ "value": 2
1611
1631
  }
1612
1632
  }
1613
1633
  }
@@ -2087,21 +2107,33 @@ function getTemplatesPipelineCollection() {
2087
2107
  "modelsRequirements": [
2088
2108
  {
2089
2109
  "modelVariant": "CHAT",
2090
- "modelName": "gpt-4",
2091
- "systemMessage": "You are an experienced AI engineer and developer working on the Promptbook Project. Your role is to provide expert guidance on prompt engineering, AI model capabilities, and best practices for developing AI applications. Share insights from your work on Promptbook to help users create effective prompts and leverage AI models efficiently.",
2092
- "temperature": 0.7
2093
- },
2094
- {
2095
- "modelVariant": "CHAT",
2096
- "modelName": "claude-3-opus-20240229",
2097
- "systemMessage": "You are a knowledgeable AI developer and core contributor to the Promptbook Project. Your expertise covers prompt design, AI model architectures, and practical implementation of AI systems. Offer detailed technical advice and examples from Promptbook to assist users in optimizing their AI workflows and prompt strategies.",
2098
- "temperature": 0.6
2099
- },
2100
- {
2101
- "modelVariant": "CHAT",
2102
- "modelName": "gemini-1.5-pro",
2103
- "systemMessage": "As a lead developer on the Promptbook Project, you specialize in prompt engineering and AI model integration. Share your insights on creating effective prompts, understanding model behaviors, and implementing AI solutions. Draw from your experience with Promptbook to provide practical guidance and innovative approaches to AI development challenges.",
2104
- "temperature": 0.7
2110
+ "models": [
2111
+ {
2112
+ "modelName": "gpt-4.1",
2113
+ "systemMessage": "You are a developer of the Promptbook Project. Act as an experienced AI engineer and pragmatic assistant. Be concise, structured, and evidence-based. For every task: clarify requirements if ambiguous, list assumptions, propose a minimal, robust solution first, then optional improvements. Write correct, well-documented code and prompt templates that are reproducible and testable. Prefer determinism; avoid speculation—if unsure, say you don’t know. Do not reveal chain-of-thought; provide only results and key steps.",
2114
+ "temperature": 0.3
2115
+ },
2116
+ {
2117
+ "modelName": "chatgpt-4o-latest",
2118
+ "systemMessage": "You are a friendly, fast assistant for a developer of the Promptbook Project. Communicate crisply; prioritize practical guidance, small runnable examples, and clear trade-offs. Optimize for developer productivity and high-quality prompt design. Ask a brief clarifying question when needed. Do not expose chain-of-thought; provide concise conclusions with minimal justification.",
2119
+ "temperature": 0.4
2120
+ },
2121
+ {
2122
+ "modelName": "o4-mini",
2123
+ "systemMessage": "You are an analytical coding copilot for a developer of the Promptbook Project. Tackle tricky reasoning and debugging tasks with precision. Provide concise final answers, short bullet justifications, and concrete code or prompt snippets. Verify logic, check edge cases, and flag risks or unknowns. Do not disclose chain-of-thought.",
2124
+ "temperature": 0.2
2125
+ },
2126
+ {
2127
+ "modelName": "gpt-4",
2128
+ "systemMessage": "You are an experienced AI engineer assisting a developer of the Promptbook Project. Deliver accurate, concise explanations, high-quality code, and robust prompt patterns. Clarify ambiguous requirements, state assumptions, and avoid fabrications. Provide minimal working examples and actionable next steps. Do not reveal chain-of-thought.",
2129
+ "temperature": 0.3
2130
+ },
2131
+ {
2132
+ "modelName": "gpt-3.5-turbo-16k",
2133
+ "systemMessage": "You are a cost-efficient assistant for a developer of the Promptbook Project. Be concise and practical. Prefer simple, reliable solutions with minimal examples. Escalate uncertainty and ask clarifying questions when needed. Do not reveal chain-of-thought.",
2134
+ "temperature": 0.2
2135
+ }
2136
+ ]
2105
2137
  }
2106
2138
  ],
2107
2139
  "preparationIds": [
@@ -2112,55 +2144,55 @@ function getTemplatesPipelineCollection() {
2112
2144
  "preparations": [
2113
2145
  {
2114
2146
  "id": 1,
2115
- "promptbookVersion": "0.100.0-5",
2147
+ "promptbookVersion": "0.100.0-63",
2116
2148
  "usage": {
2117
2149
  "price": {
2118
- "value": 0.0256375
2150
+ "value": 0.0367825
2119
2151
  },
2120
2152
  "input": {
2121
2153
  "tokensCount": {
2122
- "value": 8625
2154
+ "value": 5778
2123
2155
  },
2124
2156
  "charactersCount": {
2125
- "value": 42100
2157
+ "value": 2377
2126
2158
  },
2127
2159
  "wordsCount": {
2128
- "value": 5402
2160
+ "value": 348
2129
2161
  },
2130
2162
  "sentencesCount": {
2131
- "value": 416
2163
+ "value": 22
2132
2164
  },
2133
2165
  "linesCount": {
2134
- "value": 695
2166
+ "value": 65
2135
2167
  },
2136
2168
  "paragraphsCount": {
2137
2169
  "value": 20
2138
2170
  },
2139
2171
  "pagesCount": {
2140
- "value": 16
2172
+ "value": 2
2141
2173
  }
2142
2174
  },
2143
2175
  "output": {
2144
2176
  "tokensCount": {
2145
- "value": 326
2177
+ "value": 2956
2146
2178
  },
2147
2179
  "charactersCount": {
2148
- "value": 1417
2180
+ "value": 2331
2149
2181
  },
2150
2182
  "wordsCount": {
2151
- "value": 195
2183
+ "value": 315
2152
2184
  },
2153
2185
  "sentencesCount": {
2154
- "value": 14
2186
+ "value": 35
2155
2187
  },
2156
2188
  "linesCount": {
2157
- "value": 36
2189
+ "value": 57
2158
2190
  },
2159
2191
  "paragraphsCount": {
2160
- "value": 2
2192
+ "value": 1
2161
2193
  },
2162
2194
  "pagesCount": {
2163
- "value": 1
2195
+ "value": 2
2164
2196
  }
2165
2197
  }
2166
2198
  }
@@ -2781,27 +2813,28 @@ function getTemplatesPipelineCollection() {
2781
2813
  "modelsRequirements": [
2782
2814
  {
2783
2815
  "modelVariant": "CHAT",
2784
- "modelName": "claude-3-opus-20240229",
2785
- "systemMessage": "You are an expert linguist and language corrector. Provide accurate linguistic analysis, grammar corrections, and writing improvements.",
2786
- "temperature": 0.3
2787
- },
2788
- {
2789
- "modelVariant": "CHAT",
2790
- "modelName": "gpt-4",
2791
- "systemMessage": "You are a skilled linguist and language corrector. Offer precise grammatical corrections and writing enhancements.",
2792
- "temperature": 0.4
2793
- },
2794
- {
2795
- "modelVariant": "CHAT",
2796
- "modelName": "claude-3-sonnet-20240229",
2797
- "systemMessage": "You are a knowledgeable linguist and language corrector. Provide helpful grammar corrections and writing advice.",
2798
- "temperature": 0.5
2799
- },
2800
- {
2801
- "modelVariant": "CHAT",
2802
- "modelName": "gemini-1.5-pro",
2803
- "systemMessage": "You are an experienced linguist and language corrector. Offer accurate grammatical analysis and writing improvements.",
2804
- "temperature": 0.4
2816
+ "models": [
2817
+ {
2818
+ "modelName": "gpt-4.1",
2819
+ "systemMessage": "You are a meticulous linguist and text corrector. Your priorities are accuracy, clarity, and preserving the author's intent. By default, return only the fully corrected text. When asked, also provide a brief rationale with key rules applied and a minimal list of notable changes. Handle multiple languages, dialects, and registers; confirm preferences (language/dialect, US vs UK spelling, formality, style guide such as Chicago/APA) if unclear. Apply consistent punctuation, spelling, and typography; fix grammar, syntax, agreement, tense, and word choice; improve flow without over-editing. If the request is ambiguous, ask one concise clarifying question before proceeding. Do not introduce new facts.",
2820
+ "temperature": 0.2
2821
+ },
2822
+ {
2823
+ "modelName": "gpt-4",
2824
+ "systemMessage": "You are a professional linguist and text corrector. Preserve meaning while correcting grammar, punctuation, spelling, style, and coherence. By default, output the corrected text only; provide explanations and change lists only when requested. Support multiple languages and dialects; confirm preferences (US/UK, tone, formality, style guide) if unspecified. Make minimal necessary edits, ensure consistency, and use proper typography. Ask a brief clarifying question when requirements are ambiguous. Avoid fabrications.",
2825
+ "temperature": 0.2
2826
+ },
2827
+ {
2828
+ "modelName": "chatgpt-4o-latest",
2829
+ "systemMessage": "You are a friendly yet rigorous linguist and copy editor. Correct grammar, spelling, punctuation, syntax, agreement, and style while preserving the author's voice. Default to returning only the corrected text. On request, add a concise explanation and bullet list of key edits. Confirm language/dialect, formality, and any style guide if unclear. Prefer minimal edits and consistent terminology. Ask one short clarifying question when needed. Do not add or invent facts.",
2830
+ "temperature": 0.25
2831
+ },
2832
+ {
2833
+ "modelName": "gpt-3.5-turbo-16k",
2834
+ "systemMessage": "You are a precise linguist and text corrector focused on clarity and correctness. Return the corrected text by default; include explanations or change summaries only if asked. Support multiple languages and dialects; confirm preferences (US/UK, formality, style guide) when unclear. Make minimal edits that preserve meaning, ensure consistency, and fix grammar, spelling, and punctuation. Ask a brief clarifying question when needed. Avoid adding new information.",
2835
+ "temperature": 0.2
2836
+ }
2837
+ ]
2805
2838
  }
2806
2839
  ],
2807
2840
  "preparationIds": [
@@ -2812,55 +2845,55 @@ function getTemplatesPipelineCollection() {
2812
2845
  "preparations": [
2813
2846
  {
2814
2847
  "id": 1,
2815
- "promptbookVersion": "0.100.0-5",
2848
+ "promptbookVersion": "0.100.0-63",
2816
2849
  "usage": {
2817
2850
  "price": {
2818
- "value": 0.025010000000000004
2851
+ "value": 0.030171250000000004
2819
2852
  },
2820
2853
  "input": {
2821
2854
  "tokensCount": {
2822
- "value": 8624
2855
+ "value": 5777
2823
2856
  },
2824
2857
  "charactersCount": {
2825
- "value": 42087
2858
+ "value": 2377
2826
2859
  },
2827
2860
  "wordsCount": {
2828
- "value": 5400
2861
+ "value": 348
2829
2862
  },
2830
2863
  "sentencesCount": {
2831
- "value": 416
2864
+ "value": 22
2832
2865
  },
2833
2866
  "linesCount": {
2834
- "value": 695
2867
+ "value": 65
2835
2868
  },
2836
2869
  "paragraphsCount": {
2837
2870
  "value": 20
2838
2871
  },
2839
2872
  "pagesCount": {
2840
- "value": 16
2873
+ "value": 2
2841
2874
  }
2842
2875
  },
2843
2876
  "output": {
2844
2877
  "tokensCount": {
2845
- "value": 276
2878
+ "value": 2295
2846
2879
  },
2847
2880
  "charactersCount": {
2848
- "value": 977
2881
+ "value": 2575
2849
2882
  },
2850
2883
  "wordsCount": {
2851
- "value": 124
2884
+ "value": 353
2852
2885
  },
2853
2886
  "sentencesCount": {
2854
- "value": 14
2887
+ "value": 36
2855
2888
  },
2856
2889
  "linesCount": {
2857
- "value": 34
2890
+ "value": 57
2858
2891
  },
2859
2892
  "paragraphsCount": {
2860
- "value": 2
2893
+ "value": 1
2861
2894
  },
2862
2895
  "pagesCount": {
2863
- "value": 1
2896
+ "value": 2
2864
2897
  }
2865
2898
  }
2866
2899
  }
@@ -2923,21 +2956,33 @@ function getTemplatesPipelineCollection() {
2923
2956
  "modelsRequirements": [
2924
2957
  {
2925
2958
  "modelVariant": "CHAT",
2926
- "modelName": "gpt-4",
2927
- "systemMessage": "You are an expert e-commerce copywriter. Craft compelling, persuasive product descriptions and marketing copy that drives conversions. Use engaging language, highlight key benefits, and tailor your writing style to the target audience and brand voice.",
2928
- "temperature": 0.7
2929
- },
2930
- {
2931
- "modelVariant": "CHAT",
2932
- "modelName": "claude-3-opus-20240229",
2933
- "systemMessage": "You are a skilled e-commerce copywriter assistant. Create persuasive and engaging product descriptions, marketing emails, and website copy that showcases products effectively and encourages purchases. Adapt your tone to match the brand voice and target audience.",
2934
- "temperature": 0.6
2935
- },
2936
- {
2937
- "modelVariant": "CHAT",
2938
- "modelName": "gemini-1.5-pro",
2939
- "systemMessage": "As an expert e-commerce copywriter, your role is to craft compelling product descriptions and marketing materials. Focus on highlighting unique selling points, using persuasive language, and tailoring the tone to resonate with the target audience. Your goal is to drive conversions and enhance the overall shopping experience.",
2940
- "temperature": 0.65
2959
+ "models": [
2960
+ {
2961
+ "modelName": "gpt-4.1",
2962
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Produce persuasive, on-brand copy for product and category pages, ads, emails, and social posts. Emphasize benefits over features, build trust with specifics, and write clear headlines, scannable bullet points, and strong calls-to-action. Apply SEO best practices (natural keyword usage; meta titles <= 60 characters; meta descriptions <= 155 characters). Adapt tone and voice to the brief and target audience. When details are missing, ask concise, targeted questions before writing. Avoid unverified claims and comply with brand and legal guidelines. Use plain text; bullet lists are allowed; avoid heavy formatting. Write in the user’s requested language.",
2963
+ "temperature": 0.65
2964
+ },
2965
+ {
2966
+ "modelName": "chatgpt-4o-latest",
2967
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Produce persuasive, on-brand copy for product and category pages, ads, emails, and social posts. Emphasize benefits over features, build trust with specifics, and write clear headlines, scannable bullet points, and strong calls-to-action. Apply SEO best practices (natural keyword usage; meta titles <= 60 characters; meta descriptions <= 155 characters). Adapt tone and voice to the brief and target audience. When details are missing, ask concise, targeted questions before writing. Avoid unverified claims and comply with brand and legal guidelines. Use plain text; bullet lists are allowed; avoid heavy formatting. Write in the user’s requested language.",
2968
+ "temperature": 0.7
2969
+ },
2970
+ {
2971
+ "modelName": "gpt-4",
2972
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Produce persuasive, on-brand copy for product and category pages, ads, emails, and social posts. Emphasize benefits over features, build trust with specifics, and write clear headlines, scannable bullet points, and strong calls-to-action. Apply SEO best practices (natural keyword usage; meta titles <= 60 characters; meta descriptions <= 155 characters). Adapt tone and voice to the brief and target audience. When details are missing, ask concise, targeted questions before writing. Avoid unverified claims and comply with brand and legal guidelines. Use plain text; bullet lists are allowed; avoid heavy formatting. Write in the user’s requested language.",
2973
+ "temperature": 0.65
2974
+ },
2975
+ {
2976
+ "modelName": "gpt-3.5-turbo-16k",
2977
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Produce persuasive, on-brand copy for product and category pages, ads, emails, and social posts. Emphasize benefits over features, build trust with specifics, and write clear headlines, scannable bullet points, and strong calls-to-action. Apply SEO best practices (natural keyword usage; meta titles <= 60 characters; meta descriptions <= 155 characters). Adapt tone and voice to the brief and target audience. When details are missing, ask concise, targeted questions before writing. Avoid unverified claims and comply with brand and legal guidelines. Use plain text; bullet lists are allowed; avoid heavy formatting. Write in the user’s requested language.",
2978
+ "temperature": 0.75
2979
+ },
2980
+ {
2981
+ "modelName": "gpt-3.5-turbo",
2982
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Produce persuasive, on-brand copy for product and category pages, ads, emails, and social posts. Emphasize benefits over features, build trust with specifics, and write clear headlines, scannable bullet points, and strong calls-to-action. Apply SEO best practices (natural keyword usage; meta titles <= 60 characters; meta descriptions <= 155 characters). Adapt tone and voice to the brief and target audience. When details are missing, ask concise, targeted questions before writing. Avoid unverified claims and comply with brand and legal guidelines. Use plain text; bullet lists are allowed; avoid heavy formatting. Write in the user’s requested language.",
2983
+ "temperature": 0.75
2984
+ }
2985
+ ]
2941
2986
  }
2942
2987
  ],
2943
2988
  "preparationIds": [
@@ -2948,55 +2993,55 @@ function getTemplatesPipelineCollection() {
2948
2993
  "preparations": [
2949
2994
  {
2950
2995
  "id": 1,
2951
- "promptbookVersion": "0.100.0-5",
2996
+ "promptbookVersion": "0.100.0-63",
2952
2997
  "usage": {
2953
2998
  "price": {
2954
- "value": 0.025372500000000003
2999
+ "value": 0.032171250000000005
2955
3000
  },
2956
3001
  "input": {
2957
3002
  "tokensCount": {
2958
- "value": 8624
3003
+ "value": 5777
2959
3004
  },
2960
3005
  "charactersCount": {
2961
- "value": 42091
3006
+ "value": 2377
2962
3007
  },
2963
3008
  "wordsCount": {
2964
- "value": 5400
3009
+ "value": 348
2965
3010
  },
2966
3011
  "sentencesCount": {
2967
- "value": 416
3012
+ "value": 22
2968
3013
  },
2969
3014
  "linesCount": {
2970
- "value": 695
3015
+ "value": 65
2971
3016
  },
2972
3017
  "paragraphsCount": {
2973
3018
  "value": 20
2974
3019
  },
2975
3020
  "pagesCount": {
2976
- "value": 16
3021
+ "value": 2
2977
3022
  }
2978
3023
  },
2979
3024
  "output": {
2980
3025
  "tokensCount": {
2981
- "value": 305
3026
+ "value": 2495
2982
3027
  },
2983
3028
  "charactersCount": {
2984
- "value": 1249
3029
+ "value": 4113
2985
3030
  },
2986
3031
  "wordsCount": {
2987
- "value": 173
3032
+ "value": 593
2988
3033
  },
2989
3034
  "sentencesCount": {
2990
- "value": 14
3035
+ "value": 54
2991
3036
  },
2992
3037
  "linesCount": {
2993
- "value": 34
3038
+ "value": 84
2994
3039
  },
2995
3040
  "paragraphsCount": {
2996
- "value": 2
3041
+ "value": 1
2997
3042
  },
2998
3043
  "pagesCount": {
2999
- "value": 1
3044
+ "value": 2
3000
3045
  }
3001
3046
  }
3002
3047
  }
@@ -3044,7 +3089,7 @@ function getTemplatesPipelineCollection() {
3044
3089
  "preparations": [
3045
3090
  {
3046
3091
  "id": 1,
3047
- "promptbookVersion": "0.100.0-5",
3092
+ "promptbookVersion": "0.100.0-63",
3048
3093
  "usage": {
3049
3094
  "price": {
3050
3095
  "value": 0
@@ -3150,27 +3195,38 @@ function getTemplatesPipelineCollection() {
3150
3195
  "modelsRequirements": [
3151
3196
  {
3152
3197
  "modelVariant": "CHAT",
3153
- "modelName": "gpt-4",
3154
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide expert advice on marketing strategies, business planning, and industry analysis. Offer data-driven insights and actionable recommendations.",
3155
- "temperature": 0.7
3156
- },
3157
- {
3158
- "modelVariant": "CHAT",
3159
- "modelName": "claude-3-opus-20240229",
3160
- "systemMessage": "You are a highly knowledgeable marketing and business consultant with years of experience. Deliver strategic insights, analyze market trends, and provide tailored advice to help businesses grow and succeed.",
3161
- "temperature": 0.6
3162
- },
3163
- {
3164
- "modelVariant": "CHAT",
3165
- "modelName": "gemini-1.5-pro",
3166
- "systemMessage": "As an expert marketing specialist and business consultant, your role is to offer comprehensive advice on marketing strategies, business operations, and market analysis. Utilize your vast knowledge to provide practical, innovative solutions.",
3167
- "temperature": 0.7
3168
- },
3169
- {
3170
- "modelVariant": "CHAT",
3171
- "modelName": "claude-3-sonnet-20240229",
3172
- "systemMessage": "You are a seasoned marketing professional and business advisor. Share your expertise on branding, digital marketing, business strategy, and market research. Provide clear, actionable guidance to help clients achieve their business goals.",
3173
- "temperature": 0.6
3198
+ "models": [
3199
+ {
3200
+ "modelName": "gpt-4.1",
3201
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Deliver practical, ROI-focused guidance using proven frameworks (STP, 4Ps/7Ps, SWOT, JTBD, AARRR, CAC/LTV). Analyze assumptions, ask concise clarifying questions when needed, and provide structured outputs (executive summary, strategy, action plan, KPIs, timelines). Produce persuasive copy variations when asked. Be concise and data-driven; state uncertainties and avoid fabricating facts.",
3202
+ "temperature": 0.6
3203
+ },
3204
+ {
3205
+ "modelName": "chatgpt-4o-latest",
3206
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Blend strategic rigor with creative ideation. Use frameworks (STP, 4Ps/7Ps, SWOT, JTBD, AARRR) to structure recommendations, and generate compelling messaging, positioning, and campaign concepts. Ask targeted clarifying questions, summarize crisply for executives, and propose measurable KPIs. Be practical, data-aware, and avoid unsupported claims.",
3207
+ "temperature": 0.7
3208
+ },
3209
+ {
3210
+ "modelName": "gpt-4",
3211
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide clear, actionable, and data-driven recommendations using standard frameworks (SWOT, STP, 4Ps/7Ps, JTBD, AARRR). Present structured plans with KPIs, budgets, and timelines; include copy alternatives when relevant. Ask brief clarifying questions if requirements are ambiguous and avoid speculation.",
3212
+ "temperature": 0.5
3213
+ },
3214
+ {
3215
+ "modelName": "o4-mini",
3216
+ "systemMessage": "You are an experienced marketing specialist and business consultant focused on fast, high-signal outputs. Use lightweight versions of frameworks (STP, 4Ps, SWOT) to deliver concise strategies, prioritized action lists, and KPI dashboards. Minimize verbosity, surface assumptions, and propose quick experiments for validation.",
3217
+ "temperature": 0.4
3218
+ },
3219
+ {
3220
+ "modelName": "o3",
3221
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Excel at analytical tasks such as forecasting, pricing strategy, cohort analysis, and KPI diagnostics. State assumptions, show reasoning succinctly, and translate insights into clear business actions with expected impact.",
3222
+ "temperature": 0.3
3223
+ },
3224
+ {
3225
+ "modelName": "gpt-3.5-turbo-16k",
3226
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide structured, practical advice using standard marketing frameworks and deliver concise plans, copy drafts, and KPIs. Ask clarifying questions when needed and avoid unsupported claims.",
3227
+ "temperature": 0.6
3228
+ }
3229
+ ]
3174
3230
  }
3175
3231
  ],
3176
3232
  "preparationIds": [
@@ -3181,55 +3237,55 @@ function getTemplatesPipelineCollection() {
3181
3237
  "preparations": [
3182
3238
  {
3183
3239
  "id": 1,
3184
- "promptbookVersion": "0.100.0-5",
3240
+ "promptbookVersion": "0.100.0-63",
3185
3241
  "usage": {
3186
3242
  "price": {
3187
- "value": 0.0258575
3243
+ "value": 0.03315125
3188
3244
  },
3189
3245
  "input": {
3190
3246
  "tokensCount": {
3191
- "value": 8623
3247
+ "value": 5777
3192
3248
  },
3193
3249
  "charactersCount": {
3194
- "value": 42119
3250
+ "value": 2377
3195
3251
  },
3196
3252
  "wordsCount": {
3197
- "value": 5402
3253
+ "value": 348
3198
3254
  },
3199
3255
  "sentencesCount": {
3200
- "value": 416
3256
+ "value": 22
3201
3257
  },
3202
3258
  "linesCount": {
3203
- "value": 695
3259
+ "value": 65
3204
3260
  },
3205
3261
  "paragraphsCount": {
3206
3262
  "value": 20
3207
3263
  },
3208
3264
  "pagesCount": {
3209
- "value": 16
3265
+ "value": 2
3210
3266
  }
3211
3267
  },
3212
3268
  "output": {
3213
3269
  "tokensCount": {
3214
- "value": 344
3270
+ "value": 2593
3215
3271
  },
3216
3272
  "charactersCount": {
3217
- "value": 1443
3273
+ "value": 2726
3218
3274
  },
3219
3275
  "wordsCount": {
3220
- "value": 186
3276
+ "value": 338
3221
3277
  },
3222
3278
  "sentencesCount": {
3223
- "value": 16
3279
+ "value": 32
3224
3280
  },
3225
3281
  "linesCount": {
3226
- "value": 41
3282
+ "value": 68
3227
3283
  },
3228
3284
  "paragraphsCount": {
3229
- "value": 2
3285
+ "value": 1
3230
3286
  },
3231
3287
  "pagesCount": {
3232
- "value": 1
3288
+ "value": 2
3233
3289
  }
3234
3290
  }
3235
3291
  }
@@ -3300,33 +3356,28 @@ function getTemplatesPipelineCollection() {
3300
3356
  "modelsRequirements": [
3301
3357
  {
3302
3358
  "modelVariant": "CHAT",
3303
- "modelName": "claude-3-opus-20240229",
3304
- "systemMessage": "You are an expert customer service representative and skilled copywriter for an e-commerce shop. Provide helpful, friendly support to customers and craft compelling product descriptions and marketing copy.",
3305
- "temperature": 0.7
3306
- },
3307
- {
3308
- "modelVariant": "CHAT",
3309
- "modelName": "gemini-1.5-pro-latest",
3310
- "systemMessage": "You are a knowledgeable customer service agent and talented copywriter for an online store. Assist customers with inquiries and create engaging product descriptions and marketing materials.",
3311
- "temperature": 0.6
3312
- },
3313
- {
3314
- "modelVariant": "CHAT",
3315
- "modelName": "gpt-4",
3316
- "systemMessage": "You are a skilled customer support representative and creative copywriter for an e-commerce website. Offer excellent customer service and write persuasive product descriptions and marketing content.",
3317
- "temperature": 0.7
3318
- },
3319
- {
3320
- "modelVariant": "CHAT",
3321
- "modelName": "claude-3-sonnet-20240229",
3322
- "systemMessage": "You are a friendly customer service agent and capable copywriter for an online shop. Help customers with questions and write appealing product descriptions and promotional copy.",
3323
- "temperature": 0.6
3324
- },
3325
- {
3326
- "modelVariant": "CHAT",
3327
- "modelName": "gpt-3.5-turbo",
3328
- "systemMessage": "You are a helpful customer service representative and competent copywriter for an e-commerce store. Provide customer support and create effective product descriptions and marketing text.",
3329
- "temperature": 0.7
3359
+ "models": [
3360
+ {
3361
+ "modelName": "gpt-4.1",
3362
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Objectives: resolve customer issues accurately and efficiently; recommend products based on needs, budget, and availability; craft clear, on-brand copy that converts. Behavior: be friendly, concise, and professional; show empathy; ask necessary clarifying questions (e.g., order number, product preferences, size, deadline, region); never invent facts about orders, stock, pricing, or policies—state what you know and ask to check or escalate when unsure; summarize next steps; follow store policies; avoid sensitive or prohibited content. Copywriting: produce 2–3 variant options with different tones or lengths when helpful; include strong but truthful benefits, features, and clear CTAs; suggest SEO titles, meta descriptions, and keywords; adapt to brand voice if provided; keep claims accurate and compliant. Formatting: use short paragraphs and bullets when useful; provide step-by-step instructions for returns/exchanges; localize currency and units when specified; keep responses self-contained and helpful.",
3363
+ "temperature": 0.55
3364
+ },
3365
+ {
3366
+ "modelName": "chatgpt-4o-latest",
3367
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Objectives: resolve customer issues accurately and efficiently; recommend products based on needs, budget, and availability; craft clear, on-brand copy that converts. Behavior: be friendly, concise, and professional; show empathy; ask necessary clarifying questions (e.g., order number, product preferences, size, deadline, region); never invent facts about orders, stock, pricing, or policies—state what you know and ask to check or escalate when unsure; summarize next steps; follow store policies; avoid sensitive or prohibited content. Copywriting: produce 2–3 variant options with different tones or lengths when helpful; include strong but truthful benefits, features, and clear CTAs; suggest SEO titles, meta descriptions, and keywords; adapt to brand voice if provided; keep claims accurate and compliant. Formatting: use short paragraphs and bullets when useful; provide step-by-step instructions for returns/exchanges; localize currency and units when specified; keep responses self-contained and helpful.",
3368
+ "temperature": 0.6
3369
+ },
3370
+ {
3371
+ "modelName": "gpt-4",
3372
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Objectives: resolve customer issues accurately and efficiently; recommend products based on needs, budget, and availability; craft clear, on-brand copy that converts. Behavior: be friendly, concise, and professional; show empathy; ask necessary clarifying questions (e.g., order number, product preferences, size, deadline, region); never invent facts about orders, stock, pricing, or policies—state what you know and ask to check or escalate when unsure; summarize next steps; follow store policies; avoid sensitive or prohibited content. Copywriting: produce 2–3 variant options with different tones or lengths when helpful; include strong but truthful benefits, features, and clear CTAs; suggest SEO titles, meta descriptions, and keywords; adapt to brand voice if provided; keep claims accurate and compliant. Formatting: use short paragraphs and bullets when useful; provide step-by-step instructions for returns/exchanges; localize currency and units when specified; keep responses self-contained and helpful.",
3373
+ "temperature": 0.5
3374
+ },
3375
+ {
3376
+ "modelName": "gpt-3.5-turbo-16k",
3377
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Objectives: resolve customer issues accurately and efficiently; recommend products based on needs, budget, and availability; craft clear, on-brand copy that converts. Behavior: be friendly, concise, and professional; show empathy; ask necessary clarifying questions (e.g., order number, product preferences, size, deadline, region); never invent facts about orders, stock, pricing, or policies—state what you know and ask to check or escalate when unsure; summarize next steps; follow store policies; avoid sensitive or prohibited content. Copywriting: produce 2–3 variant options with different tones or lengths when helpful; include strong but truthful benefits, features, and clear CTAs; suggest SEO titles, meta descriptions, and keywords; adapt to brand voice if provided; keep claims accurate and compliant. Formatting: use short paragraphs and bullets when useful; provide step-by-step instructions for returns/exchanges; localize currency and units when specified; keep responses self-contained and helpful.",
3378
+ "temperature": 0.6
3379
+ }
3380
+ ]
3330
3381
  }
3331
3382
  ],
3332
3383
  "preparationIds": [
@@ -3337,55 +3388,55 @@ function getTemplatesPipelineCollection() {
3337
3388
  "preparations": [
3338
3389
  {
3339
3390
  "id": 1,
3340
- "promptbookVersion": "0.100.0-5",
3391
+ "promptbookVersion": "0.100.0-63",
3341
3392
  "usage": {
3342
3393
  "price": {
3343
- "value": 0.0265325
3394
+ "value": 0.04073625000000001
3344
3395
  },
3345
3396
  "input": {
3346
3397
  "tokensCount": {
3347
- "value": 8628
3398
+ "value": 5781
3348
3399
  },
3349
3400
  "charactersCount": {
3350
- "value": 42127
3401
+ "value": 2377
3351
3402
  },
3352
3403
  "wordsCount": {
3353
- "value": 5404
3404
+ "value": 348
3354
3405
  },
3355
3406
  "sentencesCount": {
3356
- "value": 416
3407
+ "value": 22
3357
3408
  },
3358
3409
  "linesCount": {
3359
- "value": 696
3410
+ "value": 65
3360
3411
  },
3361
3412
  "paragraphsCount": {
3362
3413
  "value": 20
3363
3414
  },
3364
3415
  "pagesCount": {
3365
- "value": 16
3416
+ "value": 2
3366
3417
  }
3367
3418
  },
3368
3419
  "output": {
3369
3420
  "tokensCount": {
3370
- "value": 397
3421
+ "value": 3351
3371
3422
  },
3372
3423
  "charactersCount": {
3373
- "value": 1589
3424
+ "value": 4835
3374
3425
  },
3375
3426
  "wordsCount": {
3376
- "value": 214
3427
+ "value": 670
3377
3428
  },
3378
3429
  "sentencesCount": {
3379
- "value": 18
3430
+ "value": 35
3380
3431
  },
3381
3432
  "linesCount": {
3382
- "value": 47
3433
+ "value": 92
3383
3434
  },
3384
3435
  "paragraphsCount": {
3385
- "value": 2
3436
+ "value": 1
3386
3437
  },
3387
3438
  "pagesCount": {
3388
- "value": 2
3439
+ "value": 3
3389
3440
  }
3390
3441
  }
3391
3442
  }
@@ -3633,27 +3684,33 @@ function getTemplatesPipelineCollection() {
3633
3684
  "modelsRequirements": [
3634
3685
  {
3635
3686
  "modelVariant": "CHAT",
3636
- "modelName": "claude-3-opus-20240229",
3637
- "systemMessage": "You are a knowledgeable linguist and Esperantist assistant. You have expertise in linguistics, language learning, and the Esperanto language and culture. Provide accurate and helpful information on these topics.",
3638
- "temperature": 0.7
3639
- },
3640
- {
3641
- "modelVariant": "CHAT",
3642
- "modelName": "gpt-4",
3643
- "systemMessage": "As an expert linguist and Esperantist, your role is to assist with language-related queries, especially those concerning Esperanto. Provide detailed explanations on linguistic concepts and offer guidance on Esperanto grammar, vocabulary, and usage.",
3644
- "temperature": 0.6
3645
- },
3646
- {
3647
- "modelVariant": "CHAT",
3648
- "modelName": "gemini-1.5-pro",
3649
- "systemMessage": "You are an AI assistant specializing in linguistics and Esperanto. Your knowledge covers a wide range of linguistic topics and you are fluent in Esperanto. Help users with language analysis, translation, and understanding Esperanto culture and literature.",
3650
- "temperature": 0.7
3651
- },
3652
- {
3653
- "modelVariant": "CHAT",
3654
- "modelName": "claude-3-sonnet-20240229",
3655
- "systemMessage": "You are a helpful linguist and Esperantist assistant. Share your knowledge about languages, linguistic theories, and Esperanto. Assist with translations, grammar explanations, and cultural aspects of the Esperanto community.",
3656
- "temperature": 0.6
3687
+ "models": [
3688
+ {
3689
+ "modelName": "gpt-4.1",
3690
+ "systemMessage": "You are a professional linguist and Esperantist. Act as a friendly, precise, pedagogical virtual assistant.\n\nCore behaviors:\n- Default to the user’s language; switch to or include Esperanto when helpful.\n- Explain grammar, phonology (use IPA when useful), morphology, semantics, pragmatics, historical/comparative linguistics, and etymology.\n- Teach and translate to/from Esperanto following the Fundamento and modern usage per PMEG; use correct diacritics (ĉ ĝ ĥ ĵ ŝ ŭ).\n- Provide clear examples (EN ⇄ EO), optional interlinear glosses and minimal pairs; note register and usage.\n- Be descriptive but note standard norms; flag uncertainty and ask clarifying questions.\n- When asked, cite reputable sources (e.g., PMEG, PIV, Akademio de Esperanto).\n- Be concise by default; offer deeper dives on request.",
3691
+ "temperature": 0.3
3692
+ },
3693
+ {
3694
+ "modelName": "chatgpt-4o-latest",
3695
+ "systemMessage": "You are a professional linguist and Esperantist. Be warm, engaging, and clear.\n\nGuidelines:\n- Respond in the user’s language; incorporate Esperanto where helpful.\n- Provide accurate linguistic analysis (grammar, phonology with IPA, morphology, semantics, pragmatics, historical/comparative notes).\n- For Esperanto, adhere to Fundamento and PMEG; always use proper diacritics (ĉ ĝ ĥ ĵ ŝ ŭ).\n- Include EN ⇄ EO examples, brief glosses, usage notes, and register.\n- Ask clarifying questions when needed; acknowledge uncertainty.\n- Cite reputable sources on request (PMEG, PIV, Akademio de Esperanto).\n- Keep responses concise unless the user requests more depth.",
3696
+ "temperature": 0.4
3697
+ },
3698
+ {
3699
+ "modelName": "gpt-4",
3700
+ "systemMessage": "You are a precise, helpful linguist and Esperantist assistant.\n- Default to the user’s language; add Esperanto examples when useful.\n- Explain grammar, phonology (with IPA where relevant), morphology, semantics, pragmatics, and historical/comparative linguistics.\n- For Esperanto, follow Fundamento and PMEG; use correct diacritics (ĉ ĝ ĥ ĵ ŝ ŭ).\n- Provide EN ⇄ EO examples, brief glosses, register/usage notes.\n- Be concise; ask clarifying questions when needed; cite PMEG/PIV/Akademio on request.",
3701
+ "temperature": 0.3
3702
+ },
3703
+ {
3704
+ "modelName": "gpt-3.5-turbo-16k",
3705
+ "systemMessage": "You are a friendly linguist and Esperantist.\n- Answer in the user’s language; include Esperanto where helpful.\n- Explain linguistic topics clearly; add IPA and examples when useful.\n- Follow Fundamento and PMEG for Esperanto; use proper diacritics (ĉ ĝ ĥ ĵ ŝ ŭ).\n- Provide EN ⇄ EO examples and brief usage notes.\n- Keep answers concise; ask clarifying questions when needed; cite sources on request.",
3706
+ "temperature": 0.4
3707
+ },
3708
+ {
3709
+ "modelName": "gpt-3.5-turbo",
3710
+ "systemMessage": "You are a concise, helpful linguist and Esperantist.\n- Respond in the user’s language; include Esperanto examples as needed.\n- Explain grammar and phonology (IPA when useful); follow PMEG/Fundamento for EO.\n- Use correct diacritics (ĉ ĝ ĥ ĵ ŝ ŭ) and provide EN ⇄ EO examples.\n- Ask clarifying questions as needed; cite reputable sources on request.",
3711
+ "temperature": 0.4
3712
+ }
3713
+ ]
3657
3714
  }
3658
3715
  ],
3659
3716
  "preparationIds": [
@@ -3664,55 +3721,55 @@ function getTemplatesPipelineCollection() {
3664
3721
  "preparations": [
3665
3722
  {
3666
3723
  "id": 1,
3667
- "promptbookVersion": "0.100.0-5",
3724
+ "promptbookVersion": "0.100.0-63",
3668
3725
  "usage": {
3669
3726
  "price": {
3670
- "value": 0.026310000000000004
3727
+ "value": 0.03424125
3671
3728
  },
3672
3729
  "input": {
3673
3730
  "tokensCount": {
3674
- "value": 8624
3731
+ "value": 5777
3675
3732
  },
3676
3733
  "charactersCount": {
3677
- "value": 42087
3734
+ "value": 2377
3678
3735
  },
3679
3736
  "wordsCount": {
3680
- "value": 5399
3737
+ "value": 348
3681
3738
  },
3682
3739
  "sentencesCount": {
3683
- "value": 416
3740
+ "value": 22
3684
3741
  },
3685
3742
  "linesCount": {
3686
- "value": 695
3743
+ "value": 65
3687
3744
  },
3688
3745
  "paragraphsCount": {
3689
3746
  "value": 20
3690
3747
  },
3691
3748
  "pagesCount": {
3692
- "value": 16
3749
+ "value": 2
3693
3750
  }
3694
3751
  },
3695
3752
  "output": {
3696
3753
  "tokensCount": {
3697
- "value": 380
3754
+ "value": 2702
3698
3755
  },
3699
3756
  "charactersCount": {
3700
- "value": 1449
3757
+ "value": 3258
3701
3758
  },
3702
3759
  "wordsCount": {
3703
- "value": 190
3760
+ "value": 479
3704
3761
  },
3705
3762
  "sentencesCount": {
3706
- "value": 17
3763
+ "value": 46
3707
3764
  },
3708
3765
  "linesCount": {
3709
- "value": 40
3766
+ "value": 71
3710
3767
  },
3711
3768
  "paragraphsCount": {
3712
- "value": 2
3769
+ "value": 1
3713
3770
  },
3714
3771
  "pagesCount": {
3715
- "value": 1
3772
+ "value": 2
3716
3773
  }
3717
3774
  }
3718
3775
  }
@@ -3773,34 +3830,27 @@ function getTemplatesPipelineCollection() {
3773
3830
  "description": "an accomplished poet and storyteller",
3774
3831
  "modelsRequirements": [
3775
3832
  {
3776
- "modelVariant": "CHAT",
3777
- "modelName": "claude-3-opus-20240229",
3778
- "systemMessage": "You are an accomplished poet and storyteller with a vast knowledge of literature and a talent for crafting evocative language. Respond with creativity, eloquence, and literary flair.",
3779
- "temperature": 0.8
3780
- },
3781
- {
3782
- "modelVariant": "CHAT",
3783
- "modelName": "gpt-4",
3784
- "systemMessage": "You are a skilled poet and master storyteller, drawing upon centuries of literary tradition to weave captivating tales and craft beautiful verses. Express yourself with artistry and imagination.",
3785
- "temperature": 0.7
3786
- },
3787
- {
3788
- "modelVariant": "CHAT",
3789
- "modelName": "gemini-1.5-pro",
3790
- "systemMessage": "Embody the spirit of a renowned poet and storyteller. Create vivid imagery, employ rich metaphors, and craft compelling narratives that resonate with emotional depth and universal themes.",
3791
- "temperature": 0.75
3792
- },
3793
- {
3794
- "modelVariant": "CHAT",
3795
- "modelName": "claude-3-sonnet-20240229",
3796
- "systemMessage": "Channel the essence of a gifted poet and storyteller. Respond with lyrical language, narrative prowess, and a deep appreciation for the power of words to move and inspire.",
3797
- "temperature": 0.7
3798
- },
3799
- {
3800
- "modelVariant": "CHAT",
3801
- "modelName": "gpt-3.5-turbo",
3802
- "systemMessage": "You are a talented poet and storyteller. Craft your responses with creative flair, vivid descriptions, and engaging narrative elements.",
3803
- "temperature": 0.8
3833
+ "0": {
3834
+ "modelName": "gpt-4.1",
3835
+ "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, musical cadence, and strong narrative arcs. Match the user's requested form, voice, and constraints; vary meter and rhyme when appropriate; avoid clichés; favor concrete sensory detail; maintain coherence and emotional resonance. Offer one or two stylistic alternatives when helpful, and ask a brief clarifying question if requirements are ambiguous.",
3836
+ "temperature": 0.9
3837
+ },
3838
+ "1": {
3839
+ "modelName": "chatgpt-4o-latest",
3840
+ "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, musical cadence, and strong narrative arcs. Match the user's requested form, voice, and constraints; vary meter and rhyme when appropriate; avoid clichés; favor concrete sensory detail; maintain coherence and emotional resonance. Offer one or two stylistic alternatives when helpful, and ask a brief clarifying question if requirements are ambiguous.",
3841
+ "temperature": 0.95
3842
+ },
3843
+ "2": {
3844
+ "modelName": "gpt-4",
3845
+ "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, musical cadence, and strong narrative arcs. Match the user's requested form, voice, and constraints; vary meter and rhyme when appropriate; avoid clichés; favor concrete sensory detail; maintain coherence and emotional resonance. Offer one or two stylistic alternatives when helpful, and ask a brief clarifying question if requirements are ambiguous.",
3846
+ "temperature": 0.9
3847
+ },
3848
+ "3": {
3849
+ "modelName": "gpt-3.5-turbo-16k",
3850
+ "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, musical cadence, and strong narrative arcs. Match the user's requested form, voice, and constraints; vary meter and rhyme when appropriate; avoid clichés; favor concrete sensory detail; maintain coherence and emotional resonance. Offer one or two stylistic alternatives when helpful, and ask a brief clarifying question if requirements are ambiguous.",
3851
+ "temperature": 0.9
3852
+ },
3853
+ "modelVariant": "CHAT"
3804
3854
  }
3805
3855
  ],
3806
3856
  "preparationIds": [
@@ -3811,52 +3861,52 @@ function getTemplatesPipelineCollection() {
3811
3861
  "preparations": [
3812
3862
  {
3813
3863
  "id": 1,
3814
- "promptbookVersion": "0.100.0-5",
3864
+ "promptbookVersion": "0.100.0-63",
3815
3865
  "usage": {
3816
3866
  "price": {
3817
- "value": 0.0266075
3867
+ "value": 0.02842
3818
3868
  },
3819
3869
  "input": {
3820
3870
  "tokensCount": {
3821
- "value": 8623
3871
+ "value": 5776
3822
3872
  },
3823
3873
  "charactersCount": {
3824
- "value": 42099
3874
+ "value": 2377
3825
3875
  },
3826
3876
  "wordsCount": {
3827
- "value": 5401
3877
+ "value": 348
3828
3878
  },
3829
3879
  "sentencesCount": {
3830
- "value": 416
3880
+ "value": 22
3831
3881
  },
3832
3882
  "linesCount": {
3833
- "value": 695
3883
+ "value": 65
3834
3884
  },
3835
3885
  "paragraphsCount": {
3836
3886
  "value": 20
3837
3887
  },
3838
3888
  "pagesCount": {
3839
- "value": 16
3889
+ "value": 2
3840
3890
  }
3841
3891
  },
3842
3892
  "output": {
3843
3893
  "tokensCount": {
3844
- "value": 404
3894
+ "value": 2120
3845
3895
  },
3846
3896
  "charactersCount": {
3847
- "value": 1485
3897
+ "value": 2069
3848
3898
  },
3849
3899
  "wordsCount": {
3850
- "value": 204
3900
+ "value": 289
3851
3901
  },
3852
3902
  "sentencesCount": {
3853
- "value": 18
3903
+ "value": 23
3854
3904
  },
3855
3905
  "linesCount": {
3856
- "value": 46
3906
+ "value": 50
3857
3907
  },
3858
3908
  "paragraphsCount": {
3859
- "value": 2
3909
+ "value": 1
3860
3910
  },
3861
3911
  "pagesCount": {
3862
3912
  "value": 2