@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/esm/index.es.js CHANGED
@@ -16,7 +16,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
16
16
  * @generated
17
17
  * @see https://github.com/webgptorg/promptbook
18
18
  */
19
- var PROMPTBOOK_ENGINE_VERSION = '0.82.0-3';
19
+ var PROMPTBOOK_ENGINE_VERSION = '0.82.0';
20
20
  /**
21
21
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
22
22
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1575,7 +1575,7 @@ function getTemplatesPipelineCollection() {
1575
1575
  "preparations": [
1576
1576
  {
1577
1577
  "id": 1,
1578
- "promptbookVersion": "0.82.0-3",
1578
+ "promptbookVersion": "0.82.0",
1579
1579
  "usage": {
1580
1580
  "price": {
1581
1581
  "value": 0.005805
@@ -1632,7 +1632,7 @@ function getTemplatesPipelineCollection() {
1632
1632
  "knowledgeSources": [
1633
1633
  {
1634
1634
  "name": "source-the-book-abstract-528a374cfbc169af09d3",
1635
- "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!",
1635
+ "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!",
1636
1636
  "preparationIds": [
1637
1637
  1
1638
1638
  ]
@@ -1793,7 +1793,7 @@ function getTemplatesPipelineCollection() {
1793
1793
  "preparations": [
1794
1794
  {
1795
1795
  "id": 1,
1796
- "promptbookVersion": "0.82.0-3",
1796
+ "promptbookVersion": "0.82.0",
1797
1797
  "usage": {
1798
1798
  "price": {
1799
1799
  "value": 0.005757
@@ -1915,7 +1915,7 @@ function getTemplatesPipelineCollection() {
1915
1915
  "preparations": [
1916
1916
  {
1917
1917
  "id": 1,
1918
- "promptbookVersion": "0.82.0-3",
1918
+ "promptbookVersion": "0.82.0",
1919
1919
  "usage": {
1920
1920
  "price": {
1921
1921
  "value": 0.005442000000000001
@@ -2011,7 +2011,7 @@ function getTemplatesPipelineCollection() {
2011
2011
  "preparations": [
2012
2012
  {
2013
2013
  "id": 1,
2014
- "promptbookVersion": "0.82.0-3",
2014
+ "promptbookVersion": "0.82.0",
2015
2015
  "usage": {
2016
2016
  "price": {
2017
2017
  "value": 0
@@ -2128,7 +2128,7 @@ function getTemplatesPipelineCollection() {
2128
2128
  "preparations": [
2129
2129
  {
2130
2130
  "id": 1,
2131
- "promptbookVersion": "0.82.0-3",
2131
+ "promptbookVersion": "0.82.0",
2132
2132
  "usage": {
2133
2133
  "price": {
2134
2134
  "value": 0.005124
@@ -2258,7 +2258,7 @@ function getTemplatesPipelineCollection() {
2258
2258
  "preparations": [
2259
2259
  {
2260
2260
  "id": 1,
2261
- "promptbookVersion": "0.82.0-3",
2261
+ "promptbookVersion": "0.82.0",
2262
2262
  "usage": {
2263
2263
  "price": {
2264
2264
  "value": 0.0054540000000000005
@@ -2315,14 +2315,14 @@ function getTemplatesPipelineCollection() {
2315
2315
  "knowledgeSources": [
2316
2316
  {
2317
2317
  "name": "source-coolstore-is-an-esho-54af0da6e247e295bb29",
2318
- "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.",
2318
+ "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.",
2319
2319
  "preparationIds": [
2320
2320
  1
2321
2321
  ]
2322
2322
  },
2323
2323
  {
2324
2324
  "name": "source-uranium-glass-garden-77d2bea40f9d5065b9ff",
2325
- "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.",
2325
+ "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.",
2326
2326
  "preparationIds": [
2327
2327
  1
2328
2328
  ]
@@ -2534,7 +2534,7 @@ function getTemplatesPipelineCollection() {
2534
2534
  "preparations": [
2535
2535
  {
2536
2536
  "id": 1,
2537
- "promptbookVersion": "0.82.0-3",
2537
+ "promptbookVersion": "0.82.0",
2538
2538
  "usage": {
2539
2539
  "price": {
2540
2540
  "value": 0.006237