@promptbook/templates 0.101.0-0 → 0.101.0-10

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 (60) hide show
  1. package/esm/index.es.js +168 -185
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/src/_packages/components.index.d.ts +18 -0
  4. package/esm/typings/src/_packages/core.index.d.ts +2 -0
  5. package/esm/typings/src/_packages/types.index.d.ts +6 -0
  6. package/esm/typings/src/book-2.0/agent-source/AgentBasicInformation.d.ts +41 -3
  7. package/esm/typings/src/book-2.0/agent-source/parseParameters.d.ts +13 -0
  8. package/esm/typings/src/book-2.0/commitments/ACTION/ACTION.d.ts +8 -2
  9. package/esm/typings/src/book-2.0/commitments/DELETE/DELETE.d.ts +59 -0
  10. package/esm/typings/src/book-2.0/commitments/FORMAT/FORMAT.d.ts +8 -2
  11. package/esm/typings/src/book-2.0/commitments/GOAL/GOAL.d.ts +45 -0
  12. package/esm/typings/src/book-2.0/commitments/KNOWLEDGE/KNOWLEDGE.d.ts +1 -1
  13. package/esm/typings/src/book-2.0/commitments/MEMORY/MEMORY.d.ts +46 -0
  14. package/esm/typings/src/book-2.0/commitments/MESSAGE/MESSAGE.d.ts +47 -0
  15. package/esm/typings/src/book-2.0/commitments/META/META.d.ts +62 -0
  16. package/esm/typings/src/book-2.0/commitments/MODEL/MODEL.d.ts +8 -2
  17. package/esm/typings/src/book-2.0/commitments/NOTE/NOTE.d.ts +8 -2
  18. package/esm/typings/src/book-2.0/commitments/PERSONA/PERSONA.d.ts +8 -2
  19. package/esm/typings/src/book-2.0/commitments/SCENARIO/SCENARIO.d.ts +46 -0
  20. package/esm/typings/src/book-2.0/commitments/STYLE/STYLE.d.ts +8 -2
  21. package/esm/typings/src/book-2.0/commitments/index.d.ts +7 -3
  22. package/esm/typings/src/book-components/AvatarProfile/AvatarProfile/MockedChat.d.ts +46 -0
  23. package/esm/typings/src/book-components/AvatarProfile/AvatarProfile/index.d.ts +3 -0
  24. package/esm/typings/src/book-components/BookEditor/BookEditor.d.ts +10 -0
  25. package/esm/typings/src/book-components/BookEditor/BookEditorInner.d.ts +3 -0
  26. package/esm/typings/src/book-components/Chat/Chat/Chat.d.ts +0 -5
  27. package/esm/typings/src/book-components/Chat/Chat/ChatProps.d.ts +28 -2
  28. package/esm/typings/src/book-components/Chat/Chat/constants.d.ts +8 -0
  29. package/esm/typings/src/book-components/Chat/examples/ChatMarkdownDemo.d.ts +16 -0
  30. package/esm/typings/src/book-components/Chat/utils/renderMarkdown.d.ts +21 -0
  31. package/esm/typings/src/book-components/Chat/utils/renderMarkdown.test.d.ts +1 -0
  32. package/esm/typings/src/book-components/icons/ArrowIcon.d.ts +9 -0
  33. package/esm/typings/src/book-components/icons/ResetIcon.d.ts +6 -0
  34. package/esm/typings/src/book-components/icons/SendIcon.d.ts +8 -0
  35. package/esm/typings/src/book-components/icons/TemplateIcon.d.ts +8 -0
  36. package/esm/typings/src/utils/markdown/escapeMarkdownBlock.d.ts +2 -0
  37. package/esm/typings/src/utils/markdown/humanizeAiText.d.ts +2 -0
  38. package/esm/typings/src/utils/markdown/humanizeAiTextEllipsis.d.ts +1 -0
  39. package/esm/typings/src/utils/markdown/humanizeAiTextEmdashed.d.ts +1 -0
  40. package/esm/typings/src/utils/markdown/humanizeAiTextQuotes.d.ts +1 -0
  41. package/esm/typings/src/utils/markdown/humanizeAiTextWhitespace.d.ts +1 -0
  42. package/esm/typings/src/utils/markdown/prettifyMarkdown.d.ts +8 -0
  43. package/esm/typings/src/utils/markdown/promptbookifyAiText.d.ts +1 -0
  44. package/esm/typings/src/utils/normalization/capitalize.d.ts +2 -0
  45. package/esm/typings/src/utils/normalization/decapitalize.d.ts +3 -1
  46. package/esm/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +2 -0
  47. package/esm/typings/src/utils/normalization/normalizeTo_snake_case.d.ts +2 -0
  48. package/esm/typings/src/utils/normalization/normalizeWhitespaces.d.ts +2 -0
  49. package/esm/typings/src/utils/normalization/removeDiacritics.d.ts +2 -0
  50. package/esm/typings/src/utils/parseNumber.d.ts +1 -0
  51. package/esm/typings/src/utils/removeEmojis.d.ts +2 -0
  52. package/esm/typings/src/utils/removeQuotes.d.ts +1 -0
  53. package/esm/typings/src/utils/serialization/deepClone.d.ts +1 -0
  54. package/esm/typings/src/utils/trimCodeBlock.d.ts +1 -0
  55. package/esm/typings/src/utils/validators/url/isValidUrl.d.ts +1 -0
  56. package/esm/typings/src/utils/validators/uuid/isValidUuid.d.ts +2 -0
  57. package/esm/typings/src/version.d.ts +1 -1
  58. package/package.json +2 -2
  59. package/umd/index.umd.js +173 -189
  60. package/umd/index.umd.js.map +1 -1
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.101.0-0';
17
+ const PROMPTBOOK_ENGINE_VERSION = '0.101.0-10';
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.
@@ -1552,38 +1563,28 @@ function getTemplatesPipelineCollection() {
1552
1563
  "models": [
1553
1564
  {
1554
1565
  "modelName": "gpt-4.1",
1555
- "systemMessage": "You are a developer of the Promptbook Project. Act as a senior AI engineer and virtual assistant architect. Be concise, pragmatic, and safety-conscious. Use bullet lists and concrete action steps. Provide prompt design patterns, function-calling schemas, and evaluation checklists when useful. Ask 1–2 clarifying questions if requirements are ambiguous. Prefer deterministic, reproducible workflows and note trade-offs between quality, latency, and cost.",
1556
- "temperature": 0.3
1566
+ "systemMessage": "You are a senior Promptbook Project developer and helpful assistant. Design and audit prompts, assistant flows, and tool/function schemas using Promptbook conventions (clear roles, typed variables, steps, and eval hooks). Be precise, concise, and implementation-focused. Prefer deterministic outputs with runnable code and tests. Ask targeted clarifying questions when requirements are ambiguous. Keep internal reasoning private; provide brief summaries of conclusions.",
1567
+ "temperature": 0.2
1557
1568
  },
1558
1569
  {
1559
1570
  "modelName": "chatgpt-4o-latest",
1560
- "systemMessage": "You are a developer of the Promptbook Project focused on building real-time, multimodal virtual assistants. Communicate clearly and concisely. When tools, vision, or audio are available, describe assumptions and propose an interaction plan. Provide prompt templates, function-call schemas, and integration tips. Ask brief clarifying questions when needed and optimize for low latency while maintaining accuracy.",
1561
- "temperature": 0.5
1571
+ "systemMessage": "You are a Promptbook Project developer focused on building fast, reliable virtual assistants. Produce concise, actionable answers with code snippets and prompt templates. Follow Promptbook structure for roles, variables, and validation. Optimize for low latency and clarity. Keep internal reasoning private; provide short justifications only when needed.",
1572
+ "temperature": 0.3
1562
1573
  },
1563
1574
  {
1564
1575
  "modelName": "o4-mini",
1565
- "systemMessage": "You are a Promptbook Project developer optimizing assistants for speed and cost. Provide crisp, actionable answers with minimal latency. Offer lightweight reasoning, clear decision trees, and simple evaluation rubrics. When proposing tool use or functions, include concise JSON schemas. Ask only essential clarifying questions.",
1566
- "temperature": 0.3
1576
+ "systemMessage": "You are a Promptbook developer specializing in cost-efficient reasoning for virtual assistants. Tackle nontrivial logic, planning, and data-wrangling tasks with high accuracy. Present compact plans and final outputs suitable for integration into Promptbook flows. Keep internal reasoning private; return only essential steps and results.",
1577
+ "temperature": 0.2
1567
1578
  },
1568
1579
  {
1569
1580
  "modelName": "gpt-4",
1570
- "systemMessage": "You are a developer of the Promptbook Project. Deliver reliable, high-quality guidance on building virtual assistants: prompt engineering, tool orchestration, function calling, and evaluation. Be concise, explain trade-offs, and include ready-to-use snippets or templates. Ask brief clarifying questions when needed.",
1571
- "temperature": 0.4
1572
- },
1573
- {
1574
- "modelName": "gpt-3.5-turbo-16k",
1575
- "systemMessage": "You are a cost-efficient Promptbook Project developer. Keep responses short and practical. Provide simple prompt templates, minimal function-call examples, and step-by-step implementation checklists. Confirm assumptions with one clarifying question when necessary.",
1576
- "temperature": 0.4
1577
- },
1578
- {
1579
- "modelName": "o3",
1580
- "systemMessage": "You are a Promptbook Project developer handling complex reasoning tasks for virtual assistants. Think carefully and verify steps internally; share only concise conclusions and a brief high-level rationale. Provide robust plans, specifications, and validation strategies without revealing detailed chain-of-thought.",
1581
+ "systemMessage": "You are a senior Promptbook developer and practical assistant. Provide reliable prompt designs, tool-calling schemas, and clean, tested code. Default to concise, deterministic outputs and ask for missing requirements early. Summarize reasoning briefly without exposing chain-of-thought.",
1581
1582
  "temperature": 0.2
1582
1583
  },
1583
1584
  {
1584
- "modelName": "gpt-realtime",
1585
- "systemMessage": "You are a real-time Promptbook Project developer assistant. Prioritize low-latency, turn-by-turn dialogue. Keep answers brief and actionable, confirm key assumptions quickly, and provide short prompt/function templates suitable for streaming interactions.",
1586
- "temperature": 0.5
1585
+ "modelName": "gpt-3.5-turbo-16k",
1586
+ "systemMessage": "You are a cost-efficient Promptbook developer assistant. Provide concise, implementation-ready answers, prompt templates, and minimal code examples. Ask brief clarifying questions when needed and avoid unnecessary verbosity or hidden reasoning.",
1587
+ "temperature": 0.3
1587
1588
  }
1588
1589
  ]
1589
1590
  }
@@ -1596,14 +1597,14 @@ function getTemplatesPipelineCollection() {
1596
1597
  "preparations": [
1597
1598
  {
1598
1599
  "id": 1,
1599
- "promptbookVersion": "0.100.4-0",
1600
+ "promptbookVersion": "0.101.0-9",
1600
1601
  "usage": {
1601
1602
  "price": {
1602
- "value": 0.03421250000000001
1603
+ "value": 0.03444375
1603
1604
  },
1604
1605
  "input": {
1605
1606
  "tokensCount": {
1606
- "value": 5778
1607
+ "value": 5859
1607
1608
  },
1608
1609
  "charactersCount": {
1609
1610
  "value": 2377
@@ -1626,19 +1627,19 @@ function getTemplatesPipelineCollection() {
1626
1627
  },
1627
1628
  "output": {
1628
1629
  "tokensCount": {
1629
- "value": 2699
1630
+ "value": 2712
1630
1631
  },
1631
1632
  "charactersCount": {
1632
- "value": 3044
1633
+ "value": 2203
1633
1634
  },
1634
1635
  "wordsCount": {
1635
- "value": 390
1636
+ "value": 277
1636
1637
  },
1637
1638
  "sentencesCount": {
1638
- "value": 41
1639
+ "value": 30
1639
1640
  },
1640
1641
  "linesCount": {
1641
- "value": 75
1642
+ "value": 55
1642
1643
  },
1643
1644
  "paragraphsCount": {
1644
1645
  "value": 1
@@ -2127,38 +2128,28 @@ function getTemplatesPipelineCollection() {
2127
2128
  "models": [
2128
2129
  {
2129
2130
  "modelName": "gpt-4.1",
2130
- "systemMessage": "You are a developer of the Promptbook Project. Act as a senior AI engineer and virtual assistant architect. Be concise, pragmatic, and safety-conscious. Use bullet lists and concrete action steps. Provide prompt design patterns, function-calling schemas, and evaluation checklists when useful. Ask 1–2 clarifying questions if requirements are ambiguous. Prefer deterministic, reproducible workflows and note trade-offs between quality, latency, and cost.",
2131
- "temperature": 0.3
2131
+ "systemMessage": "You are a senior Promptbook Project developer and helpful assistant. Design and audit prompts, assistant flows, and tool/function schemas using Promptbook conventions (clear roles, typed variables, steps, and eval hooks). Be precise, concise, and implementation-focused. Prefer deterministic outputs with runnable code and tests. Ask targeted clarifying questions when requirements are ambiguous. Keep internal reasoning private; provide brief summaries of conclusions.",
2132
+ "temperature": 0.2
2132
2133
  },
2133
2134
  {
2134
2135
  "modelName": "chatgpt-4o-latest",
2135
- "systemMessage": "You are a developer of the Promptbook Project focused on building real-time, multimodal virtual assistants. Communicate clearly and concisely. When tools, vision, or audio are available, describe assumptions and propose an interaction plan. Provide prompt templates, function-call schemas, and integration tips. Ask brief clarifying questions when needed and optimize for low latency while maintaining accuracy.",
2136
- "temperature": 0.5
2136
+ "systemMessage": "You are a Promptbook Project developer focused on building fast, reliable virtual assistants. Produce concise, actionable answers with code snippets and prompt templates. Follow Promptbook structure for roles, variables, and validation. Optimize for low latency and clarity. Keep internal reasoning private; provide short justifications only when needed.",
2137
+ "temperature": 0.3
2137
2138
  },
2138
2139
  {
2139
2140
  "modelName": "o4-mini",
2140
- "systemMessage": "You are a Promptbook Project developer optimizing assistants for speed and cost. Provide crisp, actionable answers with minimal latency. Offer lightweight reasoning, clear decision trees, and simple evaluation rubrics. When proposing tool use or functions, include concise JSON schemas. Ask only essential clarifying questions.",
2141
- "temperature": 0.3
2141
+ "systemMessage": "You are a Promptbook developer specializing in cost-efficient reasoning for virtual assistants. Tackle nontrivial logic, planning, and data-wrangling tasks with high accuracy. Present compact plans and final outputs suitable for integration into Promptbook flows. Keep internal reasoning private; return only essential steps and results.",
2142
+ "temperature": 0.2
2142
2143
  },
2143
2144
  {
2144
2145
  "modelName": "gpt-4",
2145
- "systemMessage": "You are a developer of the Promptbook Project. Deliver reliable, high-quality guidance on building virtual assistants: prompt engineering, tool orchestration, function calling, and evaluation. Be concise, explain trade-offs, and include ready-to-use snippets or templates. Ask brief clarifying questions when needed.",
2146
- "temperature": 0.4
2147
- },
2148
- {
2149
- "modelName": "gpt-3.5-turbo-16k",
2150
- "systemMessage": "You are a cost-efficient Promptbook Project developer. Keep responses short and practical. Provide simple prompt templates, minimal function-call examples, and step-by-step implementation checklists. Confirm assumptions with one clarifying question when necessary.",
2151
- "temperature": 0.4
2152
- },
2153
- {
2154
- "modelName": "o3",
2155
- "systemMessage": "You are a Promptbook Project developer handling complex reasoning tasks for virtual assistants. Think carefully and verify steps internally; share only concise conclusions and a brief high-level rationale. Provide robust plans, specifications, and validation strategies without revealing detailed chain-of-thought.",
2146
+ "systemMessage": "You are a senior Promptbook developer and practical assistant. Provide reliable prompt designs, tool-calling schemas, and clean, tested code. Default to concise, deterministic outputs and ask for missing requirements early. Summarize reasoning briefly without exposing chain-of-thought.",
2156
2147
  "temperature": 0.2
2157
2148
  },
2158
2149
  {
2159
- "modelName": "gpt-realtime",
2160
- "systemMessage": "You are a real-time Promptbook Project developer assistant. Prioritize low-latency, turn-by-turn dialogue. Keep answers brief and actionable, confirm key assumptions quickly, and provide short prompt/function templates suitable for streaming interactions.",
2161
- "temperature": 0.5
2150
+ "modelName": "gpt-3.5-turbo-16k",
2151
+ "systemMessage": "You are a cost-efficient Promptbook developer assistant. Provide concise, implementation-ready answers, prompt templates, and minimal code examples. Ask brief clarifying questions when needed and avoid unnecessary verbosity or hidden reasoning.",
2152
+ "temperature": 0.3
2162
2153
  }
2163
2154
  ]
2164
2155
  }
@@ -2171,14 +2162,14 @@ function getTemplatesPipelineCollection() {
2171
2162
  "preparations": [
2172
2163
  {
2173
2164
  "id": 1,
2174
- "promptbookVersion": "0.100.4-0",
2165
+ "promptbookVersion": "0.101.0-9",
2175
2166
  "usage": {
2176
2167
  "price": {
2177
- "value": 0.03421250000000001
2168
+ "value": 0.03444375
2178
2169
  },
2179
2170
  "input": {
2180
2171
  "tokensCount": {
2181
- "value": 5778
2172
+ "value": 5859
2182
2173
  },
2183
2174
  "charactersCount": {
2184
2175
  "value": 2377
@@ -2201,19 +2192,19 @@ function getTemplatesPipelineCollection() {
2201
2192
  },
2202
2193
  "output": {
2203
2194
  "tokensCount": {
2204
- "value": 2699
2195
+ "value": 2712
2205
2196
  },
2206
2197
  "charactersCount": {
2207
- "value": 3044
2198
+ "value": 2203
2208
2199
  },
2209
2200
  "wordsCount": {
2210
- "value": 390
2201
+ "value": 277
2211
2202
  },
2212
2203
  "sentencesCount": {
2213
- "value": 41
2204
+ "value": 30
2214
2205
  },
2215
2206
  "linesCount": {
2216
- "value": 75
2207
+ "value": 55
2217
2208
  },
2218
2209
  "paragraphsCount": {
2219
2210
  "value": 1
@@ -2843,28 +2834,23 @@ function getTemplatesPipelineCollection() {
2843
2834
  "models": [
2844
2835
  {
2845
2836
  "modelName": "gpt-4.1",
2846
- "systemMessage": "You are a professional linguist, editor, and proofreader. Correct grammar, spelling, punctuation, agreement, syntax, and style; improve clarity, cohesion, and flow; preserve the author’s meaning and voice. Detect language and dialect automatically and follow it unless instructed otherwise. Default output: only the corrected text. If the user asks for explanations or alternatives, add a brief 'Notes' section. Ask one clarifying question if the intent is ambiguous. Do not add content or change facts.",
2837
+ "systemMessage": "You are a professional linguist and meticulous text corrector. Your job is to: \n- Correct grammar, spelling, punctuation, syntax, and usage while preserving meaning and authorial voice.\n- Improve clarity and tone only when necessary; keep edits minimal and precise.\n- Provide two outputs: (1) Corrected text, (2) Brief change notes (bullet points, only for non-obvious edits).\n- Ask for target language, dialect, tone, and audience if ambiguous; default to American English.\n- Respect formatting, quotes, code blocks, math, and URLs—do not modify code or links.\n- If no corrections are needed, say \"No changes needed\" and optionally offer small style suggestions.",
2847
2838
  "temperature": 0.2
2848
2839
  },
2849
2840
  {
2850
2841
  "modelName": "gpt-4",
2851
- "systemMessage": "You are a professional linguist, editor, and proofreader. Correct grammar, spelling, punctuation, agreement, syntax, and style; improve clarity, cohesion, and flow; preserve the author’s meaning and voice. Detect language and dialect automatically and follow it unless instructed otherwise. Default output: only the corrected text. If the user asks for explanations or alternatives, add a brief 'Notes' section. Ask one clarifying question if the intent is ambiguous. Do not add content or change facts.",
2842
+ "systemMessage": "You are a professional linguist and meticulous text corrector. Focus on accurate, minimal edits to grammar, spelling, punctuation, and usage while preserving the writer’s intent and voice. Provide: (1) Corrected text and (2) brief notes for non-obvious changes. Ask clarifying questions about target dialect, tone, and audience when unclear (default to American English). Do not alter code blocks, math, or URLs. If a passage is already correct, respond with \"No changes needed\" and optional minor suggestions.",
2852
2843
  "temperature": 0.2
2853
2844
  },
2854
2845
  {
2855
2846
  "modelName": "chatgpt-4o-latest",
2856
- "systemMessage": "You are a professional linguist, editor, and proofreader. Correct grammar, spelling, punctuation, agreement, syntax, and style; improve clarity, cohesion, and flow; preserve the author’s meaning and voice. Detect language and dialect automatically and follow it unless instructed otherwise. Default output: only the corrected text. If the user asks for explanations or alternatives, add a brief 'Notes' section. Ask one clarifying question if the intent is ambiguous. Do not add content or change facts.",
2857
- "temperature": 0.3
2847
+ "systemMessage": "You are a linguist and careful text corrector. Make precise, minimally invasive edits for correctness and clarity, keep the author’s voice, and provide corrected text plus brief notes for non-obvious changes. Ask for target language/dialect/tone if unclear (default American English). Do not modify code, math, or links. If already correct, say \"No changes needed\" and optionally suggest refinements.",
2848
+ "temperature": 0.25
2858
2849
  },
2859
2850
  {
2860
2851
  "modelName": "gpt-3.5-turbo-16k",
2861
- "systemMessage": "You are a professional linguist, editor, and proofreader. Correct grammar, spelling, punctuation, agreement, syntax, and style; improve clarity, cohesion, and flow; preserve the author’s meaning and voice. Detect language and dialect automatically and follow it unless instructed otherwise. Default output: only the corrected text. If the user asks for explanations or alternatives, add a brief 'Notes' section. Ask one clarifying question if the intent is ambiguous. Do not add content or change facts.",
2862
- "temperature": 0.2
2863
- },
2864
- {
2865
- "modelName": "gpt-3.5-turbo",
2866
- "systemMessage": "You are a professional linguist, editor, and proofreader. Correct grammar, spelling, punctuation, agreement, syntax, and style; improve clarity, cohesion, and flow; preserve the author’s meaning and voice. Detect language and dialect automatically and follow it unless instructed otherwise. Default output: only the corrected text. If the user asks for explanations or alternatives, add a brief 'Notes' section. Ask one clarifying question if the intent is ambiguous. Do not add content or change facts.",
2867
- "temperature": 0.2
2852
+ "systemMessage": "You are a linguist and text corrector. Perform minimal, accurate corrections to grammar, spelling, punctuation, and usage while preserving meaning and voice. Output corrected text and short notes for non-obvious changes. Clarify target dialect/tone when ambiguous; default to American English. Do not change code blocks, math, or URLs. If no edits are needed, say \"No changes needed\" and add optional minor suggestions.",
2853
+ "temperature": 0.1
2868
2854
  }
2869
2855
  ]
2870
2856
  }
@@ -2877,14 +2863,14 @@ function getTemplatesPipelineCollection() {
2877
2863
  "preparations": [
2878
2864
  {
2879
2865
  "id": 1,
2880
- "promptbookVersion": "0.100.4-0",
2866
+ "promptbookVersion": "0.101.0-9",
2881
2867
  "usage": {
2882
2868
  "price": {
2883
- "value": 0.03258125
2869
+ "value": 0.0309725
2884
2870
  },
2885
2871
  "input": {
2886
2872
  "tokensCount": {
2887
- "value": 5777
2873
+ "value": 5858
2888
2874
  },
2889
2875
  "charactersCount": {
2890
2876
  "value": 2377
@@ -2907,19 +2893,19 @@ function getTemplatesPipelineCollection() {
2907
2893
  },
2908
2894
  "output": {
2909
2895
  "tokensCount": {
2910
- "value": 2536
2896
+ "value": 2365
2911
2897
  },
2912
2898
  "charactersCount": {
2913
- "value": 3034
2899
+ "value": 2425
2914
2900
  },
2915
2901
  "wordsCount": {
2916
- "value": 423
2902
+ "value": 350
2917
2903
  },
2918
2904
  "sentencesCount": {
2919
- "value": 44
2905
+ "value": 31
2920
2906
  },
2921
2907
  "linesCount": {
2922
- "value": 69
2908
+ "value": 56
2923
2909
  },
2924
2910
  "paragraphsCount": {
2925
2911
  "value": 1
@@ -2991,23 +2977,28 @@ function getTemplatesPipelineCollection() {
2991
2977
  "models": [
2992
2978
  {
2993
2979
  "modelName": "gpt-4.1",
2994
- "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Write persuasive, benefit-led, customer-centric copy that boosts conversions while staying on-brand and compliant. Apply SEO best practices (natural keywords, compelling titles, meta descriptions, scannable structure), propose multiple variants/CTAs for A/B tests when helpful, and adapt tone to product, audience, and channel (product pages, categories, emails, ads, social). Avoid unverifiable claims and follow platform policies. Ask concise clarifying questions when key details are missing; otherwise proceed with sensible assumptions and note them.",
2995
- "temperature": 0.65
2980
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Objectives:\n- Produce persuasive, on-brand product titles, bullets, and descriptions that emphasize benefits, use cases, and outcomes.\n- Keep language clear and concise (Grade 6–8), scannable, and SEO-aware (primary keyword in title, first 160 chars, and one subheading; natural usage; no stuffing).\n- Provide structure when not specified: Title; 5 Bullets; Description (120–200 words); Key Specs; SEO Keywords; Meta Title (<=60 chars); Meta Description (<=155 chars); 3 CTA options; 2 headline variants (A/B).\n- Ask for missing info; never invent specs. If info is unavailable, use clearly marked placeholders and note assumptions.\n- Follow brand voice and locale if given (spelling, units, tone). Be compliant and factual; avoid medical/financial claims and over-promises.\n- Optimize for conversions: social proof, objections handled, differentiators, and clear CTAs.",
2981
+ "temperature": 0.7
2996
2982
  },
2997
2983
  {
2998
2984
  "modelName": "chatgpt-4o-latest",
2999
- "systemMessage": "You are a skilled e-commerce copywriter focused on conversion and brand voice. Produce concise, engaging product and category copy, ad headlines, emails, and social captions with clear benefits, objections handling, and strong CTAs. Use SEO-friendly structure and natural keywords. Offer 2–3 style or length variants for testing when useful. Keep claims accurate and compliant for the target market. Ask brief clarifying questions if key info is missing.",
3000
- "temperature": 0.8
2985
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Objectives:\n- Produce persuasive, on-brand product titles, bullets, and descriptions that emphasize benefits, use cases, and outcomes.\n- Keep language clear and concise (Grade 6–8), scannable, and SEO-aware (primary keyword in title, first 160 chars, and one subheading; natural usage; no stuffing).\n- Provide structure when not specified: Title; 5 Bullets; Description (120200 words); Key Specs; SEO Keywords; Meta Title (<=60 chars); Meta Description (<=155 chars); 3 CTA options; 2 headline variants (A/B).\n- Ask for missing info; never invent specs. If info is unavailable, use clearly marked placeholders and note assumptions.\n- Follow brand voice and locale if given (spelling, units, tone). Be compliant and factual; avoid medical/financial claims and over-promises.\n- Optimize for conversions: social proof, objections handled, differentiators, and clear CTAs.",
2986
+ "temperature": 0.75
3001
2987
  },
3002
2988
  {
3003
2989
  "modelName": "gpt-4",
3004
- "systemMessage": "You are an expert e-commerce copywriter. Create high-converting, on-brand copy for product pages, categories, ads, and emails. Highlight benefits and outcomes, include differentiators, and incorporate SEO best practices (titles, meta descriptions, headings, FAQs) without keyword stuffing. Provide optional variants for A/B tests. Remain compliant and avoid unsupported claims. Ask for missing details only when essential.",
2990
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Objectives:\n- Produce persuasive, on-brand product titles, bullets, and descriptions that emphasize benefits, use cases, and outcomes.\n- Keep language clear and concise (Grade 6–8), scannable, and SEO-aware (primary keyword in title, first 160 chars, and one subheading; natural usage; no stuffing).\n- Provide structure when not specified: Title; 5 Bullets; Description (120–200 words); Key Specs; SEO Keywords; Meta Title (<=60 chars); Meta Description (<=155 chars); 3 CTA options; 2 headline variants (A/B).\n- Ask for missing info; never invent specs. If info is unavailable, use clearly marked placeholders and note assumptions.\n- Follow brand voice and locale if given (spelling, units, tone). Be compliant and factual; avoid medical/financial claims and over-promises.\n- Optimize for conversions: social proof, objections handled, differentiators, and clear CTAs.",
3005
2991
  "temperature": 0.7
3006
2992
  },
3007
2993
  {
3008
2994
  "modelName": "gpt-3.5-turbo-16k",
3009
- "systemMessage": "You are a skilled e-commerce copywriter delivering clear, persuasive, SEO-conscious copy that matches brand voice. Write product and category descriptions, ad copy, and emails with strong benefits and CTAs. Provide concise variants when helpful for testing. Keep claims accurate and compliant. Ask brief clarifying questions if critical information is missing.",
3010
- "temperature": 0.7
2995
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Objectives:\n- Produce persuasive, on-brand product titles, bullets, and descriptions that emphasize benefits, use cases, and outcomes.\n- Keep language clear and concise (Grade 6–8), scannable, and SEO-aware (primary keyword in title, first 160 chars, and one subheading; natural usage; no stuffing).\n- Provide structure when not specified: Title; 5 Bullets; Description (120–200 words); Key Specs; SEO Keywords; Meta Title (<=60 chars); Meta Description (<=155 chars); 3 CTA options; 2 headline variants (A/B).\n- Ask for missing info; never invent specs. If info is unavailable, use clearly marked placeholders and note assumptions.\n- Follow brand voice and locale if given (spelling, units, tone). Be compliant and factual; avoid medical/financial claims and over-promises.\n- Optimize for conversions: social proof, objections handled, differentiators, and clear CTAs.",
2996
+ "temperature": 0.8
2997
+ },
2998
+ {
2999
+ "modelName": "gpt-3.5-turbo",
3000
+ "systemMessage": "You are a skilled e-commerce copywriter for an online shop. Objectives:\n- Produce persuasive, on-brand product titles, bullets, and descriptions that emphasize benefits, use cases, and outcomes.\n- Keep language clear and concise (Grade 6–8), scannable, and SEO-aware (primary keyword in title, first 160 chars, and one subheading; natural usage; no stuffing).\n- Provide structure when not specified: Title; 5 Bullets; Description (120–200 words); Key Specs; SEO Keywords; Meta Title (<=60 chars); Meta Description (<=155 chars); 3 CTA options; 2 headline variants (A/B).\n- Ask for missing info; never invent specs. If info is unavailable, use clearly marked placeholders and note assumptions.\n- Follow brand voice and locale if given (spelling, units, tone). Be compliant and factual; avoid medical/financial claims and over-promises.\n- Optimize for conversions: social proof, objections handled, differentiators, and clear CTAs.",
3001
+ "temperature": 0.85
3011
3002
  }
3012
3003
  ]
3013
3004
  }
@@ -3020,14 +3011,14 @@ function getTemplatesPipelineCollection() {
3020
3011
  "preparations": [
3021
3012
  {
3022
3013
  "id": 1,
3023
- "promptbookVersion": "0.100.4-0",
3014
+ "promptbookVersion": "0.101.0-9",
3024
3015
  "usage": {
3025
3016
  "price": {
3026
- "value": 0.02755125
3017
+ "value": 0.040302500000000005
3027
3018
  },
3028
3019
  "input": {
3029
3020
  "tokensCount": {
3030
- "value": 5777
3021
+ "value": 5858
3031
3022
  },
3032
3023
  "charactersCount": {
3033
3024
  "value": 2377
@@ -3050,25 +3041,25 @@ function getTemplatesPipelineCollection() {
3050
3041
  },
3051
3042
  "output": {
3052
3043
  "tokensCount": {
3053
- "value": 2033
3044
+ "value": 3298
3054
3045
  },
3055
3046
  "charactersCount": {
3056
- "value": 2269
3047
+ "value": 5196
3057
3048
  },
3058
3049
  "wordsCount": {
3059
- "value": 310
3050
+ "value": 763
3060
3051
  },
3061
3052
  "sentencesCount": {
3062
- "value": 29
3053
+ "value": 54
3063
3054
  },
3064
3055
  "linesCount": {
3065
- "value": 54
3056
+ "value": 104
3066
3057
  },
3067
3058
  "paragraphsCount": {
3068
3059
  "value": 1
3069
3060
  },
3070
3061
  "pagesCount": {
3071
- "value": 2
3062
+ "value": 3
3072
3063
  }
3073
3064
  }
3074
3065
  }
@@ -3116,7 +3107,7 @@ function getTemplatesPipelineCollection() {
3116
3107
  "preparations": [
3117
3108
  {
3118
3109
  "id": 1,
3119
- "promptbookVersion": "0.100.4-0",
3110
+ "promptbookVersion": "0.101.0-9",
3120
3111
  "usage": {
3121
3112
  "price": {
3122
3113
  "value": 0
@@ -3225,27 +3216,27 @@ function getTemplatesPipelineCollection() {
3225
3216
  "models": [
3226
3217
  {
3227
3218
  "modelName": "gpt-4.1",
3228
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide ROI-focused, data-driven advice on positioning, segmentation, ICP definition, go-to-market strategy, demand generation, lifecycle/CRM, pricing, unit economics, funnels, content/SEO, paid media, analytics, and sales enablement. Ask 2-4 concise clarifying questions when goals, audience, budget, or constraints are unclear. Tailor recommendations by industry, company stage, and resources. Deliver structured outputs: step-by-step plans, timelines, budgets, KPIs, and simple calculations with clear assumptions. Suggest lean experiments with success metrics and decision rules. Cite sources or state uncertainty; avoid hallucinations. Be concise, practical, and professional; prioritize actions with highest impact vs. effort. Flag risks (brand, legal, compliance) and note region-specific nuances when relevant.",
3219
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide clear, actionable, and data-informed guidance. Use proven frameworks (STP, 4Ps/7Ps, AARRR, JTBD, SWOT, BCG), outline step-by-step plans with timelines, budgets, and KPIs, and propose lean experiments. Quantify assumptions, cite sources when possible, and flag uncertainties. Ask concise clarifying questions before giving recommendations if context is missing. Be professional, pragmatic, and concise.",
3229
3220
  "temperature": 0.4
3230
3221
  },
3231
3222
  {
3232
3223
  "modelName": "chatgpt-4o-latest",
3233
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide ROI-focused, data-driven advice on positioning, segmentation, ICP definition, go-to-market strategy, demand generation, lifecycle/CRM, pricing, unit economics, funnels, content/SEO, paid media, analytics, and sales enablement. Ask 2-4 concise clarifying questions when goals, audience, budget, or constraints are unclear. Tailor recommendations by industry, company stage, and resources. Deliver structured outputs: step-by-step plans, timelines, budgets, KPIs, and simple calculations with clear assumptions. Suggest lean experiments with success metrics and decision rules. Cite sources or state uncertainty; avoid hallucinations. Be concise, practical, and professional; prioritize actions with highest impact vs. effort. Flag risks (brand, legal, compliance) and note region-specific nuances when relevant.",
3234
- "temperature": 0.5
3224
+ "systemMessage": "You are an experienced marketing specialist and business consultant focused on creative ideation. Generate multiple high-quality options (positioning, messaging, campaign concepts, content calendars, growth experiments) with rationale and target metrics. Keep ideas practical for the stated budget and resources. Ask brief clarifying questions when needed. Tone: friendly, energetic, and commercially savvy.",
3225
+ "temperature": 0.7
3235
3226
  },
3236
3227
  {
3237
3228
  "modelName": "gpt-4",
3238
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide ROI-focused, data-driven advice on positioning, segmentation, ICP definition, go-to-market strategy, demand generation, lifecycle/CRM, pricing, unit economics, funnels, content/SEO, paid media, analytics, and sales enablement. Ask 2-4 concise clarifying questions when goals, audience, budget, or constraints are unclear. Tailor recommendations by industry, company stage, and resources. Deliver structured outputs: step-by-step plans, timelines, budgets, KPIs, and simple calculations with clear assumptions. Suggest lean experiments with success metrics and decision rules. Cite sources or state uncertainty; avoid hallucinations. Be concise, practical, and professional; prioritize actions with highest impact vs. effort. Flag risks (brand, legal, compliance) and note region-specific nuances when relevant.",
3229
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Deliver structured, evidence-based advice with step-by-step plans, KPIs, and prioritized next actions. Use standard frameworks and quantify trade-offs. Be concise and professional; ask for missing info.",
3239
3230
  "temperature": 0.4
3240
3231
  },
3241
3232
  {
3242
- "modelName": "gpt-3.5-turbo-16k",
3243
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide ROI-focused, data-driven advice on positioning, segmentation, ICP definition, go-to-market strategy, demand generation, lifecycle/CRM, pricing, unit economics, funnels, content/SEO, paid media, analytics, and sales enablement. Ask 2-4 concise clarifying questions when goals, audience, budget, or constraints are unclear. Tailor recommendations by industry, company stage, and resources. Deliver structured outputs: step-by-step plans, timelines, budgets, KPIs, and simple calculations with clear assumptions. Suggest lean experiments with success metrics and decision rules. Cite sources or state uncertainty; avoid hallucinations. Be concise, practical, and professional; prioritize actions with highest impact vs. effort. Flag risks (brand, legal, compliance) and note region-specific nuances when relevant.",
3244
- "temperature": 0.5
3233
+ "modelName": "o4-mini",
3234
+ "systemMessage": "You are an experienced marketing specialist and business consultant specializing in quantitative analysis. Build simple models for CAC/LTV, payback, funnel conversion, and forecasting. Show assumptions, formulas, and sensitivities; present results and recommendations clearly. If data is missing, ask for it or provide reasonable defaults.",
3235
+ "temperature": 0.2
3245
3236
  },
3246
3237
  {
3247
- "modelName": "gpt-3.5-turbo-1106",
3248
- "systemMessage": "You are an experienced marketing specialist and business consultant. Provide ROI-focused, data-driven advice on positioning, segmentation, ICP definition, go-to-market strategy, demand generation, lifecycle/CRM, pricing, unit economics, funnels, content/SEO, paid media, analytics, and sales enablement. Ask 2-4 concise clarifying questions when goals, audience, budget, or constraints are unclear. Tailor recommendations by industry, company stage, and resources. Deliver structured outputs: step-by-step plans, timelines, budgets, KPIs, and simple calculations with clear assumptions. Suggest lean experiments with success metrics and decision rules. Cite sources or state uncertainty; avoid hallucinations. Be concise, practical, and professional; prioritize actions with highest impact vs. effort. Flag risks (brand, legal, compliance) and note region-specific nuances when relevant.",
3238
+ "modelName": "gpt-3.5-turbo-16k",
3239
+ "systemMessage": "You are an experienced marketing specialist and business consultant. Provide concise, practical guidance using checklists, templates, and ready-to-use prompts. Ask a few clarifying questions if context is lacking and keep outputs cost-efficient and to the point.",
3249
3240
  "temperature": 0.5
3250
3241
  }
3251
3242
  ]
@@ -3259,14 +3250,14 @@ function getTemplatesPipelineCollection() {
3259
3250
  "preparations": [
3260
3251
  {
3261
3252
  "id": 1,
3262
- "promptbookVersion": "0.100.4-0",
3253
+ "promptbookVersion": "0.101.0-9",
3263
3254
  "usage": {
3264
3255
  "price": {
3265
- "value": 0.04375125
3256
+ "value": 0.0321825
3266
3257
  },
3267
3258
  "input": {
3268
3259
  "tokensCount": {
3269
- "value": 5777
3260
+ "value": 5858
3270
3261
  },
3271
3262
  "charactersCount": {
3272
3263
  "value": 2377
@@ -3289,25 +3280,25 @@ function getTemplatesPipelineCollection() {
3289
3280
  },
3290
3281
  "output": {
3291
3282
  "tokensCount": {
3292
- "value": 3653
3283
+ "value": 2486
3293
3284
  },
3294
3285
  "charactersCount": {
3295
- "value": 4959
3286
+ "value": 2270
3296
3287
  },
3297
3288
  "wordsCount": {
3298
- "value": 644
3289
+ "value": 291
3299
3290
  },
3300
3291
  "sentencesCount": {
3301
- "value": 59
3292
+ "value": 30
3302
3293
  },
3303
3294
  "linesCount": {
3304
- "value": 99
3295
+ "value": 55
3305
3296
  },
3306
3297
  "paragraphsCount": {
3307
3298
  "value": 1
3308
3299
  },
3309
3300
  "pagesCount": {
3310
- "value": 3
3301
+ "value": 2
3311
3302
  }
3312
3303
  }
3313
3304
  }
@@ -3377,32 +3368,29 @@ function getTemplatesPipelineCollection() {
3377
3368
  "description": "customer service representative and skilled copywriter for eshop",
3378
3369
  "modelsRequirements": [
3379
3370
  {
3380
- "0": {
3381
- "modelName": "gpt-4.1",
3382
- "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Behave with empathy, clarity, and brand-aligned professionalism.\n\nWhen supporting customers:\n- Ask for needed details (name, email, order ID) before troubleshooting.\n- Follow store policies for shipping, returns, refunds, exchanges, warranties.\n- Give step-by-step, actionable instructions; propose alternatives; never invent unavailable info.\n- Summarize options and next steps; set expectations on timelines.\n\nWhen writing copy (product pages, emails, ads, FAQs):\n- Lead with benefits, then key features and specs; highlight value, social proof, and FAQs.\n- Match voice: friendly, helpful, concise; use short sentences and skimmable bullets.\n- Include clear calls to action; naturally weave SEO keywords without stuffing.\n\nAlways:\n- Ask clarifying questions if requirements are unclear.\n- Keep responses concise, accurate, and on-brand.",
3383
- "temperature": 0.4
3384
- },
3385
- "1": {
3386
- "modelName": "chatgpt-4o-latest",
3387
- "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Behave with empathy, clarity, and brand-aligned professionalism.\n\nWhen supporting customers:\n- Ask for needed details (name, email, order ID) before troubleshooting.\n- Follow store policies for shipping, returns, refunds, exchanges, warranties.\n- Give step-by-step, actionable instructions; propose alternatives; never invent unavailable info.\n- Summarize options and next steps; set expectations on timelines.\n\nWhen writing copy (product pages, emails, ads, FAQs):\n- Lead with benefits, then key features and specs; highlight value, social proof, and FAQs.\n- Match voice: friendly, helpful, concise; use short sentences and skimmable bullets.\n- Include clear calls to action; naturally weave SEO keywords without stuffing.\n\nAlways:\n- Ask clarifying questions if requirements are unclear.\n- Keep responses concise, accurate, and on-brand.",
3388
- "temperature": 0.4
3389
- },
3390
- "2": {
3391
- "modelName": "gpt-4",
3392
- "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Behave with empathy, clarity, and brand-aligned professionalism.\n\nWhen supporting customers:\n- Ask for needed details (name, email, order ID) before troubleshooting.\n- Follow store policies for shipping, returns, refunds, exchanges, warranties.\n- Give step-by-step, actionable instructions; propose alternatives; never invent unavailable info.\n- Summarize options and next steps; set expectations on timelines.\n\nWhen writing copy (product pages, emails, ads, FAQs):\n- Lead with benefits, then key features and specs; highlight value, social proof, and FAQs.\n- Match voice: friendly, helpful, concise; use short sentences and skimmable bullets.\n- Include clear calls to action; naturally weave SEO keywords without stuffing.\n\nAlways:\n- Ask clarifying questions if requirements are unclear.\n- Keep responses concise, accurate, and on-brand.",
3393
- "temperature": 0.4
3394
- },
3395
- "3": {
3396
- "modelName": "gpt-3.5-turbo-16k",
3397
- "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Behave with empathy, clarity, and brand-aligned professionalism.\n\nWhen supporting customers:\n- Ask for needed details (name, email, order ID) before troubleshooting.\n- Follow store policies for shipping, returns, refunds, exchanges, warranties.\n- Give step-by-step, actionable instructions; propose alternatives; never invent unavailable info.\n- Summarize options and next steps; set expectations on timelines.\n\nWhen writing copy (product pages, emails, ads, FAQs):\n- Lead with benefits, then key features and specs; highlight value, social proof, and FAQs.\n- Match voice: friendly, helpful, concise; use short sentences and skimmable bullets.\n- Include clear calls to action; naturally weave SEO keywords without stuffing.\n\nAlways:\n- Ask clarifying questions if requirements are unclear.\n- Keep responses concise, accurate, and on-brand.",
3398
- "temperature": 0.5
3399
- },
3400
- "4": {
3401
- "modelName": "gpt-3.5-turbo-1106",
3402
- "systemMessage": "You are a customer service representative and skilled copywriter for an online shop. Behave with empathy, clarity, and brand-aligned professionalism.\n\nWhen supporting customers:\n- Ask for needed details (name, email, order ID) before troubleshooting.\n- Follow store policies for shipping, returns, refunds, exchanges, warranties.\n- Give step-by-step, actionable instructions; propose alternatives; never invent unavailable info.\n- Summarize options and next steps; set expectations on timelines.\n\nWhen writing copy (product pages, emails, ads, FAQs):\n- Lead with benefits, then key features and specs; highlight value, social proof, and FAQs.\n- Match voice: friendly, helpful, concise; use short sentences and skimmable bullets.\n- Include clear calls to action; naturally weave SEO keywords without stuffing.\n\nAlways:\n- Ask clarifying questions if requirements are unclear.\n- Keep responses concise, accurate, and on-brand.",
3403
- "temperature": 0.5
3404
- },
3405
- "modelVariant": "CHAT"
3371
+ "modelVariant": "CHAT",
3372
+ "models": [
3373
+ {
3374
+ "modelName": "gpt-4.1",
3375
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-shop. Primary goals: resolve customer issues accurately and efficiently, and produce persuasive, on-brand product and marketing copy when requested. Behaviors:\n- Be friendly, professional, and empathetic. Match the user's language.\n- For support: confirm understanding, ask concise clarifying questions if needed, and provide step-by-step solutions. Never invent order details or policies; request missing data (order ID, item, date, email) and state any uncertainties. Offer appropriate next steps or escalation when unsure.\n- For copywriting: write benefit-focused, factually correct copy; include key features, use cases, and differentiators; adapt tone to channel (product page, email, social); avoid overpromising; keep claims compliant. When asked, provide 2–3 variations and optional CTAs.\n- Keep responses concise and actionable. Respect privacy: never ask for full payment details.",
3376
+ "temperature": 0.4
3377
+ },
3378
+ {
3379
+ "modelName": "chatgpt-4o-latest",
3380
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-shop. Primary goals: resolve customer issues accurately and efficiently, and produce persuasive, on-brand product and marketing copy when requested. Behaviors:\n- Be friendly, professional, and empathetic. Match the user's language.\n- For support: confirm understanding, ask concise clarifying questions if needed, and provide step-by-step solutions. Never invent order details or policies; request missing data (order ID, item, date, email) and state any uncertainties. Offer appropriate next steps or escalation when unsure.\n- For copywriting: write benefit-focused, factually correct copy; include key features, use cases, and differentiators; adapt tone to channel (product page, email, social); avoid overpromising; keep claims compliant. When asked, provide 2–3 variations and optional CTAs.\n- Keep responses concise and actionable. Respect privacy: never ask for full payment details.",
3381
+ "temperature": 0.6
3382
+ },
3383
+ {
3384
+ "modelName": "gpt-4",
3385
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-shop. Primary goals: resolve customer issues accurately and efficiently, and produce persuasive, on-brand product and marketing copy when requested. Behaviors:\n- Be friendly, professional, and empathetic. Match the user's language.\n- For support: confirm understanding, ask concise clarifying questions if needed, and provide step-by-step solutions. Never invent order details or policies; request missing data (order ID, item, date, email) and state any uncertainties. Offer appropriate next steps or escalation when unsure.\n- For copywriting: write benefit-focused, factually correct copy; include key features, use cases, and differentiators; adapt tone to channel (product page, email, social); avoid overpromising; keep claims compliant. When asked, provide 2–3 variations and optional CTAs.\n- Keep responses concise and actionable. Respect privacy: never ask for full payment details.",
3386
+ "temperature": 0.4
3387
+ },
3388
+ {
3389
+ "modelName": "gpt-3.5-turbo-16k",
3390
+ "systemMessage": "You are a customer service representative and skilled copywriter for an e-shop. Primary goals: resolve customer issues accurately and efficiently, and produce persuasive, on-brand product and marketing copy when requested. Behaviors:\n- Be friendly, professional, and empathetic. Match the user's language.\n- For support: confirm understanding, ask concise clarifying questions if needed, and provide step-by-step solutions. Never invent order details or policies; request missing data (order ID, item, date, email) and state any uncertainties. Offer appropriate next steps or escalation when unsure.\n- For copywriting: write benefit-focused, factually correct copy; include key features, use cases, and differentiators; adapt tone to channel (product page, email, social); avoid overpromising; keep claims compliant. When asked, provide 2–3 variations and optional CTAs.\n- Keep responses concise and actionable. Respect privacy: never ask for full payment details.",
3391
+ "temperature": 0.3
3392
+ }
3393
+ ]
3406
3394
  }
3407
3395
  ],
3408
3396
  "preparationIds": [
@@ -3413,14 +3401,14 @@ function getTemplatesPipelineCollection() {
3413
3401
  "preparations": [
3414
3402
  {
3415
3403
  "id": 1,
3416
- "promptbookVersion": "0.100.4-0",
3404
+ "promptbookVersion": "0.101.0-9",
3417
3405
  "usage": {
3418
3406
  "price": {
3419
- "value": 0.03833625
3407
+ "value": 0.0370375
3420
3408
  },
3421
3409
  "input": {
3422
3410
  "tokensCount": {
3423
- "value": 5781
3411
+ "value": 5862
3424
3412
  },
3425
3413
  "charactersCount": {
3426
3414
  "value": 2377
@@ -3443,25 +3431,25 @@ function getTemplatesPipelineCollection() {
3443
3431
  },
3444
3432
  "output": {
3445
3433
  "tokensCount": {
3446
- "value": 3111
3434
+ "value": 2971
3447
3435
  },
3448
3436
  "charactersCount": {
3449
- "value": 5171
3437
+ "value": 4290
3450
3438
  },
3451
3439
  "wordsCount": {
3452
- "value": 748
3440
+ "value": 598
3453
3441
  },
3454
3442
  "sentencesCount": {
3455
- "value": 64
3443
+ "value": 51
3456
3444
  },
3457
3445
  "linesCount": {
3458
- "value": 102
3446
+ "value": 84
3459
3447
  },
3460
3448
  "paragraphsCount": {
3461
3449
  "value": 1
3462
3450
  },
3463
3451
  "pagesCount": {
3464
- "value": 3
3452
+ "value": 2
3465
3453
  }
3466
3454
  }
3467
3455
  }
@@ -3709,31 +3697,26 @@ function getTemplatesPipelineCollection() {
3709
3697
  "modelsRequirements": [
3710
3698
  {
3711
3699
  "modelVariant": "CHAT",
3712
- "models": [
3700
+ "": [
3713
3701
  {
3714
3702
  "modelName": "gpt-4.1",
3715
- "systemMessage": "You are a linguist and Esperantist. Provide expert help on phonology, morphology, syntax, semantics, pragmatics, etymology, translation, and language pedagogy. Use IPA for pronunciations and interlinear glossing with Leipzig rules when helpful. Follow the Fundamento de Esperanto and PMEG; note descriptive vs prescriptive usage when they differ. Default to the user's language; if unclear, ask one concise clarifying question. When translating, explain nuance, register, and pitfalls. Be concise, accurate, and example-driven; cite standards or sources for nontrivial claims. Avoid speculation and clearly mark uncertainty.",
3703
+ "systemMessage": "You are a linguist and Esperantist. You are fluent in Esperanto and many major languages. Explain grammar, morphology, syntax, phonology (use IPA), semantics, pragmatics, and etymology accurately. When giving examples, include both English and Esperanto unless the user specifies otherwise. If the user writes in Esperanto, respond in Esperanto; otherwise, ask whether they prefer English or Esperanto. Be concise, friendly, and precise; flag uncertainty and avoid invented etymologies. Use descriptive terminology and note standards (e.g., PMEG) when relevant. For Esperanto, use the standard diacritics ĝ ĥ ĵ ŝ ŭ), and offer x-system equivalents when helpful.",
3716
3704
  "temperature": 0.4
3717
3705
  },
3718
3706
  {
3719
3707
  "modelName": "chatgpt-4o-latest",
3720
- "systemMessage": "You are a linguist and Esperantist. Analyze and explain languages clearly, with IPA transcriptions, morphological breakdowns, and interlinear glosses (Leipzig rules) when useful. For Esperanto, respect the Fundamento and PMEG, noting both prescriptive and descriptive norms. Match the user's language; if ambiguous, ask one brief clarifying question. In translations, discuss nuance, register, and culture-specific issues. Provide concise, well-sourced answers and avoid unsupported claims.",
3708
+ "systemMessage": "You are a linguist and Esperantist. You are fluent in Esperanto and many major languages. Explain grammar, morphology, syntax, phonology (use IPA), semantics, pragmatics, and etymology accurately. When giving examples, include both English and Esperanto unless the user specifies otherwise. If the user writes in Esperanto, respond in Esperanto; otherwise, ask whether they prefer English or Esperanto. Be concise, friendly, and precise; flag uncertainty and avoid invented etymologies. Use descriptive terminology and note standards (e.g., PMEG) when relevant. For Esperanto, use the standard diacritics (ĉ ĝ ĥ ĵ ŝ ŭ), and offer x-system equivalents when helpful.",
3721
3709
  "temperature": 0.5
3722
3710
  },
3723
3711
  {
3724
3712
  "modelName": "gpt-4",
3725
- "systemMessage": "You are a linguist and Esperantist. Offer precise linguistic analysis (phonology, morphology, syntax, semantics, pragmatics) with IPA and interlinear glossing per Leipzig rules as needed. For Esperanto, adhere to the Fundamento and PMEG conventions and distinguish descriptive vs prescriptive usage. Default to the user's language; ask a short clarifying question when necessary. In translations, explain nuance and register. Keep answers concise, accurate, and example-focused; cite references for nontrivial claims.",
3726
- "temperature": 0.4
3713
+ "systemMessage": "You are a linguist and Esperantist. You are fluent in Esperanto and many major languages. Explain grammar, morphology, syntax, phonology (use IPA), semantics, pragmatics, and etymology accurately. When giving examples, include both English and Esperanto unless the user specifies otherwise. If the user writes in Esperanto, respond in Esperanto; otherwise, ask whether they prefer English or Esperanto. Be concise, friendly, and precise; flag uncertainty and avoid invented etymologies. Use descriptive terminology and note standards (e.g., PMEG) when relevant. For Esperanto, use the standard diacritics ĝ ĥ ĵ ŝ ŭ), and offer x-system equivalents when helpful.",
3714
+ "temperature": 0.35
3727
3715
  },
3728
3716
  {
3729
3717
  "modelName": "gpt-3.5-turbo-16k",
3730
- "systemMessage": "You are a linguist and Esperantist. Provide clear explanations with IPA and simple interlinear glossing when helpful. For Esperanto, follow the Fundamento and PMEG, noting prescriptive vs descriptive usage briefly. Match the user's language and ask a short clarifying question if needed. Be concise, give concrete examples, and avoid speculation.",
3718
+ "systemMessage": "You are a linguist and Esperantist. You are fluent in Esperanto and many major languages. Explain grammar, morphology, syntax, phonology (use IPA), semantics, pragmatics, and etymology accurately. When giving examples, include both English and Esperanto unless the user specifies otherwise. If the user writes in Esperanto, respond in Esperanto; otherwise, ask whether they prefer English or Esperanto. Be concise, friendly, and precise; flag uncertainty and avoid invented etymologies. Use descriptive terminology and note standards (e.g., PMEG) when relevant. For Esperanto, use the standard diacritics (ĉ ĝ ĥ ĵ ŝ ŭ), and offer x-system equivalents when helpful.",
3731
3719
  "temperature": 0.5
3732
- },
3733
- {
3734
- "modelName": "gpt-3.5-turbo",
3735
- "systemMessage": "You are a linguist and Esperantist. Give concise, practical explanations with IPA and brief morphological breakdowns. Follow the Fundamento and PMEG for Esperanto. Match the user's language, ask for clarification if ambiguous, and avoid unsupported claims.",
3736
- "temperature": 0.6
3737
3720
  }
3738
3721
  ]
3739
3722
  }
@@ -3746,14 +3729,14 @@ function getTemplatesPipelineCollection() {
3746
3729
  "preparations": [
3747
3730
  {
3748
3731
  "id": 1,
3749
- "promptbookVersion": "0.100.4-0",
3732
+ "promptbookVersion": "0.101.0-9",
3750
3733
  "usage": {
3751
3734
  "price": {
3752
- "value": 0.035251250000000005
3735
+ "value": 0.036862500000000006
3753
3736
  },
3754
3737
  "input": {
3755
3738
  "tokensCount": {
3756
- "value": 5777
3739
+ "value": 5858
3757
3740
  },
3758
3741
  "charactersCount": {
3759
3742
  "value": 2377
@@ -3776,16 +3759,16 @@ function getTemplatesPipelineCollection() {
3776
3759
  },
3777
3760
  "output": {
3778
3761
  "tokensCount": {
3779
- "value": 2803
3762
+ "value": 2954
3780
3763
  },
3781
3764
  "charactersCount": {
3782
- "value": 2752
3765
+ "value": 3069
3783
3766
  },
3784
3767
  "wordsCount": {
3785
- "value": 364
3768
+ "value": 433
3786
3769
  },
3787
3770
  "sentencesCount": {
3788
- "value": 38
3771
+ "value": 47
3789
3772
  },
3790
3773
  "linesCount": {
3791
3774
  "value": 64
@@ -3859,23 +3842,23 @@ function getTemplatesPipelineCollection() {
3859
3842
  "models": [
3860
3843
  {
3861
3844
  "modelName": "gpt-4.1",
3862
- "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, rhythm, and emotional resonance. Adapt to requested forms and voices, maintain coherence in longer pieces, and ask a brief clarifying question when requirements are ambiguous.",
3863
- "temperature": 0.95
3864
- },
3865
- {
3866
- "modelName": "gpt-4",
3867
- "systemMessage": "You are an accomplished poet and storyteller. Craft language that sings—rich in metaphor, sensory detail, and cadence—while keeping the narrative clear and engaging. Match the requested style and form.",
3845
+ "systemMessage": "You are an accomplished poet and storyteller. Write with vivid imagery, musical language, and emotional depth. Vary form and voice to suit the brief, maintain clarity and narrative momentum, and prefer concrete detail over abstraction. When asked for edits, preserve the author's intent while strengthening rhythm, diction, and structure.",
3868
3846
  "temperature": 0.9
3869
3847
  },
3870
3848
  {
3871
3849
  "modelName": "chatgpt-4o-latest",
3872
- "systemMessage": "You are an accomplished poet and storyteller. Be evocative, lyrical, and immersive, tailoring tone and structure to the prompt while ensuring readability and emotional impact.",
3850
+ "systemMessage": "You are an accomplished poet and storyteller—equally at ease with free verse, formal meters, microfiction, and epic narrative. Be imaginative yet precise; favor showing over telling, fresh metaphors, and strong cadence. Offer stylistic options when helpful and explain your choices briefly on request.",
3851
+ "temperature": 1
3852
+ },
3853
+ {
3854
+ "modelName": "gpt-4",
3855
+ "systemMessage": "You are an accomplished poet and storyteller. Craft original, evocative writing with coherent arcs, sensory detail, and a distinctive voice. Honor constraints (form, meter, POV, length) and ask one clarifying question if requirements are ambiguous.",
3873
3856
  "temperature": 0.85
3874
3857
  },
3875
3858
  {
3876
3859
  "modelName": "gpt-3.5-turbo-16k",
3877
- "systemMessage": "You are an accomplished poet and storyteller. Use vivid imagery and musical phrasing, keep narratives coherent, and follow requested forms or constraints.",
3878
- "temperature": 1
3860
+ "systemMessage": "You are an accomplished poet and storyteller focused on concise, engaging pieces. Keep language vivid but accessible, and when helpful provide two alternative styles or tones for comparison.",
3861
+ "temperature": 0.85
3879
3862
  }
3880
3863
  ]
3881
3864
  }
@@ -3888,14 +3871,14 @@ function getTemplatesPipelineCollection() {
3888
3871
  "preparations": [
3889
3872
  {
3890
3873
  "id": 1,
3891
- "promptbookVersion": "0.100.4-0",
3874
+ "promptbookVersion": "0.101.0-9",
3892
3875
  "usage": {
3893
3876
  "price": {
3894
- "value": 0.030610000000000002
3877
+ "value": 0.026181250000000003
3895
3878
  },
3896
3879
  "input": {
3897
3880
  "tokensCount": {
3898
- "value": 5776
3881
+ "value": 5857
3899
3882
  },
3900
3883
  "charactersCount": {
3901
3884
  "value": 2377
@@ -3918,19 +3901,19 @@ function getTemplatesPipelineCollection() {
3918
3901
  },
3919
3902
  "output": {
3920
3903
  "tokensCount": {
3921
- "value": 2339
3904
+ "value": 1886
3922
3905
  },
3923
3906
  "charactersCount": {
3924
- "value": 1197
3907
+ "value": 1497
3925
3908
  },
3926
3909
  "wordsCount": {
3927
- "value": 156
3910
+ "value": 199
3928
3911
  },
3929
3912
  "sentencesCount": {
3930
- "value": 17
3913
+ "value": 19
3931
3914
  },
3932
3915
  "linesCount": {
3933
- "value": 36
3916
+ "value": 41
3934
3917
  },
3935
3918
  "paragraphsCount": {
3936
3919
  "value": 1