promptbook 0.75.0-2 → 0.75.0-4

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 +27 -17
  2. package/package.json +21 -21
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # ![Promptbook logo - cube with letters P and B](./other/design/logo-h1.png) Promptbook
4
4
 
5
- Build responsible, controlled and transparent applications on top of LLM models!
5
+ It's time for a paradigm shift! The future of software is in plain English, French or Latin.
6
6
 
7
7
 
8
8
 
@@ -27,25 +27,24 @@ Build responsible, controlled and transparent applications on top of LLM models!
27
27
 
28
28
 
29
29
 
30
- ## 🤍 The Promptbook Whitepaper
31
30
 
32
- 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.
33
31
 
34
- 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:
35
32
 
36
- 1. **Fine-tune** the model to your specifications or even train your own.
37
- 2. **Prompt-engineer** the prompt to the best shape you can achieve.
38
- 3. Orchestrate **multiple prompts** in a [pipeline](https://github.com/webgptorg/promptbook/discussions/64) to get the best result.
33
+ ## 🤍 The Book Abstract
34
+
35
+ > It's time for a paradigm shift! **The future of software is in plain English**, French or Latin.
36
+
37
+ 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**!
38
+
39
+ 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
+
41
+ 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.
42
+
43
+ This shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.
44
+
45
+ > **Join us in this journey!**
39
46
 
40
- In all of these situations, but especially in 3., the **✨ Promptbook can make your life waaaaaaaaaay easier**.
41
47
 
42
- - [**Separates concerns**](https://github.com/webgptorg/promptbook/discussions/32) between prompt-engineer and programmer, between code files and prompt files, and between prompts and their execution logic. For this purpose, it introduces a new language called [the **💙 Book**](https://github.com/webgptorg/book).
43
- - Book allows you to **focus on the business** logic without having to write code or deal with the technicalities of LLMs.
44
- - **Forget** about **low-level details** like choosing the right model, tokens, context size, `temperature`, `top-k`, `top-p`, or kernel sampling. **Just write your intent** and [**persona**](https://github.com/webgptorg/promptbook/discussions/22) who should be responsible for the task and let the library do the rest.
45
- - We have built-in **orchestration** of [pipeline](https://github.com/webgptorg/promptbook/discussions/64) execution and many tools to make the process easier, more reliable, and more efficient, such as caching, [compilation+preparation](https://github.com/webgptorg/promptbook/discussions/78), [just-in-time fine-tuning](https://github.com/webgptorg/promptbook/discussions/33), [expectation-aware generation](https://github.com/webgptorg/promptbook/discussions/37), [agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39), and more.
46
- - Sometimes even the best prompts with the best framework like Promptbook `:)` can't avoid the problems. In this case, the library has built-in **[anomaly detection](https://github.com/webgptorg/promptbook/discussions/40) and logging** to help you find and fix the problems.
47
- - Versioning is build in. You can test multiple **A/B versions** of pipelines and see which one works best.
48
- - Promptbook is designed to use [**RAG** (Retrieval-Augmented Generation)](https://github.com/webgptorg/promptbook/discussions/41) and other advanced techniques to bring the context of your business to generic LLM. You can use **knowledge** to improve the quality of the output.
49
48
 
50
49
 
51
50
 
@@ -157,7 +156,9 @@ Reserved words:
157
156
 
158
157
  #### Parameter notation
159
158
 
160
- ### Template
159
+ ### Task
160
+
161
+ ### Task type
161
162
 
162
163
  Todo todo
163
164
 
@@ -218,6 +219,11 @@ Or you can install them separately:
218
219
 
219
220
  ## 📚 Dictionary
220
221
 
222
+
223
+
224
+
225
+
226
+
221
227
  ### 📚 Dictionary
222
228
 
223
229
  The following glossary is used to clarify certain concepts:
@@ -233,6 +239,8 @@ The following glossary is used to clarify certain concepts:
233
239
  - **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.
234
240
  - **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.
235
241
 
242
+
243
+
236
244
  _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
237
245
 
238
246
  #### Promptbook core
@@ -269,7 +277,7 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
269
277
 
270
278
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
271
279
  - [📯 Pipeline](https://github.com/webgptorg/promptbook/discussions/64)
272
- - [🎺 Pipeline templates](https://github.com/webgptorg/promptbook/discussions/88)
280
+ - [🙇‍♂️ Tasks and pipeline sections](https://github.com/webgptorg/promptbook/discussions/88)
273
281
  - [🤼 Personas](https://github.com/webgptorg/promptbook/discussions/22)
274
282
  - [⭕ Parameters](https://github.com/webgptorg/promptbook/discussions/83)
275
283
  - [🚀 Pipeline execution](https://github.com/webgptorg/promptbook/discussions/84)
@@ -293,6 +301,8 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
293
301
  - [👮 Agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39)
294
302
  - [view more](https://github.com/webgptorg/promptbook/discussions/categories/concepts)
295
303
 
304
+
305
+
296
306
  ### Terms specific to Promptbook TypeScript implementation
297
307
 
298
308
  - Anonymous mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptbook",
3
- "version": "0.75.0-2",
3
+ "version": "0.75.0-4",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "--note-0": " <- [🐊]",
6
6
  "private": false,
@@ -51,27 +51,27 @@
51
51
  }
52
52
  ],
53
53
  "peerDependencies": {
54
- "@promptbook/core": "0.75.0-2"
54
+ "@promptbook/core": "0.75.0-4"
55
55
  },
56
56
  "dependencies": {
57
- "@promptbook/anthropic-claude": "0.75.0-2",
58
- "@promptbook/azure-openai": "0.75.0-2",
59
- "@promptbook/browser": "0.75.0-2",
60
- "@promptbook/cli": "0.75.0-2",
61
- "@promptbook/core": "0.75.0-2",
62
- "@promptbook/documents": "0.75.0-2",
63
- "@promptbook/execute-javascript": "0.75.0-2",
64
- "@promptbook/fake-llm": "0.75.0-2",
65
- "@promptbook/langtail": "0.75.0-2",
66
- "@promptbook/legacy-documents": "0.75.0-2",
67
- "@promptbook/markdown-utils": "0.75.0-2",
68
- "@promptbook/node": "0.75.0-2",
69
- "@promptbook/openai": "0.75.0-2",
70
- "@promptbook/pdf": "0.75.0-2",
71
- "@promptbook/remote-client": "0.75.0-2",
72
- "@promptbook/remote-server": "0.75.0-2",
73
- "@promptbook/types": "0.75.0-2",
74
- "@promptbook/utils": "0.75.0-2",
75
- "@promptbook/website-crawler": "0.75.0-2"
57
+ "@promptbook/anthropic-claude": "0.75.0-4",
58
+ "@promptbook/azure-openai": "0.75.0-4",
59
+ "@promptbook/browser": "0.75.0-4",
60
+ "@promptbook/cli": "0.75.0-4",
61
+ "@promptbook/core": "0.75.0-4",
62
+ "@promptbook/documents": "0.75.0-4",
63
+ "@promptbook/execute-javascript": "0.75.0-4",
64
+ "@promptbook/fake-llm": "0.75.0-4",
65
+ "@promptbook/langtail": "0.75.0-4",
66
+ "@promptbook/legacy-documents": "0.75.0-4",
67
+ "@promptbook/markdown-utils": "0.75.0-4",
68
+ "@promptbook/node": "0.75.0-4",
69
+ "@promptbook/openai": "0.75.0-4",
70
+ "@promptbook/pdf": "0.75.0-4",
71
+ "@promptbook/remote-client": "0.75.0-4",
72
+ "@promptbook/remote-server": "0.75.0-4",
73
+ "@promptbook/types": "0.75.0-4",
74
+ "@promptbook/utils": "0.75.0-4",
75
+ "@promptbook/website-crawler": "0.75.0-4"
76
76
  }
77
77
  }