ptbk 0.86.31 → 0.88.0-10

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 (2) hide show
  1. package/README.md +17 -43
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -34,8 +34,6 @@
34
34
 
35
35
  During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), 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**!
36
36
 
37
-
38
-
39
37
  It'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!
40
38
 
41
39
  The 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.
@@ -92,27 +90,28 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
92
90
  </tbody>
93
91
  </table>
94
92
 
93
+ Hello world examples:
94
+
95
+ - [Hello world](https://github.com/webgptorg/hello-world)
96
+ - [Hello world in Node.js](https://github.com/webgptorg/hello-world-node-js)
97
+ - [Hello world in Next.js](https://github.com/webgptorg/hello-world-next-js)
98
+
95
99
  We also have a community of developers and users of **Promptbook**:
96
100
 
97
101
  - [Discord community](https://discord.gg/x3QWNaa89N)
98
102
  - [Landing page `ptbk.io`](https://ptbk.io)
99
103
  - [Github discussions](https://github.com/webgptorg/promptbook/discussions)
100
104
  - [LinkedIn `Promptbook`](https://linkedin.com/company/promptbook)
101
- - [Facebook `Promptbook`](https://www.facebook.com/61560776453536)
105
+ - [Facebook `Promptbook`](https://www.facebook.com/61560776453536)
102
106
 
103
107
  And **Promptbook.studio** branded socials:
104
108
 
105
-
106
-
107
109
  - [Instagram `@promptbook.studio`](https://www.instagram.com/promptbook.studio/)
108
110
 
109
111
  And **Promptujeme** sub-brand:
110
112
 
111
113
  _/Subbrand for Czech clients/_
112
114
 
113
-
114
-
115
-
116
115
  - [Promptujeme.cz](https://www.promptujeme.cz/)
117
116
  - [Facebook `Promptujeme`](https://www.facebook.com/promptujeme/)
118
117
 
@@ -130,8 +129,6 @@ _/Sub-brand for images and graphics generated via Promptbook prompting/_
130
129
 
131
130
  ## 💙 The Book language
132
131
 
133
-
134
-
135
132
  Following is the documentation and blueprint of the [Book language](https://github.com/webgptorg/book).
136
133
 
137
134
  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.
@@ -181,8 +178,6 @@ Personas can have access to different knowledge, tools and actions. They can als
181
178
 
182
179
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
183
180
 
184
-
185
-
186
181
  ### **How:** Knowledge, Instruments and Actions
187
182
 
188
183
  The resources used by the personas are used to do the work.
@@ -229,7 +224,7 @@ Or you can install them separately:
229
224
  - ⭐ **[@promptbook/utils](https://www.npmjs.com/package/@promptbook/utils)** - Utility functions used in the library but also useful for individual use in preprocessing and postprocessing LLM inputs and outputs
230
225
  - **[@promptbook/markdown-utils](https://www.npmjs.com/package/@promptbook/markdown-utils)** - Utility functions used for processing markdown
231
226
  - _(Not finished)_ **[@promptbook/wizzard](https://www.npmjs.com/package/@promptbook/wizzard)** - Wizard for creating+running promptbooks in single line
232
- - **[@promptbook/execute-javascript](https://www.npmjs.com/package/@promptbook/execute-javascript)** - Execution tools for javascript inside promptbooks
227
+ - **[@promptbook/javascript](https://www.npmjs.com/package/@promptbook/javascript)** - Execution tools for javascript inside promptbooks
233
228
  - **[@promptbook/openai](https://www.npmjs.com/package/@promptbook/openai)** - Execution tools for OpenAI API, wrapper around OpenAI SDK
234
229
  - **[@promptbook/anthropic-claude](https://www.npmjs.com/package/@promptbook/anthropic-claude)** - Execution tools for Anthropic Claude API, wrapper around Anthropic Claude SDK
235
230
  - **[@promptbook/vercel](https://www.npmjs.com/package/@promptbook/vercel)** - Adapter for Vercel functionalities
@@ -258,16 +253,9 @@ Or you can install them separately:
258
253
 
259
254
  ## 📚 Dictionary
260
255
 
261
-
262
-
263
-
264
-
265
-
266
- ### 📚 Dictionary
267
-
268
256
  The following glossary is used to clarify certain concepts:
269
257
 
270
- #### General LLM / AI terms
258
+ ### General LLM / AI terms
271
259
 
272
260
  - **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.
273
261
  - **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.
@@ -278,13 +266,9 @@ The following glossary is used to clarify certain concepts:
278
266
  - **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.
279
267
  - **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.
280
268
 
269
+ _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
281
270
 
282
-
283
- _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
284
-
285
-
286
-
287
- #### 💯 Core concepts
271
+ ### 💯 Core concepts
288
272
 
289
273
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
290
274
  - [📯 Pipeline](https://github.com/webgptorg/promptbook/discussions/64)
@@ -297,7 +281,7 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
297
281
  - [🔣 Words not tokens](https://github.com/webgptorg/promptbook/discussions/29)
298
282
  - [☯ Separation of concerns](https://github.com/webgptorg/promptbook/discussions/32)
299
283
 
300
- ##### Advanced concepts
284
+ #### Advanced concepts
301
285
 
302
286
  - [📚 Knowledge (Retrieval-augmented generation)](https://github.com/webgptorg/promptbook/discussions/41)
303
287
  - [🌏 Remote server](https://github.com/webgptorg/promptbook/discussions/89)
@@ -314,17 +298,9 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
314
298
 
315
299
 
316
300
 
317
- ### Terms specific to Promptbook TypeScript implementation
301
+ ## 🚂 Promptbook Engine
318
302
 
319
- - Anonymous mode
320
- - Application mode
321
-
322
-
323
-
324
- ## 🔌 Usage in Typescript / Javascript
325
-
326
- - [Simple usage](./examples/usage/simple-script)
327
- - [Usage with client and remote server](./examples/usage/remote)
303
+ ![Schema of Promptbook Engine](./documents/promptbook-engine.svg)
328
304
 
329
305
  ## ➕➖ When to use Promptbook?
330
306
 
@@ -385,20 +361,18 @@ Promptbook project is under [BUSL 1.1 is an SPDX license](https://spdx.org/licen
385
361
 
386
362
  See [TODO.md](./TODO.md)
387
363
 
388
-
389
-
390
364
  ## 🤝 Partners
391
365
 
392
366
  <div style="display: flex; align-items: center; gap: 20px;">
393
367
 
394
368
  <a href="https://promptbook.studio/">
395
- <img src="./design/promptbook-studio-logo.png" alt="Partner 3" height="100">
369
+ <img src="./design/promptbook-studio-logo.png" alt="Partner 3" height="70">
396
370
  </a>
397
371
 
398
372
  <a href="https://technologickainkubace.org/en/about-technology-incubation/about-the-project/">
399
- <img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="100">
373
+ <img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="70">
400
374
  </a>
401
-
375
+
402
376
  </div>
403
377
 
404
378
  ## 🖋️ Contributing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ptbk",
3
- "version": "0.86.31",
3
+ "version": "0.88.0-10",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -44,10 +44,10 @@
44
44
  },
45
45
  "homepage": "https://ptbk.io/",
46
46
  "peerDependencies": {
47
- "@promptbook/core": "0.86.31"
47
+ "@promptbook/core": "0.88.0-10"
48
48
  },
49
49
  "dependencies": {
50
- "promptbook": "0.86.31"
50
+ "promptbook": "0.88.0-10"
51
51
  },
52
52
  "bin": {
53
53
  "ptbk": "bin/promptbook-cli-proxy.js"