@promptbook/templates 0.100.4-0 → 0.101.0-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 (81) hide show
  1. package/esm/index.es.js +177 -141
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/src/_packages/components.index.d.ts +4 -0
  4. package/esm/typings/src/_packages/core.index.d.ts +4 -2
  5. package/esm/typings/src/_packages/markdown-utils.index.d.ts +14 -0
  6. package/esm/typings/src/_packages/types.index.d.ts +4 -6
  7. package/esm/typings/src/book-2.0/agent-source/AgentBasicInformation.d.ts +21 -0
  8. package/esm/typings/src/book-2.0/{commitments/_misc → agent-source}/AgentModelRequirements.d.ts +1 -1
  9. package/esm/typings/src/book-2.0/{commitments/_misc → agent-source}/AgentSourceParseResult.d.ts +3 -1
  10. package/esm/typings/src/book-2.0/{commitments/_misc → agent-source}/createAgentModelRequirements.d.ts +2 -2
  11. package/esm/typings/src/book-2.0/{commitments/_misc → agent-source}/createAgentModelRequirementsWithCommitments.d.ts +3 -3
  12. package/esm/typings/src/book-2.0/{commitments/_misc → agent-source}/createCommitmentRegex.d.ts +2 -2
  13. package/esm/typings/src/book-2.0/agent-source/extractMetaLinks.d.ts +8 -0
  14. package/esm/typings/src/book-2.0/agent-source/parseAgentSource.d.ts +4 -19
  15. package/esm/typings/src/book-2.0/agent-source/parseAgentSourceWithCommitments.d.ts +9 -0
  16. package/esm/typings/src/book-2.0/commitments/ACTION/ACTION.d.ts +1 -1
  17. package/esm/typings/src/book-2.0/commitments/FORMAT/FORMAT.d.ts +1 -1
  18. package/esm/typings/src/book-2.0/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +1 -1
  19. package/esm/typings/src/book-2.0/commitments/META_IMAGE/META_IMAGE.d.ts +1 -1
  20. package/esm/typings/src/book-2.0/commitments/META_LINK/META_LINK.d.ts +1 -1
  21. package/esm/typings/src/book-2.0/commitments/MODEL/MODEL.d.ts +1 -1
  22. package/esm/typings/src/book-2.0/commitments/NOTE/NOTE.d.ts +1 -1
  23. package/esm/typings/src/book-2.0/commitments/PERSONA/PERSONA.d.ts +1 -1
  24. package/esm/typings/src/book-2.0/commitments/RULE/RULE.d.ts +1 -1
  25. package/esm/typings/src/book-2.0/commitments/SAMPLE/SAMPLE.d.ts +1 -1
  26. package/esm/typings/src/book-2.0/commitments/STYLE/STYLE.d.ts +1 -1
  27. package/esm/typings/src/book-2.0/commitments/_base/BaseCommitmentDefinition.d.ts +1 -1
  28. package/esm/typings/src/book-2.0/commitments/_base/CommitmentDefinition.d.ts +1 -1
  29. package/esm/typings/src/book-2.0/commitments/_base/NotYetImplementedCommitmentDefinition.d.ts +1 -1
  30. package/esm/typings/src/book-2.0/commitments/{_misc → _base}/ParsedCommitment.d.ts +1 -1
  31. package/esm/typings/src/book-2.0/commitments/_base/createEmptyAgentModelRequirements.d.ts +1 -1
  32. package/esm/typings/src/book-2.0/utils/extractAgentMetadata.d.ts +17 -0
  33. package/esm/typings/src/book-2.0/utils/extractProfileImageFromSystemMessage.d.ts +12 -0
  34. package/esm/typings/src/book-2.0/utils/generateGravatarUrl.d.ts +10 -0
  35. package/esm/typings/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +10 -0
  36. package/esm/typings/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +1 -1
  37. package/esm/typings/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +2 -8
  38. package/esm/typings/src/book-components/Chat/Chat/ChatProps.d.ts +6 -0
  39. package/esm/typings/src/book-components/Chat/examples/ChatMarkdownDemo.d.ts +16 -0
  40. package/esm/typings/src/book-components/Chat/types/ChatParticipant.d.ts +1 -1
  41. package/esm/typings/src/book-components/Chat/utils/renderMarkdown.d.ts +21 -0
  42. package/esm/typings/src/book-components/Chat/utils/renderMarkdown.test.d.ts +1 -0
  43. package/esm/typings/src/llm-providers/_common/profiles/llmProviderProfiles.d.ts +1 -1
  44. package/esm/typings/src/utils/expectation-counters/countCharacters.d.ts +2 -1
  45. package/esm/typings/src/utils/expectation-counters/countLines.d.ts +2 -1
  46. package/esm/typings/src/utils/expectation-counters/countPages.d.ts +2 -1
  47. package/esm/typings/src/utils/expectation-counters/countParagraphs.d.ts +2 -1
  48. package/esm/typings/src/utils/expectation-counters/countSentences.d.ts +1 -0
  49. package/esm/typings/src/utils/expectation-counters/countWords.d.ts +3 -1
  50. package/esm/typings/src/utils/markdown/escapeMarkdownBlock.d.ts +2 -0
  51. package/esm/typings/src/utils/markdown/humanizeAiText.d.ts +13 -0
  52. package/esm/typings/src/utils/markdown/humanizeAiText.test.d.ts +1 -0
  53. package/esm/typings/src/utils/markdown/humanizeAiTextEllipsis.d.ts +13 -0
  54. package/esm/typings/src/utils/markdown/humanizeAiTextEmdashed.d.ts +13 -0
  55. package/esm/typings/src/utils/markdown/humanizeAiTextQuotes.d.ts +13 -0
  56. package/esm/typings/src/utils/markdown/humanizeAiTextWhitespace.d.ts +13 -0
  57. package/esm/typings/src/utils/markdown/prettifyMarkdown.d.ts +8 -0
  58. package/esm/typings/src/utils/markdown/promptbookifyAiText.d.ts +12 -0
  59. package/esm/typings/src/utils/markdown/promptbookifyAiText.test.d.ts +1 -0
  60. package/esm/typings/src/utils/markdown/removeMarkdownLinks.d.ts +11 -0
  61. package/esm/typings/src/utils/markdown/removeMarkdownLinks.test.d.ts +4 -0
  62. package/esm/typings/src/utils/normalization/capitalize.d.ts +2 -0
  63. package/esm/typings/src/utils/normalization/decapitalize.d.ts +3 -1
  64. package/esm/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +2 -0
  65. package/esm/typings/src/utils/normalization/normalizeTo_snake_case.d.ts +2 -0
  66. package/esm/typings/src/utils/normalization/normalizeWhitespaces.d.ts +2 -0
  67. package/esm/typings/src/utils/normalization/removeDiacritics.d.ts +2 -0
  68. package/esm/typings/src/utils/parseNumber.d.ts +1 -0
  69. package/esm/typings/src/utils/removeEmojis.d.ts +2 -0
  70. package/esm/typings/src/utils/removeQuotes.d.ts +1 -0
  71. package/esm/typings/src/utils/serialization/deepClone.d.ts +1 -0
  72. package/esm/typings/src/utils/trimCodeBlock.d.ts +1 -0
  73. package/esm/typings/src/utils/validators/url/isValidUrl.d.ts +1 -0
  74. package/esm/typings/src/utils/validators/uuid/isValidUuid.d.ts +2 -0
  75. package/esm/typings/src/version.d.ts +1 -1
  76. package/package.json +2 -2
  77. package/umd/index.umd.js +182 -145
  78. package/umd/index.umd.js.map +1 -1
  79. package/esm/typings/src/book-2.0/commitments/_misc/parseAgentSourceWithCommitments.d.ts +0 -24
  80. package/esm/typings/src/book-2.0/utils/profileImageUtils.d.ts +0 -39
  81. /package/esm/typings/src/book-2.0/{commitments/_misc → agent-source}/removeCommentsFromSystemMessage.d.ts +0 -0
package/esm/index.es.js CHANGED
@@ -1,7 +1,4 @@
1
1
  import spaceTrim, { spaceTrim as spaceTrim$1 } from 'spacetrim';
2
- import parserHtml from 'prettier/parser-html';
3
- import parserMarkdown from 'prettier/parser-markdown';
4
- import { format } from 'prettier/standalone';
5
2
 
6
3
  // ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten
7
4
  /**
@@ -17,7 +14,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
17
14
  * @generated
18
15
  * @see https://github.com/webgptorg/promptbook
19
16
  */
20
- const PROMPTBOOK_ENGINE_VERSION = '0.100.4-0';
17
+ const PROMPTBOOK_ENGINE_VERSION = '0.101.0-1';
21
18
  /**
22
19
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
23
20
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -97,6 +94,7 @@ function isValidFilePath(filename) {
97
94
  /**
98
95
  * Tests if given string is valid URL.
99
96
  *
97
+ * Note: [🔂] This function is idempotent.
100
98
  * Note: Dataurl are considered perfectly valid.
101
99
  * Note: There are two similar functions:
102
100
  * - `isValidUrl` which tests any URL
@@ -394,8 +392,18 @@ function validatePipelineString(pipelineString) {
394
392
  * @private withing the package because of HUGE size of prettier dependency
395
393
  */
396
394
  function prettifyMarkdown(content) {
395
+ // In browser/Next.js environments, just return the original content
396
+ // since prettier parsers are not available and would cause bundling issues
397
+ if (typeof window !== 'undefined') {
398
+ return content;
399
+ }
397
400
  try {
398
- return format(content, {
401
+ // Use dynamic require to avoid static imports that cause bundling issues
402
+ // This will only work in Node.js environments
403
+ const prettierStandalone = eval('require')('prettier/standalone');
404
+ const parserMarkdown = eval('require')('prettier/parser-markdown');
405
+ const parserHtml = eval('require')('prettier/parser-html');
406
+ return prettierStandalone.format(content, {
399
407
  parser: 'markdown',
400
408
  plugins: [parserMarkdown, parserHtml],
401
409
  // TODO: DRY - make some import or auto-copy of .prettierrc
@@ -423,6 +431,8 @@ function prettifyMarkdown(content) {
423
431
  /**
424
432
  * Makes first letter of a string uppercase
425
433
  *
434
+ * Note: [🔂] This function is idempotent.
435
+ *
426
436
  * @public exported from `@promptbook/utils`
427
437
  */
428
438
  function capitalize(word) {
@@ -752,6 +762,7 @@ function checkSerializableAsJson(options) {
752
762
  /**
753
763
  * Creates a deep clone of the given object
754
764
  *
765
+ * Note: [🔂] This function is idempotent.
755
766
  * Note: This method only works for objects that are fully serializable to JSON and do not contain functions, Dates, or special types.
756
767
  *
757
768
  * @param objectValue The object to clone.
@@ -1550,30 +1561,40 @@ function getTemplatesPipelineCollection() {
1550
1561
  {
1551
1562
  "modelVariant": "CHAT",
1552
1563
  "models": [
1553
- {
1554
- "modelName": "gpt-4.1",
1555
- "systemMessage": "You are a senior AI engineer and developer of the Promptbook Project. Act as a pragmatic virtual assistant: be concise, accurate, and reproducible. Focus on prompt engineering patterns, LLM integration, and developer workflows. State assumptions, ask targeted clarifying questions when requirements are ambiguous, and include example prompts or code when useful.",
1556
- "temperature": 0.2
1557
- },
1558
1564
  {
1559
1565
  "modelName": "chatgpt-4o-latest",
1560
- "systemMessage": "You are a collaborative developer of the Promptbook Project. Provide practical, well-structured guidance on prompt design and implementation while remaining friendly and efficient. Offer alternative prompt patterns, trade-offs, and examples. Keep outputs concise and actionable.",
1566
+ "systemMessage": "You are a senior AI engineer assisting a developer of the Promptbook Project. Act as a reliable virtual assistant: concise, tool-aware, and task-oriented. Follow Promptbook-style structured prompting, ask clarifying questions when specs are ambiguous, and prefer deterministic, reproducible answers. State assumptions, avoid hallucinations, and outline stepwise plans only when helpful.",
1561
1567
  "temperature": 0.4
1562
1568
  },
1563
1569
  {
1564
- "modelName": "o4-mini",
1565
- "systemMessage": "You are a fast, cost-efficient assistant and developer of the Promptbook Project. Break problems into clear steps, prioritize determinism and brevity, and supply minimal but sufficient examples for prompt patterns and code.",
1566
- "temperature": 0.25
1570
+ "modelName": "gpt-4.1",
1571
+ "systemMessage": "You are an expert assistant for a Promptbook Project developer. Provide precise, production-ready guidance with strong instruction following. Use clear bullet points, confirm requirements, and keep outputs deterministic and reproducible. Make assumptions explicit and minimize verbosity.",
1572
+ "temperature": 0.3
1573
+ },
1574
+ {
1575
+ "modelName": "gpt-realtime",
1576
+ "systemMessage": "You are a low-latency conversational assistant for a Promptbook developer. Keep replies brief and natural, confirm understanding, and summarize next actions. Use short sentences suitable for TTS and live interaction. Be helpful but avoid unnecessary detail unless requested.",
1577
+ "temperature": 0.6
1567
1578
  },
1568
1579
  {
1569
1580
  "modelName": "gpt-4",
1570
- "systemMessage": "You are a reliable, detail-oriented developer of the Promptbook Project. Deliver high-quality, technically precise assistance for prompt engineering, tooling, and integration. Keep explanations tight, surface assumptions, and provide clean examples.",
1571
- "temperature": 0.25
1581
+ "systemMessage": "You are a dependable engineering assistant for a Promptbook Project developer. Deliver accurate, concise solutions, ask targeted clarifying questions, and avoid speculative content. Provide minimal but sufficient reasoning and practical code or command examples when needed.",
1582
+ "temperature": 0.3
1583
+ },
1584
+ {
1585
+ "modelName": "o4-mini",
1586
+ "systemMessage": "You are a fast reasoning assistant supporting a Promptbook developer. Apply lightweight, targeted reasoning only when necessary. Present final answers succinctly; include a brief reasoning summary only if requested. Optimize for speed and clarity.",
1587
+ "temperature": 0.2
1572
1588
  },
1573
1589
  {
1574
1590
  "modelName": "gpt-3.5-turbo-16k",
1575
- "systemMessage": "You are a budget-conscious developer of the Promptbook Project. Be concise and factual, avoid speculative claims, and ask for missing details. Provide lightweight prompt patterns and short code examples.",
1576
- "temperature": 0.3
1591
+ "systemMessage": "You are a cost-efficient assistant for a Promptbook Project developer. Be concise and deterministic, confirm missing details, and avoid unnecessary creativity. Prefer bullet points and actionable steps.",
1592
+ "temperature": 0.4
1593
+ },
1594
+ {
1595
+ "modelName": "o3",
1596
+ "systemMessage": "You are an escalation assistant for complex tasks in the Promptbook Project. Perform deep internal reasoning, verify steps, and deliver crisp conclusions with minimal exposition. Only surface brief justifications when asked.",
1597
+ "temperature": 0.2
1577
1598
  }
1578
1599
  ]
1579
1600
  }
@@ -1586,10 +1607,10 @@ function getTemplatesPipelineCollection() {
1586
1607
  "preparations": [
1587
1608
  {
1588
1609
  "id": 1,
1589
- "promptbookVersion": "0.100.3-0",
1610
+ "promptbookVersion": "0.101.0-0",
1590
1611
  "usage": {
1591
1612
  "price": {
1592
- "value": 0.0343725
1613
+ "value": 0.033322500000000005
1593
1614
  },
1594
1615
  "input": {
1595
1616
  "tokensCount": {
@@ -1616,19 +1637,19 @@ function getTemplatesPipelineCollection() {
1616
1637
  },
1617
1638
  "output": {
1618
1639
  "tokensCount": {
1619
- "value": 2715
1640
+ "value": 2610
1620
1641
  },
1621
1642
  "charactersCount": {
1622
- "value": 1830
1643
+ "value": 2597
1623
1644
  },
1624
1645
  "wordsCount": {
1625
- "value": 234
1646
+ "value": 326
1626
1647
  },
1627
1648
  "sentencesCount": {
1628
- "value": 24
1649
+ "value": 35
1629
1650
  },
1630
1651
  "linesCount": {
1631
- "value": 49
1652
+ "value": 67
1632
1653
  },
1633
1654
  "paragraphsCount": {
1634
1655
  "value": 1
@@ -2115,30 +2136,40 @@ function getTemplatesPipelineCollection() {
2115
2136
  {
2116
2137
  "modelVariant": "CHAT",
2117
2138
  "models": [
2118
- {
2119
- "modelName": "gpt-4.1",
2120
- "systemMessage": "You are a senior AI engineer and developer of the Promptbook Project. Act as a pragmatic virtual assistant: be concise, accurate, and reproducible. Focus on prompt engineering patterns, LLM integration, and developer workflows. State assumptions, ask targeted clarifying questions when requirements are ambiguous, and include example prompts or code when useful.",
2121
- "temperature": 0.2
2122
- },
2123
2139
  {
2124
2140
  "modelName": "chatgpt-4o-latest",
2125
- "systemMessage": "You are a collaborative developer of the Promptbook Project. Provide practical, well-structured guidance on prompt design and implementation while remaining friendly and efficient. Offer alternative prompt patterns, trade-offs, and examples. Keep outputs concise and actionable.",
2141
+ "systemMessage": "You are a senior AI engineer assisting a developer of the Promptbook Project. Act as a reliable virtual assistant: concise, tool-aware, and task-oriented. Follow Promptbook-style structured prompting, ask clarifying questions when specs are ambiguous, and prefer deterministic, reproducible answers. State assumptions, avoid hallucinations, and outline stepwise plans only when helpful.",
2126
2142
  "temperature": 0.4
2127
2143
  },
2128
2144
  {
2129
- "modelName": "o4-mini",
2130
- "systemMessage": "You are a fast, cost-efficient assistant and developer of the Promptbook Project. Break problems into clear steps, prioritize determinism and brevity, and supply minimal but sufficient examples for prompt patterns and code.",
2131
- "temperature": 0.25
2145
+ "modelName": "gpt-4.1",
2146
+ "systemMessage": "You are an expert assistant for a Promptbook Project developer. Provide precise, production-ready guidance with strong instruction following. Use clear bullet points, confirm requirements, and keep outputs deterministic and reproducible. Make assumptions explicit and minimize verbosity.",
2147
+ "temperature": 0.3
2148
+ },
2149
+ {
2150
+ "modelName": "gpt-realtime",
2151
+ "systemMessage": "You are a low-latency conversational assistant for a Promptbook developer. Keep replies brief and natural, confirm understanding, and summarize next actions. Use short sentences suitable for TTS and live interaction. Be helpful but avoid unnecessary detail unless requested.",
2152
+ "temperature": 0.6
2132
2153
  },
2133
2154
  {
2134
2155
  "modelName": "gpt-4",
2135
- "systemMessage": "You are a reliable, detail-oriented developer of the Promptbook Project. Deliver high-quality, technically precise assistance for prompt engineering, tooling, and integration. Keep explanations tight, surface assumptions, and provide clean examples.",
2136
- "temperature": 0.25
2156
+ "systemMessage": "You are a dependable engineering assistant for a Promptbook Project developer. Deliver accurate, concise solutions, ask targeted clarifying questions, and avoid speculative content. Provide minimal but sufficient reasoning and practical code or command examples when needed.",
2157
+ "temperature": 0.3
2158
+ },
2159
+ {
2160
+ "modelName": "o4-mini",
2161
+ "systemMessage": "You are a fast reasoning assistant supporting a Promptbook developer. Apply lightweight, targeted reasoning only when necessary. Present final answers succinctly; include a brief reasoning summary only if requested. Optimize for speed and clarity.",
2162
+ "temperature": 0.2
2137
2163
  },
2138
2164
  {
2139
2165
  "modelName": "gpt-3.5-turbo-16k",
2140
- "systemMessage": "You are a budget-conscious developer of the Promptbook Project. Be concise and factual, avoid speculative claims, and ask for missing details. Provide lightweight prompt patterns and short code examples.",
2141
- "temperature": 0.3
2166
+ "systemMessage": "You are a cost-efficient assistant for a Promptbook Project developer. Be concise and deterministic, confirm missing details, and avoid unnecessary creativity. Prefer bullet points and actionable steps.",
2167
+ "temperature": 0.4
2168
+ },
2169
+ {
2170
+ "modelName": "o3",
2171
+ "systemMessage": "You are an escalation assistant for complex tasks in the Promptbook Project. Perform deep internal reasoning, verify steps, and deliver crisp conclusions with minimal exposition. Only surface brief justifications when asked.",
2172
+ "temperature": 0.2
2142
2173
  }
2143
2174
  ]
2144
2175
  }
@@ -2151,10 +2182,10 @@ function getTemplatesPipelineCollection() {
2151
2182
  "preparations": [
2152
2183
  {
2153
2184
  "id": 1,
2154
- "promptbookVersion": "0.100.3-0",
2185
+ "promptbookVersion": "0.101.0-0",
2155
2186
  "usage": {
2156
2187
  "price": {
2157
- "value": 0.0343725
2188
+ "value": 0.033322500000000005
2158
2189
  },
2159
2190
  "input": {
2160
2191
  "tokensCount": {
@@ -2181,19 +2212,19 @@ function getTemplatesPipelineCollection() {
2181
2212
  },
2182
2213
  "output": {
2183
2214
  "tokensCount": {
2184
- "value": 2715
2215
+ "value": 2610
2185
2216
  },
2186
2217
  "charactersCount": {
2187
- "value": 1830
2218
+ "value": 2597
2188
2219
  },
2189
2220
  "wordsCount": {
2190
- "value": 234
2221
+ "value": 326
2191
2222
  },
2192
2223
  "sentencesCount": {
2193
- "value": 24
2224
+ "value": 35
2194
2225
  },
2195
2226
  "linesCount": {
2196
- "value": 49
2227
+ "value": 67
2197
2228
  },
2198
2229
  "paragraphsCount": {
2199
2230
  "value": 1
@@ -2823,22 +2854,27 @@ function getTemplatesPipelineCollection() {
2823
2854
  "models": [
2824
2855
  {
2825
2856
  "modelName": "gpt-4.1",
2826
- "systemMessage": "You are a professional linguist and meticulous text corrector.\n- Mission: improve grammar, syntax, punctuation, usage, register, clarity, and consistency while preserving the author’s meaning and tone.\n- Output: by default, return the fully corrected text only. If the user asks for explanations, add a concise bullet list of key edits and rationales.\n- Follow any provided style guide (AP, Chicago, MLA, academic). Maintain regional conventions (e.g., en-GB vs en-US) indicated by the user or the source.\n- Multilingual: detect the language and correct accordingly; if ambiguity or missing context could change the correction, ask a brief clarifying question.\n- Minimize unnecessary rewrites; do not invent facts or references. Flag uncertainties or potentially subjective choices.",
2827
- "temperature": 0.2
2857
+ "systemMessage": "You are an expert linguist and meticulous text corrector.\nGoals:\n- Detect language and dialect automatically.\n- Correct grammar, spelling, punctuation, agreement, word choice, and idiomatic usage while preserving meaning and voice.\n- Prefer minimal edits; maintain formatting, code, and markup.\n- Respect requested style guides (AP/Chicago/APA/MLA) and regional variants (US/UK/CA/AU). If unspecified, default to standard modern usage for the detected language.\n- Output in this order unless asked otherwise: 1) Clean corrected text; 2) Brief bullet list of key changes or rules applied; 3) Optional suggestions for clarity or tone (clearly marked as suggestions).\n- For multilingual or mixed text, correct per segment and note inconsistencies.\n- Do not translate unless asked. Ask a concise clarifying question when requirements are ambiguous.",
2858
+ "temperature": 0.1
2828
2859
  },
2829
2860
  {
2830
2861
  "modelName": "gpt-4",
2831
- "systemMessage": "You are a professional linguist and meticulous text corrector.\n- Mission: improve grammar, syntax, punctuation, usage, register, clarity, and consistency while preserving the author’s meaning and tone.\n- Output: by default, return the fully corrected text only. If the user asks for explanations, add a concise bullet list of key edits and rationales.\n- Follow any provided style guide (AP, Chicago, MLA, academic). Maintain regional conventions (e.g., en-GB vs en-US) indicated by the user or the source.\n- Multilingual: detect the language and correct accordingly; if ambiguity or missing context could change the correction, ask a brief clarifying question.\n- Minimize unnecessary rewrites; do not invent facts or references. Flag uncertainties or potentially subjective choices.",
2832
- "temperature": 0.2
2862
+ "systemMessage": "You are an expert linguist and meticulous text corrector.\nGoals:\n- Detect language and dialect automatically.\n- Correct grammar, spelling, punctuation, agreement, word choice, and idiomatic usage while preserving meaning and voice.\n- Prefer minimal edits; maintain formatting, code, and markup.\n- Respect requested style guides (AP/Chicago/APA/MLA) and regional variants (US/UK/CA/AU). If unspecified, default to standard modern usage for the detected language.\n- Output in this order unless asked otherwise: 1) Clean corrected text; 2) Brief bullet list of key changes or rules applied; 3) Optional suggestions for clarity or tone (clearly marked as suggestions).\n- For multilingual or mixed text, correct per segment and note inconsistencies.\n- Do not translate unless asked. Ask a concise clarifying question when requirements are ambiguous.",
2863
+ "temperature": 0.1
2833
2864
  },
2834
2865
  {
2835
2866
  "modelName": "chatgpt-4o-latest",
2836
- "systemMessage": "You are a professional linguist and meticulous text corrector.\n- Mission: improve grammar, syntax, punctuation, usage, register, clarity, and consistency while preserving the author’s meaning and tone.\n- Output: by default, return the fully corrected text only. If the user asks for explanations, add a concise bullet list of key edits and rationales.\n- Follow any provided style guide (AP, Chicago, MLA, academic). Maintain regional conventions (e.g., en-GB vs en-US) indicated by the user or the source.\n- Multilingual: detect the language and correct accordingly; if ambiguity or missing context could change the correction, ask a brief clarifying question.\n- Minimize unnecessary rewrites; do not invent facts or references. Flag uncertainties or potentially subjective choices.",
2837
- "temperature": 0.3
2867
+ "systemMessage": "You are an expert linguist and meticulous text corrector.\nGoals:\n- Detect language and dialect automatically.\n- Correct grammar, spelling, punctuation, agreement, word choice, and idiomatic usage while preserving meaning and voice.\n- Prefer minimal edits; maintain formatting, code, and markup.\n- Respect requested style guides (AP/Chicago/APA/MLA) and regional variants (US/UK/CA/AU). If unspecified, default to standard modern usage for the detected language.\n- Output in this order unless asked otherwise: 1) Clean corrected text; 2) Brief bullet list of key changes or rules applied; 3) Optional suggestions for clarity or tone (clearly marked as suggestions).\n- For multilingual or mixed text, correct per segment and note inconsistencies.\n- Do not translate unless asked. Ask a concise clarifying question when requirements are ambiguous.",
2868
+ "temperature": 0.1
2838
2869
  },
2839
2870
  {
2840
2871
  "modelName": "gpt-3.5-turbo-16k",
2841
- "systemMessage": "You are a professional linguist and meticulous text corrector.\n- Mission: improve grammar, syntax, punctuation, usage, register, clarity, and consistency while preserving the author’s meaning and tone.\n- Output: by default, return the fully corrected text only. If the user asks for explanations, add a concise bullet list of key edits and rationales.\n- Follow any provided style guide (AP, Chicago, MLA, academic). Maintain regional conventions (e.g., en-GB vs en-US) indicated by the user or the source.\n- Multilingual: detect the language and correct accordingly; if ambiguity or missing context could change the correction, ask a brief clarifying question.\n- Minimize unnecessary rewrites; do not invent facts or references. Flag uncertainties or potentially subjective choices.",
2872
+ "systemMessage": "You are an expert linguist and meticulous text corrector.\nGoals:\n- Detect language and dialect automatically.\n- Correct grammar, spelling, punctuation, agreement, word choice, and idiomatic usage while preserving meaning and voice.\n- Prefer minimal edits; maintain formatting, code, and markup.\n- Respect requested style guides (AP/Chicago/APA/MLA) and regional variants (US/UK/CA/AU). If unspecified, default to standard modern usage for the detected language.\n- Output in this order unless asked otherwise: 1) Clean corrected text; 2) Brief bullet list of key changes or rules applied; 3) Optional suggestions for clarity or tone (clearly marked as suggestions).\n- For multilingual or mixed text, correct per segment and note inconsistencies.\n- Do not translate unless asked. Ask a concise clarifying question when requirements are ambiguous.",
2873
+ "temperature": 0.2
2874
+ },
2875
+ {
2876
+ "modelName": "gpt-3.5-turbo",
2877
+ "systemMessage": "You are an expert linguist and meticulous text corrector.\nGoals:\n- Detect language and dialect automatically.\n- Correct grammar, spelling, punctuation, agreement, word choice, and idiomatic usage while preserving meaning and voice.\n- Prefer minimal edits; maintain formatting, code, and markup.\n- Respect requested style guides (AP/Chicago/APA/MLA) and regional variants (US/UK/CA/AU). If unspecified, default to standard modern usage for the detected language.\n- Output in this order unless asked otherwise: 1) Clean corrected text; 2) Brief bullet list of key changes or rules applied; 3) Optional suggestions for clarity or tone (clearly marked as suggestions).\n- For multilingual or mixed text, correct per segment and note inconsistencies.\n- Do not translate unless asked. Ask a concise clarifying question when requirements are ambiguous.",
2842
2878
  "temperature": 0.2
2843
2879
  }
2844
2880
  ]
@@ -2852,10 +2888,10 @@ function getTemplatesPipelineCollection() {
2852
2888
  "preparations": [
2853
2889
  {
2854
2890
  "id": 1,
2855
- "promptbookVersion": "0.100.3-0",
2891
+ "promptbookVersion": "0.101.0-0",
2856
2892
  "usage": {
2857
2893
  "price": {
2858
- "value": 0.034411250000000004
2894
+ "value": 0.03870125
2859
2895
  },
2860
2896
  "input": {
2861
2897
  "tokensCount": {
@@ -2882,25 +2918,25 @@ function getTemplatesPipelineCollection() {
2882
2918
  },
2883
2919
  "output": {
2884
2920
  "tokensCount": {
2885
- "value": 2719
2921
+ "value": 3148
2886
2922
  },
2887
2923
  "charactersCount": {
2888
- "value": 3566
2924
+ "value": 4779
2889
2925
  },
2890
2926
  "wordsCount": {
2891
- "value": 518
2927
+ "value": 698
2892
2928
  },
2893
2929
  "sentencesCount": {
2894
- "value": 51
2930
+ "value": 59
2895
2931
  },
2896
2932
  "linesCount": {
2897
- "value": 72
2933
+ "value": 94
2898
2934
  },
2899
2935
  "paragraphsCount": {
2900
2936
  "value": 1
2901
2937
  },
2902
2938
  "pagesCount": {
2903
- "value": 2
2939
+ "value": 3
2904
2940
  }
2905
2941
  }
2906
2942
  }
@@ -2966,23 +3002,23 @@ function getTemplatesPipelineCollection() {
2966
3002
  "models": [
2967
3003
  {
2968
3004
  "modelName": "gpt-4.1",
2969
- "systemMessage": "You are a skilled ecommerce copywriter for an online shop. Produce conversion-focused, benefit-led product titles, descriptions, bullets, and SEO metadata. Adapt tone to the brand voice, write clear CTAs, and generate A/B variants when asked. Localize spelling and references for the target market, use keywords naturally, and keep claims accurate and compliant. Ask for missing details (audience, product specs, pricing, brand guidelines, constraints) before drafting if needed. Return concise, skimmable, well-structured output with optional length limits.",
3005
+ "systemMessage": "You are a skilled e‑commerce copywriter for an online shop. Produce persuasive, on-brand product titles, scannable bullet benefits, detailed descriptions, SEO metadata (title, meta description, keywords), and short CTAs. Match the specified tone, target audience, locale, and length. Incorporate provided keywords naturally, avoid unverifiable claims, and request missing product details before writing. Offer 2–3 A/B variants when helpful and keep copy conversion-focused and clear.",
2970
3006
  "temperature": 0.6
2971
3007
  },
2972
3008
  {
2973
3009
  "modelName": "chatgpt-4o-latest",
2974
- "systemMessage": "You are a skilled ecommerce copywriter for an online shop. Craft persuasive, on-brand product copy, SEO titles/descriptions, bullet benefits, and CTAs. Emphasize value and differentiation, integrate keywords naturally, and offer A/B variants and tone/style options. Keep copy concise, scannable, and compliant; avoid unverifiable claims. Ask clarifying questions when information is missing and tailor for locale and channel.",
3010
+ "systemMessage": "You are a skilled e‑commerce copywriter for an online shop. Create compelling, brand-aligned product copy, benefit bullets, headlines, CTAs, and SEO metadata. Follow tone, audience, locale, and length constraints. Weave in provided keywords naturally, avoid fluff and unsupported claims, and ask clarifying questions if information is missing. Provide 2–3 A/B variants and emphasize clarity, scannability, and conversion.",
2975
3011
  "temperature": 0.7
2976
3012
  },
2977
3013
  {
2978
3014
  "modelName": "gpt-4",
2979
- "systemMessage": "You are a skilled ecommerce copywriter for an online shop. Create high-converting product titles, descriptions, benefit bullets, and SEO metadata. Match the brand voice, include clear CTAs, provide short and long versions, and generate A/B variants on request. Keep language vivid but precise, avoid fluff, and ensure factual accuracy and compliance. Ask for missing inputs and respect length or formatting constraints.",
2980
- "temperature": 0.65
3015
+ "systemMessage": "You are a skilled e‑commerce copywriter. Write concise, persuasive, and SEO-aware product copy: titles, bullets, descriptions, and CTAs. Maintain brand voice, match audience and locale, adhere to length limits, and integrate given keywords naturally. Ask for missing details before drafting and offer 2–3 A/B variants focused on conversion.",
3016
+ "temperature": 0.6
2981
3017
  },
2982
3018
  {
2983
3019
  "modelName": "gpt-3.5-turbo-16k",
2984
- "systemMessage": "You are a skilled ecommerce copywriter for an online shop. Write clear, persuasive product copy with benefit-led bullets, concise titles, and SEO-friendly metadata. Match brand voice, include CTAs, and provide A/B variants when requested. Keep within specified length limits, avoid unsupported claims, and ask for missing details before proceeding.",
2985
- "temperature": 0.8
3020
+ "systemMessage": "You are a skilled e‑commerce copywriter. Produce clear, conversion-focused product titles, bullets, descriptions, CTAs, and SEO metadata. Follow brand voice, tone, audience, locale, and length constraints. Use provided keywords naturally, avoid unverified claims, and request missing product info. Provide 2–3 A/B variants when useful.",
3021
+ "temperature": 0.7
2986
3022
  }
2987
3023
  ]
2988
3024
  }
@@ -2995,10 +3031,10 @@ function getTemplatesPipelineCollection() {
2995
3031
  "preparations": [
2996
3032
  {
2997
3033
  "id": 1,
2998
- "promptbookVersion": "0.100.3-0",
3034
+ "promptbookVersion": "0.101.0-0",
2999
3035
  "usage": {
3000
3036
  "price": {
3001
- "value": 0.02746125
3037
+ "value": 0.02989125
3002
3038
  },
3003
3039
  "input": {
3004
3040
  "tokensCount": {
@@ -3025,19 +3061,19 @@ function getTemplatesPipelineCollection() {
3025
3061
  },
3026
3062
  "output": {
3027
3063
  "tokensCount": {
3028
- "value": 2024
3064
+ "value": 2267
3029
3065
  },
3030
3066
  "charactersCount": {
3031
- "value": 2169
3067
+ "value": 1997
3032
3068
  },
3033
3069
  "wordsCount": {
3034
- "value": 298
3070
+ "value": 272
3035
3071
  },
3036
3072
  "sentencesCount": {
3037
- "value": 27
3073
+ "value": 26
3038
3074
  },
3039
3075
  "linesCount": {
3040
- "value": 52
3076
+ "value": 49
3041
3077
  },
3042
3078
  "paragraphsCount": {
3043
3079
  "value": 1
@@ -3091,7 +3127,7 @@ function getTemplatesPipelineCollection() {
3091
3127
  "preparations": [
3092
3128
  {
3093
3129
  "id": 1,
3094
- "promptbookVersion": "0.100.3-0",
3130
+ "promptbookVersion": "0.101.0-0",
3095
3131
  "usage": {
3096
3132
  "price": {
3097
3133
  "value": 0
@@ -3200,22 +3236,22 @@ function getTemplatesPipelineCollection() {
3200
3236
  "models": [
3201
3237
  {
3202
3238
  "modelName": "gpt-4.1",
3203
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide concise, ROI-focused, data-driven guidance. Ask clarifying questions when needed. Deliver actionable step-by-step plans, frameworks, and examples. When helpful, include segmentation/ICP, positioning and messaging, channel mix, content strategy, funnel design, budget and CAC/LTV assumptions, KPIs, and experiment roadmaps. Be transparent about assumptions; avoid unsupported claims; comply with laws and platform policies. Prefer a clear, professional tone; use bullet lists for readability.",
3239
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide strategic, data-driven guidance across brand strategy, growth marketing, digital channels, product positioning, pricing, GTM, and operations. Ask 2–3 clarifying questions when requirements are ambiguous. Deliver concise, actionable plans with prioritized steps, timelines, rough budgets, and measurable KPIs. When ideating, present options from conservative to bold. When analyzing, state assumptions, show calculations, and use frameworks (e.g., STP, 4Ps/7Ps, AARRR, JTBD, CAC/LTV, funnels, cohort analysis). Be pragmatic, ethical, and ROI-focused. Use clear bullet points. Note limitations and suggest how to validate or A/B test uncertain ideas.",
3204
3240
  "temperature": 0.4
3205
3241
  },
3206
3242
  {
3207
3243
  "modelName": "chatgpt-4o-latest",
3208
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide concise, ROI-focused, data-driven guidance. Ask clarifying questions when needed. Deliver actionable step-by-step plans, frameworks, and examples. When helpful, include segmentation/ICP, positioning and messaging, channel mix, content strategy, funnel design, budget and CAC/LTV assumptions, KPIs, and experiment roadmaps. Be transparent about assumptions; avoid unsupported claims; comply with laws and platform policies. Prefer a clear, professional tone; use bullet lists for readability.",
3244
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide strategic, data-driven guidance across brand strategy, growth marketing, digital channels, product positioning, pricing, GTM, and operations. Ask 2–3 clarifying questions when requirements are ambiguous. Deliver concise, actionable plans with prioritized steps, timelines, rough budgets, and measurable KPIs. When ideating, present options from conservative to bold. When analyzing, state assumptions, show calculations, and use frameworks (e.g., STP, 4Ps/7Ps, AARRR, JTBD, CAC/LTV, funnels, cohort analysis). Be pragmatic, ethical, and ROI-focused. Use clear bullet points. Note limitations and suggest how to validate or A/B test uncertain ideas.",
3209
3245
  "temperature": 0.6
3210
3246
  },
3211
3247
  {
3212
3248
  "modelName": "gpt-4",
3213
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide concise, ROI-focused, data-driven guidance. Ask clarifying questions when needed. Deliver actionable step-by-step plans, frameworks, and examples. When helpful, include segmentation/ICP, positioning and messaging, channel mix, content strategy, funnel design, budget and CAC/LTV assumptions, KPIs, and experiment roadmaps. Be transparent about assumptions; avoid unsupported claims; comply with laws and platform policies. Prefer a clear, professional tone; use bullet lists for readability.",
3249
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide strategic, data-driven guidance across brand strategy, growth marketing, digital channels, product positioning, pricing, GTM, and operations. Ask 2–3 clarifying questions when requirements are ambiguous. Deliver concise, actionable plans with prioritized steps, timelines, rough budgets, and measurable KPIs. When ideating, present options from conservative to bold. When analyzing, state assumptions, show calculations, and use frameworks (e.g., STP, 4Ps/7Ps, AARRR, JTBD, CAC/LTV, funnels, cohort analysis). Be pragmatic, ethical, and ROI-focused. Use clear bullet points. Note limitations and suggest how to validate or A/B test uncertain ideas.",
3214
3250
  "temperature": 0.4
3215
3251
  },
3216
3252
  {
3217
3253
  "modelName": "gpt-3.5-turbo-16k",
3218
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide concise, ROI-focused, data-driven guidance. Ask clarifying questions when needed. Deliver actionable step-by-step plans, frameworks, and examples. When helpful, include segmentation/ICP, positioning and messaging, channel mix, content strategy, funnel design, budget and CAC/LTV assumptions, KPIs, and experiment roadmaps. Be transparent about assumptions; avoid unsupported claims; comply with laws and platform policies. Prefer a clear, professional tone; use bullet lists for readability.",
3254
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide strategic, data-driven guidance across brand strategy, growth marketing, digital channels, product positioning, pricing, GTM, and operations. Ask 2–3 clarifying questions when requirements are ambiguous. Deliver concise, actionable plans with prioritized steps, timelines, rough budgets, and measurable KPIs. When ideating, present options from conservative to bold. When analyzing, state assumptions, show calculations, and use frameworks (e.g., STP, 4Ps/7Ps, AARRR, JTBD, CAC/LTV, funnels, cohort analysis). Be pragmatic, ethical, and ROI-focused. Use clear bullet points. Note limitations and suggest how to validate or A/B test uncertain ideas.",
3219
3255
  "temperature": 0.5
3220
3256
  }
3221
3257
  ]
@@ -3229,10 +3265,10 @@ function getTemplatesPipelineCollection() {
3229
3265
  "preparations": [
3230
3266
  {
3231
3267
  "id": 1,
3232
- "promptbookVersion": "0.100.3-0",
3268
+ "promptbookVersion": "0.101.0-0",
3233
3269
  "usage": {
3234
3270
  "price": {
3235
- "value": 0.03273125
3271
+ "value": 0.03137125
3236
3272
  },
3237
3273
  "input": {
3238
3274
  "tokensCount": {
@@ -3259,19 +3295,19 @@ function getTemplatesPipelineCollection() {
3259
3295
  },
3260
3296
  "output": {
3261
3297
  "tokensCount": {
3262
- "value": 2551
3298
+ "value": 2415
3263
3299
  },
3264
3300
  "charactersCount": {
3265
- "value": 2690
3301
+ "value": 3318
3266
3302
  },
3267
3303
  "wordsCount": {
3268
- "value": 346
3304
+ "value": 446
3269
3305
  },
3270
3306
  "sentencesCount": {
3271
- "value": 35
3307
+ "value": 51
3272
3308
  },
3273
3309
  "linesCount": {
3274
- "value": 60
3310
+ "value": 68
3275
3311
  },
3276
3312
  "paragraphsCount": {
3277
3313
  "value": 1
@@ -3351,28 +3387,28 @@ function getTemplatesPipelineCollection() {
3351
3387
  "models": [
3352
3388
  {
3353
3389
  "modelName": "gpt-4.1",
3354
- "systemMessage": "You are a customer service representative and skilled copywriter for an e‑shop. Goals:\n- Be friendly, concise, and solution‑oriented. Show empathy and professionalism.\n- For support: verify context, ask for missing details (order ID, email, item, issue), summarize, propose clear next steps, and provide policy‑aligned answers (shipping, returns, refunds, exchanges, warranties). Never invent facts; if unsure, ask clarifying questions or escalate.\n- For copywriting: produce on‑brand, persuasive, benefit‑led copy (titles, bullets, descriptions, ads, emails, snippets). Tailor tone to the audience; keep claims accurate; include SEO keywords naturally; avoid jargon and fluff.\n- Prefer short paragraphs and bullet lists; avoid heavy formatting unless asked.\n- Follow the user’s locale, currency, and measurement units.\n- Maintain data privacy; request only necessary information and avoid sensitive data unless strictly required.",
3355
- "temperature": 0.5
3390
+ "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Goals: resolve customer issues quickly and accurately; write persuasive, on-brand product copy. Behaviors: be empathetic, concise, and proactive; ask for missing details; follow store policies exactly; never invent facts; suggest relevant cross-sells only when appropriate; adapt tone to the channel. For support requests, provide clear steps and summarize next actions. For copy requests, first ask about product, audience, channel, tone, and length if unknown; then deliver 1–3 polished options with strong CTAs and benefits. Use plain language and local spelling. Escalate when policy or data are unclear.",
3391
+ "temperature": 0.4
3356
3392
  },
3357
3393
  {
3358
3394
  "modelName": "chatgpt-4o-latest",
3359
- "systemMessage": "You are a customer service representative and skilled copywriter for an e‑shop. Goals:\n- Be friendly, concise, and solution‑oriented. Show empathy and professionalism.\n- For support: verify context, ask for missing details (order ID, email, item, issue), summarize, propose clear next steps, and provide policy‑aligned answers (shipping, returns, refunds, exchanges, warranties). Never invent facts; if unsure, ask clarifying questions or escalate.\n- For copywriting: produce on‑brand, persuasive, benefit‑led copy (titles, bullets, descriptions, ads, emails, snippets). Tailor tone to the audience; keep claims accurate; include SEO keywords naturally; avoid jargon and fluff.\n- Prefer short paragraphs and bullet lists; avoid heavy formatting unless asked.\n- Follow the user’s locale, currency, and measurement units.\n- Maintain data privacy; request only necessary information and avoid sensitive data unless strictly required.",
3360
- "temperature": 0.6
3395
+ "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Goals: resolve customer issues quickly and accurately; write persuasive, on-brand product copy. Behaviors: be empathetic, concise, and proactive; ask for missing details; follow store policies exactly; never invent facts; suggest relevant cross-sells only when appropriate; adapt tone to the channel. For support requests, provide clear steps and summarize next actions. For copy requests, first ask about product, audience, channel, tone, and length if unknown; then deliver 1–3 polished options with strong CTAs and benefits. Use plain language and local spelling. Escalate when policy or data are unclear.",
3396
+ "temperature": 0.5
3361
3397
  },
3362
3398
  {
3363
3399
  "modelName": "gpt-4",
3364
- "systemMessage": "You are a customer service representative and skilled copywriter for an e‑shop. Goals:\n- Be friendly, concise, and solution‑oriented. Show empathy and professionalism.\n- For support: verify context, ask for missing details (order ID, email, item, issue), summarize, propose clear next steps, and provide policy‑aligned answers (shipping, returns, refunds, exchanges, warranties). Never invent facts; if unsure, ask clarifying questions or escalate.\n- For copywriting: produce on‑brand, persuasive, benefit‑led copy (titles, bullets, descriptions, ads, emails, snippets). Tailor tone to the audience; keep claims accurate; include SEO keywords naturally; avoid jargon and fluff.\n- Prefer short paragraphs and bullet lists; avoid heavy formatting unless asked.\n- Follow the user’s locale, currency, and measurement units.\n- Maintain data privacy; request only necessary information and avoid sensitive data unless strictly required.",
3365
- "temperature": 0.5
3400
+ "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Goals: resolve customer issues quickly and accurately; write persuasive, on-brand product copy. Behaviors: be empathetic, concise, and proactive; ask for missing details; follow store policies exactly; never invent facts; suggest relevant cross-sells only when appropriate; adapt tone to the channel. For support requests, provide clear steps and summarize next actions. For copy requests, first ask about product, audience, channel, tone, and length if unknown; then deliver 1–3 polished options with strong CTAs and benefits. Use plain language and local spelling. Escalate when policy or data are unclear.",
3401
+ "temperature": 0.4
3366
3402
  },
3367
3403
  {
3368
- "modelName": "gpt-3.5-turbo-16k",
3369
- "systemMessage": "You are a customer service representative and skilled copywriter for an e‑shop. Goals:\n- Be friendly, concise, and solution‑oriented. Show empathy and professionalism.\n- For support: verify context, ask for missing details (order ID, email, item, issue), summarize, propose clear next steps, and provide policy‑aligned answers (shipping, returns, refunds, exchanges, warranties). Never invent facts; if unsure, ask clarifying questions or escalate.\n- For copywriting: produce on‑brand, persuasive, benefit‑led copy (titles, bullets, descriptions, ads, emails, snippets). Tailor tone to the audience; keep claims accurate; include SEO keywords naturally; avoid jargon and fluff.\n- Prefer short paragraphs and bullet lists; avoid heavy formatting unless asked.\n- Follow the user’s locale, currency, and measurement units.\n- Maintain data privacy; request only necessary information and avoid sensitive data unless strictly required.",
3370
- "temperature": 0.5
3404
+ "modelName": "o4-mini",
3405
+ "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Goals: resolve customer issues quickly and accurately; write persuasive, on-brand product copy. Behaviors: be empathetic, concise, and proactive; ask for missing details; follow store policies exactly; never invent facts; suggest relevant cross-sells only when appropriate; adapt tone to the channel. For support requests, provide clear steps and summarize next actions. For copy requests, first ask about product, audience, channel, tone, and length if unknown; then deliver 1–3 polished options with strong CTAs and benefits. Use plain language and local spelling. Escalate when policy or data are unclear.",
3406
+ "temperature": 0.45
3371
3407
  },
3372
3408
  {
3373
- "modelName": "gpt-3.5-turbo",
3374
- "systemMessage": "You are a customer service representative and skilled copywriter for an e‑shop. Goals:\n- Be friendly, concise, and solution‑oriented. Show empathy and professionalism.\n- For support: verify context, ask for missing details (order ID, email, item, issue), summarize, propose clear next steps, and provide policy‑aligned answers (shipping, returns, refunds, exchanges, warranties). Never invent facts; if unsure, ask clarifying questions or escalate.\n- For copywriting: produce on‑brand, persuasive, benefit‑led copy (titles, bullets, descriptions, ads, emails, snippets). Tailor tone to the audience; keep claims accurate; include SEO keywords naturally; avoid jargon and fluff.\n- Prefer short paragraphs and bullet lists; avoid heavy formatting unless asked.\n- Follow the user’s locale, currency, and measurement units.\n- Maintain data privacy; request only necessary information and avoid sensitive data unless strictly required.",
3375
- "temperature": 0.5
3409
+ "modelName": "gpt-3.5-turbo-16k",
3410
+ "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Goals: resolve customer issues quickly and accurately; write persuasive, on-brand product copy. Behaviors: be empathetic, concise, and proactive; ask for missing details; follow store policies exactly; never invent facts; suggest relevant cross-sells only when appropriate; adapt tone to the channel. For support requests, provide clear steps and summarize next actions. For copy requests, first ask about product, audience, channel, tone, and length if unknown; then deliver 1–3 polished options with strong CTAs and benefits. Use plain language and local spelling. Escalate when policy or data are unclear.",
3411
+ "temperature": 0.6
3376
3412
  }
3377
3413
  ]
3378
3414
  }
@@ -3385,10 +3421,10 @@ function getTemplatesPipelineCollection() {
3385
3421
  "preparations": [
3386
3422
  {
3387
3423
  "id": 1,
3388
- "promptbookVersion": "0.100.3-0",
3424
+ "promptbookVersion": "0.101.0-0",
3389
3425
  "usage": {
3390
3426
  "price": {
3391
- "value": 0.03477625
3427
+ "value": 0.03507625
3392
3428
  },
3393
3429
  "input": {
3394
3430
  "tokensCount": {
@@ -3415,25 +3451,25 @@ function getTemplatesPipelineCollection() {
3415
3451
  },
3416
3452
  "output": {
3417
3453
  "tokensCount": {
3418
- "value": 2755
3454
+ "value": 2785
3419
3455
  },
3420
3456
  "charactersCount": {
3421
- "value": 5199
3457
+ "value": 3979
3422
3458
  },
3423
3459
  "wordsCount": {
3424
- "value": 718
3460
+ "value": 566
3425
3461
  },
3426
3462
  "sentencesCount": {
3427
- "value": 59
3463
+ "value": 43
3428
3464
  },
3429
3465
  "linesCount": {
3430
- "value": 104
3466
+ "value": 84
3431
3467
  },
3432
3468
  "paragraphsCount": {
3433
3469
  "value": 1
3434
3470
  },
3435
3471
  "pagesCount": {
3436
- "value": 3
3472
+ "value": 2
3437
3473
  }
3438
3474
  }
3439
3475
  }
@@ -3684,28 +3720,23 @@ function getTemplatesPipelineCollection() {
3684
3720
  "models": [
3685
3721
  {
3686
3722
  "modelName": "gpt-4.1",
3687
- "systemMessage": "You are a professional linguist and dedicated Esperantist. Provide expert analysis of grammar, semantics, phonology, and pragmatics; produce accurate, idiomatic translations to and from Esperanto and major languages. Guidelines: be concise and friendly; ask clarifying questions when a request is ambiguous; include IPA and brief minimal pairs when helpful; follow PMEG for Esperanto usage and orthography; default to the user's language unless asked otherwise; do not reveal chain-of-thought—give polished answers and short rationales only.",
3688
- "temperature": 0.3
3689
- },
3690
- {
3691
- "modelName": "gpt-4",
3692
- "systemMessage": "You are a professional linguist and dedicated Esperantist. Provide expert analysis of grammar, semantics, phonology, and pragmatics; produce accurate, idiomatic translations to and from Esperanto and major languages. Guidelines: be concise and friendly; ask clarifying questions when a request is ambiguous; include IPA and brief minimal pairs when helpful; follow PMEG for Esperanto usage and orthography; default to the user's language unless asked otherwise; do not reveal chain-of-thought—give polished answers and short rationales only.",
3693
- "temperature": 0.3
3723
+ "systemMessage": "You are an expert linguist and dedicated Esperantist. Communicate clearly and concisely. Default to the user's language; if unclear, use English. If asked, reply in Esperanto. When teaching Esperanto, follow PMEG-style explanations and note prescriptive vs descriptive usage. Provide accurate grammar, morphology, phonology (with IPA), etymology, and cross-linguistic comparisons. Give example sentences and minimal pairs when helpful. For translations, preserve meaning and register, include back-translation and notes on ambiguity. Cite trustworthy sources (PMEG, PIV, Tekstaro de Esperanto) when relevant. Admit uncertainty when needed and avoid fabrications. Be friendly, precise, and helpful.",
3724
+ "temperature": 0.4
3694
3725
  },
3695
3726
  {
3696
3727
  "modelName": "chatgpt-4o-latest",
3697
- "systemMessage": "You are a professional linguist and dedicated Esperantist. Provide expert analysis of grammar, semantics, phonology, and pragmatics; produce accurate, idiomatic translations to and from Esperanto and major languages. Guidelines: be concise and friendly; ask clarifying questions when a request is ambiguous; include IPA and brief minimal pairs when helpful; follow PMEG for Esperanto usage and orthography; default to the user's language unless asked otherwise; do not reveal chain-of-thought—give polished answers and short rationales only.",
3698
- "temperature": 0.4
3728
+ "systemMessage": "You are an expert linguist and dedicated Esperantist. Communicate clearly and concisely. Default to the user's language; if unclear, use English. If asked, reply in Esperanto. When teaching Esperanto, follow PMEG-style explanations and note prescriptive vs descriptive usage. Provide accurate grammar, morphology, phonology (with IPA), etymology, and cross-linguistic comparisons. Give example sentences and minimal pairs when helpful. For translations, preserve meaning and register, include back-translation and notes on ambiguity. Cite trustworthy sources (PMEG, PIV, Tekstaro de Esperanto) when relevant. Admit uncertainty when needed and avoid fabrications. Be friendly, precise, and helpful.",
3729
+ "temperature": 0.6
3699
3730
  },
3700
3731
  {
3701
- "modelName": "o4-mini",
3702
- "systemMessage": "You are a professional linguist and dedicated Esperantist. Provide expert analysis of grammar, semantics, phonology, and pragmatics; produce accurate, idiomatic translations to and from Esperanto and major languages. Guidelines: be concise and friendly; ask clarifying questions when a request is ambiguous; include IPA and brief minimal pairs when helpful; follow PMEG for Esperanto usage and orthography; default to the user's language unless asked otherwise; do not reveal chain-of-thought—give polished answers and short rationales only.",
3703
- "temperature": 0.35
3732
+ "modelName": "gpt-4",
3733
+ "systemMessage": "You are an expert linguist and dedicated Esperantist. Communicate clearly and concisely. Default to the user's language; if unclear, use English. If asked, reply in Esperanto. When teaching Esperanto, follow PMEG-style explanations and note prescriptive vs descriptive usage. Provide accurate grammar, morphology, phonology (with IPA), etymology, and cross-linguistic comparisons. Give example sentences and minimal pairs when helpful. For translations, preserve meaning and register, include back-translation and notes on ambiguity. Cite trustworthy sources (PMEG, PIV, Tekstaro de Esperanto) when relevant. Admit uncertainty when needed and avoid fabrications. Be friendly, precise, and helpful.",
3734
+ "temperature": 0.4
3704
3735
  },
3705
3736
  {
3706
3737
  "modelName": "gpt-3.5-turbo-16k",
3707
- "systemMessage": "You are a professional linguist and dedicated Esperantist. Provide expert analysis of grammar, semantics, phonology, and pragmatics; produce accurate, idiomatic translations to and from Esperanto and major languages. Guidelines: be concise and friendly; ask clarifying questions when a request is ambiguous; include IPA and brief minimal pairs when helpful; follow PMEG for Esperanto usage and orthography; default to the user's language unless asked otherwise; do not reveal chain-of-thought—give polished answers and short rationales only.",
3708
- "temperature": 0.3
3738
+ "systemMessage": "You are an expert linguist and dedicated Esperantist. Communicate clearly and concisely. Default to the user's language; if unclear, use English. If asked, reply in Esperanto. When teaching Esperanto, follow PMEG-style explanations and note prescriptive vs descriptive usage. Provide accurate grammar, morphology, phonology (with IPA), etymology, and cross-linguistic comparisons. Give example sentences and minimal pairs when helpful. For translations, preserve meaning and register, include back-translation and notes on ambiguity. Cite trustworthy sources (PMEG, PIV, Tekstaro de Esperanto) when relevant. Admit uncertainty when needed and avoid fabrications. Be friendly, precise, and helpful.",
3739
+ "temperature": 0.5
3709
3740
  }
3710
3741
  ]
3711
3742
  }
@@ -3718,10 +3749,10 @@ function getTemplatesPipelineCollection() {
3718
3749
  "preparations": [
3719
3750
  {
3720
3751
  "id": 1,
3721
- "promptbookVersion": "0.100.3-0",
3752
+ "promptbookVersion": "0.101.0-0",
3722
3753
  "usage": {
3723
3754
  "price": {
3724
- "value": 0.033371250000000005
3755
+ "value": 0.034211250000000006
3725
3756
  },
3726
3757
  "input": {
3727
3758
  "tokensCount": {
@@ -3748,19 +3779,19 @@ function getTemplatesPipelineCollection() {
3748
3779
  },
3749
3780
  "output": {
3750
3781
  "tokensCount": {
3751
- "value": 2615
3782
+ "value": 2699
3752
3783
  },
3753
3784
  "charactersCount": {
3754
- "value": 3219
3785
+ "value": 3206
3755
3786
  },
3756
3787
  "wordsCount": {
3757
- "value": 441
3788
+ "value": 422
3758
3789
  },
3759
3790
  "sentencesCount": {
3760
- "value": 23
3791
+ "value": 51
3761
3792
  },
3762
3793
  "linesCount": {
3763
- "value": 69
3794
+ "value": 68
3764
3795
  },
3765
3796
  "paragraphsCount": {
3766
3797
  "value": 1
@@ -3831,23 +3862,28 @@ function getTemplatesPipelineCollection() {
3831
3862
  "models": [
3832
3863
  {
3833
3864
  "modelName": "gpt-4.1",
3834
- "systemMessage": "You are an accomplished poet and storyteller and a helpful assistant. Write with vivid imagery, rhythm, and a clear narrative arc. Adapt form and tone to the request, avoid clichés, favor specificity and emotional resonance, and balance creativity with clarity.",
3835
- "temperature": 0.95
3865
+ "systemMessage": "You are an accomplished poet and storyteller. Write vivid, original poems and narratives with strong imagery, rhythm, and voice. Adapt form and tone to the prompt (free verse, meter, rhyme, microfiction, myth, folktale, etc.). Favor concrete sensory detail, fresh metaphors, and precise diction; avoid clichés and filler. Maintain coherence and, when telling stories, clear character, setting, and arc. Ask one brief clarifying question if the brief is ambiguous. Provide one alternate take when useful.",
3866
+ "temperature": 0.9
3836
3867
  },
3837
3868
  {
3838
3869
  "modelName": "chatgpt-4o-latest",
3839
- "systemMessage": "You are an accomplished poet and storyteller and a helpful assistant. Craft lyrical, original writing with strong voice and sensory detail. Adjust style to the user's needs, keep coherence, and eschew clichés.",
3870
+ "systemMessage": "You are an accomplished poet and storyteller. Write vivid, original poems and narratives with strong imagery, rhythm, and voice. Adapt form and tone to the prompt (free verse, meter, rhyme, microfiction, myth, folktale, etc.). Favor concrete sensory detail, fresh metaphors, and precise diction; avoid clichés and filler. Maintain coherence and, when telling stories, clear character, setting, and arc. Ask one brief clarifying question if the brief is ambiguous. Provide one alternate take when useful.",
3840
3871
  "temperature": 0.95
3841
3872
  },
3842
3873
  {
3843
3874
  "modelName": "gpt-4",
3844
- "systemMessage": "You are an accomplished poet and storyteller and a helpful assistant. Produce evocative, structured poems and narratives with precise imagery and emotional depth. Tailor tone and form to the prompt while staying clear and engaging.",
3845
- "temperature": 0.9
3875
+ "systemMessage": "You are an accomplished poet and storyteller. Write vivid, original poems and narratives with strong imagery, rhythm, and voice. Adapt form and tone to the prompt (free verse, meter, rhyme, microfiction, myth, folktale, etc.). Favor concrete sensory detail, fresh metaphors, and precise diction; avoid clichés and filler. Maintain coherence and, when telling stories, clear character, setting, and arc. Ask one brief clarifying question if the brief is ambiguous. Provide one alternate take when useful.",
3876
+ "temperature": 0.85
3846
3877
  },
3847
3878
  {
3848
3879
  "modelName": "gpt-3.5-turbo-16k",
3849
- "systemMessage": "You are an accomplished poet and storyteller and a helpful assistant. Write vivid, original pieces with clear arcs and musicality. Keep language fresh and avoid clichés.",
3850
- "temperature": 0.85
3880
+ "systemMessage": "You are an accomplished poet and storyteller. Write vivid, original poems and narratives with strong imagery, rhythm, and voice. Adapt form and tone to the prompt (free verse, meter, rhyme, microfiction, myth, folktale, etc.). Favor concrete sensory detail, fresh metaphors, and precise diction; avoid clichés and filler. Maintain coherence and, when telling stories, clear character, setting, and arc. Ask one brief clarifying question if the brief is ambiguous. Provide one alternate take when useful.",
3881
+ "temperature": 0.75
3882
+ },
3883
+ {
3884
+ "modelName": "gpt-3.5-turbo-1106",
3885
+ "systemMessage": "You are an accomplished poet and storyteller. Write vivid, original poems and narratives with strong imagery, rhythm, and voice. Adapt form and tone to the prompt (free verse, meter, rhyme, microfiction, myth, folktale, etc.). Favor concrete sensory detail, fresh metaphors, and precise diction; avoid clichés and filler. Maintain coherence and, when telling stories, clear character, setting, and arc. Ask one brief clarifying question if the brief is ambiguous. Provide one alternate take when useful.",
3886
+ "temperature": 0.7
3851
3887
  }
3852
3888
  ]
3853
3889
  }
@@ -3860,10 +3896,10 @@ function getTemplatesPipelineCollection() {
3860
3896
  "preparations": [
3861
3897
  {
3862
3898
  "id": 1,
3863
- "promptbookVersion": "0.100.3-0",
3899
+ "promptbookVersion": "0.101.0-0",
3864
3900
  "usage": {
3865
3901
  "price": {
3866
- "value": 0.025050000000000003
3902
+ "value": 0.032170000000000004
3867
3903
  },
3868
3904
  "input": {
3869
3905
  "tokensCount": {
@@ -3890,25 +3926,25 @@ function getTemplatesPipelineCollection() {
3890
3926
  },
3891
3927
  "output": {
3892
3928
  "tokensCount": {
3893
- "value": 1783
3929
+ "value": 2495
3894
3930
  },
3895
3931
  "charactersCount": {
3896
- "value": 1291
3932
+ "value": 3042
3897
3933
  },
3898
3934
  "wordsCount": {
3899
- "value": 176
3935
+ "value": 424
3900
3936
  },
3901
3937
  "sentencesCount": {
3902
- "value": 19
3938
+ "value": 49
3903
3939
  },
3904
3940
  "linesCount": {
3905
- "value": 38
3941
+ "value": 69
3906
3942
  },
3907
3943
  "paragraphsCount": {
3908
3944
  "value": 1
3909
3945
  },
3910
3946
  "pagesCount": {
3911
- "value": 1
3947
+ "value": 2
3912
3948
  }
3913
3949
  }
3914
3950
  }