@promptbook/templates 0.82.0 → 0.83.0

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 (44) hide show
  1. package/esm/index.es.js +11 -11
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/src/_packages/editable.index.d.ts +74 -0
  4. package/esm/typings/src/_packages/types.index.d.ts +26 -0
  5. package/esm/typings/src/commands/BOOK_VERSION/BookVersionCommand.d.ts +1 -1
  6. package/esm/typings/src/commands/BOOK_VERSION/bookVersionCommandParser.d.ts +1 -1
  7. package/esm/typings/src/commands/EXPECT/expectCommandParser.d.ts +1 -1
  8. package/esm/typings/src/commands/FOREACH/ForeachCommand.d.ts +1 -1
  9. package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +1 -1
  10. package/esm/typings/src/commands/FORMAT/formatCommandParser.d.ts +1 -1
  11. package/esm/typings/src/commands/FORMFACTOR/FormfactorCommand.d.ts +1 -1
  12. package/esm/typings/src/commands/FORMFACTOR/formfactorCommandParser.d.ts +1 -1
  13. package/esm/typings/src/commands/JOKER/JokerCommand.d.ts +1 -1
  14. package/esm/typings/src/commands/JOKER/jokerCommandParser.d.ts +1 -1
  15. package/esm/typings/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +2 -2
  16. package/esm/typings/src/commands/KNOWLEDGE/knowledgeCommandParser.d.ts +1 -1
  17. package/esm/typings/src/commands/KNOWLEDGE/utils/{sourceContentToName.d.ts → knowledgeSourceContentToName.d.ts} +2 -2
  18. package/esm/typings/src/commands/MODEL/ModelCommand.d.ts +2 -1
  19. package/esm/typings/src/commands/MODEL/modelCommandParser.d.ts +2 -1
  20. package/esm/typings/src/commands/PARAMETER/ParameterCommand.d.ts +1 -1
  21. package/esm/typings/src/commands/PARAMETER/parameterCommandParser.d.ts +1 -1
  22. package/esm/typings/src/commands/PERSONA/PersonaCommand.d.ts +1 -1
  23. package/esm/typings/src/commands/PERSONA/personaCommandParser.d.ts +1 -1
  24. package/esm/typings/src/commands/POSTPROCESS/PostprocessCommand.d.ts +1 -1
  25. package/esm/typings/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +1 -1
  26. package/esm/typings/src/commands/SECTION/SectionCommand.d.ts +1 -1
  27. package/esm/typings/src/commands/SECTION/sectionCommandParser.d.ts +1 -1
  28. package/esm/typings/src/commands/URL/UrlCommand.d.ts +1 -1
  29. package/esm/typings/src/commands/URL/urlCommandParser.d.ts +1 -1
  30. package/esm/typings/src/commands/X_ACTION/ActionCommand.d.ts +1 -1
  31. package/esm/typings/src/commands/X_ACTION/actionCommandParser.d.ts +1 -1
  32. package/esm/typings/src/commands/X_INSTRUMENT/InstrumentCommand.d.ts +1 -1
  33. package/esm/typings/src/commands/X_INSTRUMENT/instrumentCommandParser.d.ts +1 -1
  34. package/esm/typings/src/commands/_common/getParserForCommand.d.ts +1 -1
  35. package/esm/typings/src/commands/_common/parseCommand.d.ts +1 -1
  36. package/esm/typings/src/commands/_common/stringifyCommand.d.ts +1 -0
  37. package/esm/typings/src/commands/_common/types/CommandParser.d.ts +8 -0
  38. package/esm/typings/src/commands/_common/types/CommandUsagePlaces.d.ts +2 -0
  39. package/esm/typings/src/commands/index.d.ts +1 -1
  40. package/esm/typings/src/pipeline/PipelineJson/KnowledgeSourceJson.d.ts +1 -1
  41. package/package.json +2 -2
  42. package/umd/index.umd.js +11 -11
  43. package/umd/index.umd.js.map +1 -1
  44. /package/esm/typings/src/commands/KNOWLEDGE/utils/{sourceContentToName.test.d.ts → knowledgeSourceContentToName.test.d.ts} +0 -0
package/umd/index.umd.js CHANGED
@@ -23,7 +23,7 @@
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- var PROMPTBOOK_ENGINE_VERSION = '0.82.0-3';
26
+ var PROMPTBOOK_ENGINE_VERSION = '0.82.0';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1582,7 +1582,7 @@
1582
1582
  "preparations": [
1583
1583
  {
1584
1584
  "id": 1,
1585
- "promptbookVersion": "0.82.0-3",
1585
+ "promptbookVersion": "0.82.0",
1586
1586
  "usage": {
1587
1587
  "price": {
1588
1588
  "value": 0.005805
@@ -1639,7 +1639,7 @@
1639
1639
  "knowledgeSources": [
1640
1640
  {
1641
1641
  "name": "source-the-book-abstract-528a374cfbc169af09d3",
1642
- "sourceContent": "🤍 The Book Abstract\n\nIt's time for a paradigm shift! The future of software is in plain English, French or Latin.\n\nDuring the computer revolution, we have seen multiple generations of computer languages, from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the next revolution!\n\nIt's a revolution of writing software in plain human language that is understandable and executable by both humans and machines – and it's going to change everything!\n\nThe incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.\n\nThis shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.\n\nJoin us in this journey!",
1642
+ "knowledgeSourceContent": "🤍 The Book Abstract\n\nIt's time for a paradigm shift! The future of software is in plain English, French or Latin.\n\nDuring the computer revolution, we have seen multiple generations of computer languages, from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the next revolution!\n\nIt's a revolution of writing software in plain human language that is understandable and executable by both humans and machines – and it's going to change everything!\n\nThe incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.\n\nThis shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.\n\nJoin us in this journey!",
1643
1643
  "preparationIds": [
1644
1644
  1
1645
1645
  ]
@@ -1800,7 +1800,7 @@
1800
1800
  "preparations": [
1801
1801
  {
1802
1802
  "id": 1,
1803
- "promptbookVersion": "0.82.0-3",
1803
+ "promptbookVersion": "0.82.0",
1804
1804
  "usage": {
1805
1805
  "price": {
1806
1806
  "value": 0.005757
@@ -1922,7 +1922,7 @@
1922
1922
  "preparations": [
1923
1923
  {
1924
1924
  "id": 1,
1925
- "promptbookVersion": "0.82.0-3",
1925
+ "promptbookVersion": "0.82.0",
1926
1926
  "usage": {
1927
1927
  "price": {
1928
1928
  "value": 0.005442000000000001
@@ -2018,7 +2018,7 @@
2018
2018
  "preparations": [
2019
2019
  {
2020
2020
  "id": 1,
2021
- "promptbookVersion": "0.82.0-3",
2021
+ "promptbookVersion": "0.82.0",
2022
2022
  "usage": {
2023
2023
  "price": {
2024
2024
  "value": 0
@@ -2135,7 +2135,7 @@
2135
2135
  "preparations": [
2136
2136
  {
2137
2137
  "id": 1,
2138
- "promptbookVersion": "0.82.0-3",
2138
+ "promptbookVersion": "0.82.0",
2139
2139
  "usage": {
2140
2140
  "price": {
2141
2141
  "value": 0.005124
@@ -2265,7 +2265,7 @@
2265
2265
  "preparations": [
2266
2266
  {
2267
2267
  "id": 1,
2268
- "promptbookVersion": "0.82.0-3",
2268
+ "promptbookVersion": "0.82.0",
2269
2269
  "usage": {
2270
2270
  "price": {
2271
2271
  "value": 0.0054540000000000005
@@ -2322,14 +2322,14 @@
2322
2322
  "knowledgeSources": [
2323
2323
  {
2324
2324
  "name": "source-coolstore-is-an-esho-54af0da6e247e295bb29",
2325
- "sourceContent": "Coolstore is an eshop that sells various hobby, home and garden products. It has a wide range of products from garden gnomes to kitchen gadgets.\nIt has 3 physical stores in the UK and a large online store that operates in the UK + EU + Switzerland. Key benefits are fast delivery and excellent customer service with a personal touch.",
2325
+ "knowledgeSourceContent": "Coolstore is an eshop that sells various hobby, home and garden products. It has a wide range of products from garden gnomes to kitchen gadgets.\nIt has 3 physical stores in the UK and a large online store that operates in the UK + EU + Switzerland. Key benefits are fast delivery and excellent customer service with a personal touch.",
2326
2326
  "preparationIds": [
2327
2327
  1
2328
2328
  ]
2329
2329
  },
2330
2330
  {
2331
2331
  "name": "source-uranium-glass-garden-77d2bea40f9d5065b9ff",
2332
- "sourceContent": "Uranium Glass Garden Gnomes are the newest product in the eshop. They are made of glass with a fluorescent uranium oxide added to the glass mixture. The gnomes are equipped with a UV LED light that makes them glow in the dark. They are great for scaring away birds and snakes.",
2332
+ "knowledgeSourceContent": "Uranium Glass Garden Gnomes are the newest product in the eshop. They are made of glass with a fluorescent uranium oxide added to the glass mixture. The gnomes are equipped with a UV LED light that makes them glow in the dark. They are great for scaring away birds and snakes.",
2333
2333
  "preparationIds": [
2334
2334
  1
2335
2335
  ]
@@ -2541,7 +2541,7 @@
2541
2541
  "preparations": [
2542
2542
  {
2543
2543
  "id": 1,
2544
- "promptbookVersion": "0.82.0-3",
2544
+ "promptbookVersion": "0.82.0",
2545
2545
  "usage": {
2546
2546
  "price": {
2547
2547
  "value": 0.006237