ptbk 0.74.0-0 → 0.74.0-2
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 +84 -16
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -50,44 +50,52 @@ In all of these situations, but especially in 3., the **✨ Promptbook can make
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
## 💜 The Promptbook Project
|
|
54
53
|
|
|
55
54
|
|
|
56
55
|
|
|
56
|
+
## 💜 The Promptbook Project
|
|
57
|
+
|
|
58
|
+
Promptbook project is ecosystem of multiple projects and tools, following is a list of most important pieces of the project:
|
|
59
|
+
|
|
57
60
|
<table>
|
|
58
|
-
<
|
|
61
|
+
<thead>
|
|
59
62
|
<tr>
|
|
60
|
-
<
|
|
61
|
-
<
|
|
62
|
-
<
|
|
63
|
+
<th>Project</th>
|
|
64
|
+
<th>Description</th>
|
|
65
|
+
<th>Link</th>
|
|
63
66
|
</tr>
|
|
67
|
+
</thead>
|
|
68
|
+
<tbody>
|
|
64
69
|
<tr>
|
|
65
|
-
<td>
|
|
66
|
-
<td>Promptbook
|
|
70
|
+
<td>Core</td>
|
|
71
|
+
<td>Promptbook core is a description and documentation of basic innerworkings how should be Promptbook implemented and defines which fetures must be descriable by book language</td>
|
|
72
|
+
<td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
|
|
67
73
|
</tr>
|
|
68
74
|
<tr>
|
|
69
75
|
<td>Book language</td>
|
|
70
76
|
<td>
|
|
71
|
-
Book is a markdown-like language to define projects, pipelines, knowledge
|
|
77
|
+
Book is a markdown-like language to define core entities like projects, pipelines, knowledge,.... It is designed to be understandable by non-programmers and non-technical people
|
|
72
78
|
</td>
|
|
73
79
|
</tr>
|
|
74
80
|
<tr>
|
|
75
81
|
<td>Promptbook typescript project</td>
|
|
76
82
|
<td>Implementation of Promptbook in TypeScript published into multiple packages to NPM</td>
|
|
77
|
-
<td>https://github.com/webgptorg/promptbook</td>
|
|
83
|
+
<td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
|
|
78
84
|
</tr>
|
|
79
85
|
<tr>
|
|
80
86
|
<td>Promptbook studio</td>
|
|
81
|
-
<td>
|
|
82
|
-
<td rowspan=2>https://github.com/hejny/promptbook-studio</td>
|
|
87
|
+
<td>No-code studio to write book without need to write even the markdown</td>
|
|
88
|
+
<td rowspan=2>https://promptbook.studio<br/>https://github.com/hejny/promptbook-studio</td>
|
|
83
89
|
</tr>
|
|
84
90
|
<tr>
|
|
85
91
|
<td>Promptbook miniapps</td>
|
|
86
|
-
<td>
|
|
92
|
+
<td>Builder of LLM miniapps from book notation</td>
|
|
87
93
|
</tr>
|
|
88
94
|
</tbody>
|
|
89
95
|
</table>
|
|
90
96
|
|
|
97
|
+
|
|
98
|
+
|
|
91
99
|
## 💙 Book language _(for prompt-engineer)_
|
|
92
100
|
|
|
93
101
|
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.
|
|
@@ -158,15 +166,66 @@ Or you can install them separately:
|
|
|
158
166
|
|
|
159
167
|
|
|
160
168
|
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
161
172
|
## 📚 Dictionary
|
|
162
173
|
|
|
163
|
-
The following glossary is used to clarify certain concepts:
|
|
164
174
|
|
|
165
|
-
### Basic terms
|
|
166
175
|
|
|
167
176
|
|
|
168
177
|
|
|
169
|
-
|
|
178
|
+
|
|
179
|
+
### 📚 Dictionary
|
|
180
|
+
|
|
181
|
+
The following glossary is used to clarify certain concepts:
|
|
182
|
+
|
|
183
|
+
#### General LLM / AI terms
|
|
184
|
+
|
|
185
|
+
- **Prompt drift** is a phenomenon where the AI model starts to generate outputs that are not aligned with the original prompt. This can happen due to the model's training data, the prompt's wording, or the model's architecture.
|
|
186
|
+
- **Pipeline, workflow or chain** is a sequence of tasks that are executed in a specific order. In the context of AI, a pipeline can refer to a sequence of AI models that are used to process data.
|
|
187
|
+
- **Fine-tuning** is a process where a pre-trained AI model is further trained on a specific dataset to improve its performance on a specific task.
|
|
188
|
+
- **Zero-shot learning** is a machine learning paradigm where a model is trained to perform a task without any labeled examples. Instead, the model is provided with a description of the task and is expected to generate the correct output.
|
|
189
|
+
- **Few-shot learning** is a machine learning paradigm where a model is trained to perform a task with only a few labeled examples. This is in contrast to traditional machine learning, where models are trained on large datasets.
|
|
190
|
+
- **Meta-learning** is a machine learning paradigm where a model is trained on a variety of tasks and is able to learn new tasks with minimal additional training. This is achieved by learning a set of meta-parameters that can be quickly adapted to new tasks.
|
|
191
|
+
- **Retrieval-augmented generation** is a machine learning paradigm where a model generates text by retrieving relevant information from a large database of text. This approach combines the benefits of generative models and retrieval models.
|
|
192
|
+
- **Longtail** refers to non-common or rare events, items, or entities that are not well-represented in the training data of machine learning models. Longtail items are often challenging for models to predict accurately.
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
_Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
197
|
+
|
|
198
|
+
#### Promptbook core
|
|
199
|
+
|
|
200
|
+
- **Organization** _(legacy name collection)_ group jobs, workforce, knowledge, instruments, and actions into one package. Entities in one organization can share resources (= import resources from each other).
|
|
201
|
+
- **Jobs**
|
|
202
|
+
- **Task**
|
|
203
|
+
- **Subtask**
|
|
204
|
+
- **Workforce**
|
|
205
|
+
- **Persona**
|
|
206
|
+
- **Team**
|
|
207
|
+
- **Role**
|
|
208
|
+
- **Knowledge**
|
|
209
|
+
- **Public**
|
|
210
|
+
- **Private**
|
|
211
|
+
- **Protected**
|
|
212
|
+
- **Instruments**
|
|
213
|
+
- **Actions**
|
|
214
|
+
|
|
215
|
+
#### Book language
|
|
216
|
+
|
|
217
|
+
- **Book file**
|
|
218
|
+
- **Section**
|
|
219
|
+
- **Heading**
|
|
220
|
+
- **Description**
|
|
221
|
+
- **Command**
|
|
222
|
+
- **Block**
|
|
223
|
+
- **Return statement**
|
|
224
|
+
- **Comment**
|
|
225
|
+
- **Import**
|
|
226
|
+
- **Scope**
|
|
227
|
+
|
|
228
|
+
#### 💯 Core concepts
|
|
170
229
|
|
|
171
230
|
- [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
|
172
231
|
- [📯 Pipeline](https://github.com/webgptorg/promptbook/discussions/64)
|
|
@@ -179,7 +238,7 @@ The following glossary is used to clarify certain concepts:
|
|
|
179
238
|
- [🔣 Words not tokens](https://github.com/webgptorg/promptbook/discussions/29)
|
|
180
239
|
- [☯ Separation of concerns](https://github.com/webgptorg/promptbook/discussions/32)
|
|
181
240
|
|
|
182
|
-
|
|
241
|
+
##### Advanced concepts
|
|
183
242
|
|
|
184
243
|
- [📚 Knowledge (Retrieval-augmented generation)](https://github.com/webgptorg/promptbook/discussions/41)
|
|
185
244
|
- [🌏 Remote server](https://github.com/webgptorg/promptbook/discussions/89)
|
|
@@ -194,6 +253,15 @@ The following glossary is used to clarify certain concepts:
|
|
|
194
253
|
- [👮 Agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39)
|
|
195
254
|
- [view more](https://github.com/webgptorg/promptbook/discussions/categories/concepts)
|
|
196
255
|
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### Terms specific to Promptbook TypeScript implementation
|
|
259
|
+
|
|
260
|
+
- Anonymous mode
|
|
261
|
+
- Application mode
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
197
265
|
## 🔌 Usage in Typescript / Javascript
|
|
198
266
|
|
|
199
267
|
- [Simple usage](./examples/usage/simple-script)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ptbk",
|
|
3
|
-
"version": "0.74.0-
|
|
3
|
+
"version": "0.74.0-2",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@promptbook/core": "0.74.0-
|
|
53
|
+
"@promptbook/core": "0.74.0-2"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"promptbook": "0.74.0-
|
|
56
|
+
"promptbook": "0.74.0-2"
|
|
57
57
|
}
|
|
58
58
|
}
|