@promptbook/documents 0.86.8 β†’ 0.86.22

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
@@ -144,9 +144,7 @@ And **Promptbook.city** branded socials:
144
144
  _/Sub-brand for images and graphics generated via Promptbook prompting/_
145
145
 
146
146
  - [Instagram `@promptbook.city`](https://www.instagram.com/promptbook.city/)
147
- - [Facebook `Promptbook City`](https://www.facebook.com/61565718625569)
148
-
149
- ##
147
+ - [Facebook `Promptbook City`](https://www.facebook.com/61565718625569)
150
148
 
151
149
 
152
150
 
@@ -157,7 +155,9 @@ _/Sub-brand for images and graphics generated via Promptbook prompting/_
157
155
 
158
156
 
159
157
 
160
- Following is the documentation and blueprint of the Book language.
158
+ Following is the documentation and blueprint of the [Book language](https://github.com/webgptorg/book).
159
+
160
+ Book is a language that can be used to write AI applications, agents, workflows, automations, knowledgebases, translators, sheet processors, email automations and more. It allows you to harness the power of AI models in human-like terms, without the need to know the specifics and technicalities of the models.
161
161
 
162
162
  ### Example
163
163
 
@@ -165,35 +165,56 @@ Following is the documentation and blueprint of the Book language.
165
165
  # 🌟 My first Book
166
166
 
167
167
  - BOOK VERSION 1.0.0
168
- - URL https://promptbook.studio/my-first-book/
168
+ - URL https://promptbook.studio/hello.book
169
+ - INPUT PARAMETER {topic}
170
+ - OUTPUT PARAMETER {article}
169
171
 
170
172
  # Write an article
171
173
 
172
174
  - PERSONA Jane, marketing specialist with prior experience in writing articles about technology and artificial intelligence
173
- - KNOWLEDGE https://ptbk.io
174
- - KNOWLEDGE ./promptbook.pdf
175
+ - KNOWLEDGE https://wikipedia.org/
176
+ - KNOWLEDGE ./journalist-ethics.pdf
175
177
  - EXPECT MIN 1 Sentence
176
- - EXPECT MAX 1 Paragraph
178
+ - EXPECT MAX 5 Pages
177
179
 
178
- > 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.
179
- > Look specifically at the impact of Promptbook on the AI industry.
180
+ > Write an article about {topic}
180
181
 
181
182
  -> {article}
182
183
  ```
183
184
 
185
+ Each part of the book defines one of 3 circles:
186
+
184
187
  ### **What:** Workflows, Tasks and Parameters
185
188
 
189
+ What work needs to be done. Each book defines a workflow, which is one or more tasks. Each workflow has a fixed input and output. For example, you have a book that generates an article from a topic. Once it generates an article about AI, once about marketing, once about cooking. The workflow (= your AI program) is the same, only the input and output change.
190
+
191
+ **Related commands:**
192
+
186
193
  - [PARAMETER](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PARAMETER.md)
187
194
 
188
195
  ### **Who:** Personas
189
196
 
197
+ Who does the work. Each task is performed by a persona. A persona is a description of your virtual employee. It is a higher abstraction than the model, tokens, temperature, top-k, top-p and other model parameters.
198
+
199
+ You can describe what you want in human language like `Jane, creative writer with a sense of sharp humour` instead of `gpt-4-2024-13-31, temperature 1.2, top-k 40, STOP token ".\n",...`.
200
+
201
+ Personas can have access to different knowledge, tools and actions. They can also consult their work with other personas or user, if allowed.
202
+
203
+ **Related commands:**
204
+
190
205
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
191
206
 
207
+
208
+
192
209
  ### **How:** Knowledge, Instruments and Actions
193
210
 
194
- - [KNOWLEDGE](https://github.com/webgptorg/promptbook/blob/main/documents/commands/KNOWLEDGE.md)
195
- - [INSTRUMENT](https://github.com/webgptorg/promptbook/blob/main/documents/commands/INSTRUMENT.md)
196
- - [ACTION](https://github.com/webgptorg/promptbook/blob/main/documents/commands/ACTION.md)
211
+ The resources used by the personas are used to do the work.
212
+
213
+ **Related commands:**
214
+
215
+ - [KNOWLEDGE](https://github.com/webgptorg/promptbook/blob/main/documents/commands/KNOWLEDGE.md) of documents, websites, and other resources
216
+ - [INSTRUMENT](https://github.com/webgptorg/promptbook/blob/main/documents/commands/INSTRUMENT.md) for real-time data like time, location, weather, stock prices, searching the internet, calculations, etc.
217
+ - [ACTION](https://github.com/webgptorg/promptbook/blob/main/documents/commands/ACTION.md) for actions like sending emails, creating files, ending a workflow, etc.
197
218
 
198
219
  ### General principles of book language
199
220
 
@@ -284,35 +305,7 @@ The following glossary is used to clarify certain concepts:
284
305
 
285
306
  _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
286
307
 
287
- #### Promptbook core
288
-
289
- - **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).
290
- - **Jobs**
291
- - **Task**
292
- - **Subtask**
293
- - **Workforce**
294
- - **Persona**
295
- - **Team**
296
- - **Role**
297
- - **Knowledge**
298
- - **Public**
299
- - **Private**
300
- - **Protected**
301
- - **Instruments**
302
- - **Actions**
303
-
304
- #### Book language
305
-
306
- - **Book file**
307
- - **Section**
308
- - **Heading**
309
- - **Description**
310
- - **Command**
311
- - **Block**
312
- - **Return statement**
313
- - **Comment**
314
- - **Import**
315
- - **Scope**
308
+
316
309
 
317
310
  #### πŸ’― Core concepts
318
311
 
@@ -409,7 +402,7 @@ See [CHANGELOG.md](./CHANGELOG.md)
409
402
 
410
403
  ## πŸ“œ License
411
404
 
412
- <p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/webgptorg/promptbook">Promptbook</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://github.com/hejny/">Pavol HejnΓ½</a> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY 4.0</a></p>
405
+ Promptbook project is under [BUSL 1.1 is an SPDX license](https://spdx.org/licenses/BUSL-1.1.html)
413
406
 
414
407
  ## 🎯 Todos
415
408
 
@@ -417,7 +410,6 @@ See [TODO.md](./TODO.md)
417
410
 
418
411
 
419
412
 
420
-
421
413
  ## 🀝 Partners
422
414
 
423
415
  <div style="display: flex; align-items: center; gap: 20px;">
@@ -434,6 +426,6 @@ See [TODO.md](./TODO.md)
434
426
 
435
427
  ## πŸ–‹οΈ Contributing
436
428
 
437
- I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can [β˜• buy me a coffee](https://www.buymeacoffee.com/hejny) or [donate via cryptocurrencies](https://github.com/hejny/hejny/blob/main/documents/crypto.md).
429
+ We are open to pull requests, feedback, and suggestions.
438
430
 
439
- You can also ⭐ star the promptbook package, [follow me on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/).
431
+ You can also ⭐ star the project, [follow us on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/).