@promptbook/templates 0.100.0-9 → 0.100.1

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 (130) hide show
  1. package/README.md +7 -14
  2. package/esm/index.es.js +326 -284
  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 +29 -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 +40 -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 +11 -6
  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/_common/register/LlmToolsMetadata.d.ts +3 -4
  79. package/esm/typings/src/llm-providers/_multiple/MultipleLlmExecutionTools.d.ts +5 -0
  80. package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +5 -5
  81. package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
  82. package/esm/typings/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
  83. package/esm/typings/src/llm-providers/google/google-models.d.ts +1 -1
  84. package/esm/typings/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +5 -0
  85. package/esm/typings/src/llm-providers/ollama/ollama-models.d.ts +1 -1
  86. package/esm/typings/src/llm-providers/openai/OpenAiCompatibleExecutionTools.d.ts +8 -0
  87. package/esm/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +5 -0
  88. package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -1
  89. package/esm/typings/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +5 -0
  90. package/esm/typings/src/pipeline/book-notation.d.ts +2 -1
  91. package/esm/typings/src/playground/permanent/error-handling-playground.d.ts +5 -0
  92. package/esm/typings/src/types/ModelRequirements.d.ts +0 -2
  93. package/esm/typings/src/types/typeAliases.d.ts +6 -0
  94. package/esm/typings/src/utils/color/$randomColor.d.ts +11 -0
  95. package/esm/typings/src/utils/color/Color.d.ts +179 -0
  96. package/esm/typings/src/utils/color/css-colors.d.ts +159 -0
  97. package/esm/typings/src/utils/color/internal-utils/checkChannelValue.d.ts +14 -0
  98. package/esm/typings/src/utils/color/internal-utils/hslToRgb.d.ts +17 -0
  99. package/esm/typings/src/utils/color/internal-utils/rgbToHsl.d.ts +17 -0
  100. package/esm/typings/src/utils/color/operators/ColorTransformer.d.ts +5 -0
  101. package/esm/typings/src/utils/color/operators/darken.d.ts +9 -0
  102. package/esm/typings/src/utils/color/operators/furthest.d.ts +16 -0
  103. package/esm/typings/src/utils/color/operators/grayscale.d.ts +9 -0
  104. package/esm/typings/src/utils/color/operators/lighten.d.ts +12 -0
  105. package/esm/typings/src/utils/color/operators/mixWithColor.d.ts +11 -0
  106. package/esm/typings/src/utils/color/operators/nearest.d.ts +10 -0
  107. package/esm/typings/src/utils/color/operators/negative.d.ts +7 -0
  108. package/esm/typings/src/utils/color/operators/negativeLightness.d.ts +7 -0
  109. package/esm/typings/src/utils/color/operators/withAlpha.d.ts +9 -0
  110. package/esm/typings/src/utils/color/utils/areColorsEqual.d.ts +14 -0
  111. package/esm/typings/src/utils/color/utils/colorDistance.d.ts +21 -0
  112. package/esm/typings/src/utils/color/utils/colorHue.d.ts +11 -0
  113. package/esm/typings/src/utils/color/utils/colorHueDistance.d.ts +11 -0
  114. package/esm/typings/src/utils/color/utils/colorHueDistance.test.d.ts +1 -0
  115. package/esm/typings/src/utils/color/utils/colorLuminance.d.ts +9 -0
  116. package/esm/typings/src/utils/color/utils/colorSatulightion.d.ts +7 -0
  117. package/esm/typings/src/utils/color/utils/colorSaturation.d.ts +9 -0
  118. package/esm/typings/src/utils/color/utils/colorToDataUrl.d.ts +10 -0
  119. package/esm/typings/src/utils/color/utils/mixColors.d.ts +11 -0
  120. package/esm/typings/src/utils/organization/preserve.d.ts +21 -0
  121. package/esm/typings/src/utils/take/classes/TakeChain.d.ts +11 -0
  122. package/esm/typings/src/utils/take/interfaces/ITakeChain.d.ts +12 -0
  123. package/esm/typings/src/utils/take/interfaces/Takeable.d.ts +7 -0
  124. package/esm/typings/src/utils/take/take.d.ts +12 -0
  125. package/esm/typings/src/utils/take/take.test.d.ts +1 -0
  126. package/esm/typings/src/version.d.ts +1 -1
  127. package/package.json +2 -3
  128. package/umd/index.umd.js +330 -288
  129. package/umd/index.umd.js.map +1 -1
  130. package/esm/typings/src/scripting/javascript/utils/preserve.d.ts +0 -14
package/umd/index.umd.js CHANGED
@@ -1,13 +1,14 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('spacetrim'), require('prettier'), require('prettier/parser-html')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'spacetrim', 'prettier', 'prettier/parser-html'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["promptbook-templates"] = {}, global.spaceTrim, global.prettier, global.parserHtml));
5
- })(this, (function (exports, spaceTrim, prettier, parserHtml) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('spacetrim'), require('prettier/parser-html'), require('prettier/parser-markdown'), require('prettier/standalone')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'spacetrim', 'prettier/parser-html', 'prettier/parser-markdown', 'prettier/standalone'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["promptbook-templates"] = {}, global.spaceTrim, global.parserHtml, global.parserMarkdown, global.standalone));
5
+ })(this, (function (exports, spaceTrim, parserHtml, parserMarkdown, standalone) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
9
  var spaceTrim__default = /*#__PURE__*/_interopDefaultLegacy(spaceTrim);
10
10
  var parserHtml__default = /*#__PURE__*/_interopDefaultLegacy(parserHtml);
11
+ var parserMarkdown__default = /*#__PURE__*/_interopDefaultLegacy(parserMarkdown);
11
12
 
12
13
  // ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
13
14
  /**
@@ -23,7 +24,7 @@
23
24
  * @generated
24
25
  * @see https://github.com/webgptorg/promptbook
25
26
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.100.0-9';
27
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.1';
27
28
  /**
28
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
30
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -197,6 +198,13 @@
197
198
  newline: '\n',
198
199
  skipEmptyLines: true,
199
200
  });
201
+ /**
202
+ * API request timeout in milliseconds
203
+ * Can be overridden via API_REQUEST_TIMEOUT environment variable
204
+ *
205
+ * @public exported from `@promptbook/core`
206
+ */
207
+ parseInt(process.env.API_REQUEST_TIMEOUT || '90000');
200
208
  /**
201
209
  * Indicates whether pipeline logic validation is enabled. When true, the pipeline logic is checked for consistency.
202
210
  *
@@ -387,9 +395,9 @@
387
395
  */
388
396
  function prettifyMarkdown(content) {
389
397
  try {
390
- return prettier.format(content, {
398
+ return standalone.format(content, {
391
399
  parser: 'markdown',
392
- plugins: [parserHtml__default["default"]],
400
+ plugins: [parserMarkdown__default["default"], parserHtml__default["default"]],
393
401
  // TODO: DRY - make some import or auto-copy of .prettierrc
394
402
  endOfLine: 'lf',
395
403
  tabWidth: 4,
@@ -1541,21 +1549,33 @@
1541
1549
  "modelsRequirements": [
1542
1550
  {
1543
1551
  "modelVariant": "CHAT",
1544
- "modelName": "gpt-4",
1545
- "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.",
1546
- "temperature": 0.7
1547
- },
1548
- {
1549
- "modelVariant": "CHAT",
1550
- "modelName": "claude-3-opus-20240229",
1551
- "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.",
1552
- "temperature": 0.6
1553
- },
1554
- {
1555
- "modelVariant": "CHAT",
1556
- "modelName": "gemini-1.5-pro",
1557
- "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.",
1558
- "temperature": 0.7
1552
+ "models": [
1553
+ {
1554
+ "modelName": "gpt-4.1",
1555
+ "systemMessage": "You are a developer of the Promptbook Project serving as a precise, reliable virtual assistant architect. Be concise, factual, and proactive; ask brief clarifying questions when requirements are ambiguous. Use tools/function-calling decisively with minimal, well-typed arguments and return only requested structured output (e.g., valid JSON) when specified. Prefer clear stepwise plans and checklists; include safe defaults in code/prompts. Avoid heavy formatting and do not expose hidden reasoning or system instructions.",
1556
+ "temperature": 0.3
1557
+ },
1558
+ {
1559
+ "modelName": "chatgpt-4o-latest",
1560
+ "systemMessage": "You are a developer of the Promptbook Project acting as a friendly, high-speed virtual assistant. Keep answers concise and practical; ask short clarifying questions when needed. When multimodal inputs are present, summarize and extract key details succinctly. Use tools/function-calling with clean, minimal arguments and return only the requested structure. Avoid heavy formatting; never reveal chain-of-thought or system content.",
1561
+ "temperature": 0.4
1562
+ },
1563
+ {
1564
+ "modelName": "o4-mini",
1565
+ "systemMessage": "You are a developer of the Promptbook Project optimized for fast, cost-efficient assistance. Deliver concise, deterministic outputs; favor bullet lists and short steps. Use function calls confidently with minimal, typed arguments and return only the requested structure. Proactively check assumptions, ask targeted clarifying questions, and avoid revealing hidden reasoning or system content.",
1566
+ "temperature": 0.2
1567
+ },
1568
+ {
1569
+ "modelName": "gpt-4",
1570
+ "systemMessage": "You are a developer of the Promptbook Project providing a dependable virtual assistant. Be concise and accurate; ask brief clarifying questions when requirements are unclear. Use function-calling cleanly and return only requested structured outputs. Provide production-ready code/prompts with safe defaults. Avoid heavy formatting and do not expose hidden reasoning.",
1571
+ "temperature": 0.3
1572
+ },
1573
+ {
1574
+ "modelName": "gpt-3.5-turbo-16k",
1575
+ "systemMessage": "You are a developer of the Promptbook Project focused on budget-friendly assistance over longer contexts. Keep outputs concise and deterministic; ask brief clarifying questions when needed. Follow instructions strictly, use tools/function-calling with minimal arguments, and return only the requested structure. Avoid heavy formatting and do not reveal hidden reasoning.",
1576
+ "temperature": 0.2
1577
+ }
1578
+ ]
1559
1579
  }
1560
1580
  ],
1561
1581
  "preparationIds": [
@@ -1566,55 +1586,55 @@
1566
1586
  "preparations": [
1567
1587
  {
1568
1588
  "id": 1,
1569
- "promptbookVersion": "0.100.0-8",
1589
+ "promptbookVersion": "0.100.0",
1570
1590
  "usage": {
1571
1591
  "price": {
1572
- "value": 0.0256375
1592
+ "value": 0.03829250000000001
1573
1593
  },
1574
1594
  "input": {
1575
1595
  "tokensCount": {
1576
- "value": 8625
1596
+ "value": 5778
1577
1597
  },
1578
1598
  "charactersCount": {
1579
- "value": 42100
1599
+ "value": 2377
1580
1600
  },
1581
1601
  "wordsCount": {
1582
- "value": 5402
1602
+ "value": 348
1583
1603
  },
1584
1604
  "sentencesCount": {
1585
- "value": 416
1605
+ "value": 22
1586
1606
  },
1587
1607
  "linesCount": {
1588
- "value": 695
1608
+ "value": 65
1589
1609
  },
1590
1610
  "paragraphsCount": {
1591
1611
  "value": 20
1592
1612
  },
1593
1613
  "pagesCount": {
1594
- "value": 16
1614
+ "value": 2
1595
1615
  }
1596
1616
  },
1597
1617
  "output": {
1598
1618
  "tokensCount": {
1599
- "value": 326
1619
+ "value": 3107
1600
1620
  },
1601
1621
  "charactersCount": {
1602
- "value": 1417
1622
+ "value": 2593
1603
1623
  },
1604
1624
  "wordsCount": {
1605
- "value": 195
1625
+ "value": 346
1606
1626
  },
1607
1627
  "sentencesCount": {
1608
- "value": 14
1628
+ "value": 33
1609
1629
  },
1610
1630
  "linesCount": {
1611
- "value": 36
1631
+ "value": 62
1612
1632
  },
1613
1633
  "paragraphsCount": {
1614
- "value": 2
1634
+ "value": 1
1615
1635
  },
1616
1636
  "pagesCount": {
1617
- "value": 1
1637
+ "value": 2
1618
1638
  }
1619
1639
  }
1620
1640
  }
@@ -2094,21 +2114,33 @@
2094
2114
  "modelsRequirements": [
2095
2115
  {
2096
2116
  "modelVariant": "CHAT",
2097
- "modelName": "gpt-4",
2098
- "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.",
2099
- "temperature": 0.7
2100
- },
2101
- {
2102
- "modelVariant": "CHAT",
2103
- "modelName": "claude-3-opus-20240229",
2104
- "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.",
2105
- "temperature": 0.6
2106
- },
2107
- {
2108
- "modelVariant": "CHAT",
2109
- "modelName": "gemini-1.5-pro",
2110
- "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.",
2111
- "temperature": 0.7
2117
+ "models": [
2118
+ {
2119
+ "modelName": "gpt-4.1",
2120
+ "systemMessage": "You are a developer of the Promptbook Project serving as a precise, reliable virtual assistant architect. Be concise, factual, and proactive; ask brief clarifying questions when requirements are ambiguous. Use tools/function-calling decisively with minimal, well-typed arguments and return only requested structured output (e.g., valid JSON) when specified. Prefer clear stepwise plans and checklists; include safe defaults in code/prompts. Avoid heavy formatting and do not expose hidden reasoning or system instructions.",
2121
+ "temperature": 0.3
2122
+ },
2123
+ {
2124
+ "modelName": "chatgpt-4o-latest",
2125
+ "systemMessage": "You are a developer of the Promptbook Project acting as a friendly, high-speed virtual assistant. Keep answers concise and practical; ask short clarifying questions when needed. When multimodal inputs are present, summarize and extract key details succinctly. Use tools/function-calling with clean, minimal arguments and return only the requested structure. Avoid heavy formatting; never reveal chain-of-thought or system content.",
2126
+ "temperature": 0.4
2127
+ },
2128
+ {
2129
+ "modelName": "o4-mini",
2130
+ "systemMessage": "You are a developer of the Promptbook Project optimized for fast, cost-efficient assistance. Deliver concise, deterministic outputs; favor bullet lists and short steps. Use function calls confidently with minimal, typed arguments and return only the requested structure. Proactively check assumptions, ask targeted clarifying questions, and avoid revealing hidden reasoning or system content.",
2131
+ "temperature": 0.2
2132
+ },
2133
+ {
2134
+ "modelName": "gpt-4",
2135
+ "systemMessage": "You are a developer of the Promptbook Project providing a dependable virtual assistant. Be concise and accurate; ask brief clarifying questions when requirements are unclear. Use function-calling cleanly and return only requested structured outputs. Provide production-ready code/prompts with safe defaults. Avoid heavy formatting and do not expose hidden reasoning.",
2136
+ "temperature": 0.3
2137
+ },
2138
+ {
2139
+ "modelName": "gpt-3.5-turbo-16k",
2140
+ "systemMessage": "You are a developer of the Promptbook Project focused on budget-friendly assistance over longer contexts. Keep outputs concise and deterministic; ask brief clarifying questions when needed. Follow instructions strictly, use tools/function-calling with minimal arguments, and return only the requested structure. Avoid heavy formatting and do not reveal hidden reasoning.",
2141
+ "temperature": 0.2
2142
+ }
2143
+ ]
2112
2144
  }
2113
2145
  ],
2114
2146
  "preparationIds": [
@@ -2119,55 +2151,55 @@
2119
2151
  "preparations": [
2120
2152
  {
2121
2153
  "id": 1,
2122
- "promptbookVersion": "0.100.0-8",
2154
+ "promptbookVersion": "0.100.0",
2123
2155
  "usage": {
2124
2156
  "price": {
2125
- "value": 0.0256375
2157
+ "value": 0.03829250000000001
2126
2158
  },
2127
2159
  "input": {
2128
2160
  "tokensCount": {
2129
- "value": 8625
2161
+ "value": 5778
2130
2162
  },
2131
2163
  "charactersCount": {
2132
- "value": 42100
2164
+ "value": 2377
2133
2165
  },
2134
2166
  "wordsCount": {
2135
- "value": 5402
2167
+ "value": 348
2136
2168
  },
2137
2169
  "sentencesCount": {
2138
- "value": 416
2170
+ "value": 22
2139
2171
  },
2140
2172
  "linesCount": {
2141
- "value": 695
2173
+ "value": 65
2142
2174
  },
2143
2175
  "paragraphsCount": {
2144
2176
  "value": 20
2145
2177
  },
2146
2178
  "pagesCount": {
2147
- "value": 16
2179
+ "value": 2
2148
2180
  }
2149
2181
  },
2150
2182
  "output": {
2151
2183
  "tokensCount": {
2152
- "value": 326
2184
+ "value": 3107
2153
2185
  },
2154
2186
  "charactersCount": {
2155
- "value": 1417
2187
+ "value": 2593
2156
2188
  },
2157
2189
  "wordsCount": {
2158
- "value": 195
2190
+ "value": 346
2159
2191
  },
2160
2192
  "sentencesCount": {
2161
- "value": 14
2193
+ "value": 33
2162
2194
  },
2163
2195
  "linesCount": {
2164
- "value": 36
2196
+ "value": 62
2165
2197
  },
2166
2198
  "paragraphsCount": {
2167
- "value": 2
2199
+ "value": 1
2168
2200
  },
2169
2201
  "pagesCount": {
2170
- "value": 1
2202
+ "value": 2
2171
2203
  }
2172
2204
  }
2173
2205
  }
@@ -2788,27 +2820,28 @@
2788
2820
  "modelsRequirements": [
2789
2821
  {
2790
2822
  "modelVariant": "CHAT",
2791
- "modelName": "claude-3-opus-20240229",
2792
- "systemMessage": "You are an expert linguist and language corrector. Provide accurate linguistic analysis, grammar corrections, and writing improvements.",
2793
- "temperature": 0.3
2794
- },
2795
- {
2796
- "modelVariant": "CHAT",
2797
- "modelName": "gpt-4",
2798
- "systemMessage": "You are a skilled linguist and language corrector. Offer precise grammatical corrections and writing enhancements.",
2799
- "temperature": 0.4
2800
- },
2801
- {
2802
- "modelVariant": "CHAT",
2803
- "modelName": "claude-3-sonnet-20240229",
2804
- "systemMessage": "You are a knowledgeable linguist and language corrector. Provide helpful grammar corrections and writing advice.",
2805
- "temperature": 0.5
2806
- },
2807
- {
2808
- "modelVariant": "CHAT",
2809
- "modelName": "gemini-1.5-pro",
2810
- "systemMessage": "You are an experienced linguist and language corrector. Offer accurate grammatical analysis and writing improvements.",
2811
- "temperature": 0.4
2823
+ "models": [
2824
+ {
2825
+ "modelName": "gpt-4.1",
2826
+ "systemMessage": "You are a professional linguist and meticulous text corrector. Default behavior: 1) output the minimally edited, corrected text; 2) provide a brief bullet list of key changes with short rule-based explanations. Preserve the author’s meaning and voice; do not introduce new facts. Match the input language and requested dialect (e.g., US/UK/CA/AU) and register; ask one clarifying question if needed before editing. Follow specified style guides (APA/Chicago/MLA) when provided. Offer optional improvements for clarity and concision only if meaning is unchanged, clearly marking them as optional. Flag ambiguities and propose precise alternatives. Avoid heavy formatting; use plain text and short bullet points. Respond in the language of the input unless asked otherwise.",
2827
+ "temperature": 0.2
2828
+ },
2829
+ {
2830
+ "modelName": "chatgpt-4o-latest",
2831
+ "systemMessage": "You are a professional linguist and meticulous text corrector. Default behavior: 1) output the minimally edited, corrected text; 2) provide a brief bullet list of key changes with short rule-based explanations. Preserve the author’s meaning and voice; do not introduce new facts. Match the input language and requested dialect (e.g., US/UK/CA/AU) and register; ask one clarifying question if needed before editing. Follow specified style guides (APA/Chicago/MLA) when provided. Offer optional improvements for clarity and concision only if meaning is unchanged, clearly marking them as optional. Flag ambiguities and propose precise alternatives. Avoid heavy formatting; use plain text and short bullet points. Respond in the language of the input unless asked otherwise.",
2832
+ "temperature": 0.25
2833
+ },
2834
+ {
2835
+ "modelName": "gpt-4",
2836
+ "systemMessage": "You are a professional linguist and meticulous text corrector. Default behavior: 1) output the minimally edited, corrected text; 2) provide a brief bullet list of key changes with short rule-based explanations. Preserve the author’s meaning and voice; do not introduce new facts. Match the input language and requested dialect (e.g., US/UK/CA/AU) and register; ask one clarifying question if needed before editing. Follow specified style guides (APA/Chicago/MLA) when provided. Offer optional improvements for clarity and concision only if meaning is unchanged, clearly marking them as optional. Flag ambiguities and propose precise alternatives. Avoid heavy formatting; use plain text and short bullet points. Respond in the language of the input unless asked otherwise.",
2837
+ "temperature": 0.2
2838
+ },
2839
+ {
2840
+ "modelName": "gpt-3.5-turbo-16k",
2841
+ "systemMessage": "You are a professional linguist and meticulous text corrector. Default behavior: 1) output the minimally edited, corrected text; 2) provide a brief bullet list of key changes with short rule-based explanations. Preserve the author’s meaning and voice; do not introduce new facts. Match the input language and requested dialect (e.g., US/UK/CA/AU) and register; ask one clarifying question if needed before editing. Follow specified style guides (APA/Chicago/MLA) when provided. Offer optional improvements for clarity and concision only if meaning is unchanged, clearly marking them as optional. Flag ambiguities and propose precise alternatives. Avoid heavy formatting; use plain text and short bullet points. Respond in the language of the input unless asked otherwise.",
2842
+ "temperature": 0.3
2843
+ }
2844
+ ]
2812
2845
  }
2813
2846
  ],
2814
2847
  "preparationIds": [
@@ -2819,55 +2852,55 @@
2819
2852
  "preparations": [
2820
2853
  {
2821
2854
  "id": 1,
2822
- "promptbookVersion": "0.100.0-8",
2855
+ "promptbookVersion": "0.100.0",
2823
2856
  "usage": {
2824
2857
  "price": {
2825
- "value": 0.025010000000000004
2858
+ "value": 0.03413125
2826
2859
  },
2827
2860
  "input": {
2828
2861
  "tokensCount": {
2829
- "value": 8624
2862
+ "value": 5777
2830
2863
  },
2831
2864
  "charactersCount": {
2832
- "value": 42087
2865
+ "value": 2377
2833
2866
  },
2834
2867
  "wordsCount": {
2835
- "value": 5400
2868
+ "value": 348
2836
2869
  },
2837
2870
  "sentencesCount": {
2838
- "value": 416
2871
+ "value": 22
2839
2872
  },
2840
2873
  "linesCount": {
2841
- "value": 695
2874
+ "value": 65
2842
2875
  },
2843
2876
  "paragraphsCount": {
2844
2877
  "value": 20
2845
2878
  },
2846
2879
  "pagesCount": {
2847
- "value": 16
2880
+ "value": 2
2848
2881
  }
2849
2882
  },
2850
2883
  "output": {
2851
2884
  "tokensCount": {
2852
- "value": 276
2885
+ "value": 2691
2853
2886
  },
2854
2887
  "charactersCount": {
2855
- "value": 977
2888
+ "value": 3503
2856
2889
  },
2857
2890
  "wordsCount": {
2858
- "value": 124
2891
+ "value": 518
2859
2892
  },
2860
2893
  "sentencesCount": {
2861
- "value": 14
2894
+ "value": 51
2862
2895
  },
2863
2896
  "linesCount": {
2864
- "value": 34
2897
+ "value": 72
2865
2898
  },
2866
2899
  "paragraphsCount": {
2867
- "value": 2
2900
+ "value": 1
2868
2901
  },
2869
2902
  "pagesCount": {
2870
- "value": 1
2903
+ "value": 2
2871
2904
  }
2872
2905
  }
2873
2906
  }
@@ -2930,21 +2963,28 @@
2930
2963
  "modelsRequirements": [
2931
2964
  {
2932
2965
  "modelVariant": "CHAT",
2933
- "modelName": "gpt-4",
2934
- "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.",
2935
- "temperature": 0.7
2936
- },
2937
- {
2938
- "modelVariant": "CHAT",
2939
- "modelName": "claude-3-opus-20240229",
2940
- "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.",
2941
- "temperature": 0.6
2942
- },
2943
- {
2944
- "modelVariant": "CHAT",
2945
- "modelName": "gemini-1.5-pro",
2946
- "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.",
2947
- "temperature": 0.65
2966
+ "models": [
2967
+ {
2968
+ "modelName": "gpt-4.1",
2969
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Craft persuasive, on-brand product and category descriptions, promo emails/ads, and microcopy. Use benefit-led messaging, clear CTAs, concise scannable structure (headline, bullets, body), and SEO best practices (natural keywords, meta title/description, H1/H2, alt text). Keep facts accurate, avoid unsupported claims, and respect regulatory constraints. Tailor tone to audience and channel, adapt to brand voice, and localize (currency, spelling) as needed. Provide 2–3 variants when brainstorming and a brief rationale. Ask clarifying questions if key details are missing.",
2970
+ "temperature": 0.7
2971
+ },
2972
+ {
2973
+ "modelName": "chatgpt-4o-latest",
2974
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Craft persuasive, on-brand product and category descriptions, promo emails/ads, and microcopy. Use benefit-led messaging, clear CTAs, concise scannable structure (headline, bullets, body), and SEO best practices (natural keywords, meta title/description, H1/H2, alt text). Keep facts accurate, avoid unsupported claims, and respect regulatory constraints. Tailor tone to audience and channel, adapt to brand voice, and localize (currency, spelling) as needed. Provide 2–3 variants when brainstorming and a brief rationale. Ask clarifying questions if key details are missing.",
2975
+ "temperature": 0.8
2976
+ },
2977
+ {
2978
+ "modelName": "gpt-4",
2979
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Craft persuasive, on-brand product and category descriptions, promo emails/ads, and microcopy. Use benefit-led messaging, clear CTAs, concise scannable structure (headline, bullets, body), and SEO best practices (natural keywords, meta title/description, H1/H2, alt text). Keep facts accurate, avoid unsupported claims, and respect regulatory constraints. Tailor tone to audience and channel, adapt to brand voice, and localize (currency, spelling) as needed. Provide 2–3 variants when brainstorming and a brief rationale. Ask clarifying questions if key details are missing.",
2980
+ "temperature": 0.6
2981
+ },
2982
+ {
2983
+ "modelName": "gpt-3.5-turbo-16k",
2984
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Craft persuasive, on-brand product and category descriptions, promo emails/ads, and microcopy. Use benefit-led messaging, clear CTAs, concise scannable structure (headline, bullets, body), and SEO best practices (natural keywords, meta title/description, H1/H2, alt text). Keep facts accurate, avoid unsupported claims, and respect regulatory constraints. Tailor tone to audience and channel, adapt to brand voice, and localize (currency, spelling) as needed. Provide 2–3 variants when brainstorming and a brief rationale. Ask clarifying questions if key details are missing.",
2985
+ "temperature": 0.8
2986
+ }
2987
+ ]
2948
2988
  }
2949
2989
  ],
2950
2990
  "preparationIds": [
@@ -2955,55 +2995,55 @@
2955
2995
  "preparations": [
2956
2996
  {
2957
2997
  "id": 1,
2958
- "promptbookVersion": "0.100.0-8",
2998
+ "promptbookVersion": "0.100.0",
2959
2999
  "usage": {
2960
3000
  "price": {
2961
- "value": 0.025372500000000003
3001
+ "value": 0.03521125
2962
3002
  },
2963
3003
  "input": {
2964
3004
  "tokensCount": {
2965
- "value": 8624
3005
+ "value": 5777
2966
3006
  },
2967
3007
  "charactersCount": {
2968
- "value": 42091
3008
+ "value": 2377
2969
3009
  },
2970
3010
  "wordsCount": {
2971
- "value": 5400
3011
+ "value": 348
2972
3012
  },
2973
3013
  "sentencesCount": {
2974
- "value": 416
3014
+ "value": 22
2975
3015
  },
2976
3016
  "linesCount": {
2977
- "value": 695
3017
+ "value": 65
2978
3018
  },
2979
3019
  "paragraphsCount": {
2980
3020
  "value": 20
2981
3021
  },
2982
3022
  "pagesCount": {
2983
- "value": 16
3023
+ "value": 2
2984
3024
  }
2985
3025
  },
2986
3026
  "output": {
2987
3027
  "tokensCount": {
2988
- "value": 305
3028
+ "value": 2799
2989
3029
  },
2990
3030
  "charactersCount": {
2991
- "value": 1249
3031
+ "value": 2958
2992
3032
  },
2993
3033
  "wordsCount": {
2994
- "value": 173
3034
+ "value": 414
2995
3035
  },
2996
3036
  "sentencesCount": {
2997
- "value": 14
3037
+ "value": 35
2998
3038
  },
2999
3039
  "linesCount": {
3000
- "value": 34
3040
+ "value": 64
3001
3041
  },
3002
3042
  "paragraphsCount": {
3003
- "value": 2
3043
+ "value": 1
3004
3044
  },
3005
3045
  "pagesCount": {
3006
- "value": 1
3046
+ "value": 2
3007
3047
  }
3008
3048
  }
3009
3049
  }
@@ -3051,7 +3091,7 @@
3051
3091
  "preparations": [
3052
3092
  {
3053
3093
  "id": 1,
3054
- "promptbookVersion": "0.100.0-8",
3094
+ "promptbookVersion": "0.100.0",
3055
3095
  "usage": {
3056
3096
  "price": {
3057
3097
  "value": 0
@@ -3157,27 +3197,33 @@
3157
3197
  "modelsRequirements": [
3158
3198
  {
3159
3199
  "modelVariant": "CHAT",
3160
- "modelName": "gpt-4",
3161
- "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.",
3162
- "temperature": 0.7
3163
- },
3164
- {
3165
- "modelVariant": "CHAT",
3166
- "modelName": "claude-3-opus-20240229",
3167
- "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.",
3168
- "temperature": 0.6
3169
- },
3170
- {
3171
- "modelVariant": "CHAT",
3172
- "modelName": "gemini-1.5-pro",
3173
- "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.",
3174
- "temperature": 0.7
3175
- },
3176
- {
3177
- "modelVariant": "CHAT",
3178
- "modelName": "claude-3-sonnet-20240229",
3179
- "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.",
3180
- "temperature": 0.6
3200
+ "models": [
3201
+ {
3202
+ "modelName": "gpt-4.1",
3203
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Diagnose problems with structured, data-driven thinking. Provide concise, actionable recommendations with step-by-step plans, estimated impact, and clear KPIs. Ask targeted clarifying questions when needed. Tailor advice to the user's industry, audience, budget, and timeline. Be pragmatic, prioritize ROI, and state key assumptions and risks. Use a professional yet approachable tone.",
3204
+ "temperature": 0.3
3205
+ },
3206
+ {
3207
+ "modelName": "chatgpt-4o-latest",
3208
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Blend analytical rigor with creative ideation. Provide actionable strategies, campaign concepts, messaging angles, and channel plans with expected impact and KPIs. Ask focused clarifying questions, tailor advice to context, and keep a friendly, persuasive tone while prioritizing ROI and practicality.",
3209
+ "temperature": 0.6
3210
+ },
3211
+ {
3212
+ "modelName": "gpt-4",
3213
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Deliver structured, evidence-based recommendations, including prioritization, timelines, budgets, KPIs, and risks. Clarify assumptions, ask for missing context, and keep outputs concise and implementation-ready.",
3214
+ "temperature": 0.35
3215
+ },
3216
+ {
3217
+ "modelName": "o4-mini",
3218
+ "systemMessage": "You are an experienced marketing specialist and business consultant focused on fast, cost-efficient analysis. Break down problems, quantify impact where possible, outline experiments, and propose lean tests with KPIs. Keep recommendations practical and ROI-driven.",
3219
+ "temperature": 0.25
3220
+ },
3221
+ {
3222
+ "modelName": "gpt-3.5-turbo-16k",
3223
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide clear, budget-conscious recommendations, step-by-step action plans, and KPIs. Ask brief clarifying questions when needed and keep responses concise and implementation-focused.",
3224
+ "temperature": 0.5
3225
+ }
3226
+ ]
3181
3227
  }
3182
3228
  ],
3183
3229
  "preparationIds": [
@@ -3188,55 +3234,55 @@
3188
3234
  "preparations": [
3189
3235
  {
3190
3236
  "id": 1,
3191
- "promptbookVersion": "0.100.0-8",
3237
+ "promptbookVersion": "0.100.0",
3192
3238
  "usage": {
3193
3239
  "price": {
3194
- "value": 0.0258575
3240
+ "value": 0.02844125
3195
3241
  },
3196
3242
  "input": {
3197
3243
  "tokensCount": {
3198
- "value": 8623
3244
+ "value": 5777
3199
3245
  },
3200
3246
  "charactersCount": {
3201
- "value": 42119
3247
+ "value": 2377
3202
3248
  },
3203
3249
  "wordsCount": {
3204
- "value": 5402
3250
+ "value": 348
3205
3251
  },
3206
3252
  "sentencesCount": {
3207
- "value": 416
3253
+ "value": 22
3208
3254
  },
3209
3255
  "linesCount": {
3210
- "value": 695
3256
+ "value": 65
3211
3257
  },
3212
3258
  "paragraphsCount": {
3213
3259
  "value": 20
3214
3260
  },
3215
3261
  "pagesCount": {
3216
- "value": 16
3262
+ "value": 2
3217
3263
  }
3218
3264
  },
3219
3265
  "output": {
3220
3266
  "tokensCount": {
3221
- "value": 344
3267
+ "value": 2122
3222
3268
  },
3223
3269
  "charactersCount": {
3224
- "value": 1443
3270
+ "value": 2135
3225
3271
  },
3226
3272
  "wordsCount": {
3227
- "value": 186
3273
+ "value": 267
3228
3274
  },
3229
3275
  "sentencesCount": {
3230
- "value": 16
3276
+ "value": 28
3231
3277
  },
3232
3278
  "linesCount": {
3233
- "value": 41
3279
+ "value": 54
3234
3280
  },
3235
3281
  "paragraphsCount": {
3236
- "value": 2
3282
+ "value": 1
3237
3283
  },
3238
3284
  "pagesCount": {
3239
- "value": 1
3285
+ "value": 2
3240
3286
  }
3241
3287
  }
3242
3288
  }
@@ -3307,33 +3353,28 @@
3307
3353
  "modelsRequirements": [
3308
3354
  {
3309
3355
  "modelVariant": "CHAT",
3310
- "modelName": "claude-3-opus-20240229",
3311
- "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.",
3312
- "temperature": 0.7
3313
- },
3314
- {
3315
- "modelVariant": "CHAT",
3316
- "modelName": "gemini-1.5-pro-latest",
3317
- "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.",
3318
- "temperature": 0.6
3319
- },
3320
- {
3321
- "modelVariant": "CHAT",
3322
- "modelName": "gpt-4",
3323
- "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.",
3324
- "temperature": 0.7
3325
- },
3326
- {
3327
- "modelVariant": "CHAT",
3328
- "modelName": "claude-3-sonnet-20240229",
3329
- "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.",
3330
- "temperature": 0.6
3331
- },
3332
- {
3333
- "modelVariant": "CHAT",
3334
- "modelName": "gpt-3.5-turbo",
3335
- "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.",
3336
- "temperature": 0.7
3356
+ "models": [
3357
+ {
3358
+ "modelName": "gpt-4.1",
3359
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Goals: resolve customer issues accurately and politely; ask for missing details; follow store policies; summarize next steps; and write clear, persuasive, on-brand product copy and emails. Style: friendly, concise, empathetic, and professional. Constraints: never invent policies or guarantees; flag uncertain facts; protect customer privacy; avoid overpromising. Adapt tone to the brand and locale; use active voice and clear CTAs; structure responses with short paragraphs or bullets when helpful.",
3360
+ "temperature": 0.5
3361
+ },
3362
+ {
3363
+ "modelName": "chatgpt-4o-latest",
3364
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Goals: resolve customer issues accurately and politely; ask for missing details; follow store policies; summarize next steps; and write clear, persuasive, on-brand product copy and emails. Style: friendly, concise, empathetic, and professional. Constraints: never invent policies or guarantees; flag uncertain facts; protect customer privacy; avoid overpromising. Adapt tone to the brand and locale; use active voice and clear CTAs; structure responses with short paragraphs or bullets when helpful.",
3365
+ "temperature": 0.6
3366
+ },
3367
+ {
3368
+ "modelName": "gpt-4",
3369
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Goals: resolve customer issues accurately and politely; ask for missing details; follow store policies; summarize next steps; and write clear, persuasive, on-brand product copy and emails. Style: friendly, concise, empathetic, and professional. Constraints: never invent policies or guarantees; flag uncertain facts; protect customer privacy; avoid overpromising. Adapt tone to the brand and locale; use active voice and clear CTAs; structure responses with short paragraphs or bullets when helpful.",
3370
+ "temperature": 0.5
3371
+ },
3372
+ {
3373
+ "modelName": "gpt-3.5-turbo-1106",
3374
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-commerce shop. Goals: resolve customer issues accurately and politely; ask for missing details; follow store policies; summarize next steps; and write clear, persuasive, on-brand product copy and emails. Style: friendly, concise, empathetic, and professional. Constraints: never invent policies or guarantees; flag uncertain facts; protect customer privacy; avoid overpromising. Adapt tone to the brand and locale; use active voice and clear CTAs; structure responses with short paragraphs or bullets when helpful.",
3375
+ "temperature": 0.5
3376
+ }
3377
+ ]
3337
3378
  }
3338
3379
  ],
3339
3380
  "preparationIds": [
@@ -3344,52 +3385,52 @@
3344
3385
  "preparations": [
3345
3386
  {
3346
3387
  "id": 1,
3347
- "promptbookVersion": "0.100.0-8",
3388
+ "promptbookVersion": "0.100.0",
3348
3389
  "usage": {
3349
3390
  "price": {
3350
- "value": 0.0265325
3391
+ "value": 0.029136250000000002
3351
3392
  },
3352
3393
  "input": {
3353
3394
  "tokensCount": {
3354
- "value": 8628
3395
+ "value": 5781
3355
3396
  },
3356
3397
  "charactersCount": {
3357
- "value": 42127
3398
+ "value": 2377
3358
3399
  },
3359
3400
  "wordsCount": {
3360
- "value": 5404
3401
+ "value": 348
3361
3402
  },
3362
3403
  "sentencesCount": {
3363
- "value": 416
3404
+ "value": 22
3364
3405
  },
3365
3406
  "linesCount": {
3366
- "value": 696
3407
+ "value": 65
3367
3408
  },
3368
3409
  "paragraphsCount": {
3369
3410
  "value": 20
3370
3411
  },
3371
3412
  "pagesCount": {
3372
- "value": 16
3413
+ "value": 2
3373
3414
  }
3374
3415
  },
3375
3416
  "output": {
3376
3417
  "tokensCount": {
3377
- "value": 397
3418
+ "value": 2191
3378
3419
  },
3379
3420
  "charactersCount": {
3380
- "value": 1589
3421
+ "value": 2771
3381
3422
  },
3382
3423
  "wordsCount": {
3383
- "value": 214
3424
+ "value": 374
3384
3425
  },
3385
3426
  "sentencesCount": {
3386
- "value": 18
3427
+ "value": 27
3387
3428
  },
3388
3429
  "linesCount": {
3389
- "value": 47
3430
+ "value": 60
3390
3431
  },
3391
3432
  "paragraphsCount": {
3392
- "value": 2
3433
+ "value": 1
3393
3434
  },
3394
3435
  "pagesCount": {
3395
3436
  "value": 2
@@ -3640,27 +3681,33 @@
3640
3681
  "modelsRequirements": [
3641
3682
  {
3642
3683
  "modelVariant": "CHAT",
3643
- "modelName": "claude-3-opus-20240229",
3644
- "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.",
3645
- "temperature": 0.7
3646
- },
3647
- {
3648
- "modelVariant": "CHAT",
3649
- "modelName": "gpt-4",
3650
- "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.",
3651
- "temperature": 0.6
3652
- },
3653
- {
3654
- "modelVariant": "CHAT",
3655
- "modelName": "gemini-1.5-pro",
3656
- "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.",
3657
- "temperature": 0.7
3658
- },
3659
- {
3660
- "modelVariant": "CHAT",
3661
- "modelName": "claude-3-sonnet-20240229",
3662
- "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.",
3663
- "temperature": 0.6
3684
+ "models": [
3685
+ {
3686
+ "modelName": "gpt-4.1",
3687
+ "systemMessage": "You are a professional linguist and experienced Esperantist. Provide accurate, concise explanations across phonetics (use IPA), morphology (Leipzig glossing), syntax, semantics, typology, and etymology. Translate to/from Esperanto and other languages; prefer standard Esperanto orthography (ĉ ĝ ĥ ĵ ŝ ŭ) and offer x‑system fallbacks when relevant. When teaching, include minimal pairs, interlinear glosses, and idiomatic translations. Be culturally neutral, verify claims, note uncertainty, and ask clarifying questions when needed.",
3688
+ "temperature": 0.4
3689
+ },
3690
+ {
3691
+ "modelName": "chatgpt-4o-latest",
3692
+ "systemMessage": "You are a friendly, expert linguist and seasoned Esperantist. Give precise analyses (IPA, Leipzig glossing), high‑quality translations to/from Esperanto, and clear, pedagogical examples. Use standard Esperanto orthography (ĉ ĝ ĥ ĵ ŝ ŭ) with optional x‑system. Be concise, cite uncertainties, and ask clarifying questions when needed.",
3693
+ "temperature": 0.5
3694
+ },
3695
+ {
3696
+ "modelName": "gpt-4",
3697
+ "systemMessage": "You are a professional linguist and experienced Esperantist. Provide rigorous yet concise explanations (IPA for phonetics, Leipzig glossing for morphology), careful translations to/from Esperanto using standard orthography (ĉ ĝ ĥ ĵ ŝ ŭ) with x‑system fallback, and illustrative examples with interlinear glosses and idiomatic translations. Be neutral, verify claims, and clarify ambiguities.",
3698
+ "temperature": 0.4
3699
+ },
3700
+ {
3701
+ "modelName": "o4-mini",
3702
+ "systemMessage": "You are a linguistics specialist and Esperantist focused on clear, accurate analysis. For formal tasks (phonology, morphology, syntax, typology), provide structured reasoning and succinct conclusions; avoid speculation and note uncertainty. Translate to/from Esperanto using standard orthography (ĉ ĝ ĥ ĵ ŝ ŭ) with optional x‑system, and include interlinear glossing when helpful.",
3703
+ "temperature": 0.3
3704
+ },
3705
+ {
3706
+ "modelName": "gpt-3.5-turbo-16k",
3707
+ "systemMessage": "You are a knowledgeable linguist and Esperantist. Give concise, accurate explanations (IPA, Leipzig glossing), careful translations to/from Esperanto with standard orthography (ĉ ĝ ĥ ĵ ŝ ŭ) and optional x‑system, and brief example sentences with idiomatic translations. Ask clarifying questions when needed and avoid unsupported claims.",
3708
+ "temperature": 0.3
3709
+ }
3710
+ ]
3664
3711
  }
3665
3712
  ],
3666
3713
  "preparationIds": [
@@ -3671,55 +3718,55 @@
3671
3718
  "preparations": [
3672
3719
  {
3673
3720
  "id": 1,
3674
- "promptbookVersion": "0.100.0-8",
3721
+ "promptbookVersion": "0.100.0",
3675
3722
  "usage": {
3676
3723
  "price": {
3677
- "value": 0.026310000000000004
3724
+ "value": 0.03492125
3678
3725
  },
3679
3726
  "input": {
3680
3727
  "tokensCount": {
3681
- "value": 8624
3728
+ "value": 5777
3682
3729
  },
3683
3730
  "charactersCount": {
3684
- "value": 42087
3731
+ "value": 2377
3685
3732
  },
3686
3733
  "wordsCount": {
3687
- "value": 5399
3734
+ "value": 348
3688
3735
  },
3689
3736
  "sentencesCount": {
3690
- "value": 416
3737
+ "value": 22
3691
3738
  },
3692
3739
  "linesCount": {
3693
- "value": 695
3740
+ "value": 65
3694
3741
  },
3695
3742
  "paragraphsCount": {
3696
3743
  "value": 20
3697
3744
  },
3698
3745
  "pagesCount": {
3699
- "value": 16
3746
+ "value": 2
3700
3747
  }
3701
3748
  },
3702
3749
  "output": {
3703
3750
  "tokensCount": {
3704
- "value": 380
3751
+ "value": 2770
3705
3752
  },
3706
3753
  "charactersCount": {
3707
- "value": 1449
3754
+ "value": 2485
3708
3755
  },
3709
3756
  "wordsCount": {
3710
- "value": 190
3757
+ "value": 326
3711
3758
  },
3712
3759
  "sentencesCount": {
3713
- "value": 17
3760
+ "value": 26
3714
3761
  },
3715
3762
  "linesCount": {
3716
- "value": 40
3763
+ "value": 59
3717
3764
  },
3718
3765
  "paragraphsCount": {
3719
- "value": 2
3766
+ "value": 1
3720
3767
  },
3721
3768
  "pagesCount": {
3722
- "value": 1
3769
+ "value": 2
3723
3770
  }
3724
3771
  }
3725
3772
  }
@@ -3781,33 +3828,28 @@
3781
3828
  "modelsRequirements": [
3782
3829
  {
3783
3830
  "modelVariant": "CHAT",
3784
- "modelName": "claude-3-opus-20240229",
3785
- "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.",
3786
- "temperature": 0.8
3787
- },
3788
- {
3789
- "modelVariant": "CHAT",
3790
- "modelName": "gpt-4",
3791
- "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.",
3792
- "temperature": 0.7
3793
- },
3794
- {
3795
- "modelVariant": "CHAT",
3796
- "modelName": "gemini-1.5-pro",
3797
- "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.",
3798
- "temperature": 0.75
3799
- },
3800
- {
3801
- "modelVariant": "CHAT",
3802
- "modelName": "claude-3-sonnet-20240229",
3803
- "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.",
3804
- "temperature": 0.7
3805
- },
3806
- {
3807
- "modelVariant": "CHAT",
3808
- "modelName": "gpt-3.5-turbo",
3809
- "systemMessage": "You are a talented poet and storyteller. Craft your responses with creative flair, vivid descriptions, and engaging narrative elements.",
3810
- "temperature": 0.8
3831
+ "models": [
3832
+ {
3833
+ "modelName": "gpt-4.1",
3834
+ "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, sensory detail, and musicality. Match genre, form, and voice to the request (e.g., sonnet, free verse, microfiction, myth). Prioritize originality and emotional clarity; avoid clichés and plagiarism. If style, audience, or constraints are unclear, ask a brief clarifying question. Offer one primary draft and, when helpful, a concise alternate in a different tone. When editing, preserve intent and provide line-level suggestions with brief rationale. Default to concise responses unless a longer piece is requested.",
3835
+ "temperature": 0.85
3836
+ },
3837
+ {
3838
+ "modelName": "gpt-4",
3839
+ "systemMessage": "You are an accomplished poet and storyteller. Compose with strong imagery, rhythm, and voice. Adapt form and tone to the brief (haiku, sonnet, prose vignette, fable, etc.). Ensure originality and emotional resonance; avoid clichés and any imitative copying. Ask a short clarifying question when constraints are ambiguous. Provide a main draft and optionally a brief alternate in a distinct style. When revising user text, keep intent intact and suggest precise line edits with reasons.",
3840
+ "temperature": 0.9
3841
+ },
3842
+ {
3843
+ "modelName": "chatgpt-4o-latest",
3844
+ "systemMessage": "You are an accomplished poet and storyteller. Lean into sensory detail, metaphor, and cadence. Tailor voice, form, and length to the request, and aim for fresh, original phrasing. If the brief is unclear, ask one concise question to refine tone, audience, or constraints. Provide one primary draft and a short alternate take when useful. When editing, preserve the author’s intent and offer specific, minimal, high-impact improvements.",
3845
+ "temperature": 0.9
3846
+ },
3847
+ {
3848
+ "modelName": "gpt-3.5-turbo-16k",
3849
+ "systemMessage": "You are an accomplished poet and storyteller focused on clarity, musicality, and vivid imagery. Match form and tone to the prompt, ask a brief clarifying question if needed, and avoid clichés or derivative phrasing. Provide one main draft and a concise alternate when helpful. When editing, keep the writer’s voice while suggesting concrete line-level improvements.",
3850
+ "temperature": 0.95
3851
+ }
3852
+ ]
3811
3853
  }
3812
3854
  ],
3813
3855
  "preparationIds": [
@@ -3818,52 +3860,52 @@
3818
3860
  "preparations": [
3819
3861
  {
3820
3862
  "id": 1,
3821
- "promptbookVersion": "0.100.0-8",
3863
+ "promptbookVersion": "0.100.0",
3822
3864
  "usage": {
3823
3865
  "price": {
3824
- "value": 0.0266075
3866
+ "value": 0.029070000000000002
3825
3867
  },
3826
3868
  "input": {
3827
3869
  "tokensCount": {
3828
- "value": 8623
3870
+ "value": 5776
3829
3871
  },
3830
3872
  "charactersCount": {
3831
- "value": 42099
3873
+ "value": 2377
3832
3874
  },
3833
3875
  "wordsCount": {
3834
- "value": 5401
3876
+ "value": 348
3835
3877
  },
3836
3878
  "sentencesCount": {
3837
- "value": 416
3879
+ "value": 22
3838
3880
  },
3839
3881
  "linesCount": {
3840
- "value": 695
3882
+ "value": 65
3841
3883
  },
3842
3884
  "paragraphsCount": {
3843
3885
  "value": 20
3844
3886
  },
3845
3887
  "pagesCount": {
3846
- "value": 16
3888
+ "value": 2
3847
3889
  }
3848
3890
  },
3849
3891
  "output": {
3850
3892
  "tokensCount": {
3851
- "value": 404
3893
+ "value": 2185
3852
3894
  },
3853
3895
  "charactersCount": {
3854
- "value": 1485
3896
+ "value": 2293
3855
3897
  },
3856
3898
  "wordsCount": {
3857
- "value": 204
3899
+ "value": 328
3858
3900
  },
3859
3901
  "sentencesCount": {
3860
- "value": 18
3902
+ "value": 35
3861
3903
  },
3862
3904
  "linesCount": {
3863
- "value": 46
3905
+ "value": 54
3864
3906
  },
3865
3907
  "paragraphsCount": {
3866
- "value": 2
3908
+ "value": 1
3867
3909
  },
3868
3910
  "pagesCount": {
3869
3911
  "value": 2