promptbook 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 +56 -1
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -28,6 +28,8 @@ Build responsible, controlled and transparent applications on top of LLM models!
|
|
|
28
28
|
|
|
29
29
|
## 🤍 The Promptbook Whitepaper
|
|
30
30
|
|
|
31
|
+
|
|
32
|
+
|
|
31
33
|
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.
|
|
32
34
|
|
|
33
35
|
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:
|
|
@@ -48,6 +50,44 @@ In all of these situations, but especially in 3., the **✨ Promptbook can make
|
|
|
48
50
|
|
|
49
51
|
|
|
50
52
|
|
|
53
|
+
## 💜 The Promptbook Project
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<table>
|
|
58
|
+
<tbody>
|
|
59
|
+
<tr>
|
|
60
|
+
<td>Promptbook whitepaper</td>
|
|
61
|
+
<td>Basic motivations and problems which we are trying to solve</td>
|
|
62
|
+
<td rowspan=3>https://github.com/webgptorg/book</td>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
65
|
+
<td>Promptbook <i>(system)</i></td>
|
|
66
|
+
<td>Promptbook ...</td>
|
|
67
|
+
</tr>
|
|
68
|
+
<tr>
|
|
69
|
+
<td>Book language</td>
|
|
70
|
+
<td>
|
|
71
|
+
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
|
|
72
|
+
</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<td>Promptbook typescript project</td>
|
|
76
|
+
<td>Implementation of Promptbook in TypeScript published into multiple packages to NPM</td>
|
|
77
|
+
<td>https://github.com/webgptorg/promptbook</td>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr>
|
|
80
|
+
<td>Promptbook studio</td>
|
|
81
|
+
<td>Promptbook studio</td>
|
|
82
|
+
<td rowspan=2>https://github.com/hejny/promptbook-studio</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>Promptbook miniapps</td>
|
|
86
|
+
<td>Promptbook miniapps</td>
|
|
87
|
+
</tr>
|
|
88
|
+
</tbody>
|
|
89
|
+
</table>
|
|
90
|
+
|
|
51
91
|
## 💙 Book language _(for prompt-engineer)_
|
|
52
92
|
|
|
53
93
|
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.
|
|
@@ -57,6 +97,17 @@ Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) a
|
|
|
57
97
|
```markdown
|
|
58
98
|
# 🌟 My first Book
|
|
59
99
|
|
|
100
|
+
- INPUT PARAMETER {subject}
|
|
101
|
+
- OUTPUT PARAMETER {article}
|
|
102
|
+
|
|
103
|
+
## Sample subject
|
|
104
|
+
|
|
105
|
+
> Promptbook
|
|
106
|
+
|
|
107
|
+
-> {subject}
|
|
108
|
+
|
|
109
|
+
## Write an article
|
|
110
|
+
|
|
60
111
|
- PERSONA Jane, marketing specialist with prior experience in writing articles about technology and artificial intelligence
|
|
61
112
|
- KNOWLEDGE https://ptbk.io
|
|
62
113
|
- KNOWLEDGE ./promptbook.pdf
|
|
@@ -64,7 +115,7 @@ Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) a
|
|
|
64
115
|
- EXPECT MAX 1 Paragraph
|
|
65
116
|
|
|
66
117
|
> 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.
|
|
67
|
-
> Look specifically at the impact of
|
|
118
|
+
> Look specifically at the impact of {subject} on the AI industry.
|
|
68
119
|
|
|
69
120
|
-> {article}
|
|
70
121
|
```
|
|
@@ -111,6 +162,10 @@ Or you can install them separately:
|
|
|
111
162
|
|
|
112
163
|
The following glossary is used to clarify certain concepts:
|
|
113
164
|
|
|
165
|
+
### Basic terms
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
114
169
|
### Core concepts
|
|
115
170
|
|
|
116
171
|
- [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "promptbook",
|
|
3
|
-
"version": "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,
|
|
@@ -50,27 +50,27 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@promptbook/core": "0.
|
|
53
|
+
"@promptbook/core": "0.74.0-0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@promptbook/anthropic-claude": "0.
|
|
57
|
-
"@promptbook/azure-openai": "0.
|
|
58
|
-
"@promptbook/browser": "0.
|
|
59
|
-
"@promptbook/cli": "0.
|
|
60
|
-
"@promptbook/core": "0.
|
|
61
|
-
"@promptbook/documents": "0.
|
|
62
|
-
"@promptbook/execute-javascript": "0.
|
|
63
|
-
"@promptbook/fake-llm": "0.
|
|
64
|
-
"@promptbook/langtail": "0.
|
|
65
|
-
"@promptbook/legacy-documents": "0.
|
|
66
|
-
"@promptbook/markdown-utils": "0.
|
|
67
|
-
"@promptbook/node": "0.
|
|
68
|
-
"@promptbook/openai": "0.
|
|
69
|
-
"@promptbook/pdf": "0.
|
|
70
|
-
"@promptbook/remote-client": "0.
|
|
71
|
-
"@promptbook/remote-server": "0.
|
|
72
|
-
"@promptbook/types": "0.
|
|
73
|
-
"@promptbook/utils": "0.
|
|
74
|
-
"@promptbook/website-crawler": "0.
|
|
56
|
+
"@promptbook/anthropic-claude": "0.74.0-0",
|
|
57
|
+
"@promptbook/azure-openai": "0.74.0-0",
|
|
58
|
+
"@promptbook/browser": "0.74.0-0",
|
|
59
|
+
"@promptbook/cli": "0.74.0-0",
|
|
60
|
+
"@promptbook/core": "0.74.0-0",
|
|
61
|
+
"@promptbook/documents": "0.74.0-0",
|
|
62
|
+
"@promptbook/execute-javascript": "0.74.0-0",
|
|
63
|
+
"@promptbook/fake-llm": "0.74.0-0",
|
|
64
|
+
"@promptbook/langtail": "0.74.0-0",
|
|
65
|
+
"@promptbook/legacy-documents": "0.74.0-0",
|
|
66
|
+
"@promptbook/markdown-utils": "0.74.0-0",
|
|
67
|
+
"@promptbook/node": "0.74.0-0",
|
|
68
|
+
"@promptbook/openai": "0.74.0-0",
|
|
69
|
+
"@promptbook/pdf": "0.74.0-0",
|
|
70
|
+
"@promptbook/remote-client": "0.74.0-0",
|
|
71
|
+
"@promptbook/remote-server": "0.74.0-0",
|
|
72
|
+
"@promptbook/types": "0.74.0-0",
|
|
73
|
+
"@promptbook/utils": "0.74.0-0",
|
|
74
|
+
"@promptbook/website-crawler": "0.74.0-0"
|
|
75
75
|
}
|
|
76
76
|
}
|