@promptbook/pdf 0.73.0 → 0.74.0-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.
package/README.md CHANGED
@@ -24,6 +24,10 @@ Build responsible, controlled and transparent applications on top of LLM models!
24
24
 
25
25
 
26
26
 
27
+ <blockquote style="color: #ff8811">
28
+ <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
29
+ </blockquote>
30
+
27
31
  ## 📦 Package `@promptbook/pdf`
28
32
 
29
33
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -50,6 +54,8 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
50
54
 
51
55
  ## 🤍 The Promptbook Whitepaper
52
56
 
57
+
58
+
53
59
  If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama 3, or whatever, it doesn't matter how you integrate it. Whether it's calling a REST API directly, using the SDK, hardcoding the prompt into the source code, or importing a text file, the process remains the same.
54
60
 
55
61
  But often you will struggle with the **limitations of LLMs**, such as **hallucinations, off-topic responses, poor quality output, language and prompt drift, word repetition repetition repetition repetition or misuse, lack of context, or just plain w𝒆𝐢rd resp0nses**. When this happens, you generally have three options:
@@ -70,6 +76,44 @@ In all of these situations, but especially in 3., the **✨ Promptbook can make
70
76
 
71
77
 
72
78
 
79
+ ## 💜 The Promptbook Project
80
+
81
+
82
+
83
+ <table>
84
+ <tbody>
85
+ <tr>
86
+ <td>Promptbook whitepaper</td>
87
+ <td>Basic motivations and problems which we are trying to solve</td>
88
+ <td rowspan=3>https://github.com/webgptorg/book</td>
89
+ </tr>
90
+ <tr>
91
+ <td>Promptbook <i>(system)</i></td>
92
+ <td>Promptbook ...</td>
93
+ </tr>
94
+ <tr>
95
+ <td>Book language</td>
96
+ <td>
97
+ Book is a markdown-like language to define projects, pipelines, knowledge,... in the Promptbook system. It is designed to be understandable by non-programmers and non-technical people
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td>Promptbook typescript project</td>
102
+ <td>Implementation of Promptbook in TypeScript published into multiple packages to NPM</td>
103
+ <td>https://github.com/webgptorg/promptbook</td>
104
+ </tr>
105
+ <tr>
106
+ <td>Promptbook studio</td>
107
+ <td>Promptbook studio</td>
108
+ <td rowspan=2>https://github.com/hejny/promptbook-studio</td>
109
+ </tr>
110
+ <tr>
111
+ <td>Promptbook miniapps</td>
112
+ <td>Promptbook miniapps</td>
113
+ </tr>
114
+ </tbody>
115
+ </table>
116
+
73
117
  ## 💙 Book language _(for prompt-engineer)_
74
118
 
75
119
  Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) are written in markdown-like language called [Book](https://github.com/webgptorg/book). It is designed to be understandable by non-programmers and non-technical people.
@@ -79,6 +123,17 @@ Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) a
79
123
  ```markdown
80
124
  # 🌟 My first Book
81
125
 
126
+ - INPUT PARAMETER {subject}
127
+ - OUTPUT PARAMETER {article}
128
+
129
+ ## Sample subject
130
+
131
+ > Promptbook
132
+
133
+ -> {subject}
134
+
135
+ ## Write an article
136
+
82
137
  - PERSONA Jane, marketing specialist with prior experience in writing articles about technology and artificial intelligence
83
138
  - KNOWLEDGE https://ptbk.io
84
139
  - KNOWLEDGE ./promptbook.pdf
@@ -86,7 +141,7 @@ Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) a
86
141
  - EXPECT MAX 1 Paragraph
87
142
 
88
143
  > Write an article about the future of artificial intelligence in the next 10 years and how metalanguages will change the way AI is used in the world.
89
- > Look specifically at the impact of Promptbook on the AI industry.
144
+ > Look specifically at the impact of {subject} on the AI industry.
90
145
 
91
146
  -> {article}
92
147
  ```
@@ -133,6 +188,10 @@ Or you can install them separately:
133
188
 
134
189
  The following glossary is used to clarify certain concepts:
135
190
 
191
+ ### Basic terms
192
+
193
+
194
+
136
195
  ### Core concepts
137
196
 
138
197
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
package/esm/index.es.js CHANGED
@@ -12,7 +12,7 @@ import { unparse, parse } from 'papaparse';
12
12
  /**
13
13
  * The version of the Promptbook library
14
14
  */
15
- var PROMPTBOOK_VERSION = '0.72.0';
15
+ var PROMPTBOOK_VERSION = '0.73.0';
16
16
  // TODO: [main] !!!! List here all the versions and annotate + put into script
17
17
 
18
18
  /*! *****************************************************************************
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/pdf",
3
- "version": "0.73.0",
3
+ "version": "0.74.0-0",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -53,7 +53,7 @@
53
53
  "module": "./esm/index.es.js",
54
54
  "typings": "./esm/typings/src/_packages/pdf.index.d.ts",
55
55
  "peerDependencies": {
56
- "@promptbook/core": "0.73.0"
56
+ "@promptbook/core": "0.74.0-0"
57
57
  },
58
58
  "dependencies": {
59
59
  "crypto-js": "4.2.0",
package/umd/index.umd.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /**
15
15
  * The version of the Promptbook library
16
16
  */
17
- var PROMPTBOOK_VERSION = '0.72.0';
17
+ var PROMPTBOOK_VERSION = '0.73.0';
18
18
  // TODO: [main] !!!! List here all the versions and annotate + put into script
19
19
 
20
20
  /*! *****************************************************************************